LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-12-2010, 10:04 AM   #1
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
vmlinuz-generic-2.6.30.5 boot problem


To try and get an essential device working I have installed the kernel from /testing in Slackware64-13 being vmlinuz-generic-2.6.30.5. I am running this system from an external USB drive (for now) and have managed (eventually) to get this to boot with 2.6.29.6 supplied kernel.
To do this I had to suuply a "rootdelay=" stanza to lilo for the huge kernel and add several devices to the initrd for the generic. Here is my command to create an initial ram disk (works with 2.6.29.6):
Code:
mkinitrd -c -k 2.6.30.5 -m ehci-hcd:usb-storage:ext3 -f ext3 -r /dev/sdc5 -w 20"
All this works fine with 2.6.29.5 but the newer kernel hangs with the old unable to load from root device errors. These are what caused me to investigate the rootdelay and additional kernel modules options in the first place!

Anyway - as the kernel in /testing is only supplied in generic (not huge) form I have tried rebuilding this with the huge .config and "make oldconfig". This kernel errors out the same as the supplied generic one with my added modules.

Looking at the screen I can see the rootdelay working but the drive is not being spun up - this means the "unable to mount root" problem is crashing it.

I find it odd that all this worked fine with the old kernel but not with the new. From boot message observation it looks like the drivers I supplied to the initrd (ehci-hcd:usb-storage) may not be getting loaded and causing the boot to crash. Hopefully all this isn't going to mean 2.6.29 is the end of the line for my hardware support (no - I'm being too pessimistic there). Trouble is I don't know where to look next !

Any ideas more than welcome.
 
Old 02-12-2010, 10:21 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
With ext3, you also need the mbcache and jbd modules. Try this:
Quote:
mkinitrd -c -k 2.6.30.5 -m ehci-hcd:usb-storage:ext3:mbcache:jbd -f ext3 -r /dev/sdc5
 
Old 02-12-2010, 11:53 AM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
With ext3, you also need the mbcache and jbd modules. Try this:
Yes - I know but mkinitrd seems to insert these if i just supply ext3 i.e. it seems to grab dependencies (of a sort) as well. These modules are definitely in my initrd as I have looked at load_kernel_modules in the /boot/initrd-tree and it contains this :
Code:
# This is a script used to load the kernel modules.
# To use it, chmod it 755, and then add the insmod
# lines needed to load your modules, like this:

insmod -v /lib/modules/$(uname -r)/kernel/drivers/usb/host/ehci-hcd.ko
insmod -v /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko
insmod -v /lib/modules/$(uname -r)/kernel/fs/mbcache.ko
insmod -v /lib/modules/$(uname -r)/kernel/fs/jbd/jbd.ko
insmod -v /lib/modules/$(uname -r)/kernel/fs/ext3/ext3.ko
It definitely looks like (to look at the screen) the boot process is waiting as I have requested but usb-storage and/or ehci-hcd aren't being loaded. I only say this as the many times I observed this to get 2.6.29.5 booting the displays looked different i.e. "sdc" was originally not being detected and spun up (you can hear this) till i added the modules to the initrd.

Thanks for the quick reply - oh and thanks for fixing my headphone problem earlier !
 
Old 02-12-2010, 03:18 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
OK - so the plot thickens ! I've tried the 2.6.32.7 from current and it works ! OK - so I know mixing -current and -stable is not recomended but hey - it's only the kernel ! Maybe something weird going on with 2.6.30.5. Anyway - more good news with the new kernel - the whole point of doing this was to get a /dev/ttyUSB device for some equipment I'm trying to communicate with. This now appears as well - result ! At the moment I'm testing with the huge version but will try the generic next to see if the modules load up and make a difference to my USB boot disk setup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to user vmlinuz-generic instead of vmlinuz-huge-smp? cola Slackware 12 09-15-2009 01:54 PM
what are initrd.img-2.6.28-11-generic and vmlinuz-2.6.28-11-generic? karuna-bdc Linux - Newbie 11 07-17-2009 05:00 AM
How to extract uncompressed image from /boot/vmlinuz-2.6.11 ?? trelf Linux - Kernel 4 05-30-2006 07:51 PM
How do I get a new /boot/vmlinuz Jdurr Slackware 2 11-01-2004 02:19 AM
Cannot load vmlinuz on boot!!! Rikoupe Red Hat 8 06-07-2004 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration