Skip to contentSkip to conversation

Booting qla2x00_mailbox_command+0x8ac/0xec0

DISCUSSION Frans van Berckel 2 participants 5 messages Jan 22, 2017 – Jan 24, 2017 SCSI

lore
Share & tools
lore
#0 lore raw

Anyone a idea what could be wrong while booting from the scsi disk on sparc64. 4.9.0 is mailboxing this error and dumps into initramfs.

[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0):
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]> [   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000] [   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000] [   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000] [   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920] [   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000] [   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.

lsmod does ...

Module                  Size  Used by    Not tainted hid_generic             1321  0
usbhid                 48130  0
hid                   107802  2 hid_generic,usbhid ohci_pci                4680  0
ehci_pci                4847  0
ohci_hcd               41274  1 ohci_pci qla2xxx               715279  1
ehci_hcd               69278  1 ehci_pci usbcore               209214  5 usbhid,ohci_pci,ehci_pci,ohci_hcd,ehci_hcd firewire_ohci          33604  0 scsi_transport_fc      46940  1 qla2xxx sym53c8xx              75770  0 scsi_transport_spi     22583  1 sym53c8xx usb_common              3976  1 usbcore scsi_mod              196717  4 qla2xxx,scsi_transport_fc,sym53c8xx,scsi_transport_spi firewire_core          54166  1 firewire_ohci crc_itu_t               1595  1 firewire_core sungem                 29777  0
sungem_phy             10858  1 sungem

Attaching dmesg output ...

Thanks,

Frans van Berckel

[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18'
[    0.000000] PROMLIB: Root node compatible: 
[    0.000000] Linux version 4.9.0-1-sparc64-smp ([email protected]) (gcc version 6.3.0 20161229 (Debian 6.3.0-2) ) #1 SMP Debian 4.9.2-2 (2017-01-12)
[    0.000000] bootconsole [earlyprom0] enabled
[    0.000000] ARCH: SUN4U
[    0.000000] Ethernet address: 00:03:ba:09:92:39
[    0.000000] MM: PAGE_OFFSET is 0xfff0000000000000 (max_phys_bits == 42)
[    0.000000] MM: VMALLOC [0x0000000100000000 --> 0x000c000000000000]
[    0.000000] MM: VMEMMAP [0x000c000000000000 --> 0x0018000000000000]
[    0.000000] Kernel: Using 3 locked TLB entries for main kernel image.
[    0.000000] Remapping the kernel... 
[    0.000000] done.
[    0.000000] OF stdout device is: /upa@8,480000/SUNW,ffb@0,0
[    0.000000] PROM: Built device tree with 111984 bytes of memory.
[    0.000000] Top of RAM: 0x7fdda000, Total RAM: 0x7fdc8000
[    0.000000] Memory hole size: 0MB
[    0.000000] Allocated 16384 bytes for kernel page tables.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000007fdd9fff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007effdfff]
[    0.000000]   node   0: [mem 0x000000007f000000-0x000000007fdabfff]
[    0.000000]   node   0: [mem 0x000000007fdbc000-0x000000007fdd9fff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fdd9fff]
[    0.000000] On node 0 totalpages: 261860
[    0.000000]   Normal zone: 2302 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 261860 pages, LIFO batch:15
[    0.000000] Booting Linux...
[    0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,ultra3,mul32,div32]
[    0.000000] CPU CAPS: [v8plus,vis,vis2]
[    0.000000] percpu: Embedded 10 pages/cpu @fff000007f800000 s43160 r8192 d30568 u2097152
[    0.000000] pcpu-alloc: s43160 r8192 d30568 u2097152 alloc=1*4194304
[    0.000000] pcpu-alloc: [0] 0 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 259558
[    0.000000] Kernel command line: root=/dev/sda5 ro
[    0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2038240K/2094880K available (5736K kernel code, 793K rwdata, 1472K rodata, 488K init, 887K bss, 56640K reserved, 0K cma-reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2
[    0.000000] NR_IRQS:2048 nr_irqs:2048 1
[   62.198645] clocksource: stick: mask: 0xffffffffffffffff max_cycles: 0x127350b88, max_idle_ns: 440795202120 ns
[   62.232883] clocksource: mult[c8000000] shift[24]
[   62.249521] clockevent: mult[147ae14] shift[32]
[   62.266495] Console: colour dummy device 80x25
[   62.282634] console [tty0] enabled
[   62.296338] bootconsole [earlyprom0] disabled
[   62.392131] Calibrating delay using timer specific routine.. 10.01 BogoMIPS (lpj=20035)
[   62.392161] pid_max: default: 32768 minimum: 301
[   62.392615] Security Framework initialized
[   62.392636] Yama: disabled by default; enable with sysctl kernel.yama.*
[   62.392683] AppArmor: AppArmor disabled by boot time parameter
[   62.392826] Mount-cache hash table entries: 4096 (order: 2, 32768 bytes)
[   62.392848] Mountpoint-cache hash table entries: 4096 (order: 2, 32768 bytes)
[   62.394793] ftrace: allocating 19090 entries in 38 pages
[   62.436106] CPU 1: synchronized TICK with master CPU (last diff -1 cycles, maxerr 5 cycles)
[   62.436398] Brought up 2 CPUs
[   62.437550] devtmpfs: initialized
[   62.443489] Performance events: 
[   62.443522] Testing NMI watchdog ... 
[   62.523541] OK.
[   62.523556] Supported PMU type is 'ultra3'
[   62.560077] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   62.561025] NET: Registered protocol family 16
[   62.574996] /pci@8,700000: SCHIZO PCI Bus Module ver[4:0]
[   62.575022] /pci@8,700000: PCI IO[7ffef000000] MEM[7fe00000000]
[   62.575036]  MEM64[7fe00000000]
[   62.575047] 
[   62.579666] PCI: Scanning PBM /pci@8,700000
[   62.580025] schizo f0061680: PCI host bridge to bus 0000:00
[   62.580070] pci_bus 0000:00: root bus resource [io  0x7ffef000000-0x7ffefffffff] (bus address [0x0000-0xffffff])
[   62.580124] pci_bus 0000:00: root bus resource [mem 0x7fe00000000-0x7feffffffff] (bus address [0x00000000-0xffffffff])
[   62.580176] pci_bus 0000:00: root bus resource [mem 0x7fe00000000-0x7feffffffff] (bus address [0x00000000-0xffffffff])
[   62.580229] pci_bus 0000:00: root bus resource [bus 00]
[   62.581977] pci 0000:00:06.0: supports D1 D2
[   62.582308] pci 0000:00:06.1: supports D1 D2
[   62.583020] /pci@8,600000: SCHIZO PCI Bus Module ver[4:0]
[   62.583060] /pci@8,600000: PCI IO[7ffed000000] MEM[7fd00000000]
[   62.583075]  MEM64[7fd00000000]
[   62.583110] 
[   62.587722] PCI: Scanning PBM /pci@8,600000
[   62.588056] schizo f006a214: PCI host bridge to bus 0001:00
[   62.588095] pci_bus 0001:00: root bus resource [io  0x7ffed000000-0x7ffedffffff] (bus address [0x0000-0xffffff])
[   62.588147] pci_bus 0001:00: root bus resource [mem 0x7fd00000000-0x7fdffffffff] (bus address [0x00000000-0xffffffff])
[   62.588198] pci_bus 0001:00: root bus resource [mem 0x7fd00000000-0x7fdffffffff] (bus address [0x00000000-0xffffffff])
[   62.588247] pci_bus 0001:00: root bus resource [bus 00]
[   62.604852] HugeTLB registered 8 MB page size, pre-allocated 0 pages
[   62.607220] vgaarb: loaded
[   62.609134] /pci@8,700000/ebus@5/rtc@1,300070: RTC regs at 0x7fe7e300070
[   62.610415] clocksource: Switched to clocksource stick
[   62.665098] VFS: Disk quotas dquot_6.6.0
[   62.665268] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[   62.680428] NET: Registered protocol family 2
[   62.681545] TCP established hash table entries: 16384 (order: 4, 131072 bytes)
[   62.682048] TCP bind hash table entries: 16384 (order: 5, 262144 bytes)
[   62.682987] TCP: Hash tables configured (established 16384 bind 16384)
[   62.683516] UDP hash table entries: 1024 (order: 2, 32768 bytes)
[   62.683662] UDP-Lite hash table entries: 1024 (order: 2, 32768 bytes)
[   62.684087] NET: Registered protocol family 1
[   62.742506] PCI: CLS 64 bytes, default 64
[   62.742803] Unpacking initramfs...
[   64.166820] Freeing initrd memory: 18984K (fff0000004400000 - fff000000568a000)
[   64.167912] chmc: UltraSPARC-III memory controller at /memory-controller@0,400000 [ACTIVE]
[   64.168045] chmc: UltraSPARC-III memory controller at /memory-controller@1,400000 [ACTIVE]
[   64.169506] futex hash table entries: 512 (order: 2, 32768 bytes)
[   64.169729] audit: initializing netlink subsys (disabled)
[   64.169885] audit: type=2000 audit(1.784:1): initialized
[   64.171178] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[   64.171407] zbud: loaded
[   64.174904] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   64.175152] io scheduler noop registered
[   64.175183] io scheduler deadline registered
[   64.175246] io scheduler cfq registered (default)
[   64.176635] fbcon: Creator 3D (fb0) is primary device
[   64.184917] Console: switching to colour frame buffer device 160x64
[   64.192731] /upa@8,480000/SUNW,ffb@0,0: FFB at 000007f800000000, type 51, DAC pnum[236e] rev[10] manuf_rev[1]
[   64.194223] f0083ea0: ttyS0 at MMIO 0x7fe7e400000 (irq = 12, base_baud = 115200) is a SAB82532 V3.2
[   64.194699] f0083ea0: ttyS1 at MMIO 0x7fe7e400040 (irq = 12, base_baud = 115200) is a SAB82532 V3.2
[   64.196494] mousedev: PS/2 mouse device common for all mice
[   64.197506] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[   64.197596] rtc_cmos rtc_cmos: no alarms, 114 bytes nvram
[   64.198055] ledtrig-cpu: registered to indicate activity on CPUs
[   64.198612] NET: Registered protocol family 10
[   64.200099] mip6: Mobile IPv6
[   64.200169] NET: Registered protocol family 17
[   64.200233] mpls_gso: MPLS GSO support
[   64.201336] registered taskstats version 1
[   64.201478] zswap: loaded using pool lzo/zbud
[   64.202139] rtc_cmos rtc_cmos: setting system clock to 2017-01-21 23:47:03 UTC (1485042423)
[   64.202242] PM: Hibernation image not present or could not be loaded.
[   64.204162] This architecture does not have kernel memory protection.
[   64.297749] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   64.298477] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   64.298668] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   64.306555] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.306904] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.308006] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.308594] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.309249] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.309411] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.309983] random: udevadm: uninitialized urandom read (16 bytes read)
[   64.505796] sungem.c:v1.0 David S. Miller <[email protected]>
[   64.523839] gem 0000:00:05.1 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:ba:09:92:39
[   64.526081] SCSI subsystem initialized
[   64.538925] PCI: Enabling device: (0000:00:06.0), cmd 147
[   64.540099] sym0: <875> rev 0x37 at pci 0000:00:06.0 irq 16
[   64.553611] usbcore: registered new interface driver usbfs
[   64.553765] usbcore: registered new interface driver hub
[   64.554068] usbcore: registered new device driver usb
[   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   64.633786] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.
[   64.633966] PCI: Enabling device: (0001:00:04.0), cmd 3
[   64.634261] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000.
[   64.647517] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
[   64.652483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   64.655670] qla2xxx [0001:00:04.0]-0050:1: No matching ROM signature.
[   64.656401] ehci-pci: EHCI PCI platform driver
[   64.657269] ohci-pci: OHCI PCI platform driver
[   64.664424] sym0: SCSI BUS has been reset.
[   64.667307] scsi host0: sym-2.2.3
[   64.679180] PCI: Enabling device: (0000:00:06.1), cmd 147
[   64.680362] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17
[   64.713347] gem 0000:00:05.1 enp0s5f1: renamed from eth0
[   64.758542] qla2xxx [0001:00:04.0]-0064:1: Inconsistent NVRAM detected: checksum=0x0 id= version=0x0.
[   64.761321] qla2xxx [0001:00:04.0]-0065:1: Falling back to functioning (yet invalid -- WWPN) defaults.
[   64.764091] qla2xxx [0001:00:04.0]-0069:1: NVRAM configuration failed.
[   64.786902] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin
[   64.833101] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
[   64.843136] sym1: SCSI BUS has been reset.
[   64.845936] scsi host2: sym-2.2.3
[   64.906524] firewire_ohci 0000:00:05.2: added OHCI v1.0 device as card 0, 4 IR + 4 IT contexts, quirks 0x0
[   64.909396] ohci-pci 0000:00:05.3: OHCI PCI host controller
[   64.912390] ohci-pci 0000:00:05.3: new USB bus registered, assigned bus number 1
[   64.915276] ohci-pci 0000:00:05.3: irq 15, io mem 0x7fe01000000
[   64.978669] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[   64.981341] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   64.984123] usb usb1: Product: OHCI PCI host controller
[   64.986896] usb usb1: Manufacturer: Linux 4.9.0-1-sparc64-smp ohci_hcd
[   64.989658] usb usb1: SerialNumber: 0000:00:05.3
[   64.993318] hub 1-0:1.0: USB hub found
[   64.996058] hub 1-0:1.0: 4 ports detected
[   65.386444] usb 1-3: new low-speed USB device number 2 using ohci-pci
[   65.422815] firewire_core 0000:00:05.2: created device fw0: GUID 0003bafffe099239, S400
[   65.605176] usb 1-3: New USB device found, idVendor=0430, idProduct=0005
[   65.607868] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   65.621366] hidraw: raw HID events driver (C) Jiri Kosina
[   65.632119] usbcore: registered new interface driver usbhid
[   65.634937] usbhid: USB HID core driver
[   65.641177] input: HID 0430:0005 as /devices/root/f0061680/pci0000:00/0000:00:05.3/usb1/1-3/1-3:1.0/0003:0430:0005.0001/input/input0
[   65.703559] hid-generic 0003:0430:0005.0001: input,hidraw0: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:00:05.3-3/input0
[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0): 
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]>
[   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000]
[   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000]
[   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920]
[   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.199157] 
[   78.205490] CPU: 0 PID: 80 Comm: systemd-udevd Not tainted 4.9.0-1-sparc64-smp #1 Debian 4.9.2-2
[   78.208768] Call Trace:
[   78.212074]  [000000000056b7a8] panic+0xe8/0x298
[   78.215400]  [0000000000429b8c] cheetah_deferred_handler+0x1ec/0x460
[   78.218727]  [0000000000405e44] c_deferred+0x18/0x24
[   78.222092]  [00000000101ade8c] qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]
[   78.225391]  [00000000101b04e8] qla2x00_init_firmware+0xe8/0x1e0 [qla2xxx]
[   78.228692]  [00000000101a53ec] qla2x00_init_rings+0x3ac/0x400 [qla2xxx]
[   78.231985]  [00000000101ac410] qla2x00_initialize_adapter+0x470/0x6e0 [qla2xxx]
[   78.235306]  [000000001019e870] qla2x00_probe_one+0xff0/0x29a0 [qla2xxx]
[   78.238540]  [0000000000766d60] pci_device_probe+0x80/0x100
[   78.241858]  [00000000007e6480] driver_probe_device+0x180/0x420
[   78.245132]  [00000000007e6820] __driver_attach+0x100/0x120
[   78.248395]  [00000000007e3e9c] bus_for_each_dev+0x5c/0xa0
[   78.251625]  [00000000007e5b7c] driver_attach+0x1c/0x40
[   78.254818]  [00000000007e5564] bus_add_driver+0x164/0x2a0
[   78.258016]  [00000000007e7314] driver_register+0x74/0x120
[   78.261209]  [0000000000765638] __pci_register_driver+0x38/0x60
[   78.264419] Press Stop-A (L1-A) to return to the boot prom
[   78.267612] ---[ end Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.267612] 
[  291.373806] random: crng init done
#1 lore raw
Quoted 54 lines · Frans van Berckel

Anyone a idea what could be wrong while booting from the scsi disk on sparc64. 4.9.0 is mailboxing this error and dumps into initramfs.

[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0):
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]> [   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000] [   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000] [   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000] [   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920] [   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000] [   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.

lsmod does ...

Module                  Size  Used by    Not tainted hid_generic             1321  0
usbhid                 48130  0
hid                   107802  2 hid_generic,usbhid ohci_pci                4680  0
ehci_pci                4847  0
ohci_hcd               41274  1 ohci_pci qla2xxx               715279  1
ehci_hcd               69278  1 ehci_pci usbcore               209214  5 usbhid,ohci_pci,ehci_pci,ohci_hcd,ehci_hcd firewire_ohci          33604  0 scsi_transport_fc      46940  1 qla2xxx sym53c8xx              75770  0 scsi_transport_spi     22583  1 sym53c8xx usb_common              3976  1 usbcore scsi_mod              196717  4 qla2xxx,scsi_transport_fc,sym53c8xx,scsi_transport_spi firewire_core          54166  1 firewire_ohci crc_itu_t               1595  1 firewire_core sungem                 29777  0
sungem_phy             10858  1 sungem

Quoted 5 lines

Attaching dmesg output ...

Thanks,

Frans van Berckel

< removed most of dmesg >

Quoted 7 lines
[   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   64.633786] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.
[   64.633966] PCI: Enabling device: (0001:00:04.0), cmd 3
[   64.634261] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000.
[   64.647517] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
[   64.652483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   64.655670] qla2xxx [0001:00:04.0]-0050:1: No matching ROM signature.

Is this normal?

Quoted 9 lines
[   64.656401] ehci-pci: EHCI PCI platform driver
[   64.657269] ohci-pci: OHCI PCI platform driver
[   64.664424] sym0: SCSI BUS has been reset.
[   64.667307] scsi host0: sym-2.2.3
[   64.679180] PCI: Enabling device: (0000:00:06.1), cmd 147
[   64.680362] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17
[   64.713347] gem 0000:00:05.1 enp0s5f1: renamed from eth0
[   64.758542] qla2xxx [0001:00:04.0]-0064:1: Inconsistent NVRAM detected: checksum=0x0 id=
[   64.764091] qla2xxx [0001:00:04.0]-0069:1: NVRAM configuration failed.

Does this happen in the success case?

Quoted 53 lines
[   64.786902] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin
[   64.833101] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
[   64.843136] sym1: SCSI BUS has been reset.
[   64.845936] scsi host2: sym-2.2.3
[   64.906524] firewire_ohci 0000:00:05.2: added OHCI v1.0 device as card 0, 4 IR + 4 IT contexts, quirks 0x0
[   64.909396] ohci-pci 0000:00:05.3: OHCI PCI host controller
[   64.912390] ohci-pci 0000:00:05.3: new USB bus registered, assigned bus number 1
[   64.915276] ohci-pci 0000:00:05.3: irq 15, io mem 0x7fe01000000
[   64.978669] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[   64.981341] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   64.984123] usb usb1: Product: OHCI PCI host controller
[   64.986896] usb usb1: Manufacturer: Linux 4.9.0-1-sparc64-smp ohci_hcd
[   64.989658] usb usb1: SerialNumber: 0000:00:05.3
[   64.993318] hub 1-0:1.0: USB hub found
[   64.996058] hub 1-0:1.0: 4 ports detected
[   65.386444] usb 1-3: new low-speed USB device number 2 using ohci-pci
[   65.422815] firewire_core 0000:00:05.2: created device fw0: GUID 0003bafffe099239, S400
[   65.605176] usb 1-3: New USB device found, idVendor=0430, idProduct=0005
[   65.607868] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   65.621366] hidraw: raw HID events driver (C) Jiri Kosina
[   65.632119] usbcore: registered new interface driver usbhid
[   65.634937] usbhid: USB HID core driver
[   65.641177] input: HID 0430:0005 as /devices/root/f0061680/pci0000:00/0000:00:05.3/usb1/1-3/1-3:1.0/0003:0430:0005.0001/input/input0
[   65.703559] hid-generic 0003:0430:0005.0001: input,hidraw0: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:00:05.3-3/input0
[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0): 
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]>
[   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000]
[   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000]
[   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920]
[   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.199157] 
[   78.205490] CPU: 0 PID: 80 Comm: systemd-udevd Not tainted 4.9.0-1-sparc64-smp #1 Debian 4.9.2-2
[   78.208768] Call Trace:
[   78.212074]  [000000000056b7a8] panic+0xe8/0x298
[   78.215400]  [0000000000429b8c] cheetah_deferred_handler+0x1ec/0x460
[   78.218727]  [0000000000405e44] c_deferred+0x18/0x24
[   78.222092]  [00000000101ade8c] qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]
[   78.225391]  [00000000101b04e8] qla2x00_init_firmware+0xe8/0x1e0 [qla2xxx]
[   78.228692]  [00000000101a53ec] qla2x00_init_rings+0x3ac/0x400 [qla2xxx]
[   78.231985]  [00000000101ac410] qla2x00_initialize_adapter+0x470/0x6e0 [qla2xxx]
[   78.235306]  [000000001019e870] qla2x00_probe_one+0xff0/0x29a0 [qla2xxx]
[   78.238540]  [0000000000766d60] pci_device_probe+0x80/0x100
[   78.241858]  [00000000007e6480] driver_probe_device+0x180/0x420
[   78.245132]  [00000000007e6820] __driver_attach+0x100/0x120
[   78.248395]  [00000000007e3e9c] bus_for_each_dev+0x5c/0xa0
Quoted 8 lines
[   78.251625]  [00000000007e5b7c] driver_attach+0x1c/0x40
[   78.254818]  [00000000007e5564] bus_add_driver+0x164/0x2a0
[   78.258016]  [00000000007e7314] driver_register+0x74/0x120
[   78.261209]  [0000000000765638] __pci_register_driver+0x38/0x60
[   78.264419] Press Stop-A (L1-A) to return to the boot prom
[   78.267612] ---[ end Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.267612] 
[  291.373806] random: crng init done

I am not familiar with cheetah or the qla2xxx card, but it looks like qla2x00_mailbox_command is accessing the PCI bus which is not mapped. Have a look at trap_64 in cheetah_deferred_handler. There is a pci_poke_faulted variable that is used to flag these errors and to skip the instruction. From a quick look at the driver, this shouldn't be happening. The PCI space should be configured first. I would enable ql_dbg output to see more of what is going on. Perhaps one of the messages above indicate an issue and the return value isn't being validated correctly? Or perhaps the error path assumes it is safe to access the PCI bus when it's not safe?

Thanks,
Liam

#2 lore raw

Hi Liam,

Quoted 15 lines · Liam R. Howlett

< removed most of dmesg >

Quoted 4 lines

[   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   64.633786] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.

Quoted 8 lines

[   64.633966] PCI: Enabling device: (0001:00:04.0), cmd 3 [   64.634261] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000.
[   64.647517] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking [   64.652483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   64.655670] qla2xxx [0001:00:04.0]-0050:1: No matching ROM signature.

Quoted 1 line

Is this normal?

Comparing with a old kernel that boots well. 3.16.0-0.bpo.4-sparc64-smp #1 SMP Debian 3.16.7-ckt25-2~bpo70+1 (2016-04-12).

I am getting ... so that looks the same.

[   58.792508] qla2xxx [0001:00:04.0]-0050:0: No matching ROM signature.

Quoted 12 lines
Quoted 11 lines

[   64.656401] ehci-pci: EHCI PCI platform driver
[   64.657269] ohci-pci: OHCI PCI platform driver
[   64.664424] sym0: SCSI BUS has been reset.
[   64.667307] scsi host0: sym-2.2.3
[   64.679180] PCI: Enabling device: (0000:00:06.1), cmd 147 [   64.680362] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17 [   64.713347] gem 0000:00:05.1 enp0s5f1: renamed from eth0 [   64.758542] qla2xxx [0001:00:04.0]-0064:1: Inconsistent NVRAM
detected: checksum=0x0 id=
[   64.764091] qla2xxx [0001:00:04.0]-0069:1: NVRAM configuration failed.

Quoted 1 line

Does this happen in the success case?

Yes a success case, booted 3.16.0 does.

[   58.895901] qla2xxx [0001:00:04.0]-0069:0: NVRAM configuration failed.

[   64.786902] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin

Quoted 3 lines
Quoted 3 lines

[   64.833101] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking [   64.843136] sym1: SCSI BUS has been reset.
[   64.845936] scsi host2: sym-2.2.3

Witch does, nicely ...

[   58.886906] qla2xxx [0001:00:04.0]-0064:0: Inconsistent NVRAM
detected: checksum=0x0 id=
[   58.889233] PCI: Enabling device: (0000:00:06.0), cmd 147 [   58.889959] qla2xxx [0001:00:04.0]-0065:0: Falling back to functioning (yet invalid -- WWPN) defaults.
[   58.890409] sym0: <875> rev 0x37 at pci 0000:00:06.0 irq 16 [   58.895901] qla2xxx [0001:00:04.0]-0069:0: NVRAM configuration failed.
[   58.911709] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin
[   58.985621] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking [   58.995808] sym0: SCSI BUS has been reset.

