View previous topic :: View next topic |
Author |
Message |
swingcoder n00b
Joined: 14 Oct 2004 Posts: 6
|
Posted: Fri Oct 15, 2004 10:10 am Post subject: Cannnot open root device "sda3" |
|
|
1.problem just like:
Code: | VFS: Cannot open root device "sda3" or 03:07
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 03:07 |
2.and i do the following,but does not works.
[+]IDE chipset (or SCSI controller) support not compiled or compiled as a module (and no initrd).
[+]filesystem support used on root partition not compiled or compiled as a module (and no initrd).
[+]support for MSDOS partition tables not compiled (CONFIG_PARTITION_ADVANCED -> CONFIG_MSDOS_PARTITION)(it happened!)
3.my server envirement:
A.boot from liveCD got the following messages:
dmesg info:
Code: | request_module[speakup_n]: Root fs not mounted
...
Non-volatile memory driver v1.2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: CD-224E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-cdrom driver.
hda: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
ide: late registration of driver.
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Fusion MPT base driver 2.05.11.03
Copyright (c) 1999-2003 LSI Logic Corporation
mptbase: 0 MPT adapters found, 0 installed.
Fusion MPT SCSI Host driver 2.05.11.03
mice: PS/2 mouse device common for all mice
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
...
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
...
Red Hat/Adaptec aacraid driver (1.1-3 Jul 21 2004 17:45:48)
spurious 8259A interrupt: IRQ7.
AAC0: kernel 4.0.4 build 6008
AAC0: monitor 4.0.4 build 6008
AAC0: bios 4.0.0 build 6008
AAC0: serial ba2a0efafaf001
AAC0: Non-DASD support enabled
scsi0 : aacraid
aacraid: NMI ISR: NMI_PRIMARY_ATU_ERROR
Vendor: ADAPTEC Model: R5 Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
...
e1000: eth0 NIC Link is Up 100 Mbps Full Duplex
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 574604800 512-byte hdwr sectors (294198 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
uhci.c: USB Universal Host Controller Interface driver v1.1 |
B.the other /proc messages:
Code: | livecd / # more proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ADAPTEC Model: R5 Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
livecd / # more proc/scsi/aacraid/0
Adaptec Raid Controller 1.1-3 Jul 21 2004 17:45:48, scsi hba number 0
kernel: 4.0-4[6008]
monitor: 4.0-4[6008]
bios: 4.0-0[6008]
serial: ba2a0efafaf001
livecd proc # more modules
aacraid 27716 0
e1000 59332 1
serial 48676 0 (autoclean)
sbp2 15284 0 (unused)
usb-storage 60800 0 (unused)
hid 19652 0 (unused)
usb-ohci 17064 0 (unused)
usbcore 53676 1 [usb-storage hid usb-ohci]
livecd proc # more partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
8 0 287302400 scsi/host0/bus0/target0/lun0/disc 4 12 32 20 0 0 0 0 0 20 20
8 1 514048 scsi/host0/bus0/target0/lun0/part1 0 0 0 0 0 0 0 0 0 0 0
8 2 1004062 scsi/host0/bus0/target0/lun0/part2 0 0 0 0 0 0 0 0 0 0 0
8 3 5863725 scsi/host0/bus0/target0/lun0/part3 0 0 0 0 0 0 0 0 0 0 0
8 4 1 scsi/host0/bus0/target0/lun0/part4 0 0 0 0 0 0 0 0 0 0 0
8 5 9775521 scsi/host0/bus0/target0/lun0/part5 0 0 0 0 0 0 0 0 0 0 0
8 6 48837568 scsi/host0/bus0/target0/lun0/part6 0 0 0 0 0 0 0 0 0 0 0
8 7 221303376 scsi/host0/bus0/target0/lun0/part7 0 0 0 0 0 0 0 0 0 0 0
3 0 619368 hda 415 4161 18358 18610 0 0 0 0 1 13425080 13200870
|
C.fstab file:
Code: | /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/sda5 /var ext3 defaults 0 2
/dev/sda6 /usr ext3 defaults 0 2
/dev/sda7 /home ext3 defaults 0 2 |
D.partitions:
Code: | Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 514048+ 83 Linux
/dev/sda2 65 189 1004062+ 82 Linux swap
/dev/sda3 190 919 5863725 83 Linux
/dev/sda4 920 35767 279916560 5 Extended
/dev/sda5 920 2136 9775521 83 Linux
/dev/sda6 2137 8216 48837568+ 83 Linux
/dev/sda7 8217 35767 221303376 83 Linux |
E.grub.conf
Code: | livecd / # less /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux-2.4.26-r6
root (hd0,0)
kernel (hd0,0)/kernel-2.4.26-gentoo-r6 root=/dev/ram0 real_root=/dev/sda3 init=/linuxrc ramdisk=8192 doscsi
initrd /initrd-2.4.26-gentoo-r6 |
|
|
Back to top |
|
|
swingcoder n00b
Joined: 14 Oct 2004 Posts: 6
|
Posted: Fri Oct 15, 2004 10:19 am Post subject: |
|
|
i used genkernel to compile kernel,and check on all scsi drivers,but still not works.
any ideas?
and anybody knows how to complies SCSI drivers into kernel according my server envirements?
|
|
Back to top |
|
|
swingcoder n00b
Joined: 14 Oct 2004 Posts: 6
|
Posted: Fri Oct 15, 2004 10:24 am Post subject: |
|
|
I have spent a week to install gentoo,
if still not solve this problem,
i will give up it !
|
|
Back to top |
|
|
kiss-o-matic Guru
Joined: 19 Jul 2004 Posts: 423 Location: Tokyo
|
Posted: Mon Oct 18, 2004 9:13 am Post subject: |
|
|
I had a similar problem. The way I got around it was to emerge gentoo-dev-sources (instead of gentoo-sources). It's a 2.6 kernel. Then I manually compiled my kernel, making sure the proper SCSI support was available... I had problems w/ the 2.4 kernels.
I've still got issues, but that should be a start. Try that. |
|
Back to top |
|
|
aleskx Tux's lil' helper
Joined: 08 Jan 2004 Posts: 84 Location: Charleston, SC
|
Posted: Fri Oct 29, 2004 6:39 pm Post subject: |
|
|
swingcoder wrote: | I have spent a week to install gentoo,
|
Look at this thread:
[url]
https://forums.gentoo.org/viewtopic.php?t=209202[/url]
I'm still struggling with something similar.
Can you post the lspci?
swingcoder wrote: |
if still not solve this problem,
i will give up it !
|
Is there someone forcing you to install Gentoo? |
|
Back to top |
|
|
kaffeen Tux's lil' helper
Joined: 27 Jan 2004 Posts: 139 Location: The Frozen North
|
Posted: Fri Oct 29, 2004 7:24 pm Post subject: |
|
|
To make sure you have the right drivers loaded, go to /usr/src/linux then do make menuconfig".
You should have Serial ATA (SATA) support and the driver for your SATA driver selected in Device Drivers > SCSI support > SCSI low level drivers. I'd suggest building them right in instead of as modules. |
|
Back to top |
|
|
|