Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok, i just downloaded and compiled/installed the new 2.6.8 kernel, then i go to reboot, starts going and then i get kernel panic, its says (me paraphrasing) can't mount root drive, try using root= at the boot prompt thingey, i tried that and still no go, luckily i have all the 2.6.x kernels in lilo and still there so i can still boot, but not the 2.6.8 kernel, i know the lilo thing is right because all i did was copy the 2.6.7 entry and changed the 7 to an 8 and 2.6.7 is working fine for me right now, the drive is that is the root drive is on an onboard promise sata raid controller (but only one drive so raid is not enabled), and i have a asus p4c800-e dlx motherboard, i'd like to update the bios for that too but i can figure out how to do it on linux (they only have dos flash program, i don't think i have dos aywhere)
i'm using slackware current, and incase this is related, i cannot get lilo or grub to install on sata drive, and to boot i have to put lilo on a PATA drive using the slack install cd, thats the only thing that will work
so does anyone have any idea on what might be going on and how i can get this to work, i also used the same config for the 2.6.7 kernel too except i added all the joystick modules
did the original kernel have a initrd.img that goes with it ???
if so you will have to either make one for the new kernel or
compile the modules in that .img as included not modules in the new kernel
(ide driver , file system support)
whats a initrd.img? by googling it seems its only needed if there are modules that are needed for loading the root drive, well, i have never done anything with that, and i have always compiled the promise sata driver and ext3 support (the format of the root drive) into the kernel if thats what you mean, and i just checked and its all there, from the errors i had it seemed like it couldn't /dev/hde2, it said something about blocks, like it doesn't exist or could find them, i'm not sure
I remember having the same pb with 2.6.7 when i was tryin' to upgrade my old 2.6.3!
Anyways all the manuals specificaly point out that u should compile your kernel with support for your fs built-in ( not as a module ! ) ! Thinkin' u've done that i'm goin' to tell u how i solved my problem ! I cd to my kernel source tree and
Code:
make oldconfig ( and then i added/removed several components and recompiled the damn thing )
Now cp /arch/i386/boot/bzImage /boot/linux-2.6.7 and then i coppied the System.map file into my /boot/ directory .. overwriting the old one ! It booted and actually worked ... Although new incompatibilty problems aroused , i got it to boot!
If u done what i did already ... please say so .. I have other things on my mind which could be at the root of your pb but i'm too lazy to wright them down !
With 2.6 kernels you can "make install" at the end of the compilation. It copies the kernel, creates system.map, initrd and updates grub.conf.
That said your problem reminds me something I encountered myself when I upgraded to 2.6.7 last week. I am not totally sure but I think it is the "rhgb" kernel option I stripped from my grub.conf that made the system boot.
Something else I have modified without confirming the ffect is to replace "root=LABEL=/" for "root=/dev/hda5".
yes it is compiled in, i said it above if you looked, i have both the promise sata controller driver and the ext3 fs format compiled into the kernel, like i said it is exactly the same config file that i used in 2.6.7 with the exception that i added joystick modules
Originally posted by futhark That said your problem reminds me something I encountered myself when I upgraded to 2.6.7 last week. I am not totally sure but I think it is the "rhgb" kernel option I stripped from my grub.conf that made the system boot.
Something else I have modified without confirming the ffect is to replace "root=LABEL=/" for "root=/dev/hda5".
Good luck!
Have you tried this or not?
I resolved another problem with my 2.6.7 kernel today, but I doubt it is related to your problem since it never prevented my to boot. I had a problem with the loading of my initrd and had to increase the default ramdisk size from 4096 to 8192 (BLK_DEV_RAM_SIZE). The symptom was the following msg in dmesg:
Originally posted by edman007 whats a initrd.img? by googling it seems its only needed if there are modules that are needed for loading the root drive, well, i have never done anything with that, and i have always compiled the promise sata driver and ext3 support (the format of the root drive) into the kernel
The initrd is useful for loading modules before mounting drives. Say your bootable drive is scsi. You will need to load the scsi module before you can mount this drive.
I also experienced problems with the loading of scsi drivers when I installed a scsi card after the initrd was created. That prevented scanners to work properly after a boot. The driver wouldn't load correctly on boot until I recreated the initrd.
As you suggest, maybe compiling drivers right in the kernel defeats the purpose of initrd.
as i said above (first post) i'm using lilo not grup, and i don't think i am loading a initrd or any other type of ramdisk, i just complied everything into the kernel it makes it easier, i have firewire, usb, promise sata controller, ide controller, network, alsa, and reiser and ext3 (i think ext2 too) (and a lot more things) all compiled into the kernel
also in my lilo.conf, i have always had root=/dev/hde2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.