<snap> and some later on ...

[   69.700087] qla2xxx [0001:00:04.0]-00fb:0: QLogic QLA22xx - . [   69.703176] qla2xxx [0001:00:04.0]-00fc:0: ISP2200: PCI (66 MHz) @ 0001:00:04.0 hdma- host#=0 fw=2.02.08 TP.
[   70.244468] scsi 0:0:0:0: Direct-
Access     SEAGATE  ST373307FSUN72G  0207 PQ: 0 ANSI: 3
[   70.252898] scsi 0:0:1:0: Direct-Access     FUJITSU  MAP3735F SUN72G  1201 PQ: 0 ANSI: 4
[   74.726434] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[   74.729661] sd 0:0:1:0: [sdb] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)

Quoted 61 lines
Quoted 46 lines

[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0):
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]> [   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000]
[   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000]
[   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920] [   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.199157]
[   78.205490] CPU: 0 PID: 80 Comm: systemd-udevd Not tainted 4.9.0-1-sparc64-smp #1 Debian 4.9.2-2
[   78.208768] Call Trace:
[   78.212074]  [000000000056b7a8] panic+0xe8/0x298
[   78.215400]  [0000000000429b8c]

cheetah_deferred_handler+0x1ec/0x460
[   78.218727]  [0000000000405e44] c_deferred+0x18/0x24
[   78.222092]  [00000000101ade8c]
qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]
[   78.225391]  [00000000101b04e8] qla2x00_init_firmware+0xe8/0x1e0

