Re: /etc/modutils/0keep: line 9: keep: command not found
On Sat, Jan 19, 2008 at 22:11:28 -0800, tom arnall wrote: i interrupted 'apt-get install linux-wlan-ng' and when i did the command again i got at the end of the installation messages: /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) As far as I can tell, /etc/modutils/0keep should not be executable. It belongs to the modutils package, which itself is depreciated for 2.6 kernels and has been superceded by module-init-tools. system details: [EMAIL PROTECTED]:/etc/modutils$ uname -r 2.6.16.4 Etch's kernel is at 2.6.18.5. and etch Not really, you seem to be running something in between Sarge and Etch. I would fully upgrade to Etch before doing anything else. Then you can install module-assistant and it should do all the wlan-ng-related work for you. (module-assistant prepare followed by module-assistant auto-install linux-wlan-ng.) -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found
Il giorno Sun, 20 Jan 2008 10:26:42 -0800 tom arnall [EMAIL PROTECTED] ha scritto: i have been doing 'apt-get upgrade' fairly regularly. is there s'thing else i need to do? That's not sufficient. You should also apt-get dist-upgrade. Use with caution though, check what it tries to remove and prepare to reinstall those packages in case of need. Kindly, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: /etc/modutils/0keep: line 9: keep: command not found
my questions are inline. thanks. On Sunday 20 January 2008 03:53, Florian Kulzer wrote: On Sat, Jan 19, 2008 at 22:11:28 -0800, tom arnall wrote: i interrupted 'apt-get install linux-wlan-ng' and when i did the command again i got at the end of the installation messages: Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) As far as I can tell, /etc/modutils/0keep should not be executable. It belongs to the modutils package, which itself is depreciated for 2.6 kernels and has been superceded by module-init-tools. is there any way i can get rid of the message '/etc/modutils/0keep: line 9: keep: command not found [etc]' while i am doing the upgrade. btw, when i remove the x permission from 0keep, i get similar messages for /etc/modutils/actions and other files in modutils/. i tried removing x permission for all files in modutils/, and then got same kind of message for files deeper into the directory structure. at that point i gave up on it. system details: [EMAIL PROTECTED]:/etc/modutils$ uname -r 2.6.16.4 Etch's kernel is at 2.6.18.5. and etch Not really, you seem to be running something in between Sarge and Etch. I would fully upgrade to Etch before doing anything else. Then you can install module-assistant and it should do all the wlan-ng-related work for you. (module-assistant prepare followed by module-assistant auto-install linux-wlan-ng.) i have been doing 'apt-get upgrade' fairly regularly. is there s'thing else i need to do? -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found POSTSCRIPT
Florian, why do you say my system is not fully etch? thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found
On Sunday 20 January 2008 10:23, David Paleino wrote: Il giorno Sun, 20 Jan 2008 10:26:42 -0800 tom arnall [EMAIL PROTECTED] ha scritto: i have been doing 'apt-get upgrade' fairly regularly. is there s'thing else i need to do? That's not sufficient. You should also apt-get dist-upgrade. Use with caution though, check what it tries to remove and prepare to reinstall those packages in case of need. Kindly, David David, hmmm. i did 'chmod -R 777 /dev' a couple of months ago, changing unwittingly many (most?) permissions on the system accordingly. will a dist-upgrade wreck what is left of the system? thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found
Il giorno Sun, 20 Jan 2008 10:39:19 -0800 tom arnall [EMAIL PROTECTED] ha scritto: David, hmmm. i did 'chmod -R 777 /dev' a couple of months ago, changing unwittingly many (most?) permissions on the system accordingly. Why did you do that? will a dist-upgrade wreck what is left of the system? It will upgrade your system to an etch one. Kindly, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: /etc/modutils/0keep: line 9: keep: command not found POSTSCRIPT
Is there actually supposed to be a 'keep' program on the system? I looked at a full backup I did a couple of months ago and I cannot find it there. tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found
inline. On Sunday 20 January 2008 10:39, David Paleino wrote: Il giorno Sun, 20 Jan 2008 10:39:19 -0800 tom arnall [EMAIL PROTECTED] ha scritto: David, hmmm. i did 'chmod -R 777 /dev' a couple of months ago, changing unwittingly many (most?) permissions on the system accordingly. Why did you do that? under the general category of impatience and a lack of morning coffee. beyond that i am embarrassed to tell ;o) will a dist-upgrade wreck what is left of the system? It will upgrade your system to an etch one. Kindly, David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep: line 9: keep: command not found POSTSCRIPT
Le dimanche 20 janvier 2008 à 10:31 -0800, tom arnall a écrit : Florian, why do you say my system is not fully etch? thanks, tom arnall arcata Because you are using a 2.6.16 kernel ? : system details: [EMAIL PROTECTED]:/etc/modutils$ uname -r 2.6.16.4 Etch's kernel is at 2.6.18.5. -- Louis OPTER, aka, Kalessin - Clef PGP : 0x58AA6712 signature.asc Description: Ceci est une partie de message numériquement signée
dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: error processing /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb (--unpack): subprocess new post-removal script returned error exit status 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sun, Jan 20, 2008 at 11:20:03 -0800, tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 I think you should follow the Sarge-Etch upgrade notes, adapting them to your somewhat different situation. There are a couple of issues to be aware of, and even though most of them might not apply to you, it is better to know about all of them. (However, also see my remarks below.) so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... [...] E: Sub-process /usr/bin/dpkg returned an error code (1) You have to change the permissions of /etc/modutils/0keep; it is not supposed to be executable. AFAICT, the keep in line 9 is meant as a directive for modutils, not as a command in a shell script. (There is a keep executable, which is part of the KDE auto-backup package with the same name, but this has nothing to do with modutils.) Your package manager will be more or less blocked until this issue is fixed. Taking a look at the bigger picture, you have to realize that your earlier sweeping change of permissions will probably cause many more such small (or not so small) breakages in unexpected places. If this machine is your playground to experiment and learn about Debian then this might not be such a bad thing, although I would bet that there are better ways to learn than to start from an ill-defined configuration. On the other hand, if you want to get any serious work done with this computer anytime soon then you might want to consider putting an Etch installer CD into its drive and let the installer do its work (after backing up your important personal files, of course). -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. That's correct. I never explicitly upgraded from one distribution to another with dselect. I merely pointed to the newer distribution's repository (via sources.list) and dselect did the rest. I think dist-upgrade is an apt-get specific thing, and I'm not exactly what it does, other than repeatedly break users' debian systems and thus prompt frequent problem reports here. Nevertheless if you follow through with dselect then I think it will probably recover your system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:17, Marty wrote: tom arnall wrote: On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. That's correct. I never explicitly upgraded from one distribution to another with dselect. I merely pointed to the newer distribution's repository (via sources.list) and dselect did the rest. I think dist-upgrade is an apt-get specific thing, and I'm not exactly what it does, other than repeatedly break users' debian systems and thus prompt frequent problem reports here. Nevertheless if you follow through with dselect then I think it will probably recover your system. Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-w lan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error processing /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl -1etch1_i386.deb (--unpack): subprocess new post-removal script returned error exit status 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-w lan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error processing /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl -1etch1_i386.deb (--unpack): subprocess new post-removal
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:37, Marty wrote: tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. thanks for the help Marty. i have decided to do a reset and reinstall. i broke my system doing the 'chmod -R 777 /dev' and i think i just need to bite the bullet and do what others recommended back then. not doing it and asking for help with some of the consequent problems is really a bit much ;o). tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:03, Florian Kulzer wrote: On Sun, Jan 20, 2008 at 11:20:03 -0800, tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 I think you should follow the Sarge-Etch upgrade notes, adapting them to your somewhat different situation. There are a couple of issues to be aware of, and even though most of them might not apply to you, it is better to know about all of them. (However, also see my remarks below.) so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... [...] E: Sub-process /usr/bin/dpkg returned an error code (1) You have to change the permissions of /etc/modutils/0keep; it is not supposed to be executable. AFAICT, the keep in line 9 is meant as a directive for modutils, not as a command in a shell script. (There is a keep executable, which is part of the KDE auto-backup package with the same name, but this has nothing to do with modutils.) Your package manager will be more or less blocked until this issue is fixed. Taking a look at the bigger picture, you have to realize that your earlier sweeping change of permissions will probably cause many more such small (or not so small) breakages in unexpected places. If this machine is your playground to experiment and learn about Debian then this might not be such a bad thing, although I would bet that there are better ways to learn than to start from an ill-defined configuration. On the other hand, if you want to get any serious work done with this computer anytime soon then you might want to consider putting an Etch installer CD into its drive and let the installer do its work (after backing up your important personal files, of course). -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | Florian, thanks for the sobering advice. i'm doing it today. tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sun, Jan 20, 2008 at 02:46:31PM -0500, Marty [EMAIL PROTECTED] was heard to say: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. His problems don't have anything to do with the package manager from what I've read -- they have to do with wacked out permissions in /etc, and possibly not having the standard set of etch packages installed (e.g., it sounds like he probably doesn't have linux-image-$ARCH on the system). Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 12:37, Marty wrote: tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. thanks for the help Marty. i have decided to do a reset and reinstall. i broke my system doing the 'chmod -R 777 /dev' and i think i just need to bite the bullet and do what others recommended back then. not doing it and asking for help with some of the consequent problems is really a bit much ;o). tom arnall arcata Good luck. It sounds like your best option for now, but for the record I don't think it would any big deal to fix your system. I've made worse mistakes, but I also realize that not everyone has the time or inclination to perform surgery on a broken install in the name of science or hack value. :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 14:32, Marty wrote: tom arnall wrote: When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 14:32, Marty wrote: The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? That's a tough one. I can only tell you what I would do. It may not apply or be the best solution in your circumstances. You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. Consider backup to USB key, DVD, whatever is available. Consider rsync for backup (man rsync), be be careful because it's very powerful and you could easily wipe out your data instead of saving it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 15:36, Marty wrote: tom arnall wrote: On Sunday 20 January 2008 14:32, Marty wrote: The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? That's a tough one. I can only tell you what I would do. It may not apply or be the best solution in your circumstances. You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. Consider backup to USB key, DVD, whatever is available. Consider rsync for backup (man rsync), be be careful because it's very powerful and you could easily wipe out your data instead of saving it. besides my home directory, what else should i think about backing up? what would be the advantage of 'rsync'? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 17:49, Marty wrote: tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. is there a problem with 'cp -R' in this respect? (it is how i do my regular backups. not good ;o( ? ) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 17:49, Marty wrote: tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. Come to think of it, I might also grab var, and maybe run dpkg-query and save the output, to make reinstallion easier. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. is there a problem with 'cp -R' in this respect? (it is how i do my regular backups. not good ;o( ? ) You probably want cp -a, but that's not quite as good. It doesn't preserve all metadata (including, most annoyingly for me, directory access times). I usually do something like this: rsync -avxHD /etc/ /mnt/backup-device/backup/etc/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
/etc/modutils/0keep: line 9: keep: command not found
i interrupted 'apt-get install linux-wlan-ng' and when i did the command again i got at the end of the installation messages: /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:/etc/modutils$ system details: [EMAIL PROTECTED]:/etc/modutils$ uname -r 2.6.16.4 and etch thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
etch 2.6 kernel and modutils broken symlinks
Hi All My system is running etch with the latest updates and a 2.6 kernel. It has never installed or run a 2.4 or 2.2 kernel. I've noticed that my system has some files that belong to the modutils package (which is used with 2.2 and 2.4 kernels), however I don't have that package installed. The files are /sbin/ksyms and /bin/kallsyms, both of which are symbolic links to insmod.modutils which by the way doesn't exist. In addition to those two files there are the following files which are also symbolic links to the non-existant insmod.modutils: /sbin/modprobe.modutils /sbin/lsmod.modutils /sbin/rmmod.modutils /bin/lsmod.modutils Assuming that I continue to run 2.6 kernels, will these broken symbolic links and missing insmod.modutils cause problems for my system? If so, are there any recommended fixes ? BTW, why are these broken symbolic links present on my system ? Is this a known issue ? Thanks, Declan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: etch 2.6 kernel and modutils broken symlinks
On Jan 01, Declan Mullen [EMAIL PROTECTED] wrote: I've noticed that my system has some files that belong to the modutils package (which is used with 2.2 and 2.4 kernels), however I don't have that package installed. The files are /sbin/ksyms and /bin/kallsyms, both of which are symbolic links to insmod.modutils which by the way doesn't exist. It's a feature. Assuming that I continue to run 2.6 kernels, will these broken symbolic links and missing insmod.modutils cause problems for my system? If so, No. are there any recommended fixes ? Ignore them, they disappeared in lenny anyway. BTW, why are these broken symbolic links present on my system ? Is this They are needed. a known issue ? Yes. -- ciao, Marco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/zaptel
Hi, On Sun, Jul 16, 2006 at 02:37:35PM +0200, Christian Frommeyer wrote: Am Samstag 15 Juli 2006 18:16 schrieb Borghart Steffen: lsmod zeigt aber, das nur 'zaptel' geladen ist und nicht 'zaphfc'. Wie kommt das, und was muss ich aendern, damit auch das 'zaphfc' modul geladen wird? Wer sollte den zaphfc laden? discover? hotplug? udev? Oder ist ein Eintrag in /etc/modules? Das zaptel-source Paket hatte in /etc/modutils/zaptel ja die zeile: post-install zaphfc ztcfg angelegt. Ich hatte vermutet, das 'post-install zaphfc' das zaphfc-modul laed. Wo kann kann ich nachlesen, was man mit den Dateien in /etc/modutils/ anstellen kann? Wenn ein Eintrag in /etc/modules ist, ist der auch nach dem zaptel Eintrag? nein - siehe oben: ich dachte das regelt der post-install Aufruf. Kannst Du das Modul händisch (z.B. mit modprobe) laden? Ja, das funktioniert. Danke und Gruss, Borghart -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: /etc/modutils/zaptel
Borghart Steffen schrieb: Hallo, ich moechte gerne das beim booten zwei module in bestimmter reihenfolge mit bestimmten optionen geladen werden. Zuerst soll das modul 'zaptel' geladen werden (ohne extra optionen), danach soll das modul 'zaphfc' mit der option 'modes=1' geladen werden. Nachdem beide module geladen wurden soll ausserdem noch 'ztcfg' aufgerufen werden. Bei der installation des debian-pakets fuer diese module wurde die datei /etc/modules/zaptel angelegt. Die Zeilen, die fuer mein system uninteressant sind habe ich dort auskommentiert, es ist die zeile post-install zaphfc ztcfg geblieben. lsmod zeigt aber, das nur 'zaptel' geladen ist und nicht 'zaphfc'. Wie kommt das, und was muss ich aendern, damit auch das 'zaphfc' modul geladen wird? gruesse, borghart Ich vermute, Du brauchst diese Module für Asterisk. Ich habe ähnliche Konfiguration laufen und benutzte folgendes Startskript, welches Du noch für deine Bedürfnisse anpassen müsstest. Denke mal, dass dies unter Debian auch funktioniert. #!/bin/sh # # $Id: rc.asterisk,v 1 2006/04/21 20:11:58 # # Debugging. Comment it out to stop logging DEBUG=yes msg() { if [ z$DEBUG != z ] ; then /usr/bin/logger -t ipcop $* fi /bin/echo $* } if [ -e /var/run/need-depmod-`uname -r` ]; then echo Update modules dependencies, may take time... /sbin/depmod -a /bin/rm -f /var/run/need-depmod-`uname -r` fi # should work with 'HFC Card' case $1 in start) if ( ps -A | grep -w asterisk /dev/null 21 ); then echo Can't start asterisk when it's currently running exit 0; fi if [ ! -f /lib/modules/`/bin/uname -r`/misc/zaptel.o.gz ]; then msg zaptel not uploaded exit 1 fi if [ ! -f /lib/modules/`/bin/uname -r`/misc/zaphfc.o.gz ]; then msg zaphfc not uploaded exit 1 else # load zaphfc nt mode and start asterisk /sbin/insmod zaptel 2/dev/null /sbin/insmod zaphfc modes=1 2/dev/null sleep 4 /sbin/ztcfg 2/dev/null /usr/sbin/asterisk msg asterisk has been started fi ;; stop) /bin/killall -9 asterisk /dev/null 21 sleep 4 /sbin/rmmod zaphfc 2/dev/null /sbin/rmmod zaptel 2/dev/null msg asterisk has been stoped ;; restart) $0 stop sleep 4 $0 start ;; *) /bin/echo Usage: $0 {start|stop|restart} exit 1 ;; esac exit 0 -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: /etc/modutils/zaptel
Am Dienstag 18 Juli 2006 10:05 schrieb Borghart Steffen: Das zaptel-source Paket hatte in /etc/modutils/zaptel ja die zeile: post-install zaphfc ztcfg angelegt. Ich hatte vermutet, das 'post-install zaphfc' das zaphfc-modul laed. Wo kann kann ich nachlesen, was man mit den Dateien in /etc/modutils/ anstellen kann? man modutils / man modules.conf post-install zaphfc ztcfg ruft das script/programm ztcfg auf, nachdem zaphfc geladen wurde. Dafür muss aber eben zaphfc erst geladen werden (z.B. über /etc/modules). Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
Re: /etc/modutils/zaptel
Am Samstag 15 Juli 2006 18:16 schrieb Borghart Steffen: lsmod zeigt aber, das nur 'zaptel' geladen ist und nicht 'zaphfc'. Wie kommt das, und was muss ich aendern, damit auch das 'zaphfc' modul geladen wird? Wer sollte den zaphfc laden? discover? hotplug? udev? Oder ist ein Eintrag in /etc/modules? Wenn ein Eintrag in /etc/modules ist, ist der auch nach dem zaptel Eintrag? Kannst Du das Modul händisch (z.B. mit modprobe) laden? Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
/etc/modutils/zaptel
Hallo, ich moechte gerne das beim booten zwei module in bestimmter reihenfolge mit bestimmten optionen geladen werden. Zuerst soll das modul 'zaptel' geladen werden (ohne extra optionen), danach soll das modul 'zaphfc' mit der option 'modes=1' geladen werden. Nachdem beide module geladen wurden soll ausserdem noch 'ztcfg' aufgerufen werden. Bei der installation des debian-pakets fuer diese module wurde die datei /etc/modules/zaptel angelegt. Die Zeilen, die fuer mein system uninteressant sind habe ich dort auskommentiert, es ist die zeile post-install zaphfc ztcfg geblieben. lsmod zeigt aber, das nur 'zaptel' geladen ist und nicht 'zaphfc'. Wie kommt das, und was muss ich aendern, damit auch das 'zaphfc' modul geladen wird? gruesse, borghart -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
amd64 woes /etc/modutils/arch
Hi all, I finally plucked up my courage and put in another hard disk and installed 2.6.8-11-amd64-k8 which is running independently of my i386 installation. Loads of problems but perhaps the easiest is what do I do to get my architecture into /etc/modutils/arch? I can't install the alsa drivers because alsa whinges about not finding the amd64 architecture which is true. The contents of the /etc/modutils/arch is: alpha m68k.amiga m68k.generic mips.ip22 powerpc.generic s390 i386 m68k.atari m68k.mac powerpc.apus powerpc.pmac s390x but no amd64 listed. I've got the kernel-source headers etc. So what do I need to do to get it into /modutils/arch ? Thanks in advance. Jonathan -- Please don't cc: your posting to my personal address. Thank you. signature.asc Description: OpenPGP digital signature
/etc/modutils/0keep
Bonjour, Chaque fois que je tente une install ou une mise à jour via apt-get ou dpkg, dpkg me retourne un code d'erreur, lié aux paquets lm-sensors et powermgmt. Je vois bien l'erreur sur le fichier /etc/modutils/0keep , mais je ne vois pas à quoi correspond la commande keep, dont je ne trouve pas le binaire. J'ai essayé de modifier le fichier /etc/modutils/0keep en désactivant l'appel à keep, mais çà ne passe pas non plus... je ne vois pas non plus du côté de modutils... je vous mets ici la sortie de dpkg, c'est un peu long, désolé : Souhaitez-vous continuer ? [O/n] Lecture des champs des paquets... Fait Lecture de l'état des paquets... Fait Récupération des rapports de bogue... Fait Lecture des fichiers de modifications (« changelog »)... Terminé Préconfiguration des paquets ... (Lecture de la base de données... 120485 fichiers et répertoires déjà installés.) Préparation du remplacement de powermgmt-base 1.21 (en utilisant .../powermgmt-base_1.21_i386.deb) ... Dépaquetage de la mise à jour de powermgmt-base ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur de traitement de /var/cache/apt/archives/powermgmt-base_1.21_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 1 Préparation du remplacement de lm-sensors 1:2.9.0-19 (en utilisant .../lm-sensors_1%3a2.9.1-1_i386.deb) ... Dépaquetage de la mise à jour de lm-sensors ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur de traitement de /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 2 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 2 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/powermgmt-base_1.21_i386.deb /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Ya t'il une solution à mon pb ? -- Amicalement, Ben -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep
As tu essayé de tout purgé puis de faire dpkg --configure -a puis de relancé ta commande?? C'est juste une idée, rien de sur Julien Le Dimanche 22 Mai 2005 15:03, Benoit Soëte a écrit : Bonjour, Chaque fois que je tente une install ou une mise à jour via apt-get ou dpkg, dpkg me retourne un code d'erreur, lié aux paquets lm-sensors et powermgmt. Je vois bien l'erreur sur le fichier /etc/modutils/0keep , mais je ne vois pas à quoi correspond la commande keep, dont je ne trouve pas le binaire. J'ai essayé de modifier le fichier /etc/modutils/0keep en désactivant l'appel à keep, mais çà ne passe pas non plus... je ne vois pas non plus du côté de modutils... je vous mets ici la sortie de dpkg, c'est un peu long, désolé : Souhaitez-vous continuer ? [O/n] Lecture des champs des paquets... Fait Lecture de l'état des paquets... Fait Récupération des rapports de bogue... Fait Lecture des fichiers de modifications (« changelog »)... Terminé Préconfiguration des paquets ... (Lecture de la base de données... 120485 fichiers et répertoires déjà installés.) Préparation du remplacement de powermgmt-base 1.21 (en utilisant .../powermgmt-base_1.21_i386.deb) ... Dépaquetage de la mise à jour de powermgmt-base ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur de traitement de /var/cache/apt/archives/powermgmt-base_1.21_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 1 Préparation du remplacement de lm-sensors 1:2.9.0-19 (en utilisant .../lm-sensors_1%3a2.9.1-1_i386.deb) ... Dépaquetage de la mise à jour de lm-sensors ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur de traitement de /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 2 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 2 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/powermgmt-base_1.21_i386.deb /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Ya t'il une solution à mon pb ? -- Amicalement, Ben -- Julien, http://maladrie.homelinux.org If you want to travel around the world and be invited to speak | at a lot of different places, just write a Unix operating system. (By Linus Torvalds)
Re: /etc/modutils/0keep
Maladrie Julien a écrit : As tu essayé de tout purgé puis de faire dpkg --configure -a puis de relancé ta commande?? C'est juste une idée, rien de sur Julien Oui, çà me permets de finir mes mises à jour (après qu'apt-get dist-upgrade se soit bloqué) mais çà ne règle rien pour mes installs ou suppression de paquets (là j'ai pas trouvé d'alternative) ni pour récupérer lm-sensors et powermgmt. J'ai bien trouvé des cas similaires au mien sur les archives, mais aucune solution... merci quand même Le Dimanche 22 Mai 2005 15:03, Benoit Soëte a écrit : Bonjour, Chaque fois que je tente une install ou une mise à jour via apt-get ou dpkg, dpkg me retourne un code d'erreur, lié aux paquets lm-sensors et powermgmt. Je vois bien l'erreur sur le fichier /etc/modutils/0keep , mais je ne vois pas à quoi correspond la commande keep, dont je ne trouve pas le binaire. J'ai essayé de modifier le fichier /etc/modutils/0keep en désactivant l'appel à keep, mais çà ne passe pas non plus... je ne vois pas non plus du côté de modutils... je vous mets ici la sortie de dpkg, c'est un peu long, désolé : Souhaitez-vous continuer ? [O/n] Lecture des champs des paquets... Fait Lecture de l'état des paquets... Fait Récupération des rapports de bogue... Fait Lecture des fichiers de modifications (« changelog »)... Terminé Préconfiguration des paquets ... (Lecture de la base de données... 120485 fichiers et répertoires déjà installés.) Préparation du remplacement de powermgmt-base 1.21 (en utilisant .../powermgmt-base_1.21_i386.deb) ... Dépaquetage de la mise à jour de powermgmt-base ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur de traitement de /var/cache/apt/archives/powermgmt-base_1.21_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 1 Préparation du remplacement de lm-sensors 1:2.9.0-19 (en utilisant .../lm-sensors_1%3a2.9.1-1_i386.deb) ... Dépaquetage de la mise à jour de lm-sensors ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg : avertissement - ancien script post-removal a retourné un code d'erreur de sortie 1 dpkg - tentative d'exécution du script du nouveau paquet à la place ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur de traitement de /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb (--unpack) : le sous-processus nouveau script post-removal a retourné une erreur de sortie d'état 2 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting /var/lib/dpkg/tmp.ci/postrm: line 27: [: missing `]' dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 2 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/powermgmt-base_1.21_i386.deb /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Ya t'il une solution à mon pb ? -- Amicalement, Ben -- Amicalement, Ben -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep
Bonjour ! As-tu essayé -après avoir fait #apt-get --purge remove package de virer manuellemment tout ce qui concerne les paquets en question ? Il reste certainement des fichiers .. Je pense en particulier aux différents scripts qui se trouvent dans /var/lib/dpkg/info .. Il me semble que j'ai eu un problème de tcet ype que j'ai résolu en virant systématiquement tous les fichiers concernant le paquet en question et en réinstallant ensuite. mahashakti89 On Sun, May 22, 2005 at 04:06:51PM +0200, Benoit Soëte wrote : Maladrie Julien a écrit : As tu essayé de tout purgé puis de faire dpkg --configure -a puis de relancé ta commande?? C'est juste une idée, rien de sur Julien Le Dimanche 22 Mai 2005 15:03, Benoit Soëte a écrit je vous mets ici la sortie de dpkg, c'est un peu long, désolé : Souhaitez-vous continuer ? [O/n] dpkg : erreur lors du nettoyage : le sous-processus post-removal script a retourné une erreur de sortie d'état 2 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/powermgmt-base_1.21_i386.deb /var/cache/apt/archives/lm-sensors_1%3a2.9.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Ya t'il une solution à mon pb ? -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/0keep
mahashakti89 a écrit : Bonjour ! As-tu essayé -après avoir fait #apt-get --purge remove package de virer manuellemment tout ce qui concerne les paquets en question ? Il reste certainement des fichiers .. Je pense en particulier aux différents scripts qui se trouvent dans /var/lib/dpkg/info .. Il me semble que j'ai eu un problème de tcet ype que j'ai résolu en virant systématiquement tous les fichiers concernant le paquet en question et en réinstallant ensuite. mahashakti89 Ce que je viens de faire, j'ai viré manuellement les paquets lm-sensors et powermgmt-base, ainsi que tout ce qui s'y rapporte dans /var/lib/dpkg/info/ ... Quand je veux réinstaller lm-sensors et powermgmt-base, rebelote (erreur dpkg - car le fichier /etc/modutils/0keep ne trouve pas le binaire keep Je ne sais pas à quel paquet appartient ce binaire, apparemment pas à modutils... merci Ben -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
module-init-tools, modutils, ...
Hola. Tengo instalado en mi laptop Woody r2, con el kernel que viene por defecto 2.2.x, pero la mquina es un Pentium 4, y quiero actualizar el kernel, ya que a veces sta se apaga, supongo por el ACPI del BIOS, el detalle es que no hay acceso a internet en sta laptop, he probado bajandome el source del kernel (no el kernel-source de debian, sino el de kernel.org), pero me falta el module-init-tools, asi que he bajado el module-init-tools_3.1-pre6-1_i386.deb, he probado con dpkg -i module-init-tools_3.1-pre6-1_i386.deb, pero salen errores de conflicto con modutils, Cmo puedo hacer para reemplazar o actualizar modutils por module-init-tools? (el apt-get install module-init-tools, no me sirve por que no hay acceso a internet) La otra pregunta es puedo con mi otra compuatdora (la de escritorio), que si tiene acceso a internet bajarme con el apt-get los paquetes necesarios por ejemplo para actualizar mi Woody a testing o unstable y quemarlos en un CD y pasarlos a mi laptop (sin instalarlos en la computadora de escritorio), agregar ese CD al sources.list (Cmo se hace?) y usar apt-get en la laptop? Desde ya, gracias por las respuestas, quiero instalar Debian en mi laptop, pero se est haciendo un poco complicada la cosa, por lo del kernel antiguo del Woody y la falta de coneccion a Internet... Saludos Gilber Create tu cuenta de email en www.esdebian.org
Re: module-init-tools, modutils, ...
Hola Lista: sources.list (¿Cómo sehace?) y usar apt-get en la laptop? Si no mal veo es algo como agregar la linea: deb file:///cdrom/ woody main A el archivo /etc/apt/sources.list O tambien puedes con: apt-cdrom add Te recomiendo checar man apt-cdrom para mejores resultados... _ Do You Yahoo!? La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
[deb-fr] CD Writing - 2.4 - modutils - un peu d'aide
Bonjour, J'ai une sarge que je tente tant bien que mal de maintenir avec les utilitaire debian. J'ai un noyau 2.4.26 et ses sources. Je voudrais activer l'emulation scsi pour utiliser mon graveur. dans le cd writing howto il indique de mettre ceci dans modules.conf : options ide-cd ignore=hdb# tell the ide-cd module to ignore hdb alias scd0 sr_mod# load sr_mod upon access of scd0 #pre-install ide-scsi modprobe imm# uncomment for some ZIP drives only pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi En fait je ne sais pas comment faire ca avec les modutils ... pourriez-vous me donner quelques indications s'il vous plait ? Genre quelles lignes mettre dans un fichier /etc/modutils/toto ... Mon chargeur est GRUB . Merci d'avance pour vos reponses. -- Rakotomandimby Mihamina Andrianifaharana Tel : +33 2 38 76 43 65 http://www.rktmb.org/Members/mihamina
Re: [deb-fr] CD Writing - 2.4 - modutils - un peu d'aide
Bonjour, Rakotomandimby Mihamina a écrit : Bonjour, J'ai une sarge que je tente tant bien que mal de maintenir avec les utilitaire debian. J'ai un noyau 2.4.26 et ses sources. Je voudrais activer l'emulation scsi pour utiliser mon graveur. dans le cd writing howto il indique de mettre ceci dans modules.conf : options ide-cd ignore=hdb# tell the ide-cd module to ignore hdb alias scd0 sr_mod# load sr_mod upon access of scd0 #pre-install ide-scsi modprobe imm# uncomment for some ZIP drives only pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi En fait je ne sais pas comment faire ca avec les modutils ... pourriez-vous me donner quelques indications s'il vous plait ? Je ne comprend pas bien ta questions. Pour ma part (Sarge/2.4.25), options passer à au noyai via lilo : (je ne connais pas l'équivalent Grub) append=hdc=ide-scsi ignore=hdc (hdc = mon graveur) et dans le fichier /etc/modules.conf: pre-install ide-scsimodprobe ide-cd et dans /etc/modules: ide-scsi sg le point de montage : /dev/sr0/graveuriso9660 user,owner,exec,dev,suid,ro,noauto,users 0 0 et $ ls -l /dev/sr0 lrwxrwxrwx1 root root4 2004-07-06 15:16 /dev/sr0 - scd0 $ ls -l /dev/scd0 brw-rw1 root cdrom 11, 0 2004-07-06 15:16 /dev/scd0 Genre quelles lignes mettre dans un fichier /etc/modutils/toto ... Mon chargeur est GRUB . Merci d'avance pour vos reponses. J'éspère que cela pourra t'aider. J8.
Re: [deb-fr] CD Writing - 2.4 - modutils - un peu d'aide
bonjour, Le jeudi 08 juillet 2004, Rakotomandimby Mihamina a écrit... options ide-cd ignore=hdb# tell the ide-cd module to ignore hdb alias scd0 sr_mod# load sr_mod upon access of scd0 #pre-install ide-scsi modprobe imm# uncomment for some ZIP drives only pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi En fait je ne sais pas comment faire ca avec les modutils ... pourriez-vous me donner quelques indications s'il vous plait ? Genre quelles lignes mettre dans un fichier /etc/modutils/toto ... Plutôt que de l'appeler toto, tu n'as qu'à l'appeler graveur. Et tu mets les 6 premières lignes de ce message (en sautant le bonjour et le 'Le jeudi') dans ce fichier, en l'adaptant à ta conf: tu n'es pas obliger d'ignorer hdb, si tant est que hdb est un cdrom, chez moi le cdrom est émulé scsi, ce qui ne sert à rien je suppose (dans ce cas il te faudra rajouter un alias scd1 sr_mod) et puis tu lances un update-modules et le fichier /etc/modules.conf sera mis à jour et pour exemple, mon fichier /etc/modutils/cdrom (conf qui marche) alias scd0 sr_mod alias scd1 sr_mod pre-install sg modprobe ide-scsi pre-install sr_mod modprobe ide-scsi Sans oublier de modifier ta fstab comme on te l'a indiqué. -- jm
Re: modutils unvollstndig installiert
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ich gestehe, ziemlich im System gewütet zu haben :-( Den Fehler habe ich auch gemacht genau EINmal. Aber aus Fehlern lernt man ja bekanntilich ;) Richte modutils ein (2.4.26-1) ... /var/lib/dpkg/info/modutils.postinst: line 52: update-modules: command not found Er ruft im postinst script update-modules auf dort ist irgendwo ein Fehler dpkg: Fehler beim Bearbeiten von modutils (--configure): Unterprozess post-installation script gab den Fehlerwert 127 zurück Fehler traten auf beim Bearbeiten von: modutils E: Sub-process /usr/bin/dpkg returned an error code (1) Womit die Konfiguration insgesamt fehlschlägt Fragen: 1. Generell: was muss ich tun, dass die Pakete konfiguriert werden können? update-module als root aufrufen und sehen wo der Fehler genau liegt. 2. Wie kann ich die richtigen Abhängigkeiten wiederherstellen? 3. Welche andere/weitere Pakete muss ich installieren, weil sie evtl. defekt sind? Da du ja auf 2.6 umsteigen willst musst du einige Pakete auf einen aktuellen Stand bringen. Eine schnelle Google suche ergab: http://www.desktop-linux.net/debkernel.htm Ich denka das da irgendwo der Hund begraben liegt. Christoph -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
modutils unvollständig installiert
Hallo, Eingeständnis nach 1 Tag Suchen und Googlen: ich habe es durch unkontrollierte und wahrscheinlich auch unbedarfte Versuche (... denn sie wissen nicht, was sie tun...), von meinem bisherigen 2.4.26-Kernel auf einen 2.6.7-Kernel umzusteigen, fertig gebracht, dass modutils und modconf nicht mehr funktionieren, weil sie nicht konfiguriert werden können. Ich gestehe, ziemlich im System gewütet zu haben :-( Beide Kernels booten zwar ohne kernel panic, aber modutils und modconf sind nicht vollständig installiert (Konfiguration schlägt fehl, Fehlermeldung auch, dass angeblich fehlerhafte Abhängigkeiten vorhanden sind - welche, konnte ich nicht herausfinden). Auch die Installation von module-init-tools klappt nicht. Hier ein Versuch, modutils mit apt-get zu installieren und zu konfigurieren (gleiche Meldung mit dem 2.6.7-Kernel, ebenso beim Versuch, mit dpkg zu konfigurieren): Richte modutils ein (2.4.26-1) ... /var/lib/dpkg/info/modutils.postinst: line 52: update-modules: command not found dpkg: Fehler beim Bearbeiten von modutils (--configure): Unterprozess post-installation script gab den Fehlerwert 127 zurück Fehler traten auf beim Bearbeiten von: modutils E: Sub-process /usr/bin/dpkg returned an error code (1) Diverse Versuche, die Paktete im Cache zu löschen, mit --purge, -f zu installieren bzw. zu konfigurieren usw. halfen alle nicht. Inzwischen habe ich viele, viele Optionen von apt-get und dpkg kennengelernt ;-). System: Debian unstable, KDE 3.2 Fragen: 1. Generell: was muss ich tun, dass die Pakete konfiguriert werden können? 2. Wie kann ich die richtigen Abhängigkeiten wiederherstellen? 3. Welche andere/weitere Pakete muss ich installieren, weil sie evtl. defekt sind? -- Mit freundlichen Grüßen Wolfgang Hartter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Linux 2.6 and modutils
The root of my problem is that the Debian 2.6 kernel uses modprobe.conf modprobe.d modules-2.6 instead of modules.conf modutils modules Once I figured that out, everything was easy to fix. You are mistaken about what is a kernel module and what is a kernel device. The eth0 name is a kernel device. It is a networking device name the kernel uses identify the first network interface card (nic). It is not a module name. This is not entirely true. When the eth0 interface is upped, it attempts to load the module eth0. Thus, if you create an alias from eth0 to the driver for eth0, it will load automatically. alias eth0 3c59x Likewise for sound the proper line is... alias sound-slot-0 snd-intel8x0 I haven't yet figured out how to get the same aliasing trick to work for the mouse, so I added the following two lines to modules-2.6 mousedev psmouse Does anyone know the proper aliasing lines to make the mouse work? Cheers, Shaun -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux 2.6 and modutils
2004. május 16. 20:46 dátummal Shaun Jackman ezt írta: The root of my problem is that the Debian 2.6 kernel uses modprobe.conf modprobe.d modules-2.6 Is this true? Then why can my system load the modules from the /etc/modules file when I'm using 2.6.5? instead of modules.conf modutils modules -- LeVA pgpUVM9sbnq9C.pgp Description: signature
Re: Linux 2.6 and modutils
I just checked /etc/init.d/module-init-tools, and it seems to use the first of the following files in this order of preference: /etc/modules-$KVER /etc/modules-2.6 /etc/modules where $KVER=`uname -r`, e.g. 2.6.3-1-k7 Cheers, Shaun On Sun May 16, 2004 12h39, LeVA wrote: 2004. május 16. 20:46 dátummal Shaun Jackman ezt írta: The root of my problem is that the Debian 2.6 kernel uses modprobe.conf modprobe.d modules-2.6 Is this true? Then why can my system load the modules from the /etc/modules file when I'm using 2.6.5? instead of modules.conf modutils modules -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux 2.6 and modutils
Shaun Jackman wrote: Please cc me in your reply. Please do not CC me but keep replies to the mailing list. I am using the following modutils lines alias char-major-10-1 mousedev above mousedev psmouse alias sound-card-0 snd-intel8x0 alias eth0 3c59x Those seem strange to me. Did you add them yourself? If so I would back out your changes. I do not believe they are needed. but they seem to be having no effect. For example, $ modprobe eth0 FATAL: Module eth0 not found. You are mistaken about what is a kernel module and what is a kernel device. The eth0 name is a kernel device. It is a networking device name the kernel uses identify the first network interface card (nic). It is not a module name. Kernel module names identify software drivers for particular types of devices. Such as e100 for an Intel or 8139too for a realtek. Kernel modules can be loaded with 'modprobe', not devices. What are you trying to get working? Both networking and sound? What is the output of 'lspci'. lspci That is the critical information to determine what you need to do here. If I assume right from your notes above you need to load the following into /etc/modules. modprobe i810_audio echo i810_audio /etc/modules modprobe 3c59x echo 3c59x /etc/modules The above should do it. Or use the 'modconf' command to do basically the above inside of a guided environment. modconf Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Linux 2.6 and modutils
I am using the following modutils lines alias char-major-10-1 mousedev above mousedev psmouse alias sound-card-0 snd-intel8x0 alias eth0 3c59x but they seem to be having no effect. For example, $ modprobe eth0 FATAL: Module eth0 not found. How can I make this work? ii modutils 2.4.26-1 Linux module utilities ii module-init-tools 3.0-pre10-2tools for managing Linux kernel modules Please cc me in your reply. Thanks! Shaun -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
On Thu, 2004-02-19 at 21:14 +0100, Andreas Janssen wrote: Yes, you are right. Kernel 2.6 uses /etc/modprobe.d (and if you use update-modules, the contents are written to /lib/modules/modprobe.conf, which is included in /etc/modprobe.conf). Use update-modules.modutils to update /etc/modules.conf from /etc/ modutils/* for 2.4 Use update-modules to update /lib/modules/modprobe.conf from /etc/ modprobe.d/* for 2.6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
On Wed, Feb 18, 2004 at 07:01:55PM -0500, Adam Aube wrote: | On 18 Feb 2004 at 16:41:36, CW Harris wrote: | | does 2.6 require both? I currently have kept both since I | have a 2.4 kernel for a rescue boot, but I was planning to | remove it eventually. | | With 2.6, update-modules uses /etc/modutils/* to form | /lib/modules/modprobe.conf, which is included in | /etc/modprobe.conf. Are you sure? I think, though I could be wrong, that the 2.6 update-modules uses /etc/modprobe.d/*, not /etc/modutiles. I thought /etc/modutils is only for 2.4 (and earlier) kernels. A fairly quick look through the /sbin/update-modules script doesn't indicate any usage of /etc/modutils/*. (however, that script does run the kernel 2.4/modutils update-modules script if it is present so that one command keeps both module config files up-to-date) At any rate, for kernel 2.6 the only file you (generally) need to edit is /etc/modprobe.conf. -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Newbish Q: Why modprobe.d *and* modutils?
Hello Derrick 'dman' Hudson ([EMAIL PROTECTED]) wrote: On Wed, Feb 18, 2004 at 07:01:55PM -0500, Adam Aube wrote: | On 18 Feb 2004 at 16:41:36, CW Harris wrote: | | does 2.6 require both? I currently have kept both since I | have a 2.4 kernel for a rescue boot, but I was planning to | remove it eventually. | | With 2.6, update-modules uses /etc/modutils/* to form | /lib/modules/modprobe.conf, which is included in | /etc/modprobe.conf. Are you sure? I think, though I could be wrong, that the 2.6 update-modules uses /etc/modprobe.d/*, not /etc/modutiles. I thought /etc/modutils is only for 2.4 (and earlier) kernels. A fairly quick look through the /sbin/update-modules script doesn't indicate any usage of /etc/modutils/*. Yes, you are right. Kernel 2.6 uses /etc/modprobe.d (and if you use update-modules, the contents are written to /lib/modules/modprobe.conf, which is included in /etc/modprobe.conf). best regards Andreas Janssen (who compiled and installed Kernel 2.6 today) -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Newbish Q: Why modprobe.d *and* modutils?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I understand that modules.conf is deprecated in favor of update-modules. I don't understand why I have a modprobe.d and a modutils directory. Should I be using one or the other or both? Thanks, - -d -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAM8lcBvPMwzw/p/cRAjjjAJ94dlRDMU/Yt+sFP+oXanBkLT+uhwCeNKV6 d2e9pfdGwFq+MC9qZvbdFmU= =Yedn -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
On 18 Feb 2004 at 15:21:48, Darin Strait wrote: I understand that modules.conf is deprecated in favor of update-modules. Not exactly - update-modules is just designed to be a better way to manage modules.conf. It does not replace it. I don't understand why I have a modprobe.d and a modutils directory. The modutils directory is for modutils (for 2.4 kernels), and the modprobe.d directory is for module-init-tools (for 2.6 kernels). Should I be using one or the other or both? That depends on what kernels you use. 2.4 only - use apt get remove --purge module-init-tools to remove module-init-tools and its config files (including the /etc/modprobe.d folder and /etc/modprobe.conf). 2.6 only - Keep both, but only maintain modprobe.d Both 2.4 and 2.6 - keep and maintatin both Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
On Wed, Feb 18, 2004 at 05:32:40PM -0500, Adam Aube wrote: On 18 Feb 2004 at 15:21:48, Darin Strait wrote: snip I don't understand why I have a modprobe.d and a modutils directory. The modutils directory is for modutils (for 2.4 kernels), and the modprobe.d directory is for module-init-tools (for 2.6 kernels). Should I be using one or the other or both? That depends on what kernels you use. 2.4 only - use apt get remove --purge module-init-tools to remove module-init-tools and its config files (including the /etc/modprobe.d folder and /etc/modprobe.conf). 2.6 only - Keep both, but only maintain modprobe.d does 2.6 require both? I currently have kept both since I have a 2.4 kernel for a rescue boot, but I was planning to remove it eventually. Both 2.4 and 2.6 - keep and maintatin both Adam -- Chris Harris [EMAIL PROTECTED] --- GNU/Linux --- The best things in life are free. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
On 18 Feb 2004 at 16:41:36, CW Harris wrote: does 2.6 require both? I currently have kept both since I have a 2.4 kernel for a rescue boot, but I was planning to remove it eventually. With 2.6, update-modules uses /etc/modutils/* to form /lib/modules/modprobe.conf, which is included in /etc/modprobe.conf. All this is for is some default system mappings. That's why you keep both, but don't have to worry about maintaining /etc/modutils. Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbish Q: Why modprobe.d *and* modutils?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 18 February 2004 05:32 pm, Adam Aube wrote: 2.6 only - Keep both, but only maintain modprobe.d I think that this is the answer that I was looking for. I've been trying to clean up little things since I've updated to 2.6 and I keep wondering where I should be putting modules and aliases and whatnot. thanks, - -d -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFANBs4BvPMwzw/p/cRAnAzAKCaTZmgHDd1BnkitDsl/tS/OPr/RQCcC9F3 ehjJcjYPQUEwyqwqStus/Zs= =l1q/ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
modutils for kernel 2.6.x and Woody
Hi, does someone know a package for the new modutils for Woody? /FAU -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils for kernel 2.6.x and Woody
On Wed, 2003-12-31 at 14:56, Frank A. Uepping wrote: does someone know a package for the new modutils for Woody? Adrian Bunk has them, backports.org too http://www.apt-get.org/search.php?query=module-init-toolssubmit=arch%5B%5D=i386arch%5B%5D=all -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
modutils (was:Configuring AC97 sound)
On Tue, 2003-11-11 at 00:27, Lynn W. wrote: No annoyance at all :) Vaguely--I think the commands you describe relate to displaying the modules and setting them up to be used/recognized? My question is probably more along the lines of where do I get these? Get them? You don't need to get them -- every home should have them. The package they are in is called 'modutils', and if I'm not completely mistaken it needs massive tampering to install Debian without getting modutils as part of the deal. The same with the loadable kernel modules (aka device driver modules): the kernel comes together with the modules, you will find them under /lib/modules/kernel-version-nuber/kernel/... As for kernel versions... it won't hurt at all to install a slightly newer version. You don't need to start from scratch. Start dselect (or preferably aptitude), look for 'kernel-image' and pick the one that suits you best. cu, Schnobs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
modutils problem
Hello! I have noticed that when I load a module the /etc/modutils/module_name files, which conatins the post-install lines, doesn't run. So when I load my emu10k1 for example, which has a /etc/modutils/emu10k1 file, which contains this line: post-install emu10k1 /usr/local/etc/emu-script doesn't run. Why? Is there some biig variable which has to be set, to execute those post-install lines, or do I have to install a package or what? Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils problem
LeVA [EMAIL PROTECTED] writes: I have noticed that when I load a module the /etc/modutils/module_name files, which conatins the post-install lines, doesn't run. So when I load my emu10k1 for example, which has a /etc/modutils/emu10k1 file, which contains this line: post-install emu10k1 /usr/local/etc/emu-script doesn't run. Did you run update-modules as root after creating the /etc/modutils file? (Nothing actually runs the commands in /etc/modutils/* directly, but update-modules combines those files together into /etc/modules.conf, which is what's actually read by modprobe.) -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ Theoretical politics is interesting. Politicking should be illegal. -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils problem
David Z Maze rta: LeVA [EMAIL PROTECTED] writes: I have noticed that when I load a module the /etc/modutils/module_name files, which conatins the post-install lines, doesn't run. So when I load my emu10k1 for example, which has a /etc/modutils/emu10k1 file, which contains this line: post-install emu10k1 /usr/local/etc/emu-script doesn't run. Did you run update-modules as root after creating the /etc/modutils file? (Nothing actually runs the commands in /etc/modutils/* directly, but update-modules combines those files together into /etc/modules.conf, which is what's actually read by modprobe.) Yeah, that was the problem, thanks! I forgot it... Now I have the updated modules.conf, but it is only readed if I install the modules with modprobe. If I load the modules with insmod, still don't run the post-install script, but with modprobe it seems ok. Is this normal? And during bootup, which program loads the modules, modprobe, or insmod, because it would be good if these post-install entries could run during the bootup. Thanks again! Daniel -- LeVA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils problem
On Fri, Oct 17, 2003 at 08:01:09PM +0200, LeVA wrote: Hello! I have noticed that when I load a module the /etc/modutils/module_name files, which conatins the post-install lines, doesn't run. So when I load my emu10k1 for example, which has a /etc/modutils/emu10k1 file, which contains this line: post-install emu10k1 /usr/local/etc/emu-script doesn't run. Why? Is there some biig variable which has to be set, to execute those post-install lines, or do I have to install a package or what? To the best of my knowledge, update-modules writes those post-install lines in /etc/modules.conf. Are those lines written there? Have you run update-modules? -- Shaul Karl,shaulk @ actcom . net . il -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
module-init-tools and modutils
If I understand correctly, the package module-init-tools is for 2.6 kernels, and the modutils components for 2.4 kernels (rmmod, lsmod, insmod) are being renamed with a .modutils extension in debian unstable. I am running debian unstable, and just had trouble installing a commercial package (oss from opensound.com) because apparently other distributions (suse, redhat, slackware, mandrake) are renaming their 2.4 modutils components with .old. I had to redo all the links from my commercial package so they pointed to the files in /sbin with the .modutils extension. I'm certainly not saying debian has to do everything the way everybody else does it, but I'm wondering what the reason is for doing it differently. I would imagine this could also create some problems installing non-commercial packages that aren't debian packages. Thanks. -- Cheryl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: module-init-tools and modutils
Cheryl Homiak wrote: If I understand correctly, the package module-init-tools is for 2.6 kernels, and the modutils components for 2.4 kernels (rmmod, lsmod, insmod) are being renamed with a .modutils extension in debian unstable. I am running debian unstable, and just had trouble installing a commercial package (oss from opensound.com) because apparently other distributions (suse, redhat, slackware, mandrake) are renaming their 2.4 modutils components with .old. I had to redo all the links from my commercial package so they pointed to the files in /sbin with the .modutils extension. I'm certainly not saying debian has to do everything the way everybody else does it, but I'm wondering what the reason is for doing it differently. I would imagine this could also create some problems installing non-commercial packages that aren't debian packages. Thanks. Actually, the way I understand it, the application should simply call rmmod, lsmod, modprobe, etc. The application should not check and try to call a specific version of the tool. What should happen is that if you are running a 2.4 kernel and you have the new module-init-tools installed, it will realize that you are running a 2.4 kernel and pass the call to the old version of the program. I have VMWare installed on my machine and I have both modutils and module-init-tools and everthing works like should. -Roberto pgp0.pgp Description: PGP signature
Re: Kernel 2.6 and modutils
On Sun, 21 Sep 2003 13:46:03 +0200, Raffaele Sandrini wrote: On Sunday 21 September 2003 13:16, Raffaele Sandrini wrote: Hi I tired to install a 2.6.0-test4 (debain release) kernel. After the reboot i was not able to use the modutils (and all modules) at all. It [...] Ok i found it. I need to install the module-init-tools package... Another hint: What has been /etc/modutils for 2.4 is for 2.6 kernels /etc/modprobe.d. Greetings Andre -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel 2.6 and modutils
Hi I tired to install a 2.6.0-test4 (debain release) kernel. After the reboot i was not able to use the modutils (and all modules) at all. It says that QM_MODULES is not implementet. After some googling around i know that modultis need to be patched to work proper with the 2.6 kernel. Since debian ships the 2.6 kernel im wondering if there is also a patched version of modutils around or what would be the debian way to thing running? cheers, Raffaele -- Raffaele Sandrini [EMAIL PROTECTED] Annoyed about M$ Windows? Don't worry. Try Linux! (www.linux.org) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel 2.6 and modutils
On Sunday 21 September 2003 13:16, Raffaele Sandrini wrote: Hi I tired to install a 2.6.0-test4 (debain release) kernel. After the reboot i was not able to use the modutils (and all modules) at all. It says that QM_MODULES is not implementet. After some googling around i know that modultis need to be patched to work proper with the 2.6 kernel. Since debian ships the 2.6 kernel im wondering if there is also a patched version of modutils around or what would be the debian way to thing running? cheers, Raffaele -- Raffaele Sandrini [EMAIL PROTECTED] Annoyed about M$ Windows? Don't worry. Try Linux! (www.linux.org) Ok i found it. I need to install the module-init-tools package... Perhapps it would be useful to mention this in the kernel source or in the modutils package that u need this package to run a kernel 2.4 cheers, Raffaele -- Raffaele Sandrini [EMAIL PROTECTED] Annoyed about M$ Windows? Don't worry. Try Linux! (www.linux.org) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
how to right correct /etc/modutils/* ?
Is there somewhere a cookbook or HOWTO for writing files for /etc/modutils/* . I have to write files for my usb mouse and for my sound chip, and I have no clue. I see on another system /etc/modutils/usb:__ alias char-major-13 mousedev below mousedev hid below hid usb-uhci alias char-major-180 usb-uhci pre-install usb-uhci options scanner vendor=0x04b8 product=0x0103 I try it on my machine and startx doesn't auto-load the usb mouse, but manually modprobing the mentioned modules works well. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to right correct /etc/modutils/* ?
--- David Morse [EMAIL PROTECTED] escribió: I try it on my machine and startx doesn't auto-load the usb mouse, but manually modprobing the mentioned modules works well. Try adding the necessary modules to your /etc/modules file. They go one per line, and are loaded on boot. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to right correct /etc/modutils/* ?
On Wed, Sep 03, 2003 at 10:13:55PM -0400, David Morse wrote: Is there somewhere a cookbook or HOWTO for writing files for /etc/modutils/* . I have to write files for my usb mouse and for my sound chip, and I have no clue. I see on another system man update-modules Pay particular attention to the file naming conventions, and you should be able to put your files in /etc/modutils/ and then run update-modules to get everything set up without rebooting. HTH dt -- Dave Thayer | If trees could scream, would we be so cavalier about Denver, Colorado USA | cutting them down? We might, if they screamed all [EMAIL PROTECTED] | the time, for no good reason. - Jack Handey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
--- Micha Feigin [EMAIL PROTECTED] escribió: Because, as of kernel 2.5.48 the kernel modules now end in .ko and have a completely different internal structure. The new module-init-tools does not handle old style modules, but recognizes and passes them on to modutils. The old modutils knows nothing of the new formats and will barf all over itself if you attempt to build, load, remove, or otherwise operate on a module with it. The short answer is: because they are not cross compatible. I'm afraid that you are just speculating and didn't bother to actually read the code. Just for the fun of it I just commented out the line that checks for kernel version 2.5.48 and up, i.e. # [ -f /proc/modules -a ! -f /proc/ksyms ] || exit 0 and fixed a cosmetic bug with the echo that prints what module is loading: echo $module instead of echo $module\t either the \t is not needed, or its supposed to be echo -e and probably a \n I then tried it out on 2.4 and 2.6 and it works like a charm on both, no barfing or anything. Will most probably also work with 2.2 kernel. The only difference between them (except for cosmetic ones) is the check whether to run depmod. I'm aware of the .ko extension and the only place it appears is when checking whether to run depmod, and .o is also checked in that instance. Having both of them is most certainly redundant which translate into a bug. You are correct inthat I did not read the code. I guess I should have stated my answer more clearly. However, I do know for a fact that modutils will _not_ load new style kernel modules. I found this out when I tried to upgrade to 2.5.75 without also upgrading to module-init-tools. I also know that the differnces in the modules are more than cosmetic because my binary-only nforce2 network driver required a patch to be compiled against the newer kernels. Same thing with the binary-only driver for the winmodem in my laptop. I guess a better way for me to respond would have been that modutils is not forward comaptible. Sorry for the mixup. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
--- Micha Feigin [EMAIL PROTECTED] escribió: modultils -- kernel 2.5.48 module-init-tools -- kernel = 2.5.48 Of course, module if module-init-tools finds an earlier kernel, it passes the work on to the old version. They are still almost the same, except for the check whether to run depmod in module-init-tools. Why do we need two of them? Because, as of kernel 2.5.48 the kernel modules now end in .ko and have a completely different internal structure. The new module-init-tools does not handle old style modules, but recognizes and passes them on to modutils. The old modutils knows nothing of the new formats and will barf all over itself if you attempt to build, load, remove, or otherwise operate on a module with it. The short answer is: because they are not cross compatible. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
On Sun, 2003-08-31 at 20:59, Roberto Sanchez wrote: --- Micha Feigin [EMAIL PROTECTED] escribió: modultils -- kernel 2.5.48 module-init-tools -- kernel = 2.5.48 Of course, module if module-init-tools finds an earlier kernel, it passes the work on to the old version. They are still almost the same, except for the check whether to run depmod in module-init-tools. Why do we need two of them? Because, as of kernel 2.5.48 the kernel modules now end in .ko and have a completely different internal structure. The new module-init-tools does not handle old style modules, but recognizes and passes them on to modutils. The old modutils knows nothing of the new formats and will barf all over itself if you attempt to build, load, remove, or otherwise operate on a module with it. The short answer is: because they are not cross compatible. I'm afraid that you are just speculating and didn't bother to actually read the code. Just for the fun of it I just commented out the line that checks for kernel version 2.5.48 and up, i.e. # [ -f /proc/modules -a ! -f /proc/ksyms ] || exit 0 and fixed a cosmetic bug with the echo that prints what module is loading: echo $module instead of echo $module\t either the \t is not needed, or its supposed to be echo -e and probably a \n I then tried it out on 2.4 and 2.6 and it works like a charm on both, no barfing or anything. Will most probably also work with 2.2 kernel. The only difference between them (except for cosmetic ones) is the check whether to run depmod. I'm aware of the .ko extension and the only place it appears is when checking whether to run depmod, and .o is also checked in that instance. Having both of them is most certainly redundant which translate into a bug. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
On Sun, 2003-08-31 at 20:59, Roberto Sanchez wrote: --- Micha Feigin [EMAIL PROTECTED] escribió: modultils -- kernel 2.5.48 module-init-tools -- kernel = 2.5.48 Of course, module if module-init-tools finds an earlier kernel, it passes the work on to the old version. They are still almost the same, except for the check whether to run depmod in module-init-tools. Why do we need two of them? Because, as of kernel 2.5.48 the kernel modules now end in .ko and have a completely different internal structure. The new module-init-tools does not handle old style modules, but recognizes and passes them on to modutils. The old modutils knows nothing of the new formats and will barf all over itself if you attempt to build, load, remove, or otherwise operate on a module with it. The short answer is: because they are not cross compatible. I'm afraid that you are just speculating and didn't bother to actually read the code. Just for the fun of it I just commented out the line that checks for kernel version 2.5.48 and up, i.e. # [ -f /proc/modules -a ! -f /proc/ksyms ] || exit 0 and fixed a cosmetic bug with the echo that prints what module is loading: echo $module instead of echo $module\t either the \t is not needed, or its supposed to be echo -e and probably a \n I then tried it out on 2.4 and 2.6 and it works like a charm on both, no barfing or anything. Will most probably also work with 2.2 kernel. The only difference between them (except for cosmetic ones) is the check whether to run depmod. I'm aware of the .ko extension and the only place it appears is when checking whether to run depmod, and .o is also checked in that instance. Having both of them is most certainly redundant which translate into a bug. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- Micha Feigin [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
On Fri, 2003-08-29 at 00:26, Roberto Sanchez wrote: --- Micha Feigin [EMAIL PROTECTED] escribió: It seems that modutils and module-init-tools are duplicating most of the work. Both of them do some check as of the kernel's ability to load modules, module-init-tools also checks for /proc/modules. Then both run depmod, modutils does a bit more work at it. Next both of them load all the modules in /etc/modules and check about modules in /boot. Is this redundant work on purpose, or is it a bug, since there is no problem installing both packages together, which causes a bunch of module already in the kernel errors on startup. modultils -- kernel 2.5.48 module-init-tools -- kernel = 2.5.48 Of course, module if module-init-tools finds an earlier kernel, it passes the work on to the old version. They are still almost the same, except for the check whether to run depmod in module-init-tools. Why do we need two of them? -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
modutils and module-init-tools duplicating work
It seems that modutils and module-init-tools are duplicating most of the work. Both of them do some check as of the kernel's ability to load modules, module-init-tools also checks for /proc/modules. Then both run depmod, modutils does a bit more work at it. Next both of them load all the modules in /etc/modules and check about modules in /boot. Is this redundant work on purpose, or is it a bug, since there is no problem installing both packages together, which causes a bunch of module already in the kernel errors on startup. -- Micha Feigin [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modutils and module-init-tools duplicating work
--- Micha Feigin [EMAIL PROTECTED] escribió: It seems that modutils and module-init-tools are duplicating most of the work. Both of them do some check as of the kernel's ability to load modules, module-init-tools also checks for /proc/modules. Then both run depmod, modutils does a bit more work at it. Next both of them load all the modules in /etc/modules and check about modules in /boot. Is this redundant work on purpose, or is it a bug, since there is no problem installing both packages together, which causes a bunch of module already in the kernel errors on startup. modultils -- kernel 2.5.48 module-init-tools -- kernel = 2.5.48 Of course, module if module-init-tools finds an earlier kernel, it passes the work on to the old version. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
error al configurar modutils 2.4.21-2
Primero que todo un saludo a todos los miembros de esta lista, soy nuevo aqui y espero les pueda ayudar tanto como ustedes a mi. Ahora si a lo que vinimos: Cuando intento instalar modutils 2.4.21-2, me sale este error: Configurando modutils (2.4.21-2) ... /etc/modutils/0keep: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg: error al procesar modutils (--configure): el subproceso post-installation script devolvió el código de salida de error 1 dpkg: problemas de dependencias impiden la configuración de modconf: modconf depende de modutils (= 2.1.85-14); sin embargo: el paquete modutils no está configurado todavía. dpkg: error al procesar modconf (--configure): problemas de dependencias - se deja sin configurar Se encontraron errores al procesar: modutils modconf E: Sub-process /usr/bin/dpkg returned an error code (1) Alguien sabe a que paquete corresponde keep?? -- /kmilo
Re: error al configurar modutils 2.4.21-2
On Sun, 26 Jul 2003, kmilo wrote: Cuando intento instalar modutils 2.4.21-2, me sale este error: Configurando modutils (2.4.21-2) ... /etc/modutils/0keep: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg: error al procesar modutils (--configure): el subproceso post-installation script devolvió el código de salida de error 1 dpkg: problemas de dependencias impiden la configuración de modconf: modconf depende de modutils (= 2.1.85-14); sin embargo: el paquete modutils no está configurado todavía. dpkg: error al procesar modconf (--configure): problemas de dependencias - se deja sin configurar Se encontraron errores al procesar: modutils modconf E: Sub-process /usr/bin/dpkg returned an error code (1) Alguien sabe a que paquete corresponde keep?? A ninguno que yo sepa. Eso parece simplemente una palabra válida en el lenguage propio de los ficheros /etc/modutils/*. Por lo que parece, en tu sistema /etc/modutils/0keep es ejecutable, pero no debería serlo. Si tú eres quien ha hecho ejecutable eso, es culpa tuya. Si se ha hecho ejecutable él solito, es un bicho. Intenta averiguar cómo ha sucedido y envía un informe de bicho (mira en bugs.debian.org). Supongo que chmod 644 /etc/modutils/0keep debería arreglar ese problema.
Re: error al configurar modutils 2.4.21-2
Culpa mia, los permisos de mi sistema quedaron algo trastornados al hacer un backup. Arregle los permisos de ese archivo de otros cuantos y ya configuro modutils, GRACIAS. El sáb, 26-07-2003 a las 19:48, Santiago Vila escribió: On Sun, 26 Jul 2003, kmilo wrote: Cuando intento instalar modutils 2.4.21-2, me sale este error: Configurando modutils (2.4.21-2) ... /etc/modutils/0keep: keep: command not found Error while executing /etc/modutils/0keep, aborting dpkg: error al procesar modutils (--configure): el subproceso post-installation script devolvió el código de salida de error 1 dpkg: problemas de dependencias impiden la configuración de modconf: modconf depende de modutils (= 2.1.85-14); sin embargo: el paquete modutils no está configurado todavía. dpkg: error al procesar modconf (--configure): problemas de dependencias - se deja sin configurar Se encontraron errores al procesar: modutils modconf E: Sub-process /usr/bin/dpkg returned an error code (1) Alguien sabe a que paquete corresponde keep?? A ninguno que yo sepa. Eso parece simplemente una palabra válida en el lenguage propio de los ficheros /etc/modutils/*. Por lo que parece, en tu sistema /etc/modutils/0keep es ejecutable, pero no debería serlo. Si tú eres quien ha hecho ejecutable eso, es culpa tuya. Si se ha hecho ejecutable él solito, es un bicho. Intenta averiguar cómo ha sucedido y envía un informe de bicho (mira en bugs.debian.org). Supongo que chmod 644 /etc/modutils/0keep debería arreglar ese problema. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- /kmilo
Re: /etc/modutils/arch/i386
On Mon, 2003-03-03 at 08:31, Jeffrey L. Taylor wrote: Quoting matt zagrabelny [EMAIL PROTECTED]: On Mon, 2003-03-03 at 00:43, Martin Kacerovsky wrote: On Sun, Mar 02, 2003 at 11:47:23PM -0600, matt zagrabelny wrote: i commented out the alias char-major-10-135 rtc line in /etc/modutils/arch/i386 by the following: #alias char-major-10-135 rtc then run update-modules, however on reboot i still get the error message about loading the char-major-10-135 module. but when i do the following: alias char-major-10-135 off then run update-modules and reboot the error message goes away. can someone explain this (in detail) please. thanks, -matt RTC it's used during boot, while setting system clock, I guess Compile module rtc.o In make menuconfig : 'Character devices' - 'Enhanced Real Time Clock Support' comment out that line in /etc/modutils... and reconfigure modules ... Don't forget to put it into /etc/modules ... thanks for the reply, i didnt state my question clearly. why doesnt the commenting out of the line in /etc/modutils/arch/i386 work for getting the error on boot to go away? With the line commented out, there is no mapping from char-major-10-135 to any module, so the lookup fails. With the line, the mapping is to a non-existant module, so the lookup fails. Setting it to off says there is no such module and the lookup succeeds, the answer is no. I have a half dozen alias off lines in my setup to get rid of the warnings. thanks, that helps. one more question: if /etc/modutils/arch/i386 describes the mappings, where is the module (char-major-10-135) being told to load at boot time? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/arch/i386
Quoting matt zagrabelny [EMAIL PROTECTED]: [snip] thanks, that helps. one more question: if /etc/modutils/arch/i386 describes the mappings, where is the module (char-major-10-135) being told to load at boot time? Somewhere in the /lib/modules/2.X.X directories. Jeffrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/arch/i386
On Mon, 2003-03-03 at 00:43, Martin Kacerovsky wrote: On Sun, Mar 02, 2003 at 11:47:23PM -0600, matt zagrabelny wrote: i commented out the alias char-major-10-135 rtc line in /etc/modutils/arch/i386 by the following: #alias char-major-10-135 rtc then run update-modules, however on reboot i still get the error message about loading the char-major-10-135 module. but when i do the following: alias char-major-10-135 off then run update-modules and reboot the error message goes away. can someone explain this (in detail) please. thanks, -matt RTC it's used during boot, while setting system clock, I guess Compile module rtc.o In make menuconfig : 'Character devices' - 'Enhanced Real Time Clock Support' comment out that line in /etc/modutils... and reconfigure modules ... Don't forget to put it into /etc/modules ... thanks for the reply, i didnt state my question clearly. why doesnt the commenting out of the line in /etc/modutils/arch/i386 work for getting the error on boot to go away? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/arch/i386
Quoting matt zagrabelny [EMAIL PROTECTED]: On Mon, 2003-03-03 at 00:43, Martin Kacerovsky wrote: On Sun, Mar 02, 2003 at 11:47:23PM -0600, matt zagrabelny wrote: i commented out the alias char-major-10-135 rtc line in /etc/modutils/arch/i386 by the following: #alias char-major-10-135 rtc then run update-modules, however on reboot i still get the error message about loading the char-major-10-135 module. but when i do the following: alias char-major-10-135 off then run update-modules and reboot the error message goes away. can someone explain this (in detail) please. thanks, -matt RTC it's used during boot, while setting system clock, I guess Compile module rtc.o In make menuconfig : 'Character devices' - 'Enhanced Real Time Clock Support' comment out that line in /etc/modutils... and reconfigure modules ... Don't forget to put it into /etc/modules ... thanks for the reply, i didnt state my question clearly. why doesnt the commenting out of the line in /etc/modutils/arch/i386 work for getting the error on boot to go away? With the line commented out, there is no mapping from char-major-10-135 to any module, so the lookup fails. With the line, the mapping is to a non-existant module, so the lookup fails. Setting it to off says there is no such module and the lookup succeeds, the answer is no. I have a half dozen alias off lines in my setup to get rid of the warnings. Jeffrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
/etc/modutils/arch/i386
i commented out the alias char-major-10-135 rtc line in /etc/modutils/arch/i386 by the following: #alias char-major-10-135 rtc then run update-modules, however on reboot i still get the error message about loading the char-major-10-135 module. but when i do the following: alias char-major-10-135 off then run update-modules and reboot the error message goes away. can someone explain this (in detail) please. thanks, -matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/modutils/arch/i386
On Sun, Mar 02, 2003 at 11:47:23PM -0600, matt zagrabelny wrote: i commented out the alias char-major-10-135 rtc line in /etc/modutils/arch/i386 by the following: #alias char-major-10-135 rtc then run update-modules, however on reboot i still get the error message about loading the char-major-10-135 module. but when i do the following: alias char-major-10-135 off then run update-modules and reboot the error message goes away. can someone explain this (in detail) please. thanks, -matt RTC it's used during boot, while setting system clock, I guess Compile module rtc.o In make menuconfig : 'Character devices' - 'Enhanced Real Time Clock Support' comment out that line in /etc/modutils... and reconfigure modules ... Don't forget to put it into /etc/modules ... Bye. -- +--+ | Martin Kacerovsky| | e-mail : wizard(AT)matfyz(DOT)cz | | home : http://wizard.matfyz.cz | +--+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modconf/modutils dist-upgrade
On Fri, 23 Aug 2002 14:39:17 +0200 [EMAIL PROTECTED] wrote: (...) Cela vient du package binutils de sid Package: binutils Version: 2.12.90.0.15-2 Depends: libc6 (= 2.2.5-13), debconf, shellutils Conflicts: gas, elf-binutils, modutils ( 2.4.19-1) La config est différente en Sarge Package: binutils Version: 2.12.90.0.1-4 Depends: libc6 (= 2.2.4-4), debconf, shellutils Conflicts: gas, elf-binutils C'est quand meme assez étrange. Cela voudrait-il dire que ceux qui utilisent Sid ne peuvent plus utiliser de modules !?! A moins qu'il y ai d'autres paquets qui remplacent modutils et modconf. A moins que cela soit un bug? Au utilisateurs de Sid/Unstable: Qu'en pensez vous? Ça veut juste dire que tu _dois_ avoir des modutils de version au moins 2.4.19-1 Or dans sid, il y a http://packages.debian.org/unstable/base/modutils.html C'est pas plus compliqué que ça... -- Mike Hommey [EMAIL PROTECTED] Je crois au moment, et s'il n'y a pas le moment à ce moment là, il faut arriver à ce moment là au moment qu'on veut. -- Jean-Claude Vandamme pgpeb2VX34Nja.pgp Description: PGP signature
Re: modconf/modutils dist-upgrade
[EMAIL PROTECTED] wrote: (...) Cela vient du package binutils de sid Package: binutils Version: 2.12.90.0.15-2 Depends: libc6 (= 2.2.5-13), debconf, shellutils Conflicts: gas, elf-binutils, modutils ( 2.4.19-1) La config est différente en Sarge Package: binutils Version: 2.12.90.0.1-4 Depends: libc6 (= 2.2.4-4), debconf, shellutils Conflicts: gas, elf-binutils (...) Ça veut juste dire que tu _dois_ avoir des modutils de version au moins 2.4.19-1 Or dans sid, il y a http://packages.debian.org/unstable/base/modutils.html C'est pas plus compliqué que ça... Vu. Dans Sid, il y a modutils 2.4.19-3. Mais alors, pourquoi l'install de binutils/sid a demandé la suppression de modutils, alors qu'elle aurait pu proposer l'upgrade? N'aurait-on pas du avoir à la place quelque chose comme ça? Conflicts: ...modutils ( 2.4.19-1) Depends: ...modutils (= 2.4.19-1) -- --Laurent
Re: modconf/modutils dist-upgrade
On Fri, 23 Aug 2002 16:21:58 +0200 [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: (...) Cela vient du package binutils de sid Package: binutils Version: 2.12.90.0.15-2 Depends: libc6 (= 2.2.5-13), debconf, shellutils Conflicts: gas, elf-binutils, modutils ( 2.4.19-1) La config est différente en Sarge Package: binutils Version: 2.12.90.0.1-4 Depends: libc6 (= 2.2.4-4), debconf, shellutils Conflicts: gas, elf-binutils (...) Ça veut juste dire que tu _dois_ avoir des modutils de version au moins 2.4.19-1 Or dans sid, il y a http://packages.debian.org/unstable/base/modutils.html C'est pas plus compliqué que ça... Vu. Dans Sid, il y a modutils 2.4.19-3. Mais alors, pourquoi l'install de binutils/sid a demandé la suppression de modutils, alors qu'elle aurait pu proposer l'upgrade? N'aurait-on pas du avoir à la place quelque chose comme ça? Conflicts: ...modutils ( 2.4.19-1) Depends: ...modutils (= 2.4.19-1) Que binutils dépende de modutils serait un non-sens, tu n'as pas besoin des modutils pour faire fonctionner binutils. Par contre, le conflit en a un puisque les nouveaux binutils doivent changer des choses qui font merder les modutils de version inférieure à 2.4.19. Par ailleurs, j'ai pas tout compris à ton problème... tu disais avoir dist-upgradé en testing, tu n'aurais donc pas dû rencontrer ce conflit... Cela dit, si tu es en testing et que tu installes le binutils de sid, par défaut, il va voir le conflit et vouloir le résoudre... en virant modutils ; c'est un comportement qui ne me choque pas... -- Mike Hommey [EMAIL PROTECTED] Je crois au moment, et s'il n'y a pas le moment à ce moment là, il faut arriver à ce moment là au moment qu'on veut. -- Jean-Claude Vandamme pgpS8gbgUZAkj.pgp Description: PGP signature
Re: modconf/modutils dist-upgrade
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: (...) Mais alors, pourquoi l'install de binutils/sid a demandé la suppression de modutils, alors qu'elle aurait pu proposer l'upgrade? N'aurait-on pas du avoir à la place quelque chose comme ça? Conflicts: ...modutils ( 2.4.19-1) Depends: ...modutils (= 2.4.19-1) Que binutils dépende de modutils serait un non-sens, tu n'as pas besoin des modutils pour faire fonctionner binutils. Par contre, le conflit en a un puisque les nouveaux binutils doivent changer des choses qui font merder les modutils de version inférieure à 2.4.19. Je suis d'accord. Par ailleurs, j'ai pas tout compris à ton problème... tu disais avoir dist-upgradé en testing, tu n'aurais donc pas dû rencontrer ce conflit... Cela dit, si tu es en testing et que tu installes le binutils de sid, par défaut, il va voir le conflit et vouloir le résoudre... en virant modutils ; c'est un comportement qui ne me choque pas... C'est exactement ce qui m'est arrivé... Upgrade en testing + quelques pkg de Sid, dont binutils. Je n'ai pas été très clair et n'avais pas dit toute la vérité lors de mon premier post. Apres explication... tout s'explique... Merci -- --Laurent
modconf/modutils dist-upgrade
Bonjour, J'ai fait un upgrade de Woody vers testing (apt-get -u dist-upgrade) et ai eu la surprise de voir que le systeme me proposait de supprimer modconf et modutils! Téméraire, j'y suis allé... et ai réinstallé modconf et modutils dans la foulée. Cela ne lui a pas posé de probleme. Le systeme semble marcher normalement. Cela m'intrigue quand meme... Avez vous déjà constaté cela? De quoi cela peut-il venir? D'autres commentaires? Merci -- --Laurent
Re: modconf/modutils dist-upgrade
On Thursday 22 Aug 2002, [EMAIL PROTECTED] wrote: Bonjour, J'ai fait un upgrade de Woody vers testing (apt-get -u dist-upgrade) et ai eu la surprise de voir que le systeme me proposait de supprimer modconf et modutils! Je l'ai fait mais je n'ai pas fait un dist-upgrade , j'ai fait des install successifs, trop de paquets...et j'ai tjrs ces trucs là : ii modconf0.2.43 Device Driver Configuration ii modutils 2.4.15-1 Linux module utilities. -- jean-michel
**kernel 2.4.x e modutils**
Ola, Eu compilei o kernel 2.4.18 com suporte a modulo e varios modulos usando o make-kpkg. Porem, os modulos que estao especificados para carregar em tempo de boot não são carregados mais. Na inicialização do meu sistema já roda o depmod -a. Lembrando q quando dou boot pelo 2.2.19, funciona normalmente. Minha pergunta é: Tenho q estar usando uma nova versão do modutils? Muito obrigado! Thiago = __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]