#21667: Alix 3d3: kernel crash while booting linux 4.4 from latest trunk r48396
-------------------------------+---------------------------------------
Reporter: Bluse | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: kernel | Version: Trunk
Keywords: crash kernel boot |
-------------------------------+---------------------------------------
With current trunk r48396 with Linux kernel 4.4 the PCengines Alix d3d
shows a kernel crash with a freeze after booting OpenWrt.
The boot process with backtrace shows:
[ 0.000000] Initmem setup node 0 [mem
0x0000000000001000-0x000000000fffffff]
[ 0.000000] Using APIC driver default
[ 0.000000] No local APIC present or hardware disabled
[ 0.000000] APIC: disable apic facility
[ 0.000000] APIC: switched to apic NOOP
[ 0.000000] e820: [mem 0x10000000-0xffefffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 64927
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz
root=PARTUUID=4a65bd76-02 rootfstype=ext4 rootwait console=tty0
console=ttyS0,38400n8 noinitrd
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072
bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 254436K/261756K available (3270K kernel code, 226K
rwdata, 860K rodata, 280K init, 260K bss, 7320K reserved, 0K cma-reserved)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffa4000 - 0xfffff000 ( 364 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xfffa2000 ( 759 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] .init : 0xc1444000 - 0xc148a000 ( 280 kB)
[ 0.000000] .data : 0xc1331e33 - 0xc1442b80 (1091 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1331e33 (3271 kB)
[ 0.000000] Checking if this processor honours the WP bit even in
supervisor mode...Ok.
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:2304 nr_irqs:32 16
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 498.038 MHz processor
[ 0.003008] Calibrating delay loop (skipped), value calculated using
timer frequency.. 996.07 BogoMIPS (lpj=498038)
[ 0.005012] pid_max: default: 32768 minimum: 301
[ 0.006105] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.007022] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.008767] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.009015] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.010008] CPU: Geode(TM) Integrated Processor by AMD PCS (family:
0x5, model: 0xa, stepping: 0x2)
[ 0.014325] Performance Events: no PMU driver, software events only.
[ 0.018537] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.020799] NET: Registered protocol family 16
[ 0.022351] cpuidle: using governor ladder
[ 0.023288] clocksource: pit: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1601818034827 ns
[ 0.026173] PCI: PCI BIOS revision 2.10 entry at 0xfced9, last bus=0
[ 0.027012] PCI: Using configuration type 1 for base access
[ 0.043250] SCSI subsystem initialized
[ 0.045177] usbcore: registered new interface driver usbfs
[ 0.046101] usbcore: registered new interface driver hub
[ 0.047073] usbcore: registered new device driver usb
[ 0.048341] dmi: Firmware registration failed.
[ 0.049022] PCI: Probing PCI hardware
[ 0.050178] PCI host bridge to bus 0000:00
[ 0.051025] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.052023] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffff]
[ 0.053020] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.054107] pci 0000:00:01.0: [Firmware Bug]: reg 0x10: invalid BAR
(can't size)
[ 0.059197] pci 0000:00:0f.2: legacy IDE quirk: reg 0x10: [io
0x01f0-0x01f7]
[ 0.060020] pci 0000:00:0f.2: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.061022] pci 0000:00:0f.2: legacy IDE quirk: reg 0x18: [io
0x0170-0x0177]
[ 0.062020] pci 0000:00:0f.2: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.066451] clocksource: Switched to clocksource pit
[ 0.074885] NET: Registered protocol family 2
[ 0.076938] TCP established hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.077925] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.079076] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.080244] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.080818] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.081860] NET: Registered protocol family 1
[ 0.084009] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 0.100362] alix: system is recognized as "PC Engines ALIX.2 v0.99h"
[ 0.101797] NatSemi SCx200 Driver
[ 0.103782] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.138242] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.138846] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.143384] io scheduler noop registered
[ 0.144249] io scheduler deadline registered (default)
[ 0.145129] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.146434] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud =
921600) is a NS16550A
[ 0.147629] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud =
921600) is a NS16550A
[ 0.150187] Non-volatile memory driver v1.3
[ 0.150963] AMD Geode RNG detected
[ 0.152391] platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver
Initializing
[ 0.152886] platform pc8736x_gpio.0: no device found
[ 0.154951] cs5535-gpio cs5535-gpio: reserved resource region [io
0x6100-0x61ff]
[ 0.156805] cs5535-mfgpt cs5535-mfgpt: reserved resource region [io
0x6200-0x623f]
[ 0.157871] cs5535-mfgpt cs5535-mfgpt: 8 MFGPT timers available
[ 0.158909] cs5535-mfd 0000:00:0f.0: 5 devices registered.
[ 0.165900] scsi host0: pata_cs5536
[ 0.168675] scsi host1: pata_cs5536
[ 0.170511] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00
irq 14
[ 0.171463] ata2: DUMMY
[ 0.172899] via_rhine: v1.10-LK1.5.1 2010-10-09 Written by Donald
Becker
[ 0.176291] via-rhine 0000:00:09.0 eth0: VIA Rhine III (Management
Adapter) at 0xd0806000, 00:0d:b9:20:12:b4, IRQ 10
[ 0.177745] via-rhine 0000:00:09.0 eth0: MII PHY found at address 1,
status 0x7849 advertising 05e1 Link 0000
[ 0.180807] via-rhine 0000:00:0a.0 eth1: VIA Rhine III (Management
Adapter) at 0xd0808000, 00:0d:b9:20:12:b5, IRQ 11
[ 0.183280] via-rhine 0000:00:0a.0 eth1: MII PHY found at address 1,
status 0x7849 advertising 05e1 Link 0000
[ 0.186330] via-rhine 0000:00:0b.0 eth2: VIA Rhine III (Management
Adapter) at 0xd080a000, 00:0d:b9:20:12:b6, IRQ 15
[ 0.187752] via-rhine 0000:00:0b.0 eth2: MII PHY found at address 1,
status 0x7849 advertising 05e1 Link 0000
[ 0.189785] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.191456] ehci-pci: EHCI PCI platform driver
[ 0.191994] ehci-pci 0000:00:0f.5: EHCI Host Controller
[ 0.192775] ehci-pci 0000:00:0f.5: new USB bus registered, assigned bus
number 1
[ 0.194202] ehci-pci 0000:00:0f.5: irq 12, io mem 0xefffd000
[ 0.200602] ehci-pci 0000:00:0f.5: USB 2.0 started, EHCI 1.00
[ 0.202869] hub 1-0:1.0: USB hub found
[ 0.204286] hub 1-0:1.0: 4 ports detected
[ 0.206160] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.206804] ohci-pci: OHCI PCI platform driver
[ 0.208340] ohci-pci 0000:00:0f.4: OHCI PCI host controller
[ 0.209163] ohci-pci 0000:00:0f.4: new USB bus registered, assigned bus
number 2
[ 0.210515] ohci-pci 0000:00:0f.4: irq 12, io mem 0xefffe000
[ 0.295486] hub 2-0:1.0: USB hub found
[ 0.295915] hub 2-0:1.0: 4 ports detected
[ 0.300744] i8042: No controller found
[ 0.302590] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.303766] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.305128] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0'
registered
[ 0.313038] cs5535-mfgpt cs5535-mfgpt: registered timer 0
[ 0.314471] sc1200wdt: build 20020303
[ 0.315571] sc1200wdt: io parameter must be specified
[ 0.317618] cs5535-mfgpt cs5535-mfgpt: registered timer 1
[ 0.318896] cs5535-clockevt: Registering MFGPT timer as a clock event,
using IRQ 7
[ 0.319711] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 0.319718] IP: [< (null)>] (null)
[ 0.319724] *pde = 00000000
[ 0.319732] Oops: 0000 [#1]
[ 0.319738] Modules linked in:
[ 0.319752] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0 #1
[ 0.319761] task: cf834000 ti: cf838000 task.ti: cf838000
[ 0.319772] EIP: 0060:[<00000000>] EFLAGS: 00010093 CPU: 0
[ 0.319778] EIP is at 0x0
[ 0.319789] EAX: c1436880 EBX: c1436840 ECX: 00000000 EDX: 0000620c
[ 0.319797] ESI: cf805550 EDI: 00000000 EBP: 00000000 ESP: cf809fc8
[ 0.319808] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 0.319817] CR0: 8005003b CR2: 00000000 CR3: 0148d000 CR4: 00000090
[ 0.319820] Stack:
[ 0.319843] c125d767 c10532b0 00000007 cf805540 cf805540 cf805550
c1055260 cf839e80
[ 0.319861] c105335a cf805540 c10552b9 cf80bf7c cf80bf9c c100337b
[ 0.319864] Call Trace:
[ 0.319885] [<c125d767>] ? mfgpt_tick+0x67/0x90
[ 0.319901] [<c10532b0>] ? handle_irq_event_percpu+0x50/0xe0
[ 0.319919] [<c1055260>] ? handle_simple_irq+0x60/0x60
[ 0.319933] [<c105335a>] ? handle_irq_event+0x1a/0x30
[ 0.319947] [<c10552b9>] ? handle_level_irq+0x59/0xd0
[ 0.319963] [<c100337b>] ? handle_irq+0x3b/0x60
[ 0.319981] <IRQ>
[ 0.319983] [<c100312b>] ? do_IRQ+0x2b/0xa0
[ 0.320008] [<c1034240>] ? __hrtimer_tasklet_trampoline+0x20/0x20
[ 0.320029] [<c1330d30>] ? common_interrupt+0x30/0x40
[ 0.320047] [<c1034240>] ? __hrtimer_tasklet_trampoline+0x20/0x20
[ 0.320063] [<c1034298>] ? __do_softirq+0x58/0x180
[ 0.320082] [<c1034240>] ? __hrtimer_tasklet_trampoline+0x20/0x20
[ 0.320096] [<c100333b>] ? do_softirq_own_stack+0x1b/0x20
[ 0.320112] <IRQ>
[ 0.320114] [<c1003134>] ? do_IRQ+0x34/0xa0
[ 0.320130] [<c1330d30>] ? common_interrupt+0x30/0x40
[ 0.320151] [<c11c007b>] ? tty_ldisc_reinit+0x8b/0xa0
[ 0.320175] [<c1050000>] ? log_make_free_space+0x50/0x120
[ 0.320194] [<c10515f1>] ? console_unlock+0x351/0x580
[ 0.320212] [<c1051ac5>] ? vprintk_emit+0x2a5/0x430
[ 0.320226] [<c145f0f5>] ? init_hrt_clocksource+0x9e/0x9e
[ 0.320243] [<c1051d4f>] ? vprintk_default+0xf/0x20
[ 0.320264] [<c1082824>] ? printk+0x10/0x11
[ 0.320277] [<c145f1a8>] ? cs5535_mfgpt_init+0xb3/0xef
[ 0.320291] [<c10003e6>] ? do_one_initcall+0x76/0x190
[ 0.320312] [<c104474c>] ? parameq+0xc/0x70
[ 0.320326] [<c1044920>] ? parse_args+0x170/0x3b0
[ 0.320350] [<c1444af6>] ? kernel_init_freeable+0xd6/0x14e
[ 0.320375] [<c132cd25>] ? kernel_init+0x5/0xd0
[ 0.320391] [<c1330550>] ? ret_from_kernel_thread+0x20/0x40
[ 0.320407] [<c132cd20>] ? rest_init+0x60/0x60
[ 0.320419] Code: Bad EIP value.
[ 0.320432] EIP: [<00000000>] 0x0 SS:ESP 0068:cf809fc8
[ 0.320436] CR2: 0000000000000000
[ 0.320465] ---[ end trace 53509b5983b5268f ]---
[ 0.320472] Kernel panic - not syncing: Fatal exception in interrupt
[ 0.320475] Kernel Offset: disabled
[ 0.320677] ---[ end Kernel panic - not syncing: Fatal exception in
interrupt
[ 8.253369] random: nonblocking pool is initialized
Lines that look suspiciouse:
[ 0.152886] platform pc8736x_gpio.0: no device found
[ 0.319711] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 0.319718] IP: [< (null)>] (null)
Any hint what to backport or what are the next troubleshooting steps to be
taken ?
Greetings Bluse
--
Ticket URL: <https://dev.openwrt.org/ticket/21667>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets