Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VFS: unable to mount rootfs unknown_block(0,0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
esileruf
n00b
n00b


Joined: 03 Mar 2011
Posts: 24

PostPosted: Fri Mar 15, 2013 2:14 pm    Post subject: VFS: unable to mount rootfs unknown_block(0,0) Reply with quote

i cannot solve that issue whole day, i was recompiling kernel 5 times and cant find the problem
can you help me with this.

"cannot open root device sda6 or unknown_block(0,0): error -6
kernel panic VFS: unable to mount rootfs on unknown_block (0,0)"

my grub configuration is OK
last time i recompiled kernel i was enable ATA/ATAPI/MFM/RLL which is DEPRECATED, that doesnt help me.
can i disable that option, i use sata disk and cdrom ?

her is my kernel .conf:

http://bpaste.net/show/83942/

thank you[/list][/code]


Last edited by esileruf on Fri Mar 15, 2013 6:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
esileruf
n00b
n00b


Joined: 03 Mar 2011
Posts: 24

PostPosted: Fri Mar 15, 2013 3:13 pm    Post subject: Reply with quote

im looking at this line:

PCI IDE chipsets support
#
# CONFIG_BLK_DEV_GENERIC is not set

from bpaste, but i cant find BLK_DEV_GENERIC in my kernel, when i search it it doesnt find
can that line be a problem ? and if it so, where is that line ?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Mar 15, 2013 3:25 pm    Post subject: Reply with quote

if you need help with kernel, you should gave lspci -k output

the general troubleshooting part for root unable... message is that if the sd message with partition appears, it's just a boot param issue, looking at grub there.
if not, then it's a controller driver issue.
the question is then, do you see partition/drive infos after the failure message?
Back to top
View user's profile Send private message
esileruf
n00b
n00b


Joined: 03 Mar 2011
Posts: 24

PostPosted: Fri Mar 15, 2013 3:52 pm    Post subject: Reply with quote

thanks for replay

after first error massage:
Code:
cannot open root device or unknown_block(0,0): error -6

it try to list partitions, but comes another massage:
Code:
kernel panic VFS: unable to mount rootfs on unknown_block (0,0)"


and disk and partitions isnt listed and i cant see infos

i was find my old kernel.conf on pastebin, which was worked well
only difference between that two .config is in:
old kernel (which was worked) doesnt have this:

Code:
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
# CONFIG_IDE_GD_ATAPI is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEACPI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y

#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set

#
# PCI IDE chipsets support
#
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_RZ1000 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_CS5530 is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT8172 is not set
# CONFIG_BLK_DEV_IT8213 is not set
# CONFIG_BLK_DEV_IT821X 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 is not set
# CONFIG_BLK_DEV_TC86C001 is not set
# CONFIG_BLK_DEV_IDEDMA is not set


in make menuconfig, i cant find what line remove that listed options

in new kernel i was playing with kernel hacking line to performe speed and optimization, maybe is there problem ?

here is my old .config which was worked well:
http://bpaste.net/show/FI92VvclCv9SLvuHo8n2/

i cant find a problem ? almost 20 hours i cant get working kernel.. always same error massage like i was present it.
any help ?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Mar 15, 2013 7:25 pm    Post subject: Reply with quote

Guessing that if you ran lspci -k from the cd and posted the output, that it wouold show an intel motherboard chipset. If so the menuconfig below should provide a working kernel
Quote:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support (DEPRECATED) --->

SCSI device support --->
< > RAID Transport Class
-*- SCSI device support
< > SCSI target 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
[ ] Enable vendor-specific extensions (for SCSI CDROM)
<*> SCSI generic support

<*> Serial ATA and Parallel ATA drivers --->
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support (for legacy IDE and PATA)
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Calxeda Highbank SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARASAN CompactFlash PATA Controller Support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > CS5536 PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
Deprecated drivers, don't work with udev, can interfere by blocking selection of current set. sd is used for optical drives, sg supports miscellaneous devices If you have AHCI mode selected in BIOS, this driver is needed, ahci is preferred over legacy ide mode. Needed for optical drives and for legacy ide drives and for sata drives when ahci is not selected.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
esileruf
n00b
n00b


Joined: 03 Mar 2011
Posts: 24

PostPosted: Fri Mar 15, 2013 8:11 pm    Post subject: Reply with quote

thank you for that
it worked
i was just enable:

[*] ATA BMDMA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

dont know will it be worked if i wasnt enable INTEL.....
does it mean i dont have AHCI enabled in bios ? i cant find it there
if it means that, can i disable:

<*> AHCI SATA support

i was recompile it several times, and i remeber that one time i was enabled that two lines an it wasnt work... now it worked well
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Mar 15, 2013 11:09 pm    Post subject: Reply with quote

I would guess that <*> AHCI SATA support can be diabled if ahci is not a bios option.
option for raid and one or two other modes should be findable

recommend when doing kernel upgrade: copy .config from existing working kernel source directory to the new kernel source directory and run
Code:
make oldconfig
to import old settings into new structure. make oldconfig will highlight new menu items and honor new dependencies. Not required, but then run
Code:
make menuconfig
and check it out.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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