Hello all- We are running RedHat 6.2 (2.2.14-5.0 kernel) on a system with a qlogic QLA2200 fibre channel controller. The fc controller is connected (via fc hub) to an intelligent storage subsystem which presents multiple logical units (LUNs)/disks to our linux system. Out of the box, the linux system sees only LUN 0. We have reconfigured the scsi driver to probe for Multiple LUNs, but after doing so, the qlogicfc driver no longer loads automatically. How do we get the module to load automatically after this kernel reconfiguration? Thanks in advance, Brett Kislin Additional Information: We have hacked the rc.d tree to perform autoloading as a service, but this is not the best fix. We noticed some interesting behavior after boot with the multi-LUN kernel: Running scsiinfo -l the first time gives output (A): resize_dma_pool: unknown device type 31 *** /dev/sda /dev/sdb *** appears 4 times: this message is printed from scsi.c After execution of scsiinfo, we noticed that module st (SCSI tape) was loaded. When issue scsiinfo -l again, output is just (B): /dev/sda /dev/sdb If we rmmod st, and reissue scsiinfo -l, we see the same output as in A. If we issue lsmod, st is once again loaded. Relevant output from dmesg: the first is from the original kernel, the second is from multi-LUN kernel with qlogicfc loading during rc.d boot stage. Please note that the QLA2200 ROM BIOS was updated to 1.54 after the new kernel was created. The garbage values appeared after this update. 1 LUN: Linux version 2.2.14-5.0 ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Mar 7 21:07:39 EST 2000 ... md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12 ... scsi : 0 hosts. scsi : detected total. md.c: sizeof(mdp_super_t) = 4096 Partition check: hda: hda1 hda2 < hda5 hda6 RAMDISK: Compressed image found at block 0 autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem). qlogicfc0 : link is up scsi0 : QLogic ISP2200 SCSI on PCI bus 00 device 58 irq 9 base 0x5000 scsi : 1 host. qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d scsi: unknown type 31 Vendor: @^� Model: �� �����o Rev: Type: Unknown ANSI SCSI revision: 00 qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d scsi: unknown type 31 Vendor: @^� Model: �� �����o Rev: Type: Unknown ANSI SCSI revision: 00 scsi: unknown type 31 Vendor: @^� Model: �� �����o Rev: Type: Unknown ANSI SCSI revision: 00 scsi: unknown type 31 Vendor: Model: Rev: Type: Unknown ANSI SCSI revision: 04 Vendor: DataCore Model: 20da0030d9000000 Rev: 123 Type: Direct-Access ANSI SCSI revision: 04 Detected scsi disk sda at scsi0, channel 0, id 6, lun 0 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 SCSI device sda: hdwr sector= 512 bytes. Sectors= 4192965 [2047 MB] [2.0 GB] sda: sda1 autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem) readonly. change_root: old root has d_count=4 Trying to unmount old root ... <3error -16 Change root to /initrd: error -2 Freeing unused kernel memory: 64k freed Adding Swap: 68504k swap-space (priority -1) The PCI BIOS has not enabled the device at 0/48! Updating PCI command 0103-0107. rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html eth0: RealTek RTL8139 Fast Ethernet at 0x5400, IRQ 10, 00:b0:4c:39:19:aa. Multi-LUN: Linux version 2.2.14-5.0 (root@blackbird) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon May 22 14:49:46 EDT 2000 ... md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12 ... scsi : 0 hosts. scsi : detected total. md.c: sizeof(mdp_super_t) = 4096 Partition check: hda: hda1 hda2 < hda5 hda6 > autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 64k freed Adding Swap: 68504k swap-space (priority -1) The PCI BIOS has not enabled the device at 0/48! Updating PCI command 0103->0107. rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html eth0: RealTek RTL8139 Fast Ethernet at 0x5400, IRQ 10, 00:b0:4c:39:19:aa. qlogicfc0 : link is up scsi0 : QLogic ISP2200 SCSI on PCI bus 00 device 58 irq 9 base 0x5000 scsi : 1 host. qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d scsi: unknown type 31 Vendor: T� �;� � Model: �g%�F �g%����� Rev: ��$� Type: Unknown ANSI SCSI revision: 00 qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d qlogicfc0 : Port Database wwn: 210000e08b0037df scsi_id: 0 loop_id: 1 wwn: 200000e08b00aaab scsi_id: 1 loop_id: 0 wwn: 210000e08b005edf scsi_id: 2 loop_id: 2 wwn: 200000e08b00beab scsi_id: 3 loop_id: 3 wwn: 200000e08b008992 scsi_id: 4 loop_id: 4 wwn: 200000e08b00a8ab scsi_id: 5 loop_id: 7c wwn: 210000e08b019102 scsi_id: 6 loop_id: 7d scsi: unknown type 31 Vendor: T� �;� � Model: �g%�F �g%����� Rev: ��$� Type: Unknown ANSI SCSI revision: 00 scsi: unknown type 31 Vendor: T� �;� � Model: �g%�F �g%����� Rev: ��$� Type: Unknown ANSI SCSI revision: 00 scsi: unknown type 31 Vendor: Model: Rev: Type: Unknown ANSI SCSI revision: 04 Vendor: DataCore Model: 20da0030d9000000 Rev: 123 Type: Direct-Access ANSI SCSI revision: 04 Detected scsi disk sda at scsi0, channel 0, id 6, lun 0 Vendor: DataCore Model: 20da0030d9000000 Rev: 123 Type: Direct-Access ANSI SCSI revision: 04 Detected scsi disk sdb at scsi0, channel 0, id 6, lun 1 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 resize_dma_pool: unknown device type 31 SCSI device sda: hdwr sector= 512 bytes. Sectors= 4192965 [2047 MB] [2.0 GB] sda: sda1 SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2097152 [1024 MB] [1.0 GB] sdb: sdb1 - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED]
