Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262400AbUKQQeq (ORCPT ); Wed, 17 Nov 2004 11:34:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262404AbUKQQeJ (ORCPT ); Wed, 17 Nov 2004 11:34:09 -0500 Received: from limicola.its.UU.SE ([130.238.7.33]:1221 "EHLO limicola.its.uu.se") by vger.kernel.org with ESMTP id S262400AbUKQQby (ORCPT ); Wed, 17 Nov 2004 11:31:54 -0500 Date: Wed, 17 Nov 2004 17:30:00 +0100 Subject: PROBLEM: booting from 3w-9000 RAID array To: linux-kernel@vger.kernel.org From: "Filipe Maia" Content-Type: multipart/mixed; boundary=----------vQDc0cPb9rP0Au8VRpfCb1 MIME-Version: 1.0 Message-ID: User-Agent: Opera M2/7.50 (Linux, build 673) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org ------------vQDc0cPb9rP0Au8VRpfCb1 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: quoted-printable 1. Cannot boot from /dev/sda2 and /dev/sda3 with 3w-9xxx driver from 2.6 = =20 kernel series. Booting from /dev/sda1 looks to work. 2. I have a 3w-9000 and the following partitions: /dev/sda1 on /boot type ext3 (rw) /dev/sda2 on / type ext3 (rw) /dev/sda3 on /mnt/debian type ext3 (rw) /dev/sda4 on /homes/hirst/dsk1 type ext3 (rw,noatime,data=3Dwriteback) /dev/sdb1 on /homes/hirst/dsk2 type ext3 (rw,noatime,data=3Dwriteback) On WhiteBox Linux 3.0. Bootloader is grub (GNU GRUB 0.93) installed in =20 /dev/sda. The 2.4 drivers that 3ware provides work fine (both with custom and pre =20 compiled redhat kernels). But if i use a 2.6 kernel with a builtin driver i get a: Please append a correct "root=3D" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(8,2) The strange thing is that if i use sda1 as root (801) it's able to mount = =20 root fs (but obviously fails, because it doesn't find init). If i try the same using the driver as =20 module and initrd the error is in: pivot_root: no such file or directory. I tried both stock kernel from kernel.org (2.6.9) and debian =20 2.6.8-1smp(precompiled with module driver). It looks like the driver recognizes the disks during boot (i get some =20 output about 3w-9xxx founding sda and sdb), but not the partitions inside the drives (i don't get any output about th= e =20 sda1, sda2, etc...). 3. Keywords - 2.6, boot, 3w-9xxx 4. Kernel version - 2.6.9 and 2.6.8-1smp from debian 5. Hardware: Processors 1=09 Model Intel(R) Xeon(TM) CPU 2.80GHz=09 Chip MHz 2800.16 MHz=09 Cache Size 512 KB=09 System Bogomips 5583.66=09 PCI Devices 0000:00:1f.1 IDE interface: Intel Corp. 82801CA Ultra ATA =20 Storage Controller 0000:00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller 0000:01:04.0 VGA compatible controller: ATI Technologies Inc Rage XL 0000:02:1c.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC 0000:02:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC 0000:03:01.0 Ethernet controller: Intel Corp. 82541EI Gigabit Ethernet =20 Controller 0000:03:02.0 Ethernet controller: Intel Corp. 82541EI Gigabit Ethernet =20 Controller 0000:04:01.0 RAID bus controller: 3ware Inc 3ware ATA-RAID 0000:04:02.0 RAID bus controller: 3ware Inc 3ware ATA-RAID =09 IDE Devices none=09 SCSI Devices 3ware Logical Disk 00 (Direct-Access) 3ware Logical Disk 00 (Direct-Access) more /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: 3ware Model: Logical Disk 00 Rev: 1.00 Type: Direct-Access ANSI SCSI revision: ffffffff Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: 3ware Model: Logical Disk 00 Rev: 1.00 Type: Direct-Access ANSI SCSI revision: ffffffff lspci -vvv attached --=20 All generalizations are false, including this one. -- Mark Twain ------------vQDc0cPb9rP0Au8VRpfCb1 Content-Disposition: attachment; filename=pci Content-Type: application/octet-stream; name=pci Content-Transfer-Encoding: quoted-printable 0000:00:00.0 Host bridge: Intel Corp. E7501 Memory Controller Hub (rev 01= ) Subsystem: Super Micro Computer Inc: Unknown device 4880 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step= ping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dfast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02= ) (prog-if 00 [UHCI]) Subsystem: Super Micro Computer Inc: Unknown device 4880 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step= ping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 0000:00:1f.0 ISA bridge: Intel Corp. 82801CA LPC Interface Controller (re= v 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Step= ping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at ffa0 [size=3D16] Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=3D1K] 0000:00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 02) Subsystem: Super Micro Computer Inc: Unknown device 4880 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step= ping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [50] PCI-X bridge device. Secondary Status: 64bit+, 133MHz+, SCD-, USC-, SCO-, SRD- Freq=3D0 Status: Bus=3D2 Dev=3D29 Func=3D0 64bit+ 133MHz+ SCD- USC-, SCO-, SRD- : Upstream: Capacity=3D65535, Commitment Limit=3D65535 : Downstream: Capacity=3D65535, Commitment Limit=3D65535 0000:02:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20= [IO(X)-APIC]) Subsystem: Intel Corp. 82870P2 P64H2 I/OxAPIC Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step= ping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [50] PCI-X bridge device. Secondary Status: 64bit+, 133MHz+, SCD-, USC-, SCO-, SRD- Freq=3D0 Status: Bus=3D2 Dev=3D31 Func=3D0 64bit+ 133MHz+ SCD- USC-, SCO-, SRD- : Upstream: Capacity=3D65535, Commitment Limit=3D65535 : Downstream: Capacity=3D65535, Commitment Limit=3D65535 0000:03:01.0 Ethernet controller: Intel Corp. 82541EI Gigabit Ethernet Co= ntroller (Copper) Subsystem: Intel Corp. PRO/1000 MT Desktop Adapter Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Step= ping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-