|
1.问题描述:
装完后重启,找不到root分区,可以进入简单功能的shell,查找没有加载scsi raid的驱动.是何原因导致scsi driver编译不进去呢?我用内核方式和模块方式都试过,也加载不了driver,晕死.甚至从liveCD启动后将其加载的driver cp到mounted分区,也不行.请各位支个招,谢谢
2.基本上下面的解决方法都试过,还是不行
[+]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.我的系统环境:
服务器:4*2.8G CPU, 4G RAM, RAID5
软件 iveCD 2004.2,装过x86,x686,pentium都试过
A.从LiveCD启动可以看到如下信息:
dmesg info:
- 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.在/proc 内的信息:
- 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:
- /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:
- 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
- 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
复制代码 |
|