[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel upgrade from 2.4 to 2.6 fail




On Mon, Apr 12, 2004 at 09:37:26PM -0400, Kevin Coyner wrote......

> 
> I'm currently running unstable on a 2.4.20 kernel and just tried to
> upgrade to the 2.6 kernel by running:
> 
> root@sakura:~# apt-get install kernel-image-2.6.5-1-686
> 
> and I get the following error:
> 
> Do you want to stop now? [Y/n]n
> Setting up kernel-image-2.6.5-1-686 (2.6.5-1) ...
> /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
> FATAL: Module usb_storage_0 not found.
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.6.5-1-686 (--configure):
>  subprocess post-installation script returned error exit status 9
>  Errors were encountered while processing:
>   kernel-image-2.6.5-1-686
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> As you can see, it failed with an error about modprobe and
> usb_storage_0.  I'm not sure where to proceed with this, and would
> appreciate any tips.

After a bit of experimentation, I got it to upgrade to 2.6 by first
using modconf to remove usb-storage from the loaded modules and then
doing apt-get install kernel-image-2.6.5-1-686.  After the kernel
successfully installed using apt-get, I rebooted into 2.6 and then went
to modconf again and loaded in usb-storage.  

All is well now.

Kevin

Attachment: signature.asc
Description: Digital signature


Reply to: