Date: Thu, 24 Jun 2004 16:20:56 -0500 From: David Cross <david.l.cross@msfc.nasa.gov> To: aic7xxx@freebsd.org Subject: Problems seeing multiple LUNs Message-ID: <40DB45B8.4BA1D07C@msfc.nasa.gov>
next in thread | raw e-mail | index | archive | help
Hello, Previously running RH9 on a system with dual Intel Xeon 3.0 processors and an Adaptec SCSI Card 39320D, connecting to an external raid which is divided into two LUNs. The first LUN is 2 TBytes and the other 1.3TBytes. Prior to our system disk dying, this worked fine. The first LUN is at about 90% usage, and the smaller device is about 60% populated. We replaced the system disk and decided this might be a good time to try to jump to Fedora Core 2. Everything seems to be fine, with the exception of the fact that we can no longer see the second LUN. We were instructed by our vendor contact to custom rebuild the kernel and to add Multiple LUN support. That did not seem to make a difference with only change to the kernel config being the addition of multiple LUN Support. That suggestion included the addition of "options scsi_mod.o scsi_max_luns=255" to the /etc/modules.conf file. We still do not see the second LUN. I have included below the dmesg from the custom build of kernel-2.6.6-i686-smp.config for the kernel version 2.6.6-1.435custom. You might note the section of the dmesg where it says the SCSI "has a LUN larger than currently supported." Note also that the larger of the two LUNs mounts just fine. Both LUNs show up during system startup at the bios level with LUN sizes proper noted when the SCSI devices are scanned. So it is the kernel that is apparently not picking up the configuration. Are there other things that need to be set in the kernel for this to work, or does anyone have other suggestions? Or, am I, for now, ultimately facing having to go back to RH9 for the resolve? Thank you, David # dmesg umber of IO-APIC #3 registers: 24. testing the IO APIC....................... IO APIC #1...... .... register #00: 01000000 ....... : physical APIC id: 01 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 00000000 ....... : arbitration: 00 .... register #03: 00000001 ....... : Boot DT : 1 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 003 03 0 0 0 0 0 1 1 39 02 003 03 0 0 0 0 0 1 1 31 03 003 03 0 0 0 0 0 1 1 41 04 003 03 0 0 0 0 0 1 1 49 05 003 03 0 0 0 0 0 1 1 51 06 003 03 0 0 0 0 0 1 1 59 07 003 03 0 0 0 0 0 1 1 61 08 003 03 0 0 0 0 0 1 1 69 09 003 03 0 1 0 0 0 1 1 71 0a 003 03 0 0 0 0 0 1 1 79 0b 003 03 0 0 0 0 0 1 1 81 0c 003 03 0 0 0 0 0 1 1 89 0d 003 03 0 0 0 0 0 1 1 91 0e 003 03 0 0 0 0 0 1 1 99 0f 003 03 0 0 0 0 0 1 1 A1 10 003 03 1 1 0 1 0 1 1 B9 11 003 03 1 1 0 1 0 1 1 B1 12 003 03 1 1 0 1 0 1 1 A9 13 003 03 1 1 0 1 0 1 1 C1 14 000 00 1 0 0 0 0 0 0 00 15 003 03 1 1 0 1 0 1 1 9A 16 003 03 1 1 0 1 0 1 1 A2 17 003 03 1 1 0 1 0 1 1 C9 IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 02000000 ....... : arbitration: 02 .... register #03: 00000001 ....... : Boot DT : 1 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 003 03 1 1 0 1 0 1 1 D1 01 003 03 1 1 0 1 0 1 1 D9 02 003 03 1 1 0 1 0 1 1 E1 03 003 03 1 1 0 1 0 1 1 E9 04 003 03 1 1 0 1 0 1 1 32 05 003 03 1 1 0 1 0 1 1 3A 06 003 03 1 1 0 1 0 1 1 42 07 003 03 1 1 0 1 0 1 1 4A 08 003 03 1 1 0 1 0 1 1 52 09 003 03 1 1 0 1 0 1 1 5A 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IO APIC #3...... .... register #00: 03000000 ....... : physical APIC id: 03 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 03000000 ....... : arbitration: 03 .... register #03: 00000001 ....... : Boot DT : 1 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 003 03 1 1 0 1 0 1 1 62 01 003 03 1 1 0 1 0 1 1 6A 02 003 03 1 1 0 1 0 1 1 72 03 003 03 1 1 0 1 0 1 1 7A 04 003 03 1 1 0 1 0 1 1 82 05 003 03 1 1 0 1 0 1 1 8A 06 003 03 1 1 0 1 0 1 1 92 07 000 00 1 0 0 0 0 0 0 00 08 000 00 1 0 0 0 0 0 0 00 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ11 -> 0:11 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 IRQ21 -> 0:21 IRQ22 -> 0:22 IRQ23 -> 0:23 IRQ24 -> 1:0 IRQ25 -> 1:1 IRQ26 -> 1:2 IRQ27 -> 1:3 IRQ28 -> 1:4 IRQ29 -> 1:5 IRQ30 -> 1:6 IRQ31 -> 1:7 IRQ32 -> 1:8 IRQ33 -> 1:9 IRQ48 -> 2:0 IRQ49 -> 2:1 IRQ50 -> 2:2 IRQ51 -> 2:3 IRQ52 -> 2:4 IRQ53 -> 2:5 IRQ54 -> 2:6 .................................... done. PCI: Using ACPI for IRQ routing vesafb: probe of vesafb0 failed with error -6 Simple Boot Flag at 0x36 set to 0x1 apm: BIOS not found. audit: initializing netlink socket (disabled) audit(1088028350.788:0): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API pci_hotplug: PCI Hot Plug PCI Core version: 0.5 ACPI: Processor [CPU0] (supports C1) ACPI: Processor [CPU1] (supports C1) isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected an Intel E7505 Chipset. agpgart: Maximum main memory to use for agp memory: 1919M agpgart: AGP aperture is 64M @ 0xe4000000 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize divert: not allocating divert_blk for non-ethernet device lo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at PCI slot 0000:00:1f.1 ICH4: chipset revision 2 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x24a0-0x24a7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x24a8-0x24af, BIOS settings: hdc:pio, hdd:pio hda: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive Using cfq io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 ide-floppy driver 0.99.newide usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver mice: PS/2 mouse device common for all mice serio: i8042 AUX port at 0x60,0x64 irq 12 input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 16384 buckets, 128Kbytes TCP: Hash tables configured (established 524288 bind 65536) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 ACPI: (supports S0 S1 S4 S5) md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). SCSI subsystem initialized scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11 <Adaptec AIC7902 Ultra320 SCSI adapter> aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs (scsi0:A:0): 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit) (scsi0:A:1): 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit) Vendor: IBM Model: IC35L146UWDY10-0 Rev: S21E Type: Direct-Access ANSI SCSI revision: 03 scsi0:A:0:0: Tagged Queuing enabled. Depth 4 SCSI device sda: 286749610 512-byte hdwr sectors (146816 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Vendor: IBM Model: IC35L146UWDY10-0 Rev: S23C Type: Direct-Access ANSI SCSI revision: 03 scsi0:A:1:0: Tagged Queuing enabled. Depth 4 SCSI device sdb: 286749610 512-byte hdwr sectors (146816 MB) SCSI device sdb: drive cache: write back sdb: sdb1 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11 <Adaptec AIC7902 Ultra320 SCSI adapter> aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs scsi1:A:0:0: DV failed to configure device. Please file a bug report against this driver. (scsi1:A:0): 160.000MB/s transfers (80.000MHz DT, 16bit) Vendor: Tornado- Model: F4 V2.0 Rev: 0001 Type: Direct-Access ANSI SCSI revision: 03 scsi1:A:0:0: Tagged Queuing enabled. Depth 4 SCSI device sdc: 4194304000 512-byte hdwr sectors (2147484 MB) SCSI device sdc: drive cache: write back sdc: sdc1 Attached scsi disk sdc at scsi1, channel 0, id 0, lun 0 scsi: host 1 channel 0 id 0 lun 0x00000200080c0400 has a LUN larger than currently supported. scsi: host 1 channel 0 id 0 lun 0xff010000ffffffff has a LUN larger than currently supported. scsi: host 1 channel 0 id 0 lun 0x0002202020202020 has a LUN larger than currently supported. scsi: host 1 channel 0 id 0 lun808529923 has a LUN larger than allowed by the host adapter scsi: host 1 channel 0 id 0 lun3078 has a LUN larger than allowed by the host adapter kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 184k freed SELinux: Disabled at runtime. SELinux: Unregistering netfilter hooks NET: Registered protocol family 10 Disabled Privacy Extensions on device 0230dea0(lo) IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 ACPI: Power Button (FF) [PWRF] ehci_hcd 0000:00:1d.7: EHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: irq 201, pci mem 82848000 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10 hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected USB Universal Host Controller Interface driver v2.2 uhci_hcd 0000:00:1d.0: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: irq 185, io base 00002440 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected uhci_hcd 0000:00:1d.1: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: irq 193, io base 00002460 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected uhci_hcd 0000:00:1d.2: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: irq 169, io base 00002480 uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected EXT3 FS on sda2, internal journal device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com cdrom: open failed. Adding 2096440k swap on /dev/sda5. Priority:-1 extents:1 Adding 2096440k swap on /dev/sda6. Priority:-2 extents:1 kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda7, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sdb1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sdc1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com> microcode: No new microdata for cpu 1 microcode: No new microdata for cpu 0 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 1, lun 0, type 0 Attached scsi generic sg2 at scsi1, channel 0, id 0, lun 0, type 0 kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device inserting floppy driver for 2.6.6-1.435custom Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 e1000: Ignoring new-style parameters in presence of obsolete ones Intel(R) PRO/1000 Network Driver - version 5.2.52-k4 Copyright (c) 1999-2004 Intel Corporation. e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection divert: allocating divert_blk for eth0 e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection divert: allocating divert_blk for eth1 divert: freeing divert_blk for eth0 divert: freeing divert_blk for eth1 ip_tables: (C) 2000-2002 Netfilter core team ip_tables: (C) 2000-2002 Netfilter core team e1000: Ignoring new-style parameters in presence of obsolete ones Intel(R) PRO/1000 Network Driver - version 5.2.52-k4 Copyright (c) 1999-2004 Intel Corporation. e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection divert: allocating divert_blk for eth0 e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection divert: allocating divert_blk for eth1 e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex ip_tables: (C) 2000-2002 Netfilter core team process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT eth0: no IPv6 routers present parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected lp0: using parport0 (polling). lp0: console ready PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 49265 usecs intel8x0: clocking to 48000 kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device kudzu: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device Thanks, David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40DB45B8.4BA1D07C>