[qla2xxx]
[   78.228692]  [00000000101a53ec] qla2x00_init_rings+0x3ac/0x400 [qla2xxx]
[   78.231985]  [00000000101ac410]

qla2x00_initialize_adapter+0x470/0x6e0 [qla2xxx]
[   78.235306]  [000000001019e870] qla2x00_probe_one+0xff0/0x29a0
Quoted 14 lines

[qla2xxx]
[   78.238540]  [0000000000766d60] pci_device_probe+0x80/0x100 [   78.241858]  [00000000007e6480] driver_probe_device+0x180/0x420 [   78.245132]  [00000000007e6820] __driver_attach+0x100/0x120 [   78.248395]  [00000000007e3e9c] bus_for_each_dev+0x5c/0xa0 [   78.251625]  [00000000007e5b7c] driver_attach+0x1c/0x40 [   78.254818]  [00000000007e5564] bus_add_driver+0x164/0x2a0 [   78.258016]  [00000000007e7314] driver_register+0x74/0x120 [   78.261209]  [0000000000765638] __pci_register_driver+0x38/0x60 [   78.264419] Press Stop-A (L1-A) to return to the boot prom [   78.267612] ---[ end Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.267612]
[  291.373806] random: crng init done

Quoted 10 lines

I am not familiar with cheetah or the qla2xxx card, but it looks like qla2x00_mailbox_command is accessing the PCI bus which is not mapped. Have a look at trap_64 in cheetah_deferred_handler. There is a pci_poke_faulted variable that is used to flag these errors and to skip the instruction. From a quick look at the driver, this shouldn't be happening. The PCI space should be configured first. I would enable ql_dbg output to see more of what is going on. Perhaps one of the messages above indicate an issue and the return value isn't being validated correctly?  Or perhaps the error path assumes it is safe to access the PCI bus when it's not safe?

If someone could dig into trap_64 in cheetah_deferred_handler? I am able to install the dbgsym of the linux-image package and set debug on.

That will be in the next e-mail if it does what we are looking for.

#3 lore raw
Quoted 153 lines · Frans van Berckel

Hi Liam,

Quoted 15 lines · Liam R. Howlett

< removed most of dmesg >

Quoted 4 lines

[   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   64.633786] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.

Quoted 8 lines

[   64.633966] PCI: Enabling device: (0001:00:04.0), cmd 3 [   64.634261] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000.
[   64.647517] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking [   64.652483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   64.655670] qla2xxx [0001:00:04.0]-0050:1: No matching ROM signature.

Quoted 1 line

Is this normal?

Comparing with a old kernel that boots well. 3.16.0-0.bpo.4-sparc64-smp #1 SMP Debian 3.16.7-ckt25-2~bpo70+1 (2016-04-12).

I am getting ... so that looks the same.

[   58.792508] qla2xxx [0001:00:04.0]-0050:0: No matching ROM signature.

Quoted 11 lines
Quoted 10 lines

[   64.656401] ehci-pci: EHCI PCI platform driver
[   64.657269] ohci-pci: OHCI PCI platform driver
[   64.664424] sym0: SCSI BUS has been reset.
[   64.667307] scsi host0: sym-2.2.3
[   64.679180] PCI: Enabling device: (0000:00:06.1), cmd 147
[   64.680362] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17
[   64.713347] gem 0000:00:05.1 enp0s5f1: renamed from eth0
[   64.758542] qla2xxx [0001:00:04.0]-0064:1: Inconsistent NVRAM
detected: checksum=0x0 id> > > [   64.764091] qla2xxx [0001:00:04.0]-0069:1: NVRAM configuration failed.

Quoted 1 line

Does this happen in the success case?

Yes a success case, booted 3.16.0 does.

[   58.895901] qla2xxx [0001:00:04.0]-0069:0: NVRAM configuration failed.

[   64.786902] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin

Quoted 3 lines
Quoted 3 lines

[   64.833101] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking [   64.843136] sym1: SCSI BUS has been reset.
[   64.845936] scsi host2: sym-2.2.3

Witch does, nicely ...

[   58.886906] qla2xxx [0001:00:04.0]-0064:0: Inconsistent NVRAM
detected: checksum=0x0 id> [   58.889233] PCI: Enabling device: (0000:00:06.0), cmd 147 [   58.889959] qla2xxx [0001:00:04.0]-0065:0: Falling back to
functioning (yet invalid -- WWPN) defaults.
[   58.890409] sym0: <875> rev 0x37 at pci 0000:00:06.0 irq 16
[   58.895901] qla2xxx [0001:00:04.0]-0069:0: NVRAM configuration
failed.
[   58.911709] qla2xxx 0001:00:04.0: firmware: direct-loading firmware ql2200_fw.bin
[   58.985621] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
[   58.995808] sym0: SCSI BUS has been reset.

<snap> and some later on ...

[   69.700087] qla2xxx [0001:00:04.0]-00fb:0: QLogic QLA22xx - . [   69.703176] qla2xxx [0001:00:04.0]-00fc:0: ISP2200: PCI (66 MHz) @ 0001:00:04.0 hdma- host#=0 fw=2.02.08 TP.
[   70.244468] scsi 0:0:0:0: Direct-
Access     SEAGATE  ST373307FSUN72G  0207 PQ: 0 ANSI: 3
[   70.252898] scsi 0:0:1:0: Direct-Access     FUJITSU  MAP3735F SUN72G  1201 PQ: 0 ANSI: 4
[   74.726434] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[   74.729661] sd 0:0:1:0: [sdb] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)

Quoted 61 lines
Quoted 46 lines

[   78.162677] ERROR(0): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0)
[   78.165632] ERROR(0): TPC[101ade8c] TNPC[101ade90] O7[101ade80] TSTATE[9911001603]
[   78.168591] ERROR(0):
[   78.168988] TPC<qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]> [   78.171864] ERROR(0): M_SYND(0),  E_SYND(0)
[   78.174808] ERROR(0): Highest priority error (0000080000000000) "Bus error response from system bus"
[   78.177788] ERROR(0): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000]
[   78.180771] ERROR(0): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.183808] ERROR(0): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000]
[   78.186839] ERROR(0): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000]
[   78.189899] ERROR(0): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000]
[   78.192971] ERROR(0): E-cache idx[100040] tag[00000000e48dc920] [   78.196010] ERROR(0): E-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000]
[   78.199157] Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.199157]
[   78.205490] CPU: 0 PID: 80 Comm: systemd-udevd Not tainted 4.9.0-1-sparc64-smp #1 Debian 4.9.2-2
[   78.208768] Call Trace:
[   78.212074]  [000000000056b7a8] panic+0xe8/0x298
[   78.215400]  [0000000000429b8c]

cheetah_deferred_handler+0x1ec/0x460
[   78.218727]  [0000000000405e44] c_deferred+0x18/0x24
[   78.222092]  [00000000101ade8c]
qla2x00_mailbox_command+0x8ac/0xec0 [qla2xxx]
[   78.225391]  [00000000101b04e8] qla2x00_init_firmware+0xe8/0x1e0

[qla2xxx]
[   78.228692]  [00000000101a53ec] qla2x00_init_rings+0x3ac/0x400 [qla2xxx]
[   78.231985]  [00000000101ac410]

qla2x00_initialize_adapter+0x470/0x6e0 [qla2xxx]
[   78.235306]  [000000001019e870] qla2x00_probe_one+0xff0/0x29a0
Quoted 14 lines

[qla2xxx]
[   78.238540]  [0000000000766d60] pci_device_probe+0x80/0x100 [   78.241858]  [00000000007e6480] driver_probe_device+0x180/0x420 [   78.245132]  [00000000007e6820] __driver_attach+0x100/0x120 [   78.248395]  [00000000007e3e9c] bus_for_each_dev+0x5c/0xa0 [   78.251625]  [00000000007e5b7c] driver_attach+0x1c/0x40 [   78.254818]  [00000000007e5564] bus_add_driver+0x164/0x2a0 [   78.258016]  [00000000007e7314] driver_register+0x74/0x120 [   78.261209]  [0000000000765638] __pci_register_driver+0x38/0x60 [   78.264419] Press Stop-A (L1-A) to return to the boot prom [   78.267612] ---[ end Kernel panic - not syncing: Irrecoverable deferred error trap.
[   78.267612]
[  291.373806] random: crng init done

Quoted 10 lines

I am not familiar with cheetah or the qla2xxx card, but it looks like qla2x00_mailbox_command is accessing the PCI bus which is not mapped. Have a look at trap_64 in cheetah_deferred_handler. There is a pci_poke_faulted variable that is used to flag these errors and to skip the instruction. From a quick look at the driver, this shouldn't be happening. The PCI space should be configured first. I would enable ql_dbg output to see more of what is going on. Perhaps one of the messages above indicate an issue and the return value isn't being validated correctly?  Or perhaps the error path assumes it is safe to access the PCI bus when it's not safe?

Quoted 2 lines

If someone could dig into trap_64 in cheetah_deferred_handler? I am able to install the dbgsym of the linux-image package and set debug on.

Just a small correction to my original email. The error may not have to do with the mmapping. The UltraSPARC-III user's manual specifies this error (bus error) should still be recoverable when using the peek/poke that I pointed out but it also specifies an Unmapped error.

Quoted 6 lines

That will be in the next e-mail if it does what we are looking for. --
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Frans van Berckel

Dear Team,

Quoted 6 lines · Frans van Berckel

If someone could dig into trap_64 in cheetah_deferred_handler? I am able to install the dbgsym of the linux-image package and set debug on.

That will be in the next e-mail if it does what we are looking for.

It looks the Debug kernel by Debian is to big to load by Silo.

Thanks,

Frans van Berckel