See Panic Below...

qle0 at pci13 dev 0 function 0 "QLogic ISP2432" rev 0x03: msi
qle0: bad startup mboxes: 2 fef8
qle0: firmware rev 4.0.20, attrs 0x2
scsibus3 at qle0: 2048 targets, WWPN 2100001b328be8d9, WWNN 2000001b328be8d9 ses0 at scsibus3 targ 0 lun 0: <SUN, CSM200_E, 98C4> SCSI2 13/enclosure services fixed sd2 at scsibus3 targ 1 lun 0: <ATA, , 0705> SCSI3 0/direct fixed naa.200000a0b82d8e31
qle1 at pci13 dev 0 function 1 "QLogic ISP2432" rev 0x03: msi
qle1: bad startup mboxes: 2 fef8
qle1: firmware rev 4.0.20, attrs 0x2
scsibus4 at qle1: 2048 targets, WWPN 2101001b32abe8d9, WWNN 2001001b32abe8d9
uhub2 at uhub1 port 1 "Atmel UHB124 hub" rev 1.10/3.00 addr 2
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
panic: iommu_dvmamap_load: map still in use
panic: Unable to send mondo 1011fa4 to cpu 0: 6
Stopped at      Debugger+0x8:   nop
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 5607   5607      0     0x14000      0x200    0  systq
sun4v_send_ipi(0, 1011fa4, 0, 6, 20, 0) at sun4v_send_ipi+0xa0
db_enter_ddb(401c05b8000, 101, 155fa24, 820006, 1895000, 100) at db_enter_ddb+0
x2c4
db_ktrap(101, 401c0d42db0, 1832cc8, 180e000, 20, 0) at db_ktrap+0x120
trap(401c0d42db0, 101, 155fa24, 820006, 1895000, 100) at trap+0x2f4
Lslowtrap_reenter(1, 401c0d43108, 1832cc8, 180e000, 20, 0) at Lslowtrap_reenter
+0xf8
panic(16c9718, 401c0d43508, ffffffffffffffff, 401c0d43108, 1895000, 100) at pan
ic+0xb8
viommu_dvmamap_load(4002348c600, 4002348c600, 40024278800, 4002f448000, 20, 0) a
t viommu_dvmamap_load+0x428
qle_scsi_cmd(4002f474000, 401c0d43508, ffffffffffffffff, 4002f468900, 0, 1832cc
8) at qle_scsi_cmd+0x11c
scsi_xs_exec(4002f474000, 4002f474000, 20, 64, 0, 0) at scsi_xs_exec+0x30 scsi_xs_sync(4002f474000, 401c0d43508, ffffffffffffffff, 4002f468900, 0, 4002f4
7406b) at scsi_xs_sync+0x84
sd_read_cap_16(40023635000, 4002f474000, 20, 64, 0, 0) at sd_read_cap_16+0xf8
sd_size(40023635000, 20, 2000, 4002f468900, 0, 1100) at sd_size+0x44
sd_get_parms(40023635000, 40023635160, 20, 64, 0, 0) at sd_get_parms+0x38
sdopen(6, 4002349d500, 2000, 4002f468900, 0, 1100) at sdopen+0x290
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.

The disk chassis I'm using (StorageTek 6140) does not initialize the drives until the HBA attempts to detect them. As soon as QLE starts to initialize the controller, the first disk starts to spin up, but QLE doesn't wait for the disk to spin up and we keep on booting until we panic at softraid.

Not exactly sure whats happening, but it looks like QLE should wait for all of the drives to spin up before continuing booting.

ddb{0}> trace
sun4v_send_ipi(0, 1011fa4, 0, 6, 20, 0) at sun4v_send_ipi+0xa0
db_enter_ddb(401c05b8000, 101, 155fa24, 820006, 1895000, 100) at db_enter_ddb+0
x2c4
db_ktrap(101, 401c0d42db0, 1832cc8, 180e000, 20, 0) at db_ktrap+0x120
trap(401c0d42db0, 101, 155fa24, 820006, 1895000, 100) at trap+0x2f4
Lslowtrap_reenter(1, 401c0d43108, 1832cc8, 180e000, 20, 0) at Lslowtrap_reenter
+0xf8
panic(16c9718, 401c0d43508, ffffffffffffffff, 401c0d43108, 1895000, 100) at pan
ic+0xb8
viommu_dvmamap_load(4002348c600, 4002348c600, 40024278800, 4002f448000, 20, 0) a
t viommu_dvmamap_load+0x428
qle_scsi_cmd(4002f474000, 401c0d43508, ffffffffffffffff, 4002f468900, 0, 1832cc
8) at qle_scsi_cmd+0x11c
scsi_xs_exec(4002f474000, 4002f474000, 20, 64, 0, 0) at scsi_xs_exec+0x30 scsi_xs_sync(4002f474000, 401c0d43508, ffffffffffffffff, 4002f468900, 0, 4002f4
7406b) at scsi_xs_sync+0x84
sd_read_cap_16(40023635000, 4002f474000, 20, 64, 0, 0) at sd_read_cap_16+0xf8
sd_size(40023635000, 20, 2000, 4002f468900, 0, 1100) at sd_size+0x44
sd_get_parms(40023635000, 40023635160, 20, 64, 0, 0) at sd_get_parms+0x38
sdopen(6, 4002349d500, 2000, 4002f468900, 0, 1100) at sdopen+0x290
spec_open(1825280, 722, 401c0d43cb0, 64, 0, 3b9ac800) at spec_open+0x29c
VOP_OPEN(4002f44e1a0, 1, 1832cc8, 4002f468900, 0, 1100) at VOP_OPEN+0x44
disk_readlabel(401c0d43cb0, 722, 401c0d43cb0, 64, 0, 3b9ac800) at disk_readlabe
l+0xec
disk_attach_callback(40023635048, 401c0d43de0, 1197b00, 0, 0, 0) at disk_attach
_callback+0x88
taskq_thread(180e318, 4002f468900, 168ff58, 168fcd0, 0, 3b9ac800) at taskq_thre
ad+0x6c
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x14



Reply via email to