Modify

Opened 5 years ago

Closed 5 years ago

#13713 closed defect (fixed)

Trunk r36941 kernel crash (Alix)

Reported by: meconiotech@… Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

On the latest trunk i obtain a kernel crash, the system is a x86 alix with 2 wireless cards (Ath9k) and (Ath5k)

This is the boot trace:

[ 0.000000] Linux version 3.8.13 (meco@helvete) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36941) ) #2 Mon Jun 17 13:33:14 CEST 2013
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] DMI not present or invalid.
[ 0.000000] e820: last_pfn = 0x10000 max_arch_pfn = 0x100000
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x0fffffff]
[ 0.000000] 256MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 10000000
[ 0.000000] low ram: 0 - 10000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00010000-0x00ffffff]
[ 0.000000] Normal [mem 0x01000000-0x0fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00010000-0x0009ffff]
[ 0.000000] node 0: [mem 0x00100000-0x0fffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64912
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 rootfstype=ext4 rootwait console=ttyS0,115200n8 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] ex_table already sorted, skipping sort
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 255636k/262144k available (2395k kernel code, 6060k reserved, 831k data, 268k init, 0k highmem)
[ 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 : 0xc1327000 - 0xc136a000 ( 268 kB)
[ 0.000000] .data : 0xc1256d01 - 0xc13269c0 ( 831 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1256d01 (2395 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:2304 nr_irqs:256 16
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 498.027 MHz processor
[ 0.020005] Calibrating delay loop (skipped), value calculated using timer frequency.. 996.05 BogoMIPS (lpj=4980270)
[ 0.032726] pid_max: default: 32768 minimum: 301
[ 0.040232] Mount-cache hash table entries: 512
[ 0.045390] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.045390] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.045390] tlb_flushall_shift: -1
[ 0.050009] CPU: Geode(TM) Integrated Processor by AMD PCS (fam: 05, model: 0a, stepping: 02)
[ 0.060189] Performance Events: no PMU driver, software events only.
[ 0.067650] NET: Registered protocol family 16
[ 0.071675] PCI: PCI BIOS revision 2.10 entry at 0xfced9, last bus=0
[ 0.080016] PCI: Using configuration type 1 for base access
[ 0.094612] bio: create slab <bio-0> at 0
[ 0.099809] SCSI subsystem initialized
[ 0.101081] PCI: Probing PCI hardware
[ 0.104984] PCI host bridge to bus 0000:00
[ 0.110030] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.116222] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.120020] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.140553] Switching to clocksource pit
[ 0.146875] NET: Registered protocol family 2
[ 0.147352] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.154457] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.160890] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.167312] TCP: reno registered
[ 0.170552] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.176441] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.182895] NET: Registered protocol family 1
[ 0.188154] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.198465] alix: system is recognized as "PC Engines ALIX.2 v0.99h"
[ 0.226651] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.232496] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.243487] msgmni has been set to 499
[ 0.247513] io scheduler noop registered
[ 0.251446] io scheduler deadline registered (default)
[ 0.256957] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.263579] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[ 0.270126] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[ 0.277410] Non-volatile memory driver v1.3
[ 0.281624] AMD Geode RNG detected
[ 0.287566] scsi0 : pata_cs5536
[ 0.291206] scsi1 : pata_cs5536
[ 0.294769] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 0.301779] ata2: DUMMY
[ 0.327514] i8042: No controller found
[ 0.331653] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.338088] rtc0: alarms up to one day, 114 bytes nvram
[ 0.343464] cpuidle: using governor ladder
[ 0.348079] TCP: cubic registered
[ 0.351402] NET: Registered protocol family 17
[ 0.355958] 8021q: 802.1Q VLAN Support v1.8
[ 0.360308] Using IPI Shortcut mode
[ 0.364998] rtc_cmos rtc_cmos: setting system clock to 2000-01-01 00:00:12 UTC (946684812)
[ 0.456114] ata1.00: CFA: SanDisk SDCFB-1024, HDX 4.04, max MWDMA2
[ 0.462308] ata1.00: 2001888 sectors, multi 0: LBA
[ 0.467792] ata1.00: configured for MWDMA2
[ 0.472248] scsi 0:0:0:0: Direct-Access ATA SanDisk SDCFB-10 HDX PQ: 0 ANSI: 5
[ 0.481361] sd 0:0:0:0: [sda] 2001888 512-byte logical blocks: (1.02 GB/977 MiB)
[ 0.489248] sd 0:0:0:0: [sda] Write Protect is off
[ 0.494165] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 0.505184] sda: sda1 sda2 sda3
[ 0.509970] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 0.520641] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 0.527767] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[ 0.534515] Freeing unused kernel memory: 268k freed

  • preinit -

Press the [f] key and hit [enter] to enter failsafe mode
[ 1.195566] Switching to clocksource tsc

  • regular preinit -

