Christopher S. Aker
2009-Jul-02 14:56 UTC
[Xen-devel] 3w_9xxx + Xen-patched 2.6.30 dom0 == bad LUN detection
I''ve been attempting to update my dom0 kernel by using the 2.6.27 git tree from the xenclient repo and also to 2.6.30 using opensuse patches rebased by Andrew Lyon. In both cases there''s a problem with the 3ware 3w_9xxx driver incorrectly detecting the LUNs on the device or some other issue, which ultimately prevents partition table detection. In my testing I applied the latest and greatest 3w_9xxx driver from 3ware''s site to both 2.6.30 _and_ 2.6.18. The same driver works correctly under 2.6.18 but fails under 2.6.[27,29,30]. The results were same as with the kernel-provided versions. "only 511 (max_scsi_report_luns) of 788538 luns reported" <-- I don''t think so. Xen 3.3.2 64bit, PAE dom0. Here''s an excerpt from 2.6.30 (failing): 3ware 9000 Storage Controller device driver for Linux v2.26.02.012. (XEN) PCI add device 09:01.0 3w-9xxx 0000:09:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 scsi0 : 3ware 9000 Storage Controller 3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xda300000, IRQ: 16. 3w-9xxx: scsi0: Firmware FE9X 3.04.00.005, BIOS BE9X 3.04.00.002, Ports: 4. scsi 0:0:0:0: Direct-Access AMCC 9550SXU-4L DISK 3.04 PQ: 0 ANSI: 3 scsi: On host 0 channel 0 id 0 only 511 (max_scsi_report_luns) of 788538 luns reported, try increasing max_scsi_report_luns. scsi: host 0 channel 0 id 0 lun 0xf85041d2065141d2 has a LUN larger than currently supported. Driver ''sd'' needs updating - please use bus_type methods Driver ''sr'' needs updating - please use bus_type methods sd 0:0:0:0: [sda] 1953103872 512-byte hardware sectors: (999 GB/931 GiB) sd 0:0:0:0: Attached scsi generic sg0 type 0 (XEN) PCI add device 00:1f.1 sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Write cache: enabled, read cache: disabled, doesn''t support DPO or FUA sda: unknown partition table ---> Full log here: http://p.linode.com/2609 And from 2.6.18 (working): 3ware 9000 Storage Controller device driver for Linux v2.26.08.004-2.6.18. (XEN) PCI add device 09:01.0 ACPI: PCI Interrupt 0000:09:01.0[A] -> GSI 16 (level, low) -> IRQ 16 scsi0 : 3ware 9000 Storage Controller 3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xda300000, IRQ: 16. 3w-9xxx: scsi0: Firmware FE9X 3.04.00.005, BIOS BE9X 3.04.00.002, Ports: 4. Vendor: AMCC Model: 9550SXU-4L DISK Rev: 3.04 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sda: 1953103872 512-byte hdwr sectors (999989 MB) sda: Write Protect is off SCSI device sda: drive cache: write back, no read (daft) SCSI device sda: 1953103872 512-byte hdwr sectors (999989 MB) sda: Write Protect is off SCSI device sda: drive cache: write back, no read (daft) sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda sd 0:0:0:0: Attached scsi generic sg0 type 0 Any clues? -Chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel