Re: Branch to use for most current Qlogic target code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/02/2012 8:00 AM, Jim Barber wrote:

> Thanks Nicholas.
> 
> I've downloaded the firmware and overwritten the version I had, rebuilt the initrd image and rebooted.
> Now dmesg shows:
> 
> [    1.592448] scsi0 : qla2xxx
> [    1.592839] qla2xxx 0000:09:00.0: skipping scsi_scan_host() for non-initiator port
> [    1.592939] qla2xxx [0000:09:00.0]-00fa:0: QLogic Fibre Channed HBA Driver: 8.03.07.12-k.
> [    1.593032] qla2xxx [0000:09:00.0]-00fb:0: QLogic QLE2462 - PCI-Express Dual Channel 4Gb Fibre Channel HBA.
> [    1.593140] qla2xxx [0000:09:00.0]-00fc:0: ISP2432: PCIe (2.5GT/s x4) @ 0000:09:00.0 hdma+ host#=0 fw=5.06.05 (9496).
> 
> I'm running the Debian Linux distribution and the /lib/firmware/ql2400_fw.bin file came from the firmware-qlogic package.
> I've checked and there is a bug report already asking for the firmware to be updated.
> 
> 	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659217
> 
> I'm still running on the kernel that I compiled on the 14th Feb.
> I'll let you know if it has issues again.

Hi Nicholas.

I've had the issue again.
Here are the results from the log:

Feb 21 12:47:03 san kernel: [449608.875316] ABORT_TASK: Found referenced qla2xxx task_tag: 1189792
Feb 21 12:47:03 san kernel: [449608.893278] qla2xxx 0000:0b:00.0: qla2x00_error_entry: error entry, type 0x12 status 0x8
Feb 21 12:47:03 san kernel: [449609.148015] ABORT_TASK: Sending TMR_FUNCTION_COMPLETE for ref_tag: 1189792
Feb 21 12:47:03 san kernel: [449609.148052] ABORT_TASK: Sending TMR_TASK_DOES_NOT_EXIST for ref_tag: 1189836
Feb 21 12:47:08 san kernel: [449613.939052] qla2xxx 0000:0b:00.0: qla2x00_error_entry: error entry, type 0x12 status 0x8
Feb 21 12:48:00 san kernel: [449666.080095] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:00 san kernel: [449666.080151] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:48:00 san kernel: [449666.082166] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:00 san kernel: [449666.082224] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:48:00 san kernel: [449666.082389] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:00 san kernel: [449666.082445] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:48:27 san kernel: [449693.069546] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001
Feb 21 12:48:27 san kernel: [449693.069629] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001
Feb 21 12:48:27 san kernel: [449693.069727] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000002
Feb 21 12:48:27 san kernel: [449693.069844] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000002
Feb 21 12:48:27 san kernel: [449693.069914] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000003

Followed by a whole lot more 'Detected NON_EXISTENT_LUN Access' lines.
Then:

Feb 21 12:48:42 san kernel: [449708.200672] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:42 san kernel: [449708.200726] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:48:42 san kernel: [449708.202738] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:42 san kernel: [449708.202795] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:48:42 san kernel: [449708.202952] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:48:42 san kernel: [449708.203008] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:49:07 san kernel: [449733.006360] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001
Feb 21 12:49:07 san kernel: [449733.006423] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001

Then more NON_EXISTENT_LUN lines, then:

Feb 21 12:49:43 san kernel: [449768.661147] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:49:43 san kernel: [449768.661202] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:49:43 san kernel: [449768.663065] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:49:43 san kernel: [449768.663126] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:49:43 san kernel: [449768.663290] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:49:43 san kernel: [449768.663346] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:50:01 san /USR/SBIN/CRON[5139]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update
7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi)
Feb 21 12:50:42 san kernel: [449828.213968] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:50:42 san kernel: [449828.214026] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:50:42 san kernel: [449828.216086] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:50:42 san kernel: [449828.216148] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:50:42 san kernel: [449828.216307] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:50:42 san kernel: [449828.216363] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:51:43 san kernel: [449888.674221] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:51:43 san kernel: [449888.674278] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:51:43 san kernel: [449888.676246] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:51:43 san kernel: [449888.676303] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:51:43 san kernel: [449888.676460] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:51:43 san kernel: [449888.676517] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:52:42 san kernel: [449948.227784] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:52:42 san kernel: [449948.227840] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:52:42 san kernel: [449948.229841] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:52:42 san kernel: [449948.229899] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:52:42 san kernel: [449948.230060] scsi(5): resetting (session ffff880125bce640 from port 21:00:00:1b:32:83:f3:c6, mcmd
fffd, loop_id 130)
Feb 21 12:52:42 san kernel: [449948.230116] qla_target(0): Unknown task mgmt fn 0xfffd
Feb 21 12:53:27 san kernel: [449993.077835] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001
Feb 21 12:53:27 san kernel: [449993.077918] TARGET_CORE[qla2xxx]: Detected NON_EXISTENT_LUN Access for 0x00000001

And so on until I rebooted the box.
Note that each time I reboot the box, I have to kill -1 the tcm_fabric process that is trying to close things down, before the box
will reboot.
For the problem above, the process tree for it looked like:

  tcm_fabric,8144 /usr/sbin/tcm_fabric --unloadall
    |-(sh,8145)
    `-sh,8223 -c echo 0 > /sys/kernel/config/target/qla2xxx/21:00:00:1b:32:1b:27:5d/tpgt_1/enable


Regards,

----------
Jim Barber
DDI Health
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux