Help! Can't build a kernel that mounts root on ABIT BP6
Greetings,
I'm having problems with Debian kernel-image-2.4.[14,16,17]-686-smp
kernels misidentifying hdb and hdc disklabels as "POWERTEC" (which is
some ARM SCSI disklabel type) on my BP6 dual-Celeron system. See
http://bugs.debian.org/129373 for details.
But in the meantime, I'd like to try stock Linux, and Linux with the IDE
patch at http://linuxdiskcert.org/ , but can't get anything I build to
mount root, or load a ramdisk. Here's what I've tried:
tar xjf linux-2.4.17.tar.bz2
cd linux
cp /boot/config-2.4.17-686-smp .config
make oldconfig
make-kpkg kernel-image --initrd
When I install this, it generates a valid-looking initrd, and lilo seems
to map it just as it maps the initrds for the binary kernel images
(which boot just fine, and mount /dev/hda1 as root no problem, they just
fail when they try to do anything with hdb or hdc). But when I boot, I get:
RAMDISK: Couldn't find valid RAM disk image starting at 0
Freeing initrd memory: 3552k freed
request_module[block-major-3]: Root fs not mounted
VFS: Cannot open root device "301" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01
So I re-config and take out devfs, and build without --initrd, and
booting gives exactly the same last four lines as above (not the first
two obviously). Both of these happen with or without the IDE patch, and
for 2.4.16 and 2.4.17.
Side note: my lilo.conf begins with:
lba32
boot=/dev/hda
root=/dev/hda1
which works just fine for binary (downloaded) and hand-built built 2.2.x
images, and binary 2.4.x images, though the binary 2.4.x images all use
devfs and initrd so root= is irrelevant. But it's odd that it's failing
for my built 2.4.x images with and without devfs...
Please CC me in replies, as I'm not subscribed to debian-devel.
Thanks for any help you can provide,
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!
<http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>
Reply to: