View previous topic :: View next topic |
Author |
Message |
mr_brightside n00b
Joined: 22 Feb 2005 Posts: 28
|
Posted: Tue Feb 22, 2005 4:06 pm Post subject: Unresolved VFS error, help would be appreciated. |
|
|
Hello everyone.
I've been desperate to install gentoo for ages, and finally undertook the challenge a couple of days ago. Everything went pretty smoothly, but when i try to boot into it, i get a VFS error message:
" error: Kernel Panic - not syncing VFS: unable to mount root fs on unknown-block(0,0). "
My rig is this:
Athlon-XP (Barton chip) 3000+
Abit NF7 nforce2 mobo
768mhz RAM
ATI Radeon 128mb graphics card
HDDs: 160gb hda (XP on hda1) IDE
40gb hdb (Ubuntu on hdb1) IDE
200gb sda (Gentoo on here) SATA (on a pci IDE controller)
Now i'm aware that other people have posted similar/identical problems in these forums, believe me i've read them all and tried EVERYTHING. I've tried using the 2.4 kernel instead of the 2.6 (this failed, "gentoo-sources" produced a patch error, however the 2.6 kernel compiled fine using "emerge gentoo-dev-sources"). I've reinstalled the whole distro, i've tried lilo instead of grub.....it's really doing my head in.I would be really grateful for help.
Here's my fstab:
/dev/sda1 /boot ext3 noauto,noatime 1 1
/dev/sda4 / ext3 noatime 0 0
/dev/sda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
And here's my menu.lst for grub (which is in Ubuntu, although i'm certain this isn't the problem, cos i've tried installing grub from gentoo too, and got the same error msg):
default 0
timeout 10
title Ubuntu, kernel 2.6.8.1-3-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.8.1-3-386
savedefault
boot
title Ubuntu, kernel 2.6.8.1-3-386 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.8.1-3-386
savedefault
boot
title Memory test
root (hd1,0)
kernel /boot/memtest86+.bin
title Other operating systems:
root
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
title = Gentoo (on /dev/sda4)
root (hd2,0)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/sda4
savedefault
boot
Like i say, this is really doing my head in. I've tried all the suggestions from other posts, like checking i didn't have Advanced Partitioning enabled in kernel, and checking i've got support for my filesystem compiled into the kernel. I just can't seem to solve things...
I would really appreciate any help you can give me, as this is the first time i've been really stumped in Linux _________________ Regards,
//brightside//
Last edited by mr_brightside on Thu Feb 24, 2005 1:52 pm; edited 1 time in total |
|
Back to top |
|
|
bet1m l33t
Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
Posted: Tue Feb 22, 2005 7:24 pm Post subject: |
|
|
did you enable ext3, reiserfs(what you are using) on kernel? _________________ #370559 |
|
Back to top |
|
|
mr_brightside n00b
Joined: 22 Feb 2005 Posts: 28
|
Posted: Tue Feb 22, 2005 7:37 pm Post subject: |
|
|
yes, i did. i'm using ext3 for the 50meg boot partition , as well as for the root partition. _________________ Regards,
//brightside// |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Tue Feb 22, 2005 8:24 pm Post subject: |
|
|
I guess you are using a serillel? I'm not sure about this but I would only use nvidia_ide support.
could you post here the output for : cat /usr/src/linux/.config | grep IDE.
ps : which NF7' (non S I assume) revision |
|
Back to top |
|
|
mr_brightside n00b
Joined: 22 Feb 2005 Posts: 28
|
Posted: Wed Feb 23, 2005 11:11 am Post subject: |
|
|
Hi Enlight
tbh, i don't understand what you mean by a serillel....
You're right, i'm using the standard NF7, not the NF7-S
The output for the kernel .config file is:
CONFIG_ACPI_VIDEO=m
# CONFIG_PARIDE is not set
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=y
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_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
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_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_IEEE1394_VIDEO1394 is not set
# CONFIG_VIDEO_DEV is not set
# CONFIG_VIDEO_SELECT is not set
# CONFIG_SND_TRIDENT is not set
Thanks _________________ Regards,
//brightside// |
|
Back to top |
|
|
mr_brightside n00b
Joined: 22 Feb 2005 Posts: 28
|
Posted: Thu Feb 24, 2005 1:51 pm Post subject: |
|
|
I still haven't resolved my problems, help from a more experienced user would be great..... _________________ Regards,
//brightside// |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Feb 24, 2005 1:56 pm Post subject: |
|
|
Hmm, are you sure you have SATA support built into the kernel? It should be in Block Devices -> SCSI Support in menuconfig. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
mr_brightside n00b
Joined: 22 Feb 2005 Posts: 28
|
Posted: Thu Feb 24, 2005 10:58 pm Post subject: |
|
|
yes, definitely. that's why i'm so puzzled... _________________ Regards,
//brightside// |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Feb 25, 2005 8:25 am Post subject: |
|
|
Are you certain that the partition is /dev/sda4? Some SATA disks are seen as IDE disks. |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Fri Feb 25, 2005 9:31 am Post subject: |
|
|
Well, give me a try.
Under 'Device Driver --> ATA/ATAPI/MFM/RLL support' it should look like this:
Code: |
<*> ATA/ATAPI/MFM/RLL support
│ │ <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
│ │ --- Please see Documentation/ide.txt for help/info on IDE drives
│ │ [ ] Support for SATA (deprecated; conflicts with libata SATA driver)
│ │ [ ] Use old disk-only driver on primary interface
│ │ <*> Include IDE/ATA-2 DISK support
│ │ [*] Use multi-mode by default
│ │ < > PCMCIA IDE support
│ │ <*> Include IDE/ATAPI CDROM support
│ │ < > Include IDE/ATAPI TAPE support (EXPERIMENTAL)
│ │ < > Include IDE/ATAPI FLOPPY support
│ │ < > SCSI emulation support
│ │ [ ] IDE Taskfile Access
│ │ --- IDE chipset support/bugfixes
│ │ <*> generic/default IDE chipset support
│ │ [ ] CMD640 chipset bugfix/support
│ │ [ ] PNP EIDE support
│ │ [*] PCI IDE chipset support
│ │ [*] Sharing PCI IDE interrupts support
│ │ [ ] Boot off-board chipsets first support
│ │ <*> Generic PCI IDE Chipset Support
│ │ < > OPTi 82C621 chipset enhanced support (EXPERIMENTAL)
│ │ < > RZ1000 chipset bugfix/support
│ │ [*] Generic PCI bus-master DMA support
│ │ [ ] Force enable legacy 2.0.X HOSTS to use DMA
│ │ [*] Use PCI DMA by default when available
│ │ [ ] Enable DMA only for disks
│ │ < > AEC62XX chipset support
│ │ < > ALI M15x3 chipset support
│ │ <*> AMD and nVidia IDE support
│ │ < > ATI IXP chipset IDE support
│ │ < > CMD64{3|6|8|9} chipset support
│ │ < > Compaq Triflex IDE support
│ │ < > CY82C693 chipset support
│ │ < > Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)
│ │ < > Cyrix/National Semiconductor CS5530 MediaGX chipset support
│ │ < > HPT34X chipset support
│ │ < > HPT36X/37X chipset support
│ │ < > National SCx200 chipset support
│ │ < > Intel PIIXn chipsets support
│ │ < > NS87415 chipset support
│ │ < > PROMISE PDC202{46|62|65|67} support
│ │ < > PROMISE PDC202{68|69|70|71|75|76|77} support
│ │ < > ServerWorks OSB4/CSB5/CSB6 chipsets support
│ │ < > Silicon Image chipset support
│ │ < > SiS5513 chipset support
│ │ < > SLC90E66 chipset support
│ │ < > Tekram TRM290 chipset support
│ │ < > VIA82CXXX chipset support
│ │ [ ] Other IDE chipset support
│ │ [ ] IGNORE word93 Validation BITS
|
Because you use your SATA-Controller also as an IDE-Controller, you will need the full setting for IDE for your nVidia-Controller.
Now let's go to 'Device Driver --> SCSI device support':
Code: |
<*> SCSI device support
│ │ [ ] legacy /proc/scsi/ support
│ │ --- SCSI support type (disk, tape, CD-ROM)
│ │ <*> SCSI disk support
│ │ < > SCSI tape support
│ │ < > SCSI OnStream SC-x0 tape support
│ │ < > SCSI CDROM support
│ │ <*> SCSI generic support
│ │ --- Some SCSI devices (e.g. CD jukebox) support multiple LUNs
│ │ [ ] Probe all LUNs on each SCSI device
│ │ [ ] Verbose SCSI error reporting (kernel size +=12K)
│ │ [ ] SCSI logging facility
│ │ SCSI Transport Attributes --->
│ │ SCSI low-level drivers --->
│ │ PCMCIA SCSI adapter support --->
|
Because for the kernel SATA = SCSI, you will need to build in the SCSI-disk-support. I forgot it in my first kernel and got a panic like yours.
And the last station is 'Device Driver --> SCSI device support --> SCSI low-level-driver':
Code: |
[...]
< > Always IN2000 SCSI support
│ │ [ ] LSI Logic New Generation RAID Device Drivers
│ │ < > LSI Logic Legacy MegaRAID Driver
│ │ [*] Serial ATA (SATA) support
│ │ < > AHCI SATA support (NEW)
│ │ < > ServerWorks Frodo / Apple K2 SATA support (NEW)
│ │ < > Intel PIIX/ICH SATA support (NEW)
│ │ <*> NVIDIA SATA support
│ │ < > Promise PATA 2027x support (NEW)
│ │ < > Promise PATA 2027x support (NEW)
│ │ < > Promise SATA TX2/TX4 support (NEW)
│ │ < > Promise SATA SX4 support (NEW)
│ │ < > Silicon Image SATA support (NEW)
│ │ < > SiS 964/180 SATA support (NEW)
│ │ < > ULi Electronics SATA support (NEW)
│ │ < > VIA SATA support (NEW)
│ │ < > VITESSE VSC-7174 SATA support (NEW)
│ │ < > BusLogic SCSI support
[...]
|
Hopefully it helps and works... _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
l1ltw1st n00b
Joined: 19 Feb 2005 Posts: 12 Location: Boston
|
Posted: Sat Feb 26, 2005 7:05 am Post subject: |
|
|
Karsten, you are the king...
I have been looking around with similar issues as this thread, you are the first to point out the subsection for SCSI:
Device Driver --> SCSI device support --> SCSI low-level-driver
an that is what fixed her up, booting like a good little gentoo box should. Thanks for the post, and for the great graphical direction in it!!!
/me gives the german a big hug _________________ <xterm> The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Sat Feb 26, 2005 12:31 pm Post subject: |
|
|
No problem. That's why this forum exists.
And you are not the first one who has (had) this problem. I also had to rebuild my kernel two or three times to get the things going. I forgot for example the SCSI-Harddisk to build in, so it had the SATA-driver to drive the chipset, but my kernel couldn't speak to the disk.
Take it easy - save your config for later use (if you have to rebuild your machine sometimes) and have fun with your Gentoo. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|