Port-arm archive

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

Kernel panic on earm



Hi,

I'm trying to boot -current 8.99.25 of NetBSD/earm on my Marvell
Kirkwood-based NAS.
I have run 7.0 and 8.0_BETA successfully on this device in the past,
but now I'm getting a kernel panic when booting:

[   8.2999799] Fatal kernel mode data abort: 'Alignment Fault 1'
[   8.2999799] trapframe: 0xcc7abbc8
[   8.2999799] FSR=00000001, FAR=cc7abddc, spsr=60000013
[   8.2999799] r0 =c29bbd00, r1 =cc7abdcc, r2 =00000000, r3 =00000000
[   8.2999799] r4 =c04f0604, r5 =000220e8, r6 =bfffdfd8, r7 =00000010
[   8.2999799] r8 =bbb0d180, r9 =bfffe0b0, r10=bbb17b65, r11=cc7abc44
[   8.2999799] r12=cc7abc48, ssp=cc7abc18, slr=c04f7f40, pc =c04f01d4

Stopped in pid 74.1 (ifconfig) at       c04f01d4:       strd    r2, [r1, #0x10]
db>

Full log below.
I've tried the MARVELL_NAS kernel, which has worked well in the past.
This happens irrespective of the contents of rc.conf.
Note that I couldn't compile the 8.0_STABLE toolchain on any of my
other machines due to C++11 incompatibilities with gcc 5.5, so I'm
stuck with -current (because gcc 6.4)
I also noticed that the  MARVELL_NAS kernel is not (no longer?) built
automatically on nycdn, though I've had no problems building it.

Any pointers as to what could cause the panic? I'm wondering whether
it's related to OABI/EABI compatibility.

Thanks,
Michael

Full boot log:

## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   NetBSD/ 8.99.25
   Created:      2018-10-24  14:00:49 UTC
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    6875372 Bytes = 6.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

[   1.0000000] NetBSD/evbarm (Marvell) booting ...
[   1.0000000] [ Kernel symbol table missing! ]
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017,
[   1.0000000]     2018 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All
rights reserved.

[   1.0000000] NetBSD 8.99.25 (NSA320s) #1: Wed Oct 24 15:00:47 BST 2018
[   1.0000000]
michael@elite.local:/home/michael/netbsd/src/sys/arch/evbarm/compile/obj/NSA320s
[   1.0000000] total memory = 256 MB
[   1.0000000] avail memory = 243 MB
[   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
[   1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[   1.0000000] cpu0: 16KB/32B 4-way L1 VIVT Instruction cache
[   1.0000000] cpu0: 16KB/32B 4-way write-back-locking-C L1 VIVT Data cache
[   1.0000000] mvsoc0 at mainbus0: Marvell 88F619x Rev. A1  Kirkwood
[   1.0000000] mvsoc0: CPU Clock 1000.000 MHz  SysClock 400.000 MHz
TClock 166.666 MHz
[   1.0000000] mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff irq
65: Marvell SoC Timer
[   1.0000000] mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq
35: Marvell SoC General Purpose I/O Port Interface
[   1.0000000] mvsocgpp0: 36 gpio pins
[   1.0000000] mvsocgpp0: interrupts 96..103, intr 35
[   1.0000000] mvsocgpp0: interrupts 104..111, intr 36
[   1.0000000] mvsocgpp0: interrupts 112..119, intr 37
[   1.0000000] mvsocgpp0: interrupts 120..127, intr 38
[   1.0000000] mvsocgpp0: interrupts 128..135, intr 39
[   1.0000000] mvsocgpp0:   Data Out:                   0x00200000
[   1.0000000] mvsocgpp0:   Data Out Enable Control:    0xc70e0ffd
[   1.0000000] mvsocgpp0:   Data Blink Enable:          0x10000000
[   1.0000000] mvsocgpp0:   Data In Polarity:           0x00000000
[   1.0000000] mvsocgpp0:   Data In:                    0x13020080
[   1.0000000] mvsocgpp0:   Interrupt Cause:            0x10000000
[   1.0000000] mvsocgpp0:   Interrupt Mask:             0x00000000
[   1.0000000] mvsocgpp0:   Interrupt Level Mask:       0x00000000
[   1.0000000] mvsocgpp0:   High Data Out:              0x00000002
[   1.0000000] mvsocgpp0:   High Data Out Enable Ctrl:  0xfffffff9
[   1.0000000] mvsocgpp0:   High Blink Enable:          0x00000000
[   1.0000000] mvsocgpp0:   High Data In Polarity:      0x00000000
[   1.0000000] mvsocgpp0:   High Data In:               0x00000002
[   1.0000000] mvsocgpp0:   High Interrupt Cause:       0x00000000
[   1.0000000] mvsocgpp0:   High Interrupt Mask:        0x00000000
[   1.0000000] mvsocgpp0:   High Interrupt Level Mask:  0x00000000
[   1.0000000] gpio0 at mvsocgpp0: 36 pins
[   1.0000000] mvsocrtc at mvsoc0 unit 0 not configured
[   1.0000000] com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33:
ns16550a, working fifo
[   1.0000000] com0: console
[   1.0000000] com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34:
ns16550a, working fifo
[   1.0000000] ehci0 at mvsoc0 unit 0 offset 0x50000-0x50fff irq 19:
Marvell USB 2.0 Interface
[   1.0000000] usb0 at ehci0: USB revision 2.0
[   1.0000000] gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff:
Marvell IDMA Controller/XOR Engine
[   1.0000000] gtidmac0: XOR Engine 4 channels, intr 5, 6, 7, 8
[   1.0000000] gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29:
Marvell TWSI controller
[   1.0000000] iic0 at gttwsi0: I2C bus
[   1.0000000] mvcesa0 at mvsoc0 unit 0 offset 0x3d000-0x3dfff irq 22:
Marvell Cryptographic Engines and Security Accelerator
[   1.0000000] mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff:
Marvell Gigabit Ethernet Controller
[   1.0000000] mvgbe0 at mvgbec0 port 0 irq 11
[   1.0000000] mvgbe0: Ethernet address 5c:f4:ab:df:0a:e0
[   1.0000000] makphy0 at mvgbe0 phy 1: Marvell 88E1116R Gigabit PHY, rev. 0
[   1.0000000] makphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[   1.0000000] mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff:
Marvell Gigabit Ethernet Controller
[   1.0000000] mvgbe at mvgbec1 port 0 not configured
[   1.0000000] mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9:
Marvell PCI Express Interface
[   1.0000000] pci0 at mvpex0
[   1.0000000] Marvell 88F6281 SoC Kirkwood (miscellaneous memory,
revision 0x03) at pci0 dev 0 function 0 not configured
[   1.0000000] mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21:
Marvell Serial-ATA Host Controller (SATAHC)
[   1.0000000] mvsata0: GenIIe, 1hc, 2port/hc
[   1.0000000] atabus0 at mvsata0 channel 0
[   1.0000000] atabus1 at mvsata0 channel 1
[   1.0000000] mvsdio at mvsoc0 unit 0 not configured
[   1.0999610] uhub0 at usb0: NetBSD (0000) EHCI root hub (0000),
class 9/0, rev 2.00/1.00, addr 1
[   1.1599537] mvsata0 port 0: device present, speed: 3.0Gb/s
[   1.1599537] mvsata0 port 1: device present, speed: 3.0Gb/s
[   1.3099611] wd0 at atabus0 drive 0
[   1.3099611] wd0: <WDC WD20EZRX-00D8PB0>
[   1.3099611] wd0: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512
bytes/sect x 3907029168 sectors
[   1.3799676] wd1 at atabus1 drive 0
[   1.3799676] wd1: <WDC WD20EZRX-00D8PB0>
[   1.3799676] wd1: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512
bytes/sect x 3907029168 sectors
[   3.3599619] uhub1 at uhub0 port 1: Genesys Logic (0x5e3) USB2.0 Hub
(0x608), class 9/0, rev 2.00/85.32, addr 2
[   3.3599619] uhub1: single transaction translator
[   4.6799675] umass0 at uhub1 port 2 configuration 1 interface 0
[   4.6799675] umass0: SanDisk (0x781) Ultra Fit (0x5583), rev 2.10/1.00, addr 3
[   4.6799675] scsibus0 at umass0: 2 targets, 1 lun per target
[   4.6799675] sd0 at scsibus0 target 0 lun 0: <SanDisk, Ultra Fit,
1.00> disk removable
[   4.6799675] sd0: 14663 MB, 29792 cyl, 16 head, 63 sec, 512
bytes/sect x 30031250 sectors
[   4.7699674] boot device: <unknown>
[   4.7699674] root on sd0a dumps on sd0b
[   4.7899676] /: replaying log to memory
[   4.7999681] kern.module.path=/stand/evbarm/8.99.25/modules
[   4.7999681] WARNING: no TOD clock present
[   4.7999681] WARNING: using filesystem time
[   4.8166562] WARNING: CHECK AND RESET THE DATE!
Wed Oct 24 16:28:10 BST 2018
Starting watchdog timer.
Starting root file system check:
/dev/rsd0a: file system is journaled; not checking
[   6.0499769] /: replaying log to disk
Starting file system checks:
rndctl: bad digest
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 0 -> 0
Starting network.
/etc/rc: WARNING: $hostname not set.
[   8.2999799] Fatal kernel mode data abort: 'Alignment Fault 1'
[   8.2999799] trapframe: 0xcc7abbc8
[   8.2999799] FSR=00000001, FAR=cc7abddc, spsr=60000013
[   8.2999799] r0 =c29bbd00, r1 =cc7abdcc, r2 =00000000, r3 =00000000
[   8.2999799] r4 =c04f0604, r5 =000220e8, r6 =bfffdfd8, r7 =00000010
[   8.2999799] r8 =bbb0d180, r9 =bfffe0b0, r10=bbb17b65, r11=cc7abc44
[   8.2999799] r12=cc7abc48, ssp=cc7abc18, slr=c04f7f40, pc =c04f01d4

Stopped in pid 74.1 (ifconfig) at       c04f01d4:       strd    r2, [r1, #0x10]
db>


Home | Main Index | Thread Index | Old Index