Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel won't run on 2xIDE RAID
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
dimril
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 126

PostPosted: Fri Nov 02, 2007 3:50 pm    Post subject: [SOLVED] Kernel won't run on 2xIDE RAID Reply with quote

I followed official gentoo howto on fast gentoo withRAID+LVM2 installation, but something went wrong and my kernel produce this error while booting:
Code:
(...)
md: ... autorun DONE
md: Unknown device name: hde3
VFS: cannot open root device "md3" on unknown-block(0,0)
Please append a correct "root=" boot option
Kernel-Panic not syncing: VFS: unable to mount root fs on unknown-block(0,0)

I also read this topic, but still I can't get over it. Maybe I forgot some drivers/configs/overdone something. Please help me with your advice.

Some significant code:
lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
02:02.0 RAID bus controller: Promise Technology, Inc. PDC20276 (MBFastTrak133 Lite) (rev 01)
02:03.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


(livecd) lsmod:
Code:
Module                  Size  Used by
ipv6                  170912  10
raid1                  15872  2
raid0                   6272  1
8139too                15872  0
mii                     3968  1 8139too
rtc                     7476  0
tg3                    88324  0
e1000                  90432  0
nfs                    85180  0
lockd                  41352  1 nfs
sunrpc                 99644  2 nfs,lockd
jfs                   143340  0
dm_mirror              13008  0
dm_mod                 31896  18 dm_mirror
pdc_adma                4868  0
sata_mv                11656  0
ata_piix                8072  0
ahci                   11268  0
sata_qstor              4996  0
sata_vsc                4100  0
sata_uli                3204  0
sata_sis                3844  0
sata_sx4                8452  0
sata_nv                 4740  0
sata_via                4868  0
sata_svw                3844  0
sata_sil24              8708  0
sata_sil                5384  0
sata_promise            6276  0
libata                 61460  15 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sbp2                   15364  0
ohci1394               24880  0
ieee1394               53176  2 sbp2,ohci1394
sl811_hcd               8320  0
usbhid                 29792  0
ohci_hcd               13572  0
uhci_hcd               15240  0
usb_storage            57280  0
ehci_hcd               19976  0
usbcore                78084  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
(the strange thing is that genkernel loaded sata drivers, while I have IDE hd)

fstab:
Code:
/dev/md1                /boot                   ext2            noauto,noatime  1 2
/dev/md3                /                       reiserfs        noatime         0 1
/dev/hde2               none                    swap            sw,pri=1        0 0
/dev/hdf2               none                    swap            sw,pri=1        0 0
/dev/vg/usr             /usr                    reiserfs        noatime,notail  1 2
/dev/vg/portage         /usr/portage            reiserfs        noatime,notail  1 2
/dev/vg/distfiles       /usr/portage/distfiles  reiserfs        noatime,notail  1 2
/dev/vg/home            /home                   reiserfs        noatime,notail  1 2
/dev/vg/opt             /opt                    reiserfs        noatime,notail  1 2
/dev/vg/tmp             /tmp                    reiserfs        noatime,notail  1 2
/dev/vg/var             /var                    reiserfs        noatime,notail  1 2
/dev/vg/vartmp          /var/tmp                reiserfs        noatime,notail  1 2
/dev/cdrom              /mnt/cdrom              audo            noauto,ro       0 0
/dev/fd0                /mnt/floppy             auto            noauto          0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0


kernel .config: here, because I don't want to do much mess in this topic

grub.config:
Code:
default 0
timeout 10

title=Gentoo
root (hd0,0)
kernel /boot/vmlinuz root=/dev/md3 md=3,/dev/hde3,/dev/hdf3


Last edited by dimril on Sat Nov 03, 2007 5:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Fri Nov 02, 2007 4:20 pm    Post subject: Reply with quote

Did you configure the mdadm.conf file for when you boot up?
_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
dimril
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 126

PostPosted: Fri Nov 02, 2007 5:04 pm    Post subject: Reply with quote

i tried to, but in howto there is no word about touching this conf. i tried adding devices and arrays, but it doesn't matter if I do anything. if I'm wrong, please correct me. Btw - if /etc/mdadm.conf is in md3 partition (which causes problem to kernel and can't be mounted) would it change anything if I configured mdadm.conf?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Nov 03, 2007 2:31 pm    Post subject: Re: Kernel won't run on 2xIDE RAID Reply with quote

Don't worry about /etc/mdadm.conf it does not have any effect on booting.

The problem you are having is in the kernel.

If your harddrives are plugged into this controller
dimril wrote:
02:02.0 RAID bus controller: Promise Technology, Inc. PDC20276 (MBFastTrak133 Lite) (rev 01)

then you need to include this driver, if you want it to work.
dimril wrote:
# CONFIG_PATA_PDC2027X is not set
Back to top
View user's profile Send private message
dimril
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 126

PostPosted: Sat Nov 03, 2007 5:42 pm    Post subject: Reply with quote

[SOLVED] thanks a lot. should I kick anything from my kernel? now I added everything from lsmod and I'm not sure if I need everything... (e.g. jfs, e1000, some sata controllers)
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