Today I build Linus 4.5 kernel git, to get my Sun Fire Blade 1000 booted with the Debian Sparc64 port. If i am well, that's the same board used with the Sun Fire Blade 2000 and Sun Fire 280r. It looks like there a bug in the past 4.x kernel versions qla2xxx driver. ERROR(1): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0) Good to know, i installed the system last December with a 4.3 & 4.4 kernel. At that time I posted a bug report about the error. https://bugzilla.kernel.org/show_bug.cgi?id=110081 Today i build and install the 4.5 kernel and started debug again. The same partition boots with 3.2 kernel as you might expect. Wanne find out what goes wrong. Any idea what i can do for solving the issue? Attaching dmesg-sprac64-4.5.txt and lsmod-sparc64-4.5.txt. 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.5.0-rc3-git (root@deblnxsrv230) (gcc version 6.0.0 20160122 (experimental) [trunk revision 232729] (Debian 6-20160122-1) ) #2 SMP Sun Feb 14 18:17:31 CET 2016 [ 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... 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 8 pages/cpu @fff000007f800000 s28376 r8192 d28968 u2097152 [ 0.000000] pcpu-alloc: s28376 r8192 d28968 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: 2039712K/2094880K available (5491K kernel code, 731K rwdata, 1456K rodata, 448K init, 745K bss, 55168K 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 [ 58.460748] clocksource: stick: mask: 0xffffffffffffffff max_cycles: 0x127350b88, max_idle_ns: 440795202120 ns [ 58.494590] clocksource: mult[c8000000] shift[24] [ 58.511045] clockevent: mult[147ae14] shift[32] [ 58.527761] Console: colour dummy device 80x25 [ 58.543877] console [tty0] enabled [ 58.557716] bootconsole [earlyprom0] disabled [ 58.653704] Calibrating delay using timer specific routine.. 10.01 BogoMIPS (lpj=20036) [ 58.653733] pid_max: default: 32768 minimum: 301 [ 58.654022] Security Framework initialized [ 58.654042] Yama: becoming mindful. [ 58.654083] AppArmor: AppArmor disabled by boot time parameter [ 58.654187] Mount-cache hash table entries: 4096 (order: 2, 32768 bytes) [ 58.654209] Mountpoint-cache hash table entries: 4096 (order: 2, 32768 bytes) [ 58.656006] ftrace: allocating 18290 entries in 36 pages [ 58.695827] CPU 1: synchronized TICK with master CPU (last diff 0 cycles, maxerr 5 cycles) [ 58.695915] Brought up 2 CPUs [ 58.696965] devtmpfs: initialized [ 58.702291] Performance events: [ 58.702320] Testing NMI watchdog ... OK. [ 58.782350] Supported PMU type is 'ultra3' [ 58.804428] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 58.805474] NET: Registered protocol family 16 [ 58.818404] /pci@8,700000: SCHIZO PCI Bus Module ver[4:0] [ 58.818430] /pci@8,700000: PCI IO[7ffef000000] MEM[7fe00000000] MEM64[7fe00000000] [ 58.822873] PCI: Scanning PBM /pci@8,700000 [ 58.823171] schizo f0061680: PCI host bridge to bus 0000:00 [ 58.823215] pci_bus 0000:00: root bus resource [io 0x7ffef000000-0x7ffefffffff] (bus address [0x0000-0xffffff]) [ 58.823268] pci_bus 0000:00: root bus resource [mem 0x7fe00000000-0x7feffffffff] (bus address [0x00000000-0xffffffff]) [ 58.823320] pci_bus 0000:00: root bus resource [mem 0x7fe00000000-0x7feffffffff] (bus address [0x00000000-0xffffffff]) [ 58.823372] pci_bus 0000:00: root bus resource [bus 00] [ 58.825106] pci 0000:00:06.0: supports D1 D2 [ 58.825428] pci 0000:00:06.1: supports D1 D2 [ 58.826126] /pci@8,600000: SCHIZO PCI Bus Module ver[4:0] [ 58.826165] /pci@8,600000: PCI IO[7ffed000000] MEM[7fd00000000] MEM64[7fd00000000] [ 58.830652] PCI: Scanning PBM /pci@8,600000 [ 58.830938] schizo f006a214: PCI host bridge to bus 0001:00 [ 58.830976] pci_bus 0001:00: root bus resource [io 0x7ffed000000-0x7ffedffffff] (bus address [0x0000-0xffffff]) [ 58.831028] pci_bus 0001:00: root bus resource [mem 0x7fd00000000-0x7fdffffffff] (bus address [0x00000000-0xffffffff]) [ 58.831079] pci_bus 0001:00: root bus resource [mem 0x7fd00000000-0x7fdffffffff] (bus address [0x00000000-0xffffffff]) [ 58.831129] pci_bus 0001:00: root bus resource [bus 00] [ 58.844837] HugeTLB registered 8 MB page size, pre-allocated 0 pages [ 58.846623] vgaarb: loaded [ 58.848138] /pci@8,700000/ebus@5/rtc@1,300070: RTC regs at 0x7fe7e300070 [ 58.849310] clocksource: Switched to clocksource stick [ 58.898625] VFS: Disk quotas dquot_6.6.0 [ 58.898778] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes) [ 58.913460] NET: Registered protocol family 2 [ 58.914429] TCP established hash table entries: 16384 (order: 4, 131072 bytes) [ 58.914924] TCP bind hash table entries: 16384 (order: 5, 262144 bytes) [ 58.915805] TCP: Hash tables configured (established 16384 bind 16384) [ 58.916305] UDP hash table entries: 1024 (order: 2, 32768 bytes) [ 58.916445] UDP-Lite hash table entries: 1024 (order: 2, 32768 bytes) [ 58.916966] NET: Registered protocol family 1 [ 58.969390] PCI: CLS 64 bytes, default 64 [ 58.969713] Unpacking initramfs... [ 60.316669] Freeing initrd memory: 18024K (fff0000004400000 - fff000000559a000) [ 60.317732] chmc: UltraSPARC-III memory controller at /memory-controller@0,400000 [ACTIVE] [ 60.317856] chmc: UltraSPARC-III memory controller at /memory-controller@1,400000 [ACTIVE] [ 60.319303] futex hash table entries: 512 (order: 2, 32768 bytes) [ 60.319539] audit: initializing netlink subsys (disabled) [ 60.319724] audit: type=2000 audit(1.748:1): initialized [ 60.321091] zbud: loaded [ 60.324530] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 60.324752] io scheduler noop registered [ 60.324788] io scheduler deadline registered [ 60.324881] io scheduler cfq registered (default) [ 60.325879] fbcon: Creator 3D (fb0) is primary device [ 60.334144] Console: switching to colour frame buffer device 160x64 [ 60.342103] /upa@8,480000/SUNW,ffb@0,0: FFB at 000007f800000000, type 51, DAC pnum[236e] rev[10] manuf_rev[1] [ 60.343694] f0083ea0: ttyS0 at MMIO 0x7fe7e400000 (irq = 12, base_baud = 115200) is a SAB82532 V3.2 [ 60.344115] f0083ea0: ttyS1 at MMIO 0x7fe7e400040 (irq = 12, base_baud = 115200) is a SAB82532 V3.2 [ 60.345587] mousedev: PS/2 mouse device common for all mice [ 60.347101] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 60.347192] rtc_cmos rtc_cmos: no alarms, 114 bytes nvram [ 60.347668] ledtrig-cpu: registered to indicate activity on CPUs [ 60.348291] NET: Registered protocol family 10 [ 60.349866] mip6: Mobile IPv6 [ 60.349922] NET: Registered protocol family 17 [ 60.350004] mpls_gso: MPLS GSO support [ 60.351013] registered taskstats version 1 [ 60.351202] zswap: loaded using pool lzo/zbud [ 60.351968] rtc_cmos rtc_cmos: setting system clock to 2016-02-14 18:06:02 UTC (1455473162) [ 60.352095] PM: Hibernation image not present or could not be loaded. [ 60.429523] random: systemd-udevd urandom read with 0 bits of entropy available [ 60.657812] sungem.c:v1.0 David S. Miller <davem@xxxxxxxxxx> [ 60.658950] gem 0000:00:05.1 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:ba:09:92:39 [ 60.683488] SCSI subsystem initialized [ 60.696225] usbcore: registered new interface driver usbfs [ 60.696379] usbcore: registered new interface driver hub [ 60.699062] usbcore: registered new device driver usb [ 60.709884] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 60.711913] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 60.713240] ehci-pci: EHCI PCI platform driver [ 60.718356] ohci-pci: OHCI PCI platform driver [ 60.741463] firewire_ohci 0000:00:05.2: added OHCI v1.0 device as card 0, 4 IR + 4 IT contexts, quirks 0x0 [ 60.742137] PCI: Enabling device: (0000:00:06.0), cmd 147 [ 60.743321] sym0: <875> rev 0x37 at pci 0000:00:06.0 irq 16 [ 60.750196] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.26-k. [ 60.750388] PCI: Enabling device: (0001:00:04.0), cmd 3 [ 60.750469] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000. [ 60.752167] qla2xxx [0001:00:04.0]-0050:1: No matching ROM signature. [ 60.834834] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking [ 60.846605] qla2xxx [0001:00:04.0]-0064:1: Inconsistent NVRAM detected: checksum=0x0 id= version=0x0. [ 60.846723] qla2xxx [0001:00:04.0]-0065:1: Falling back to functioning (yet invalid -- WWPN) defaults. [ 60.846833] qla2xxx [0001:00:04.0]-0069:1: NVRAM configuration failed. [ 60.854212] sym0: SCSI BUS has been reset. [ 60.854341] scsi host0: sym-2.2.3 [ 60.862318] PCI: Enabling device: (0000:00:06.1), cmd 147 [ 60.863644] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17 [ 60.896665] gem 0000:00:05.1 enp0s5f1: renamed from eth0 [ 60.954672] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking [ 60.964920] sym1: SCSI BUS has been reset. [ 60.967905] scsi host2: sym-2.2.3 [ 60.971712] ohci-pci 0000:00:05.3: OHCI PCI host controller [ 60.974794] ohci-pci 0000:00:05.3: new USB bus registered, assigned bus number 1 [ 60.977899] ohci-pci 0000:00:05.3: irq 15, io mem 0x7fe01000000 [ 61.037575] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [ 61.040525] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 61.043564] usb usb1: Product: OHCI PCI host controller [ 61.046549] usb usb1: Manufacturer: Linux 4.5.0-rc3-git ohci_hcd [ 61.049521] usb usb1: SerialNumber: 0000:00:05.3 [ 61.053207] hub 1-0:1.0: USB hub found [ 61.056098] hub 1-0:1.0: 4 ports detected [ 61.241765] firewire_core 0000:00:05.2: created device fw0: GUID 0003bafffe099239, S400 [ 61.433331] usb 1-2: new low-speed USB device number 2 using ohci-pci [ 61.640059] usb 1-2: New USB device found, idVendor=0430, idProduct=0005 [ 61.642949] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 61.655566] hidraw: raw HID events driver (C) Jiri Kosina [ 61.666794] usbcore: registered new interface driver usbhid [ 61.669733] usbhid: USB HID core driver [ 61.675832] input: HID 0430:0005 as /devices/root/f0061680/pci0000:00/0000:00:05.3/usb1/1-2/1-2:1.0/0003:0430:0005.0001/input/input0 [ 61.734378] hid-generic 0003:0430:0005.0001: input,hidraw0: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:00:05.3-2/input0 [ 71.605550] ERROR(1): Cheetah error trap taken afsr[0000080000000000] afar[000007fd00100040] TL1(0) [ 71.608649] ERROR(1): TPC[1019d3e0] TNPC[1019d3e4] O7[1019d3d4] TSTATE[9911001603] [ 71.611793] ERROR(1): TPC<qla2x00_mailbox_command+0x8a0/0xe40 [qla2xxx]> [ 71.615109] ERROR(1): M_SYND(0), E_SYND(0) [ 71.618238] ERROR(1): Highest priority error (0000080000000000) "Bus error response from system bus" [ 71.621394] ERROR(1): D-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] [ 71.624560] ERROR(1): D-cache data0[0000000000000000] data1[0000000000000000] data2[0000000000000000] data3[0000000000000000] [ 71.627766] ERROR(1): I-cache idx[0] tag[0000000000000000] utag[0000000000000000] stag[0000000000000000] u[0000000000000000] l[0000000000000000] [ 71.630998] ERROR(1): I-cache INSN0[0000000000000000] INSN1[0000000000000000] INSN2[0000000000000000] INSN3[0000000000000000] [ 71.634223] ERROR(1): I-cache INSN4[0000000000000000] INSN5[0000000000000000] INSN6[0000000000000000] INSN7[0000000000000000] [ 71.637432] ERROR(1): E-cache idx[100040] tag[0000000009492492] [ 71.640631] ERROR(1): E-cache data0[8611c0038210c001] data1[c226e01cc20f6014] data2[c40f6015820860ff] data3[8408a0ff83287008] [ 71.643917] Kernel panic - not syncing: Irrecoverable deferred error trap. [ 71.643917] [ 71.650491] CPU: 1 PID: 84 Comm: systemd-udevd Not tainted 4.5.0-rc3-git #2 [ 71.653790] Call Trace: [ 71.657057] [0000000000556a5c] panic+0xdc/0x260 [ 71.660339] [0000000000429a8c] cheetah_deferred_handler+0x1ec/0x460 [ 71.663618] [0000000000405ed0] c_deferred+0x18/0x24 [ 71.666954] [000000001019d3e0] qla2x00_mailbox_command+0x8a0/0xe40 [qla2xxx] [ 71.670215] [000000001019f8e4] qla2x00_init_firmware+0xe4/0x1c0 [qla2xxx] [ 71.673445] [0000000010195370] qla2x00_init_rings+0x330/0x3a0 [qla2xxx] [ 71.676665] [000000001019b9e0] qla2x00_initialize_adapter+0x440/0x6a0 [qla2xxx] [ 71.679909] [000000001018e574] qla2x00_probe_one+0x1034/0x2840 [qla2xxx] [ 71.683092] [0000000000741160] pci_device_probe+0x80/0x100 [ 71.686333] [00000000007baea0] driver_probe_device+0x1a0/0x460 [ 71.689556] [00000000007bb1e8] __driver_attach+0x88/0xa0 [ 71.692750] [00000000007b883c] bus_for_each_dev+0x5c/0xa0 [ 71.695979] [00000000007ba55c] driver_attach+0x1c/0x40 [ 71.699159] [00000000007b9eb0] bus_add_driver+0x130/0x2a0 [ 71.702302] [00000000007bbbd4] driver_register+0x74/0x120 [ 71.705407] [000000000073fa18] __pci_register_driver+0x38/0x60 [ 71.708514] Press Stop-A (L1-A) to return to the boot prom [ 71.711595] ---[ end Kernel panic - not syncing: Irrecoverable deferred error trap. [ 71.711595] [ 491.056108] random: nonblocking pool is initialized [ 555.682725] sungem_phy: PHY ID: 18074c1, addr: 0 [ 555.684434] gem 0000:00:05.1 enp0s5f1: Found Generic MII PHY [ 555.686674] IPv6: ADDRCONF(NETDEV_UP): enp0s5f1: link is not ready [ 558.093532] gem 0000:00:05.1 enp0s5f1: Link is up at 100 Mbps, full-duplex [ 558.095417] gem 0000:00:05.1 enp0s5f1: Pause is disabled [ 558.097221] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s5f1: link becomes ready
Module Size Used by Not tainted hid_generic 1385 0 usbhid 47298 0 hid 107738 2 hid_generic,usbhid ohci_pci 4488 0 ehci_pci 4679 0 qla2xxx 707246 1 ohci_hcd 39674 1 ohci_pci ehci_hcd 67519 1 ehci_pci sym53c8xx 75898 0 scsi_transport_fc 47557 1 qla2xxx scsi_transport_spi 22711 1 sym53c8xx firewire_ohci 33348 0 usbcore 200708 5 usbhid,ohci_pci,ehci_pci,ohci_hcd,ehci_hcd scsi_mod 203877 4 qla2xxx,sym53c8xx,scsi_transport_fc,scsi_transport_spi usb_common 4040 1 usbcore firewire_core 53910 1 firewire_ohci crc_itu_t 1659 1 firewire_core sungem 29329 0 sungem_phy 10922 1 sungem