[ 3.186518] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[ 3.198674] EXT4-fs (sda2): re-mounted. Opts: (null)
[ 3.366857] usbcore: registered new interface driver usbfs
[ 3.372435] usbcore: registered new interface driver hub
[ 3.379374] usbcore: registered new device driver usb
[ 3.391351] Button Hotplug driver version 0.4.1
[ 3.407320] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.419047] ehci-platform: EHCI generic platform driver
[ 3.434734] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.441107] ohci_hcd 0000:00:0f.4: OHCI Host Controller
[ 3.446385] ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 1
[ 3.453824] ohci_hcd 0000:00:0f.4: irq 12, io mem 0xefffe000
[ 3.548249] hub 1-0:1.0: USB hub found
[ 3.552032] hub 1-0:1.0: 4 ports detected
[ 3.563085] BUG: unable to handle kernel NULL pointer dereference at 00000040
[ 3.566059] IP: [<c116148a>] gpio_cansleep+0xa/0x20
[ 3.566059] *pde = 00000000
[ 3.566059] Oops: 0000 #1
[ 3.566059] Modules linked in: leds_gpio(+) ohci_hcd ehci_platform ehci_hcd button_hotplug(O) usbcore usb_common input_polldev input_core
[ 3.566059] Pid: 401, comm: insmod Tainted: G O 3.8.13 #2
[ 3.566059] EIP: 0060:[<c116148a>] EFLAGS: 00010293 CPU: 0
[ 3.566059] EIP is at
gpio_cansleep+0xa/0x20
[ 3.566059] EAX: 00000000 EBX: c13111e0 ECX: c1311134 EDX: c12b1e03
[ 3.566059] ESI: cf96be10 EDI: 00000000 EBP: c1311188 ESP: cf9a5db0
[ 3.566059] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 3.566059] CR0: 8005003b CR2: 00000040 CR3: 0f959000 CR4: 00000090
[ 3.566059] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 3.566059] DR6: ffff0ff0 DR7: 00000400
[ 3.566059] Process insmod (pid: 401, ti=cf9a4000 task=cf9b4000 task.ti=cf9a4000)
[ 3.566059] Stack:
[ 3.566059] d08da15c cf879040 00000000 c13110ac 00000000 cf96be0c 00000000 c13110ac
[ 3.566059] c13110ac ffffffed d08da3f4 00000000 c118ca29 c118bb75 00000000 c131ae80
[ 3.566059] c13110ac c118bc80 c13110ac d08da3f4 c13110e0 c118bccc 00000000 d08da3f4
[ 3.566059] Call Trace:
[ 3.566059] [<d08da15c>] ? 0xd08da15b
[ 3.566059] [<c118ca29>] ? platform_drv_probe+0x9/0x10
[ 3.566059] [<c118bb75>] ? driver_probe_device+0xb5/0x1c0
[ 3.566059] [<c118bc80>] ? driver_probe_device+0x1c0/0x1c0
[ 3.566059] [<c118bccc>] ? driver_attach+0x4c/0x80
[ 3.566059] [<c118bc80>] ? driver_probe_device+0x1c0/0x1c0
[ 3.566059] [<c118a73c>] ? bus_for_each_dev+0x3c/0x70
[ 3.566059] [<c118b749>] ? driver_attach+0x19/0x20
[ 3.566059] [<c118bc80>] ? driver_probe_device+0x1c0/0x1c0
[ 3.566059] [<c118b375>] ? bus_add_driver+0xa5/0x200
[ 3.566059] [<c118bf37>] ? driver_register+0x87/0x100
[ 3.566059] [<c10010b4>] ? do_one_initcall+0x94/0x150
[ 3.566059] [<c1083cb5>] ?
vunmap+0xb5/0xd0
[ 3.566059] [<d08dc000>] ? 0xd08dbfff
[ 3.566059] [<c1053cf2>] ? load_module+0x1762/0x1ba0
[ 3.566059] [<c10541bd>] ? sys_init_module+0x8d/0x90
[ 3.566059] [<c12557b5>] ? syscall_call+0x7/0xb
[ 3.566059] Code: e4 39 c1 75 0e 8b 92 44 e4 39 c1 83 e2 01 74 03 8b 43 08 5b c3 8d b6 00 00 00 00 8d bf 00 00 00 00 8d 04 40 8b 04 85 40 e4 39 c1 <0f> b6 40 40 83 e0 01 c3 8d b4 26 00 000
[ 3.566059] EIP: [<c116148a>] gpio_cansleep+0xa/0x20 SS:ESP 0068:cf9a5db0
[ 3.566059] CR2: 0000000000000040
[ 3.795244] ---[ end trace 9730391981c3ad58 ]---
[ 3.815189] Initializing USB Mass Storage driver...
[ 3.820262] usbcore: registered new interface driver usb-storage
[ 3.826292] USB Mass Storage support registered.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

I have deleted source, downloaded again, reconfigured everything via make menuconfig latest trunk r36944 created the image i write it on a compact flash insert into alix, then it has booted with no problem but i have forgotten top install the block-mount package, i installed it and the problem returned

comment:2 Changed 5 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r36968

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.