vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi- I am running debian/sarge and attempted to install a new custom-built kernel (version 2.6.10 stock). Upon bootup, I get the error message: "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0). It gets passed the same options as the 2.4 kernel (root=/dev/hda3 ro). Any ideas as to how to make it work nicely would be greatly appreciated. -Robin K. |
| |||
| Robin Kauffman wrote: > Hi- > I am running debian/sarge and attempted to install a new > custom-built kernel (version 2.6.10 stock). Upon bootup, I get the > error message: "Kernel Panic - not syncing: VFS: Unable to mount root fs > on unknown-block(0,0). It gets passed the same options as the 2.4 > kernel (root=/dev/hda3 ro). Any ideas as to how to make it work nicely > would be greatly appreciated. > Does your new kernel have the main disk and file system drivers built-in? The module utilities for 2.6 are different from the corresponding tools in 2.4, so modular drivers probably do not get properly loaded. HTH -- Tauno Voipio tauno voipio (at) iki fi |
| |||
| On Wed, 12 Jan 2005 08:40:54 +0000, Tauno Voipio wrote: > Robin Kauffman wrote: >> Hi- >> I am running debian/sarge and attempted to install a new >> custom-built kernel (version 2.6.10 stock). Upon bootup, I get the >> error message: "Kernel Panic - not syncing: VFS: Unable to mount root fs >> on unknown-block(0,0). It gets passed the same options as the 2.4 >> kernel (root=/dev/hda3 ro). Any ideas as to how to make it work nicely >> would be greatly appreciated. >> > > Does your new kernel have the main disk and file system > drivers built-in? > > The module utilities for 2.6 are different from the > corresponding tools in 2.4, so modular drivers probably > do not get properly loaded. Also include the proper drivers into your initrd if compiled as a module. HTH Andreas |
| |||
| I'm extremely sure I compiled the IDE drivers in. How do I check? Tell me exactly what should be in my .config. I have a Via VT82* southbridge so I compiled into the kernel that specific driver. Most of the IDE stuff was already selected to be compiled in. I'm fairly sure I didn't touch it. -Robin K. AT wrote: > On Wed, 12 Jan 2005 08:40:54 +0000, Tauno Voipio wrote: > > >>Robin Kauffman wrote: >> >>>Hi- >>> I am running debian/sarge and attempted to install a new >>>custom-built kernel (version 2.6.10 stock). Upon bootup, I get the >>>error message: "Kernel Panic - not syncing: VFS: Unable to mount root fs >>>on unknown-block(0,0). It gets passed the same options as the 2.4 >>>kernel (root=/dev/hda3 ro). Any ideas as to how to make it work nicely >>>would be greatly appreciated. >>> >> >>Does your new kernel have the main disk and file system >>drivers built-in? >> >>The module utilities for 2.6 are different from the >>corresponding tools in 2.4, so modular drivers probably >>do not get properly loaded. > > > Also include the proper drivers into your initrd if compiled as a module. > > HTH > Andreas |
| |||
| On Wed, 12 Jan 2005 18:35:12 +0000, Robin Kauffman wrote: [Top-posting fixed, please stop doing that] > AT wrote: >> On Wed, 12 Jan 2005 08:40:54 +0000, Tauno Voipio wrote: >> >> >>>Robin Kauffman wrote: >>> >>>>Hi- >>>> I am running debian/sarge and attempted to install a new >>>>custom-built kernel (version 2.6.10 stock). Upon bootup, I get the >>>>error message: "Kernel Panic - not syncing: VFS: Unable to mount root >>>>fs on unknown-block(0,0). It gets passed the same options as the 2.4 >>>>kernel (root=/dev/hda3 ro). Any ideas as to how to make it work >>>>nicely would be greatly appreciated. >>>> >>>> >>>Does your new kernel have the main disk and file system drivers >>>built-in? >>> >>>The module utilities for 2.6 are different from the corresponding tools >>>in 2.4, so modular drivers probably do not get properly loaded. >> >> >> Also include the proper drivers into your initrd if compiled as a >> module. > > I'm extremely sure I compiled the IDE drivers in. How do I check? Tell > me exactly what should be in my .config. I have a Via VT82* southbridge > so I compiled into the kernel that specific driver. Most of the IDE > stuff was already selected to be compiled in. I'm fairly sure I didn't > touch it. I can't tell you what exactly should be in your .config as you don't provide enough information. I can only assume that you didn't configure your root filesystem's drivers to be included in the kernel and didn't create an initrd (or forgot to configure your bootloader correctly) that includes them either. BTW, this has nothing to do with IDE drivers. If you don't know what I am talking about, I can only recommend reading the documentation on kernel compilation, running the distro kernel until you can fix this yourself. I am serious, this is the only way to learn this stuff. HTH Andreas |
| ||||
| Robin Kauffman <robin@kauffmanfamily.org> wrote: > Upon bootup, I get the > error message: "Kernel Panic - not syncing: VFS: Unable to mount root fs > on unknown-block(0,0). It gets passed the same options as the 2.4 > kernel (root=/dev/hda3 ro). Assuming that your kernel is /boot/vmlinuz, what does the following command yield: rdev /boot/vmlinuz How do you pass the root=/dev/hda3 parameter to the kernel? On the boot prompt? Via a boot loader? Which boot loader? How did you configure the boot loader? Have you tried building the kernel image so that the correct root device is compiled into it? Or changing it with 'rootflags'? Then try to boot WITHOUT passing the root= parameter to the kernel and see if it works. Yours, Laurenz Albe |