SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have been trying to get a new kernel (2.6.12.5) going in a brand new Dell Inspiron 6000.
I keep on getting
Code:
VFS: Cannot open root device "305" or unknown-block(3,5)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,5)
I have tried configuring the drivers a few ways. The latest was to download the 2.6.12.3 source from testing and extract the config. I then modified the config to certain specific needs such as HIGHMEM, processor Pentium-M, etc.
The filesystem is ext3 which I compiled into the kernel.
(1) Did you run "lilo" as root after installing the kernel?
(2) Was there a reason you named it "krnl-2.6.12.5-2.img" ?
Don't know if this matters, but it's not an .img file.
(3) Do you have support for your chipset built into the kernel?
Code:
mingdao@james:~$ less build/linux-2.6.12.5/.config
<snip>
CONFIG_IDE=y <--
CONFIG_BLK_DEV_IDE=y <--
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y <--
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y <--
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y <--
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y <--
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y <--
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y <-- this is my board's chipset
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y <--
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y <--
# CONFIG_BLK_DEV_HD is not set
These marked items are things I compile for IDE drives, but I think
the chipset is really important ... mine is a VIA VT8237 PCI Bridge.
(1) Did you run "lilo" as root after installing the kernel? Yes.
(2) Was there a reason you named it "krnl-2.6.12.5-2.img" ?
Don't know if this matters, but it's not an .img file. Well, I name it img cause I thought it is a kernel image. However, I know that it works.
(3) Do you have support for your chipset built into the kernel? The chipset for the machine is Intel 82801FBM Ulta ATA controller and the PCI chipset is Intel 915GM
I have compiled all the available chipset support as module for the kernel. Should I make it compiled into the kernel itself?
I have compiled in PIIXn chipset into the kernel and still getting the same error. Next, I removed ACPI from the kernel as I thought that might be screwing things around.
However, I just notice some interesting message while booting before Kernel panic.
Further up
Code:
ide: Assuming 33MHz system bus speed for PIO modes; overide with idebus=xx
ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
i did the fix and it worked fine when upgrading to 2.6.10. Now i just upgraded to 2.6.14.3 and am getting the error again. lilo looks fine, reiser Fs support is not module, and i dont know what to do, any thought?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.