Adaptec 7XXX/DPT SmartRAID V
Hello dear linux-scsi subscribers,
I got machine with squid and apache. It is a normal PC (2x550PIII, 400MB ram, SCSI adaptec 2940, DPT SmartRAID V Controller, network card ...) - nothing special.
[root@bishop root]# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03) 00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) 00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) 00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) 00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 VGA compatible controller: ATI Technologies Inc 215CT [Mach64 CT] (rev 09) 00:09.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) 00:0a.0 PCI bridge: Distributed Processing Technology PCI Bridge (rev 03) 00:0a.1 I2O: Distributed Processing Technology SmartRAID V Controller (rev 03) 00:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) 00:0c.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04) 00:0c.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
[root@bishop root]# lsmod
Module Size Used by Not tainted
eepro100 20816 1 reiserfs 189824 1 (autoclean) usb-uhci 25604 0 (unused) usbcore 77024 1 [usb-uhci] dpt_i2o 28768 1 aic7xxx 125440 6
sd_mod 12896 14scsi_mod 112272 3 [dpt_i2o aic7xxx sd_mod]
System is rh 7.3 with updates and rh kernel (2.4.18 not compiled by my self i mean). Partitions with system are on the disk on adaptec, directory for squid cache on DPT SmartRAID V Controller (raid 0 - 4 x 18 GB)
I got one problem with this configuration. When I try to boot from "my self" compiled kernel (2.4.18), as first controller, linux recognize DPT, so my root partitions can not be mounted (can not find root fs etc./etc.).
Booting from rh kernel gives good results:
[root@bishop root]# mount/dev/sda7 on / type ext2 (rw,nosuid)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/sda1 on /boot type ext2 (rw,nosuid,nodev,noexec) /dev/sdb1 on /cache type reiserfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620) none on /dev/shm type tmpfs (rw)/dev/sda8 on /tmp type ext2 (rw,nosuid,nodev,noexec) /dev/sda6 on /usr type ext2 (rw,nosuid,nodev) /dev/sda5 on /var type ext2 (rw,nosuid,nodev,noexec)
BIOS shows good order - adaptec is the first, dpt - second.
I know that i can do some workarounds with lilo but it is not good solution i think.
Am i missing something ?
ps. sorry for my poor english.
greetz
boka
Quoted 4 lines · gnu_is_not_unix
I got one problem with this configuration. When I try to boot from "my self" compiled kernel (2.4.18), as first controller, linux recognize DPT, so my root partitions can not be mounted (can not find root fs etc./etc.).
Two solutions: 1) compile the Adaptec 2940 driver into the kernel, and make the dpt_i2o driver a module. This should force the 2940 to be seen first. 2) Make sure your scsi_adapter aliases are set up right in /etc/modules.conf, and re-generate your initrd. They should set the detection order.