Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOVLED]Unable to mount root fs on unknown-block(0,0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Wed Jan 06, 2010 11:39 pm    Post subject: [SOVLED]Unable to mount root fs on unknown-block(0,0) Reply with quote

I'm having trouble getting my new gentoo install running, I keep getting the error
Code:
Unable to mount root fs on unknown-block(0,0)
when I try and boot. I don't think it something that has to do with grub, as I can boot Plan 9 fine from it. My root fs is ext2, which is compiled into my kernel. I can also mount the partition fine with gparted and PartitionMagic. I'm using the reiser4 and rt patches for 2.6.31.6. This is my .config.

This is how I have my /etc/fstab setup so far:
Code:

/dev/hda5   none         swap      sw             0 0
/dev/hda6   /            ext2      noatime        0 1
/dev/hda7   /usr         reiserfs  noatime        0 0
/dev/hda8   /usr/portage reiserfs  noatime        0 0
/dev/hda9   /var         reiserfs  noatime        0 0
/dev/hda10  /home        xfs       noatime        0 0
/dev/cdrom  /media/cdrom auto      noauto,user,ro 0 0


fdisk -l reports this, which looks right.
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c451c

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *        8686        9729     8385930   39  Plan 9
/dev/hda2               1        8685    69762231    5  Extended
/dev/hda5               1          65      522049+  82  Linux swap / Solaris
/dev/hda6              66         457     3148708+  83  Linux
/dev/hda7             458        2024    12586896   83  Linux
/dev/hda8            2025        2546     4192933+  83  Linux
/dev/hda9            2547        2938     3148708+  83  Linux
/dev/hda10           2939        8685    46162746   83  Linux

Partition table entries are not in disk order


And this is what I get for lspci and lspci -n
Code:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 80)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:0a.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter

Code:
00:00.0 0600: 1039:0650 (rev 80)
00:01.0 0604: 1039:0001
00:02.0 0601: 1039:0962 (rev 25)
00:02.1 0c05: 1039:0016
00:02.5 0101: 1039:5513
00:02.6 0703: 1039:7013 (rev a0)
00:02.7 0401: 1039:7012 (rev a0)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.2 0c03: 1039:7002
00:04.0 0200: 1039:0900 (rev 91)
00:0a.0 0607: 104c:ac56
01:00.0 0300: 1039:6325


My grub.conf is
Code:

default 0
timeout 3

title 2.6.31.6
root (hd0,5)
kernel /boot/bzImage-2.6.31.6 root=/dev/hda6 quiet vga=791

title Plan 9
rootnoverify (hd0,0)
makeactive
chainloader +1

What's in grub.conf are the same options I've used for a couple of months with this working fine.

Anyone know what I'm missing?
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.


Last edited by dreadlorde on Thu Jan 07, 2010 5:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6533
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 06, 2010 11:49 pm    Post subject: Reply with quote

Quote:
Unable to mount root fs on unknown-block(0,0)
Quote:
Anyone know what I'm missing?


The error you get usually indicates you miss support for your HDD controller. Did you use libata? With libata your IDE devices are sdX.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Thu Jan 07, 2010 12:31 am    Post subject: Reply with quote

Yeah, his kernel config is clear about it - CONFIG_ATA and the rest (though not sure about
chipset driver).

So, change devices names in fstab and grub.conf to sd*.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6533
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 07, 2010 12:45 am    Post subject: Reply with quote

Dammit, once again I missed a pale link in these forums. I wish they were more noticeable. :oops:
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Jan 07, 2010 1:47 am    Post subject: Reply with quote

You're missing PATA_SIS from your config

Code:

# CONFIG_PATA_SIS is not set


This is what you need for your HDD controller. You already have CONFIG_ATA selected, and CONFIG_IDE deselected - which is the correct way to have things on both accounts.

You just need to add PATA_SIS (as a built-in, not a module) and you should be good to go:

Code:

laptop02 drivers # grep -ir pci.*0x5513 /usr/src/linux/drivers/
/usr/src/linux/drivers/ata/pata_sis.c:  { PCI_VDEVICE(SI, 0x5513), },   /* SiS 5513 */

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Thu Jan 07, 2010 5:37 pm    Post subject: Reply with quote

That was it cach0rr0, thanks.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
exitmusic
n00b
n00b


Joined: 19 Mar 2007
Posts: 1

PostPosted: Wed Dec 01, 2010 4:47 pm    Post subject: Reply with quote

Thank you very much.
cach0rr0 wrote:
You're missing PATA_SIS from your config

Code:

# CONFIG_PATA_SIS is not set


This is what you need for your HDD controller. You already have CONFIG_ATA selected, and CONFIG_IDE deselected - which is the correct way to have things on both accounts.

You just need to add PATA_SIS (as a built-in, not a module) and you should be good to go:

Code:

laptop02 drivers # grep -ir pci.*0x5513 /usr/src/linux/drivers/
/usr/src/linux/drivers/ata/pata_sis.c:  { PCI_VDEVICE(SI, 0x5513), },   /* SiS 5513 */
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 815
Location: The Village, Portmeirion

PostPosted: Fri Dec 03, 2010 3:15 pm    Post subject: Reply with quote

Jaglover wrote:
Dammit, once again I missed a pale link in these forums. I wish they were more noticeable. :oops:


Firefox?
.mozilla/firefox/<profile.name>/chrome/userContent.css:
@-moz-document url-prefix(http://forums.gentoo.org/),
          url-prefix(https://forums.gentoo.org/)
{
   a.postlink { -moz-appearance: button }
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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