Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
on Mon, 12 Apr 2004 09:53:38PM -0400, Derrick 'dman' Hudson insinuated: On Mon, Apr 12, 2004 at 06:26:33PM -0400, Nori Heikkinen wrote: | on Mon, 12 Apr 2004 03:08:28PM -0400, Derrick 'dman' Hudson insinuated: | What version of the dhcp-client package do you have installed? | | 2.0pl5-11 That's the one from woody. If you don't mind running a newer system, not at all -- not only do i regularly grab more packages than i plan to from unstable, but i'm upgrading to the 2.6 stock kernel from debian -- certainly gonna run into some dependency issues there, i suppose. then I'd try the version from sarge that did it. yay! is it a bug in the kernel package that it doesn't tell me to upgrade to the newer dhcp-client package, too? or the 'dhcp3-client' package. I don't remember exactly, but I think I upgraded to dhcp3-client before I upgraded to kernel 2.6. It is conceivable that dhclient is somewhat tied to the kernel version. then it should be upgraded when i use apt/aptitude to grab a new kernel version, yes? thanks, dman. just confirming previous knowledge that you rock. /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: On Fri, Apr 09, 2004 at 02:41:54PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 01:47:26PM -0400, Derrick 'dman' Hudson insinuated: | On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: [...] | | how, then, should i go about installing the kernel image? | | Try aptitude. Trace through the Depends/Conflicts and figure out | what's wrong. Something must be conflicting somewhere. (maybe you | just need to upgrade modutils while you install module-init-tools?) | | after a bit of poking in aptitude, which was very noninformative, It may take a little getting used to, but aptitude combines the data available from 'apt-cache show' and 'apt-cache policy' in a way that is navigable. What I would have done in your situation is gone to the 'modutils' package. Press enter to view the package's details. Some line in that view would most likely have been red indicating broken or magenta indicating will-be-removed. Scrolling through the display you can see what packages and versions are in the depends and conflicts tags for that package as well as the list of what packages (and versions) depend on or conflict with the current package. In hindsight, I now know that it would have shown that module-init-tools conflicts with modutils = 2.4.21-1 and your modutils fit that criteria (hence apt-get wanted to remove it to solve the conflict). cool. i feel like i did this and didn't find anything useful, but maybe i just didn't spend long enough poking. | i tried your suggestion of upgrading modutils (from 2.4.15-1 to | 2.4.26-1) -- beautiful. then the 2.6.4 kernel image goes on without | trying to remove everything and its mother. Lucky guess. :-). At least it worked for you. yeah, thanks :) | of course, i've totally failed to show the slickness of apt to my | coworker, because as soon as i booted up with 2.6.4, my mouse (neither | USB nor PS2) didn't work, and i wasn't online. (right now, i've | reverted to 2.4 to type this :-P). surely the 2.6 kernel comes with | USB support compiled in? am i just going to have to suck it up and | roll my own kernel? I'm using the stock 2.6 kernel on 5 machines. There are some differences from 2.4, though, mainly in the module and device driver organization. Some key differences, and probably the ones you are running into, : 2.4 2.6 --- --- usb-uhciuhci-hcd usb-ohciohci-hcd usb-ehciehci-hcd psmouse (the PS/2 mouse driver is in a module now) okay, excellent. thanks for pointong this out -- now i have a functional mouse under 2.6. I haven't noticed any changes in networking, but that might be dependent on the hardware and what modules I already had configured to be loaded. the network error i get when i try to reconfigure my network interfaces is below: Reconfiguring network interfaces: cat: /var/run/dhclient.pid: No such file or directory Unrecognized kernel version done. i can tell that _something's_ not recognizing my kernel version, but what is it? i probably just need to grab a newer package of something, but what? thanks again! /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
[back on-list] on Mon, 12 Apr 2004 02:02:06PM -0400, J F insinuated: I don't have a specific answer to your problem, but using aptitude seems to ease upgrade problems. Also, having testing, unstable, and stable all in /etc/apt/sources.list seems to get aptitude to converge on a working solution. yeah, i do have all of them in there. i'm relatively new to aptitude, and have never been a convert, specifically because every time i try to install any one thing with it, it wants to upgrade the rest of my system and install at least 50 new packages. i probably don't have it synched with something or other -- probably related to the error i see whenever i start it up: Apt errors W: Can't open Aptitude extended status file but these problems with aptitude make me shy away from it. am i using it wrong, or something? /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
On Mon, Apr 12, 2004 at 12:19:06PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: [...] | I haven't noticed any changes in networking, but that might be | dependent on the hardware and what modules I already had configured | to be loaded. | | the network error i get when i try to reconfigure my network | interfaces is below: | | Reconfiguring network interfaces: | cat: /var/run/dhclient.pid: No such file or directory This message results from trying to stop dhclient while it isn't running. No harm done. | Unrecognized kernel version This I've never seen before. | done. | | i can tell that _something's_ not recognizing my kernel version, but | what is it? i probably just need to grab a newer package of | something, but what? What is your network card? What driver did you use with the 2.4 kernel? What does 'ifconfig -a' report? (is eth0 listed there?) What version of the dhcp-client package do you have installed? -D -- If you hold to [Jesus'] teaching, you are really [Jesus'] disciples. Then you will know the truth, and the truth will set you free. John 8:31-32 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
using apt/aptitude (was: Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel])
On Mon, Apr 12, 2004 at 02:11:24PM -0400, Nori Heikkinen wrote: | [back on-list] | | on Mon, 12 Apr 2004 02:02:06PM -0400, J F insinuated: | I don't have a specific answer to your problem, | but using aptitude seems to ease upgrade problems. | Also, having testing, unstable, and stable all in | /etc/apt/sources.list seems to get aptitude | to converge on a working solution. | | yeah, i do have all of them in there. i'm relatively new to aptitude, | and have never been a convert, specifically because every time i try | to install any one thing with it, it wants to upgrade the rest of my | system and install at least 50 new packages. Big picture : apt normally prefers the version of a package with the biggest number aptitude in woody defaults to 'Aptitude::Auto-Upgrade true' As a result, when you have woody installed, have sarge (and/or sid) in apt's sources list, and you run aptitude, then aptitude wants to upgrade your system to sarge (and/or sid). I assume, from your comments, that you don't want that. There are several factors at play here and you can choose what specific semantics you want. I'll explain by telling about my system. I generally follow sarge, but not infrequently install packages from sid. I like to see what version is in what release with 'apt-cache policy'. Sometimes I don't want to upgrade all upgradeable packages when I run aptitude in gui mode. As a result I have the following setup : 1) woody, sarge, sid all listed in apt's source list 2) sarge preferred, followed by the installed version, followed by woody, and never prefer sid specified in /etc/apt/prefereces. 3) aptitude version from sarge, with 'Aptitude::Auto-Upgrade false' (default in that version) I recommend using the aptitude in sarge over the one in woody because it works correctly (usefully/conveniently) with Auto-Upgrade set to false. (the woody version changes the 'auto' flag to 'manual' when choosing to upgrade a package unless Auto-Upgrade chose to upgrade it) Also take a look at documentation regarding apt's preferences files. | i probably don't have it | synched with something or other -- probably related to the error i see | whenever i start it up: | | Apt errors | W: Can't open Aptitude extended status file I've never seen this message (that I recall). My first guess, though, is that you ran aptitude as a non-root user and as a result didn't have permission to create /var/lib/aptitude/pkgstates. HTH, -D -- GUIs normally make it simple to accomplish simple actions and impossible to accomplish complex actions. --Doug Gwyn (22/Jun/91 in comp.unix.wizards) www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
on Mon, 12 Apr 2004 03:08:28PM -0400, Derrick 'dman' Hudson insinuated: On Mon, Apr 12, 2004 at 12:19:06PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: [...] | I haven't noticed any changes in networking, but that might be | dependent on the hardware and what modules I already had configured | to be loaded. | | the network error i get when i try to reconfigure my network | interfaces is below: | | Reconfiguring network interfaces: | cat: /var/run/dhclient.pid: No such file or directory This message results from trying to stop dhclient while it isn't running. No harm done. yeah, looked pretty innocuous ... | Unrecognized kernel version This I've never seen before. :-P | done. | | i can tell that _something's_ not recognizing my kernel version, but | what is it? i probably just need to grab a newer package of | something, but what? What is your network card? 02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78) What driver did you use with the 2.4 kernel? i put in the 3c59x module for it. the same one exists with the 2.6 kernel ... is this what you mean? never been good with hardware configuration. What does 'ifconfig -a' report? (is eth0 listed there?) with the 2.4 kernel, yes (clearly -- i'm writing from that :). with the 2.6, also yes, but not configured: eth0 Link encap:Ethernet HWaddr 00:06:5B:5F:A0:30 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:18 Base address:0xdc80 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:840 (840.0 b) TX bytes:840 (840.0 b) What version of the dhcp-client package do you have installed? 2.0pl5-11 a friend of mine heard i was installing the 2.6 kernel, and he said bad idea. i asked why, and he mentioned bad driver support -- maybe he means my ethernet card :-P thanks again! /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
Derrick 'dman' Hudson wrote: On Mon, Apr 12, 2004 at 02:11:24PM -0400, Nori Heikkinen wrote: | on Mon, 12 Apr 2004 02:02:06PM -0400, J F insinuated: | I don't have a specific answer to your problem, | but using aptitude seems to ease upgrade problems. | Also, having testing, unstable, and stable all in | /etc/apt/sources.list seems to get aptitude | to converge on a working solution. | | yeah, i do have all of them in there. i'm relatively new to aptitude, | and have never been a convert, specifically because every time i try | to install any one thing with it, it wants to upgrade the rest of my | system and install at least 50 new packages. Big picture : apt normally prefers the version of a package with the biggest number aptitude in woody defaults to 'Aptitude::Auto-Upgrade true' As a result, when you have woody installed, have sarge (and/or sid) in apt's sources list, and you run aptitude, then aptitude wants to upgrade your system to sarge (and/or sid). I assume, from your comments, that you don't want that. There are several factors at play here and you can choose what specific semantics you want. I'll explain by telling about my system. I generally follow sarge, but not infrequently install packages from sid. I like to see what version is in what release with 'apt-cache policy'. Sometimes I don't want to upgrade all upgradeable packages when I run aptitude in gui mode. As a result I have the following setup : 1) woody, sarge, sid all listed in apt's source list 2) sarge preferred, followed by the installed version, followed by woody, and never prefer sid specified in /etc/apt/prefereces. 3) aptitude version from sarge, with 'Aptitude::Auto-Upgrade false' (default in that version) I recommend using the aptitude in sarge over the one in woody because it works correctly (usefully/conveniently) with Auto-Upgrade set to false. (the woody version changes the 'auto' flag to 'manual' when choosing to upgrade a package unless Auto-Upgrade chose to upgrade it) Also take a look at documentation regarding apt's preferences files. | i probably don't have it | synched with something or other -- probably related to the error i see | whenever i start it up: | | Apt errors | W: Can't open Aptitude extended status file I've never seen this message (that I recall). My first guess, though, is that you ran aptitude as a non-root user and as a result didn't have permission to create /var/lib/aptitude/pkgstates. HTH, -D Also, you can press F10 to bring up the menu and press right cursor move (-) twice to highlight OPtions and then down cursor move key to highlight Miscellaneous and press spacebar on to remove [X] before phrase: Automatically upgrade install Packages . You can then search for the broken package by typing: /konqueror which would find the konqueror package. Type carriage return to see the things that it depends on or conflicts with. Type ? for help. Type + to upgrade or '= to hold at the current version of a package. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
On Mon, Apr 12, 2004 at 06:26:33PM -0400, Nori Heikkinen wrote: | on Mon, 12 Apr 2004 03:08:28PM -0400, Derrick 'dman' Hudson insinuated: | On Mon, Apr 12, 2004 at 12:19:06PM -0400, Nori Heikkinen wrote: | | on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: | [...] | | I haven't noticed any changes in networking, but that might be | | dependent on the hardware and what modules I already had configured | | to be loaded. | | | | the network error i get when i try to reconfigure my network | | interfaces is below: | | | | Reconfiguring network interfaces: | | | cat: /var/run/dhclient.pid: No such file or directory | | This message results from trying to stop dhclient while it isn't | running. No harm done. | | yeah, looked pretty innocuous ... | | | Unrecognized kernel version | | This I've never seen before. | | :-P | | | done. | | | | i can tell that _something's_ not recognizing my kernel version, but | | what is it? i probably just need to grab a newer package of | | something, but what? | | What is your network card? | | 02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast | Etherlink] (rev 78) Pretty normal. | What driver did you use with the 2.4 kernel? | | i put in the 3c59x module for it. the same one exists with the 2.6 | kernel ... is this what you mean? never been good with hardware | configuration. Yes, that's what I mean. | What does 'ifconfig -a' report? (is eth0 listed there?) | | with the 2.4 kernel, yes (clearly -- i'm writing from that :). | with the 2.6, also yes, but not configured: | | eth0 Link encap:Ethernet HWaddr 00:06:5B:5F:A0:30 | BROADCAST MULTICAST MTU:1500 Metric:1 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:1000 | RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) | Interrupt:18 Base address:0xdc80 This looks good. I thought that perhaps you had some odd NIC with a vendor-supplied binary-only driver. However, a basic 3Com should be fine. The above from 'ifconfig -a' shows that the kernel does recognize the hardware. | What version of the dhcp-client package do you have installed? | | 2.0pl5-11 That's the one from woody. If you don't mind running a newer system, then I'd try the version from sarge or the 'dhcp3-client' package. I don't remember exactly, but I think I upgraded to dhcp3-client before I upgraded to kernel 2.6. It is conceivable that dhclient is somewhat tied to the kernel version. One way to try and isolate the error message would be to run dhclient directly (not though the ifup wrapper). Another possibility is to run ifup via strace: 'strace -f ifup eth0'. Find that error message in the output, then scroll back and see what generated it and what that program did before printing that message. (note that some familiarity with C and the POSIX APIs is necessary to really make sense of strace's output) | a friend of mine heard i was installing the 2.6 kernel, and he said | bad idea. i asked why, and he mentioned bad driver support -- maybe | he means my ethernet card :-P I would not be surprised if the vendor-supplied binary-only driver support lags a bit. Kernel 2.6 reorganized the module system (hence the modutils - module-init-tools change). The drivers in linus' kernel tree changed accordingly, I expect, but commercial vendors may not have caught up yet. Let's see ... yes, one of the machines I adminster has a 3c905B NIC (3c59x module) and it has had no problem with kernel 2.6 and dhcp3-client. Another machine uses the 3c509 module, and it too has worked fine. -D -- Windows, hmmm, does it come with a GUI interface that works or just pretty blue screens? www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.4 kernel install wants to remove current kernel
Nori Heikkinen escribió: on Fri, 09 Apr 2004 01:47:26PM -0400, Derrick 'dman' Hudson insinuated: On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: | after hearing all the brouhaha about the 2.6 kernel, i thought i'd try | it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants | to remove packages i don't want it to: | About this topic, I suggest to the help-web-sites, create a form(ulary) where the user can specify : - the version (or simply, the last). - the computer processor and recieve the name of the kernel-image to load. This would be helpfull for newbies. Regards. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
2.6.4 kernel install wants to remove current kernel
after hearing all the brouhaha about the 2.6 kernel, i thought i'd try it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants to remove packages i don't want it to: homeruns:~# apt-get install kernel-image-2.6.4-1-686 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: module-init-tools Suggested packages: kernel-doc-2.6.4 kernel-source-2.6.4 The following packages will be REMOVED: kernel-image-2.4.18-1-686 modutils The following NEW packages will be installed: kernel-image-2.6.4-1-686 module-init-tools 0 upgraded, 2 newly installed, 2 to remove and 154 not upgraded. Need to get 0B/15.4MB of archives. After unpacking 19.8MB of additional disk space will be used. Do you want to continue? [Y/n] n why does it want to remove modutils and my CURRENT kernel image? the installer even tells me this is bad (so i haven't done it): Removing kernel-image-2.4.18-1-686 ... You are running a kernel (version 2.4.18-1-686) and attempting to remove the same version. This is a potentially disastrous action. Not only will /boot/vmlinuz-2.4.18-1-686 be removed, making it impossible to boot it, (you will have to take action to change your boot loader to boot a new kernel), it will also remove all modules under the directory /lib/modules/2.4.18-1-686. Just having a copy of the kernel image is not enough, you will have to replace the modules too. I repeat, this is very dangerous. If at all in doubt, answer no. If you know exactly what you are doing, and are prepared to hose your system, then answer Yes. Remove the running kernel image (not recommended) [No]? n how, then, should i go about installing the kernel image? sorry if this has been addressed already -- a quick poke through the list archives hasn't turned up anything useful. tia, /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: 2.6.4 kernel install wants to remove current kernel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 9 Apr 2004, Nori Heikkinen wrote: after hearing all the brouhaha about the 2.6 kernel, i thought i'd try it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants to remove packages i don't want it to: do with the --no-remove option, man apt-get for more options. homeruns:~# apt-get install kernel-image-2.6.4-1-686 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: module-init-tools this is needed by the 2.6.x kernels, else you cant load/unload modules with this kernel. Suggested packages: kernel-doc-2.6.4 kernel-source-2.6.4 The following packages will be REMOVED: kernel-image-2.4.18-1-686 modutils snip modutils are ok to remove, it would be replaced by module-init-tools. removal of current kernel: i suggest doing with the # dpkg -i pathtokernelimage/kernel_image2.6.x.deb instead of apt-get. hth =-=-=-=-=-=-=-=-=-= - - stderr(Mindanao) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAdtp3cY8F/vA02n4RAlMZAKCmOxxTqyeyLzD4fKdBiYg/4l0zBQCgo9Dz FAgeNEpyTMcvuyjiYsiimV4= =PMn6 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.4 kernel install wants to remove current kernel
on Sat, 10 Apr 2004 01:16:34AM +0800, [EMAIL PROTECTED] insinuated: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 9 Apr 2004, Nori Heikkinen wrote: after hearing all the brouhaha about the 2.6 kernel, i thought i'd try it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants to remove packages i don't want it to: do with the --no-remove option, man apt-get for more options. hm, that seems to say it will just quit if anything is to be removed: --no-remove If any packages are to be removed apt-get immedi- ately aborts without prompting. Configuration Item: APT::Get::Remove I'd like it not to remove packages -- not just quit if it thinks it should. homeruns:~# apt-get install kernel-image-2.6.4-1-686 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: module-init-tools this is needed by the 2.6.x kernels, else you cant load/unload modules with this kernel. i'm fine with installing new things -- just removing old important ones is what i'm concerned about. Suggested packages: kernel-doc-2.6.4 kernel-source-2.6.4 The following packages will be REMOVED: kernel-image-2.4.18-1-686 modutils snip modutils are ok to remove, it would be replaced by module-init-tools. cool; thanks. removal of current kernel: i suggest doing with the # dpkg -i pathtokernelimage/kernel_image2.6.x.deb instead of apt-get. well, that's an option, i guess, but i'd like to do this using apt if i can, instead of having to grab the source and copy over my previous kernel config, and then using dpkg -- which is what you're suggesting, yes? i'm trying to show off to a coworker how slick apt can be ;) thanks again, /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: 2.6.4 kernel install wants to remove current kernel
On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: | after hearing all the brouhaha about the 2.6 kernel, i thought i'd try | it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants | to remove packages i don't want it to: | | homeruns:~# apt-get install kernel-image-2.6.4-1-686 | Reading Package Lists... Done | Building Dependency Tree... Done | The following extra packages will be installed: | module-init-tools | Suggested packages: | kernel-doc-2.6.4 kernel-source-2.6.4 | The following packages will be REMOVED: | kernel-image-2.4.18-1-686 modutils | The following NEW packages will be installed: | kernel-image-2.6.4-1-686 module-init-tools | 0 upgraded, 2 newly installed, 2 to remove and 154 not upgraded. | Need to get 0B/15.4MB of archives. | After unpacking 19.8MB of additional disk space will be used. | Do you want to continue? [Y/n] n | | why does it want to remove modutils and my CURRENT kernel image? I have no idea. I used to have 2.4 and 2.6 kernels installed side-by-side with no problem. I still have module-init-tools and modutils installed because lvm-common depends on it, although I no longer use modutils. | the installer even tells me this is bad (so i haven't done it): It is not a good idea to remove the currently running kernel and the userspace module support tools. | how, then, should i go about installing the kernel image? Try aptitude. Trace through the Depends/Conflicts and figure out what's wrong. Something must be conflicting somewhere. (maybe you just need to upgrade modutils while you install module-init-tools?) -D -- NOTICE: You have just been infected with Cooperative UNIX Email Virus. To cooperate please run rm -rf / as root. Thank you for your cooperation www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.4 kernel install wants to remove current kernel
on Fri, 09 Apr 2004 01:47:26PM -0400, Derrick 'dman' Hudson insinuated: On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: | after hearing all the brouhaha about the 2.6 kernel, i thought i'd try | it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants | to remove packages i don't want it to: | | homeruns:~# apt-get install kernel-image-2.6.4-1-686 | Reading Package Lists... Done | Building Dependency Tree... Done | The following extra packages will be installed: | module-init-tools | Suggested packages: | kernel-doc-2.6.4 kernel-source-2.6.4 | The following packages will be REMOVED: | kernel-image-2.4.18-1-686 modutils | The following NEW packages will be installed: | kernel-image-2.6.4-1-686 module-init-tools | 0 upgraded, 2 newly installed, 2 to remove and 154 not upgraded. | Need to get 0B/15.4MB of archives. | After unpacking 19.8MB of additional disk space will be used. | Do you want to continue? [Y/n] n | | why does it want to remove modutils and my CURRENT kernel image? I have no idea. I used to have 2.4 and 2.6 kernels installed side-by-side with no problem. I still have module-init-tools and modutils installed because lvm-common depends on it, although I no longer use modutils. | the installer even tells me this is bad (so i haven't done it): It is not a good idea to remove the currently running kernel and the userspace module support tools. yeah, i'd prefer not to :-P | how, then, should i go about installing the kernel image? Try aptitude. Trace through the Depends/Conflicts and figure out what's wrong. Something must be conflicting somewhere. (maybe you just need to upgrade modutils while you install module-init-tools?) after a bit of poking in aptitude, which was very noninformative, i tried your suggestion of upgrading modutils (from 2.4.15-1 to 2.4.26-1) -- beautiful. then the 2.6.4 kernel image goes on without trying to remove everything and its mother. of course, i've totally failed to show the slickness of apt to my coworker, because as soon as i booted up with 2.6.4, my mouse (neither USB nor PS2) didn't work, and i wasn't online. (right now, i've reverted to 2.4 to type this :-P). surely the 2.6 kernel comes with USB support compiled in? am i just going to have to suck it up and roll my own kernel? thanks again, /nori -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ pgp0.pgp Description: PGP signature
Re: 2.6.4 kernel install wants to remove current kernel
On Fri, Apr 09, 2004 at 02:41:54PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 01:47:26PM -0400, Derrick 'dman' Hudson insinuated: | On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: [...] | | how, then, should i go about installing the kernel image? | | Try aptitude. Trace through the Depends/Conflicts and figure out | what's wrong. Something must be conflicting somewhere. (maybe you | just need to upgrade modutils while you install module-init-tools?) | | after a bit of poking in aptitude, which was very noninformative, It may take a little getting used to, but aptitude combines the data available from 'apt-cache show' and 'apt-cache policy' in a way that is navigable. What I would have done in your situation is gone to the 'modutils' package. Press enter to view the package's details. Some line in that view would most likely have been red indicating broken or magenta indicating will-be-removed. Scrolling through the display you can see what packages and versions are in the depends and conflicts tags for that package as well as the list of what packages (and versions) depend on or conflict with the current package. In hindsight, I now know that it would have shown that module-init-tools conflicts with modutils = 2.4.21-1 and your modutils fit that criteria (hence apt-get wanted to remove it to solve the conflict). | i tried your suggestion of upgrading modutils (from 2.4.15-1 to | 2.4.26-1) -- beautiful. then the 2.6.4 kernel image goes on without | trying to remove everything and its mother. Lucky guess. :-). At least it worked for you. | of course, i've totally failed to show the slickness of apt to my | coworker, because as soon as i booted up with 2.6.4, my mouse (neither | USB nor PS2) didn't work, and i wasn't online. (right now, i've | reverted to 2.4 to type this :-P). surely the 2.6 kernel comes with | USB support compiled in? am i just going to have to suck it up and | roll my own kernel? I'm using the stock 2.6 kernel on 5 machines. There are some differences from 2.4, though, mainly in the module and device driver organization. Some key differences, and probably the ones you are running into, : 2.4 2.6 --- --- usb-uhciuhci-hcd usb-ohciohci-hcd usb-ehciehci-hcd psmouse (the PS/2 mouse driver is in a module now) I haven't noticed any changes in networking, but that might be dependent on the hardware and what modules I already had configured to be loaded. HTH, -D -- But As for me and my household, we will serve the Lord. Joshua 24:15 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.4 kernel install wants to remove current kernel
On Friday 09 April 2004 12:41 pm, Nori Heikkinen wrote: of course, i've totally failed to show the slickness of apt to my coworker, because as soon as i booted up with 2.6.4, my mouse (neither USB nor PS2) didn't work, and i wasn't online. (right now, i've reverted to 2.4 to type this :-P). surely the 2.6 kernel comes with USB support compiled in? am i just going to have to suck it up and roll my own kernel? thanks again, /nori Make sure you have the modules mousedev and psmouse loaded. I believe I had to use modconf to select psmouse from kernel/drivers/input/mouse whereas mousedev was already loaded for me using discover. Once psmouse was loaded then my mouse was active. John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]