Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
On Wed, 22 Nov 2000 09:57:02 +0100, Christian Gennerat <[EMAIL PROTECTED]> wrote: >The problem is in modules.conf >Most users do not use "depfile" and "path" commands >So they have not seen this problem. > >This was true for modutils-2.3.19, and older versions. >With modutils-2.3.20 the syntax have changed. >Anything in ChangeLog? >`uname -r` has to be changed in $(uname -r) Try this patch against modutils 2.3.20. If it does not fix the problem then I will need a copy of your modules.conf. `uname -r` should work even without this patch, it does for me. You must have something unusual in your modules.conf. Index: 21.4/util/meta_expand.c --- 21.4/util/meta_expand.c Tue, 21 Nov 2000 19:38:04 +1100 kaos (modutils-2.3/10_meta_expan 1.4.1.3 644) +++ 21.4(w)/util/meta_expand.c Wed, 22 Nov 2000 11:14:54 +1100 kaos +(modutils-2.3/10_meta_expan 1.4.1.3 644) @@ -328,10 +328,10 @@ int meta_expand(char *pt, GLOB_LIST *g, pclose(fin); if (line) { - /* Ignore result if no expansion occurred */ - xstrcat(tmpline, "\n", sizeof(tmpline)); - if (strcmp(tmpline, line)) - split_line(g, line, 0); + /* shell used to strip one set of quotes. Paranoia code in +* 2.3.20 stops that strip so we do it ourselves. +*/ + split_line(g, line, 1); free(line); }
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Chmouel Boudjnah a écrit : > i have no idea what's happen here, but gonna to look at this. The problem is in modules.conf Most users do not use "depfile" and "path" commands So they have not seen this problem. Other have not read the man. As I have tested the new 2.4 kernel, and I wanted to be able to load and run modules, I have a big modules.conf using theese commands. The man for modules.conf says: DEFAULT CONFIGURATION depfile=/lib/modules/`uname -r`/modules.dep pcimapfile=/lib/modules/`uname -r`/modules.pcimap isapnpmapfile=/lib/modules/`uname -r`/modules.isapnpmap usbmapfile=/lib/modules/`uname -r`/modules.usbmap path[boot]=/lib/modules/boot path[toplevel]=/lib/modules/`uname -r` path[toplevel]=/lib/modules/`kernelversion` path[toplevel]=/lib/modules/default This was true for modutils-2.3.19, and older versions. With modutils-2.3.20 the syntax have changed. Anything in ChangeLog? `uname -r` has to be changed in $(uname -r)
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Christian Gennerat <[EMAIL PROTECTED]> writes: > Note the error message with a parameter in depmod command, > correct with 19, > stange with 20. i have no idea what's happen here, but gonna to look at this. -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Chmouel Boudjnah a écrit : > Vincent Danen <[EMAIL PROTECTED]> writes: > > > I honestly can't say what your problem is... perhaps Chmouel will have > > an idea, but modutils works just fine for me here. On my corporate > > what the commands : > > uname -r > > ls /lib/modules/$(uname -r)/ > > depmod -av > > gives ? > new#ls mo* modutils-2.3.19-1mdk.i586.rpm modutils-2.3.20-1.1mdk.i586.rpm modutils-2.3.20-1mdk.i586.rpm new#rpm -Uvh modutils-2.3.20-1.1mdk.i586.rpm modutils## new#date mar nov 21 09:49:27 CET 2000 new#depmod -av new#uname -r 2.4.0-test11 new#ls -l /lib/modules/$(uname -r)/ total 36 lrwxrwxrwx1 root root 10 nov 13 14:07 build -> /src/linux drwxr-xr-x6 root root 4096 nov 14 10:56 kernel -rw-r--r--1 root root10486 nov 21 09:48 modules.dep -rw-r--r--1 root root 81 nov 21 09:48 modules.isapnpmap -rw-r--r--1 root root 5195 nov 21 09:48 modules.pcimap -rw-r--r--1 root root 177 nov 21 09:48 modules.usbmap drwxr-xr-x2 root root 4096 nov 14 10:56 pcmcia new#rpm -Uvh --force modutils-2.3.19-1mdk.i586.rpm modutils## new#depmod -av >depmod.log new# And with the original Mandrake kernel: new#rpm -Uvh modutils-2.3.20-1.1mdk.i586.rpm modutils## new#date mar nov 21 10:01:47 CET 2000 new#depmod -av new#depmod -a x depmod: /lib/modules/`uname -r`/modules.dep does not exist new#uname -r 2.2.17-21mdk new#ls -l /lib/modules/$(uname -r)/ total 96 drwxr-xr-x2 root root 4096 nov 10 15:00 alsa drwxr-xr-x2 root root 4096 nov 10 14:37 block drwxr-xr-x2 root root 4096 nov 10 14:37 cdrom drwxr-xr-x2 root root 4096 nov 10 14:37 fs drwxr-xr-x2 root root 4096 nov 10 14:37 ipv4 drwxr-xr-x2 root root 8192 nov 10 14:37 misc -rw-r--r--1 root root39060 nov 21 10:00 modules.dep -rw-r--r--1 root root 81 nov 21 10:00 modules.isapnpmap -rw-r--r--1 root root 99 nov 21 10:00 modules.pcimap -rw-r--r--1 root root 177 nov 21 10:00 modules.usbmap drwxr-xr-x2 root root 4096 nov 10 14:37 net drwxr-xr-x2 root root 4096 nov 10 14:37 pcmcia drwxr-xr-x2 root root 4096 nov 10 14:37 scsi drwxr-xr-x2 root root 4096 nov 10 14:37 usb new#rpm -Uvh --force modutils-2.3.19-1mdk.i586.rpm modutils## new#depmod -a x depmod: Can't open /lib/modules/x/modules.dep for writing new#depmod -av >depmod2.log depmod: *** Unresolved symbols in /lib/modules/2.2.17-21mdk/misc/cpia_usb.o Note the error message with a parameter in depmod command, correct with 19, stange with 20.
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
On Mon Nov 20, 2000 at 02:42:10PM +0100, Christian Gennerat wrote: > > > I have upgraded with it in my PC running mdk7.2 Odissey > > > Then I have rebooted. > > > I cannot access the modules any more. > > > depmod -av replies only "\n" > > > > > > no modules -> no drivers -> no cd, no network > > > I think I must re-install all. > > In fact, I have a small partition (100 Mo) with a reduced Mandrake 7.0 > on the same machine, which can access to cdrom or nfs So you can boot up when you use the new modutils? > > Why did you install the cooker modutils? There is an official update > > for 7.2 that works fine... > > I have tested modutils-2.3.20-1.1mdk.i586.rpm from > ftp.tu-clausthal.demodutils-2.3.20-1.1mdk.i586.rpm >/pub/linux/mandrake/updates/7.2/RPMS/ > and I have exactly the same: > depmod -av > does not output anything. > > Have you tested this version? Hmmm... let's see, on my Corporate Server 1.0 box I have modutils-2.3.20-1.2mdk installed and it works perfect. depmod -av gives me lots of output. On my Mandrake 7.2 box I have modutils-2.3.20-1.1mdk and it also works perfectly. So, yes, it has been tested on both versions of Mandrake (7.1 and 7.2) and they work fine. > > On both 7.1 and 7.2, /sbin/depmod -a runs > > fine and generates the new modules.* files without a problem. I think > > because of the different compilers used, you blew your system using a > > cooker modutils instead of the 7.2 modutils MandrakeUpdate provides. > > I have re-installed modutils-2.3.1.19.1 (downloaded from cooker on Oct 31), > and it works fine again. I honestly can't say what your problem is... perhaps Chmouel will have an idea, but modutils works just fine for me here. On my corporate server box I am running kernel-2.2.16-9mdk and on my 7.2 box I am running 2.2.17-21mdk. Not sure if this makes a difference as far as modutils is concerned, but it might. -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org - MandrakeSoft, Inc. www.linux-mandrake.com Current Linux uptime: 4 days 23 hours 53 minutes.
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Vincent Danen <[EMAIL PROTECTED]> writes: > I honestly can't say what your problem is... perhaps Chmouel will have > an idea, but modutils works just fine for me here. On my corporate what the commands : uname -r ls /lib/modules/$(uname -r)/ depmod -av gives ? -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
Vincent Danen a écrit : > On Fri Nov 17, 2000 at 03:11:27PM +0100, Christian Gennerat wrote: > > > Chmouel Boudjnah a écrit : > > > > > Name: modutils Relocations: (not relocateable) > > > Version : 2.3.20Vendor: MandrakeSoft > > > Release : 1mdk Build Date: Thu Nov 16 16:17:24 2000 > > > Install date: (not installed) Build Host: no.mandrakesoft.com > > > Group : System/Kernel and hardwareSource RPM: (none) > > > Size: 191481 License: GPL > > > Packager: Chmouel Boudjnah <[EMAIL PROTECTED]> > > > Summary : The kernel daemon (kerneld) and kernel module utilities. > > > > I have upgraded with it in my PC running mdk7.2 Odissey > > Then I have rebooted. > > I cannot access the modules any more. > > depmod -av replies only "\n" > > > > no modules -> no drivers -> no cd, no network > > I think I must re-install all. In fact, I have a small partition (100 Mo) with a reduced Mandrake 7.0 on the same machine, which can access to cdrom or nfs > > > Why did you install the cooker modutils? There is an official update > for 7.2 that works fine... I have tested modutils-2.3.20-1.1mdk.i586.rpm from ftp.tu-clausthal.demodutils-2.3.20-1.1mdk.i586.rpm /pub/linux/mandrake/updates/7.2/RPMS/ and I have exactly the same: depmod -av does not output anything. Have you tested this version? > On both 7.1 and 7.2, /sbin/depmod -a runs > fine and generates the new modules.* files without a problem. I think > because of the different compilers used, you blew your system using a > cooker modutils instead of the 7.2 modutils MandrakeUpdate provides. I have re-installed modutils-2.3.1.19.1 (downloaded from cooker on Oct 31), and it works fine again.
Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk
On Fri Nov 17, 2000 at 03:11:27PM +0100, Christian Gennerat wrote: > Chmouel Boudjnah a écrit : > > > Name: modutils Relocations: (not relocateable) > > Version : 2.3.20Vendor: MandrakeSoft > > Release : 1mdk Build Date: Thu Nov 16 16:17:24 2000 > > Install date: (not installed) Build Host: no.mandrakesoft.com > > Group : System/Kernel and hardwareSource RPM: (none) > > Size: 191481 License: GPL > > Packager: Chmouel Boudjnah <[EMAIL PROTECTED]> > > Summary : The kernel daemon (kerneld) and kernel module utilities. > > I have upgraded with it in my PC running mdk7.2 Odissey > Then I have rebooted. > I cannot access the modules any more. > depmod -av replies only "\n" > > no modules -> no drivers -> no cd, no network > I think I must re-install all. Why did you install the cooker modutils? There is an official update for 7.2 that works fine... On both 7.1 and 7.2, /sbin/depmod -a runs fine and generates the new modules.* files without a problem. I think because of the different compilers used, you blew your system using a cooker modutils instead of the 7.2 modutils MandrakeUpdate provides. -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org - MandrakeSoft, Inc. www.linux-mandrake.com Current Linux uptime: 1 day 18 hours 24 minutes.