Release 3.2 kernel issue tracking thread


I recompiled the latest kernel to use the now de-facto (almost all shops in Paris sell that kind of model:TP-Link TL-WN721N) big size usb dongle.

Had to enable ath9k and ath9k_htc, and i ran into a big bad bug that forces me to reboot the unit.

Any idea on this ?

Code:
[  142.034637] hub 1-0:1.0: USB hub found
[  142.034667] hub 1-0:1.0: 3 ports detected
[  150.043395] usb 1-2: new high-speed USB device number 2 using ehci-omap
[  150.217041] usb 1-2: New USB device found, idVendor=0cf3, idProduct=9271
[  150.217041] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[  150.217041] usb 1-2: Product: USB2.0 WLAN
[  150.217041] usb 1-2: Manufacturer: ATHEROS
[  150.217071] usb 1-2: SerialNumber: 12345
[  150.655181] usb 1-2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[  150.891662] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 33 credits
[  151.125640] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.3
[  151.125640] ath: EEPROM regdomain: 0x809c
[  151.125640] ath: EEPROM indicates we should expect a country code
[  151.125671] ath: doing EEPROM country->regdmn map search
[  151.125671] ath: country maps to regdmn code: 0x52
[  151.125671] ath: Country alpha2 being used: CN
[  151.125671] ath: Regpair used: 0x52
[  151.128265] ieee80211 phy1: Atheros AR9271 Rev:1
[  151.128295] cfg80211: Calling CRDA for country: CN
[  151.134979] ------------[ cut here ]------------
[  151.135070] kernel BUG at kernel/workqueue.c:1040!
[  151.135192] Internal error: Oops - undefined instruction: 0 [#1]
[  151.135253] Modules linked in: ath9k_htc(+) ath9k_common ath9k_hw ath ehci_hcd wl1251_sdio wl1251 aufs squashfs xz_dec rfcomm ipv6 omaplfb(O) pvrsrvkm(O) zram(C) uinput snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss bnep bluetooth fuse dm_mod mac80211 cfg80211 ads7846 hwmon
[  151.137512] CPU: 0    Tainted: G         C O  (3.2.39 #2)
[  151.137603] PC is at __queue_work+0x1d0/0x2ac
[  151.137725] LR is at queue_work_on+0x30/0x38
[  151.137786] pc : [<c004f648>]    lr : [<c004f774>]    psr: 00000193
[  151.137786] sp : d75fbcb8  ip : c056f4b0  fp : 00000200
[  151.138000] r10: d74ce180  r9 : d75c8300  r8 : d76f80f0
[  151.138122] r7 : d75c968c  r6 : c0555f98  r5 : 20000113  r4 : d75c96a8
[  151.138183] r3 : d75c96ac  r2 : 00000000  r1 : d74e4800  r0 : d76ff200
[  151.138305] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  151.138397] Control: 10c5387d  Table: 976b4019  DAC: 55555555
[  151.138519] Process udevd (pid: 2357, stack limit = 0xd75fa2f0)
[  151.138580] Stack: (0xd75fbcb8 to 0xd75fc000)
[  151.138702] bca0:                                                       00000000 d7555a00
[  151.138793] bcc0: 20000113 00000001 c0555f98 d75c968c d76f80f0 c004f774 d74e4800 d75c9620
[  151.138916] bce0: deb53a80 c02c5964 00000000 deb53a80 d75c9620 c02c5aa8 c02c5644 d75c9620
[  151.139068] bd00: c058ad90 000022b0 d75fbd50 c02c5610 c049b778 d75c95fd d75fbd50 d75c9020
[  151.139190] bd20: d75c95fd bf2ce510 d75c9020 d75c8300 00000000 bf2cdf08 00000003 00000004
[  151.139251] bd40: 00000100 00000000 d74e4588 00000010 65687441 20736f72 32395241 52203137
[  151.139404] bd60: 313a7665 deb56100 000000d0 de802100 deb56180 c0303444 d74e4580 deb686c0
[  151.139526] bd80: 00000001 deb56180 00000000 d74e4580 deb686c0 deb686c0 bf2cfa5c d7688c00
[  151.139648] bda0: d769fe20 d74ce608 bf2d4000 00000006 00000000 bf2c6730 00000000 00000006
[  151.139739] bdc0: 00000000 bf2c7cc8 00000000 00000004 bf2cfa70 d769fe20 d7688c00 00000000
[  151.139862] bde0: bf2cfa1c d769fe00 bf2cfa5c c028e3c0 c028e2cc d769fe20 c0589678 d769fe54
[  151.139984] be00: bf2cfa1c 00000000 d75fa000 c0240818 00000000 d769fe20 bf2cfa1c d769fe54
[  151.140075] be20: d76a0000 c02409bc 00000000 bf2cfa1c c0240930 c023f830 de8b14b8 d74e43b0
[  151.140197] be40: bf2cfa1c bf2cfa1c c0552a44 c02401fc bf2cec04 237591ff bf2cfa1c bf2cfa1c
[  151.140350] be60: bf2cfa1c bf2cec04 c0552a44 bf2d02d8 d75fa000 c0240e5c bf2cfa14 bf2cf9ec
[  151.140472] be80: bf2cfa1c bf2cec04 c0552a44 bf2d02d8 d75fa000 c028d9dc bf2d02d8 bf2d02d8
[  151.140533] bea0: d7685440 00000001 0000001c bf2d4008 c055c8c0 c0008648 00000000 c087c7e0
[  151.140686] bec0: 00000000 c087c7e0 00000000 8040003f 00000014 00000014 d7554840 bf2d02d8
[  151.140808] bee0: bf2d02d8 d7685440 00000001 0000001c bf2d0320 00000024 00001c2a c0067210
[  151.140930] bf00: bf2d02e4 d745f07c d745f07c 00000000 c0065fd0 40070b34 bf2d040c e0c6c434
[  151.141021] bf20: d745f074 c04b3eb8 00000000 00000000 00000000 00000000 00000000 00000000
[  151.141143] bf40: e0c62000 00013f6e e0c6f234 e0c6f0b9 e0c74344 d74fb800 0000a424 0000b554
[  151.141265] bf60: 00000000 00000000 00000024 00000025 00000019 0000001d 0000000d 00000000
[  151.141357] bf80: 519942c5 00000000 00020000 00038578 00000080 c00138a8 d75fa000 00000000
[  151.141479] bfa0: 00000000 c0013700 00000000 00020000 40345000 00013f6e 40070b34 00038578
[  151.141601] bfc0: 00000000 00020000 00038578 00000080 00035808 00013f6e 40070b34 00000000
[  151.141754] bfe0: 400792d0 bed8db00 40067d0c 40216a80 60000010 40345000 00000000 00000000
[  151.141815] [<c004f648>] (__queue_work+0x1d0/0x2ac) from [<c004f774>] (queue_work_on+0x30/0x38)
[  151.141967] [<c004f774>] (queue_work_on+0x30/0x38) from [<c02c5964>] (led_trigger_set+0xec/0xf0)
[  151.142089] [<c02c5964>] (led_trigger_set+0xec/0xf0) from [<c02c5aa8>] (led_trigger_set_default+0x70/0x98)
[  151.142242] [<c02c5aa8>] (led_trigger_set_default+0x70/0x98) from [<c02c5610>] (led_classdev_register+0xc8/0xfc)
[  151.142425] [<c02c5610>] (led_classdev_register+0xc8/0xfc) from [<bf2ce510>] (ath9k_init_leds+0xc4/0x104 [ath9k_htc])
[  151.142608] [<bf2ce510>] (ath9k_init_leds+0xc4/0x104 [ath9k_htc]) from [<bf2cdf08>] (ath9k_htc_probe_device+0x658/0x7f8 [ath9k_htc])
[  151.142761] [<bf2cdf08>] (ath9k_htc_probe_device+0x658/0x7f8 [ath9k_htc]) from [<bf2c6730>] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc])
[  151.142913] [<bf2c6730>] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc]) from [<bf2c7cc8>] (ath9k_hif_usb_probe+0x1bc/0x37c [ath9k_htc])
[  151.143035] [<bf2c7cc8>] (ath9k_hif_usb_probe+0x1bc/0x37c [ath9k_htc]) from [<c028e3c0>] (usb_probe_interface+0xf4/0x1c0)
[  151.143188] [<c028e3c0>] (usb_probe_interface+0xf4/0x1c0) from [<c0240818>] (driver_probe_device+0x8c/0x1a4)
[  151.143310] [<c0240818>] (driver_probe_device+0x8c/0x1a4) from [<c02409bc>] (__driver_attach+0x8c/0x90)
[  151.143463] [<c02409bc>] (__driver_attach+0x8c/0x90) from [<c023f830>] (bus_for_each_dev+0x44/0x8c)
[  151.143524] [<c023f830>] (bus_for_each_dev+0x44/0x8c) from [<c02401fc>] (bus_add_driver+0x178/0x248)
[  151.143676] [<c02401fc>] (bus_add_driver+0x178/0x248) from [<c0240e5c>] (driver_register+0x78/0x13c)
[  151.143798] [<c0240e5c>] (driver_register+0x78/0x13c) from [<c028d9dc>] (usb_register_driver+0x60/0x13c)
[  151.143951] [<c028d9dc>] (usb_register_driver+0x60/0x13c) from [<bf2d4008>] (ath9k_htc_init+0x8/0x2c [ath9k_htc])
[  151.144104] [<bf2d4008>] (ath9k_htc_init+0x8/0x2c [ath9k_htc]) from [<c0008648>] (do_one_initcall+0x10c/0x170)
[  151.144226] [<c0008648>] (do_one_initcall+0x10c/0x170) from [<c0067210>] (sys_init_module+0x3cc/0x1ab8)
[  151.144317] [<c0067210>] (sys_init_module+0x3cc/0x1ab8) from [<c0013700>] (ret_fast_syscall+0x0/0x30)
[  151.144470] Code: e59c100c e3811010 e58c100c eaffffb4 (e7f001f2) 
[  151.144653] ---[ end trace dc56dbd9643e0e85 ]---
[  151.162628] cfg80211: Regulatory domain changed to country: CN
[  151.162750] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  151.162841] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  151.162963] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
bash-4.2#
 
Dunno, well, it loads automatically on a PC.

Also, i succeeded to compile it on OP previously.
 
Indeed i was wrong.

Anyway this is working perfectly, and this dongle is amazingly fast.

Also tried the internal wifi. Seems faster than before.

Thx.
 
Last edited by a moderator:
There is something iffy with the USB host or UVC webcam driver vs 2.6.27

I have a cheap usb 2.0 webcam 1871:0d01, dmesg reports manufacturer "AVEO Technology Corp." Product "USB2.0 Camera".

I have an usb hub with only the camera - the camera would work even without the hub, but i ended up testing like this.

In 3.2.45, i enable usb host (load the module), then I attach the hub.

The hub and camera get recognized.

I use the mplayer binary from smplayer2 like this: ./mplayer -fs tv://

It fails to open the camera, and the kernel log says that both the hub and the camera disconnected (USB disconnect).

I am no longer able to get the host to detect the hub and camera, even by re-loading the module (ehci-hcd) and/or re-attaching the hub.

In 2.6.27, everything goes as above, upto the smplayer2 part where i get a picture on screen and it works just fine.
 
I don't have much to suggest here except enabling USB (and maybe webcam driver) debugging and recompiling, maybe you'll see what's going on.

Other option would be to bisect but that won't really work as pandora won't even boot on many kernels between 2.6.27 and 3.2.
 
attached first dmesg with all output that i could get enabled... I have an idea, I'll be back with an edit...

EDIT:

http://www.ideasonboard.org/uvc/faq/ <-

See the section " My camera produces corrupted images, is very slow to start or is generally unstable. "

so, doing this

echo -1 > /sys/module/usbcore/parameters/autosuspend

before loading the ehci-hcd, workarounds this issue.

But i still find it a bit odd that it manages to so totally hang when the problem happens... but well, upgrading to >=3.6 would propably fix this for good...
 

Attachments

  • usbcamdmesg.txt
    30 KB · Views: 567
Last edited by a moderator:
What's new in the recent kernel update ^^ ?

Fast-forward
 arch/arm/configs/omap3_pandora_defconfig |   5 +-
 arch/arm/include/asm/opcodes.h           |  20 ++++++
 arch/arm/include/asm/thread_info.h       |   4 +-
 arch/arm/include/asm/tls.h               |  40 ++++++++----
 arch/arm/kernel/Makefile                 |   2 +-
 arch/arm/kernel/asm-offsets.c            |   2 +
 arch/arm/kernel/entry-armv.S             |   5 +-
 arch/arm/kernel/opcodes.c                |  72 +++++++++++++++++++++
 arch/arm/kernel/perf_event.c             |   1 +
 arch/arm/kernel/perf_event_v6.c          |  36 ++++++-----
 arch/arm/kernel/perf_event_v7.c          | 433 ++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
 arch/arm/kernel/perf_event_xscale.c      |  18 +++---
 arch/arm/kernel/process.c                |   4 +-
 arch/arm/kernel/ptrace.c                 |   2 +-
 arch/arm/kernel/swp_emulate.c            |  16 +++++
 arch/arm/kernel/traps.c                  |   4 +-
 arch/arm/kernel/vmlinux.lds.S            |   7 +-
 arch/arm/mm/dma-mapping.c                |  20 +++++-
 arch/arm/mm/flush.c                      |   2 +-
 drivers/power/twl4030_charger.c          |   2 +-
 
 
Last edited by a moderator:
When i shutdown SL4P with the official, and custom kernels, i got this from time to time:

[ 0.000000] Linux version 3.2.45 (notaz@pixelinis) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #891 Fri May 24 01:34:38 EEST 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Pandora Handheld Console
[ 0.000000] Initialized persistent memory from 80fe0000-80ffffff
[ 0.000000] cma: CMA: reserved 16 MiB at 9f000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 ro rootwait vram=6272K omapfb.vram=0:3000K mmc_core.removable=0
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 497168k/497168k available, 27120k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0545a84 (5367 kB)
[ 0.000000] .init : 0xc0546000 - 0xc0578000 ( 200 kB)
[ 0.000000] .data : 0xc0578000 - 0xc05b4fc0 ( 244 kB)
[ 0.000000] .bss : 0xc05b4fe4 - 0xc05e61e0 ( 197 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000488] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[ 0.039154] pid_max: default: 32768 minimum: 301
[ 0.039398] Mount-cache hash table entries: 512
[ 0.039794] Initializing cgroup subsys devices
[ 0.039886] CPU: Testing write buffer coherency: ok
[ 0.040100] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.040191] Setting up static identity map for 0x803e8268 - 0x803e82c0
[ 0.040832] devtmpfs: initialized
[ 0.060760] print_constraints: dummy:
[ 0.062042] NET: Registered protocol family 16
[ 0.063842] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.064239] GPMC revision 5.0
[ 0.067260] OMAP GPIO hardware version 2.5
[ 0.070587] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.077117] Reprogramming SDRC clock to 400000000 Hz
[ 0.079437] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.086303] omap-mcbsp.2: alias fck already exists
[ 0.086639] omap-mcbsp.3: alias fck already exists
[ 0.088104] OMAP DMA hardware revision 5.0
[ 0.103271] bio: create slab <bio-0> at 0
[ 0.104461] print_constraints: vwlan: 1800 mV
[ 0.105987] SCSI subsystem initialized
[ 0.108398] usbcore: registered new interface driver usbfs
[ 0.108642] usbcore: registered new interface driver hub
[ 0.108886] usbcore: registered new device driver usb
[ 0.110290] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[ 0.113494] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.113616] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.114166] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.114654] _omap_mux_init_gpio: Could not set gpio192
[ 0.115722] _omap_mux_init_gpio: Could not set gpio193
[ 0.118316] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.118988] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.119598] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.179809] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.181152] print_constraints: vdd_mpu_iva: 600 <--> 1450 mV normal
[ 0.181793] print_constraints: vdd_core: 600 <--> 1450 mV normal
[ 0.182495] print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby
[ 0.183197] print_constraints: VDAC: 1800 mV normal standby
[ 0.183868] print_constraints: VAUX2: 1800 mV normal standby
[ 0.184509] print_constraints: VPLL2: 1800 mV normal standby
[ 0.185211] print_constraints: VMMC2: 1850 <--> 3150 mV at 1850 mV normal standby
[ 0.185913] print_constraints: VSIM: 2800 mV normal standby
[ 0.186553] print_constraints: VAUX1: 3000 mV normal standby
[ 0.187225] print_constraints: VAUX4: 3000 mV normal standby
[ 0.187774] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[ 0.190002] omap-iommu omap-iommu.0: isp registered
[ 0.190612] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.191436] Switching to clocksource 32k_counter
[ 0.213226] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.219146] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.219909] NET: Registered protocol family 2
[ 0.220123] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.220397] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.220764] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.220977] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.221008] TCP reno registered
[ 0.221038] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.221069] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.221343] NET: Registered protocol family 1
[ 0.221588] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.227172] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.242675] VFS: Disk quotas dquot_6.5.2
[ 0.243103] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.247985] msgmni has been set to 1003
[ 0.249847] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.249877] io scheduler noop registered
[ 0.249908] io scheduler deadline registered
[ 0.249938] io scheduler cfq registered (default)
[ 0.264862] OMAP DSS rev 2.0
[ 0.268066] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.270233] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.270690] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.271118] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 0.271545] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[ 0.283142] brd: module loaded
[ 0.289001] loop: module loaded
[ 0.289062] OMAP overclocker loaded.
[ 0.291229] omap2-nand driver initializing
[ 0.291412] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[ 0.291870] Creating 5 MTD partitions on "omap2-nand.0":
[ 0.291931] 0x000000000000-0x000000080000 : "xloader"
[ 0.292694] 0x000000080000-0x000000260000 : "uboot"
[ 0.293731] 0x000000260000-0x000000280000 : "uboot-env"
[ 0.294372] 0x000000280000-0x000000c80000 : "boot"
[ 0.296691] 0x000000c80000-0x000020000000 : "rootfs"
[ 0.387786] usbcore: registered new interface driver libusual
[ 0.388397] mousedev: PS/2 mouse device common for all mice
[ 0.388977] input: keypad as /devices/platform/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[ 0.391815] input: power-button as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 0.393157] input: nub0 as /devices/platform/omap_i2c.3/i2c-3/3-0066/input/input2
[ 0.394500] input: nub1 as /devices/platform/omap_i2c.3/i2c-3/3-0067/input/input3
[ 0.398620] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 0.399353] i2c /dev entries driver
[ 0.403472] bq27x00-battery 3-0055: support ver. 1.2.0 enabled
[ 0.422454] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 0.422943] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 0.422973] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 0.423645] cpuidle: using governor ladder
[ 0.423675] cpuidle: using governor menu
[ 0.652923] usbcore: registered new interface driver usbhid
[ 0.652954] usbhid: USB HID core driver
[ 0.653198] persistent_ram: uncorrectable error in header
[ 0.653228] persistent_ram: no valid data in buffer (sig = 0xb7f5fefd)
[ 0.674011] console [ram-1] enabled
[ 0.676635] OMAP3 Pandora SoC init
[ 0.763183] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 0.764953] asoc: twl4030-hifi <-> omap-mcbsp-dai.3 mapping ok
[ 0.767425] ALSA device list:
[ 0.767578] #0: omap3pandora
[ 0.767944] TCP cubic registered
[ 0.768066] NET: Registered protocol family 17
[ 0.768249] NET: Registered protocol family 15
[ 0.768463] Registering the dns_resolver key type
[ 0.768646] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.768981] ThumbEE CPU extension supported.
[ 0.769134] Registering SWP/SWPB emulation handler
[ 0.776397] clock: disabling unused clocks to save power
[ 0.777832] registered taskstats version 1
[ 0.792907] Console: switching to colour frame buffer device 100x30
[ 0.977813] input: gpio-keys as /devices/platform/gpio-keys/input/input4
[ 0.982513] twl_rtc twl_rtc: setting system clock to 2013-08-14 11:57:01 UTC (1376481421)
[ 0.985992] Waiting for root device /dev/mmcblk0p1...
[ 1.042327] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.049560] mmc0: new high speed SDHC card at address e624
[ 1.053527] mmcblk0: mmc0:e624 SU16G 14.8 GiB
[ 1.064514] mmcblk0: p1 p2
[ 1.125305] VFS: Mounted root (ext2 filesystem) readonly on device 179:1.
[ 1.130493] devtmpfs: mounted
[ 1.133941] Freeing init memory: 200K
[ 1.165466] mmc2: card claims to support voltages below the defined range. These will be ignored.
[ 1.170745] mmc2: new SDIO card at address 0001
[ 1.726593] udevd[698]: starting version 182
[ 2.570953] ads7846 spi1.0: touchscreen, irq 254
[ 2.588348] input: touchscreen as /devices/platform/omap2_mcspi.1/spi_master/spi1/spi1.0/input/input5
[ 3.785614] twl4030_usb twl4030_usb: Timeout setting T2 HSUSB PHY DPLL clock
[ 4.556915] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 4.604309] Adding 523260k swap on /dev/mmcblk0p2. Priority:-1 extents:1 across:523260k SS
[ 4.665100] fuse init (API version 7.17)
[ 17.611785] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa062014
[ 17.615386] Internal error: : 1028 [#1]
[ 17.618835] Modules linked in: ehci_hcd(+) ipv6 fuse dm_mod ads7846 hwmon
[ 17.623382] CPU: 0 Not tainted (3.2.45 #891)
[ 17.627136] PC is at omap_usbhs_enable+0xdc/0x508
[ 17.631011] LR is at omap_usbhs_enable+0xc8/0x508
[ 17.634887] pc : [<c0291808>] lr : [<c02917f4>] psr: 20000193
[ 17.634918] sp : deb89dd8 ip : fa062000 fp : 0000004d
[ 17.642639] r10: de924980 r9 : fa064800 r8 : de927c08
[ 17.646453] r7 : c058dba0 r6 : 00000002 r5 : 80000113 r4 : de929980
[ 17.650360] r3 : c058ff78 r2 : ffff734d r1 : fa062000 r0 : 00000080
[ 17.654144] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 17.658111] Control: 10c5387d Table: 9eba8019 DAC: 55555555
[ 17.662109] Process modprobe (pid: 1414, stack limit = 0xdeb882f0)
[ 17.666076] Stack: (0xdeb89dd8 to 0xdeb8a000)
[ 17.670135] 9dc0: deac8800 de927c00
[ 17.674255] 9de0: de9249c0 00000000 de927c08 bf08876c 00000000 c0284990 757368e0 00316273
[ 17.678527] 9e00: c05e1dbc de927c08 c05e1dbc de927c3c bf08e5dc bf091000 00000d31 0000001c
[ 17.682861] 9e20: 00000026 c027e9fc c027e9e4 c027d610 de927c08 bf08e5dc de927c3c 00000000
[ 17.687194] 9e40: bf091000 c027d7ac bf08e5dc c027d720 00000000 c027c6f8 de805938 de929830
[ 17.691619] 9e60: bf08e5dc c05a6990 ddcbb500 c027cfe0 bf08e4fc c020083c 80000013 bf08e5dc
[ 17.696075] 9e80: bf08e618 deb88000 00000000 bf091000 00000d31 0000001c 00000026 c027dccc
[ 17.700622] 9ea0: c027ea24 c05e2c58 bf08e618 deb88000 00000000 bf091000 0000001c bf09106c
[ 17.705017] 9ec0: c05b5000 c000866c ddc856c0 00000000 0000000e ddc856c0 00000000 bf08e660
[ 17.709503] 9ee0: bf08e660 bf08e618 00000001 ddc01040 00000001 0000001c 00000026 c006d41c
[ 17.714019] 9f00: bf08e624 401e2d70 00000000 bf08e74c deb88000 e0941e04 e0941d3c 00000003
[ 17.718536] 9f20: deafed00 e0938000 0000d7c1 e09420a8 e0941f2d e0944a90 ddd98400 00008774
[ 17.722900] 9f40: 00008cf4 00000000 00000000 00000024 00000025 0000001c 00000019 00000015
[ 17.727355] 9f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c050c8ec
[ 17.731781] 9f80: 519e99cc 00000000 00040000 00021148 00000080 c0013e28 deb88000 00000000
[ 17.735992] 9fa0: 00000000 c0013c80 00000000 00040000 40122000 0000d7c1 401e2d70 00021148
[ 17.740264] 9fc0: 00000000 00040000 00021148 00000080 00021218 0000d7c1 401e2d70 00000000
[ 17.744445] 9fe0: 402d21c0 be808990 401d9940 402d21d0 60000010 40122000 00000000 00000000
[ 17.748657] [<c0291808>] (omap_usbhs_enable+0xdc/0x508) from [<bf08876c>] (ehci_hcd_omap_probe+0x114/0x3f0 [ehci_hcd])
[ 17.757110] [<bf08876c>] (ehci_hcd_omap_probe+0x114/0x3f0 [ehci_hcd]) from [<c027e9fc>] (platform_drv_probe+0x18/0x1c)
[ 17.765960] [<c027e9fc>] (platform_drv_probe+0x18/0x1c) from [<c027d610>] (driver_probe_device+0x9c/0x1ac)
[ 17.775238] [<c027d610>] (driver_probe_device+0x9c/0x1ac) from [<c027d7ac>] (__driver_attach+0x8c/0x90)
[ 17.785034] [<c027d7ac>] (__driver_attach+0x8c/0x90) from [<c027c6f8>] (bus_for_each_dev+0x64/0x88)
[ 17.795166] [<c027c6f8>] (bus_for_each_dev+0x64/0x88) from [<c027cfe0>] (bus_add_driver+0x1ec/0x2ac)
[ 17.805633] [<c027cfe0>] (bus_add_driver+0x1ec/0x2ac) from [<c027dccc>] (driver_register+0x78/0x17c)
[ 17.816345] [<c027dccc>] (driver_register+0x78/0x17c) from [<bf09106c>] (ehci_hcd_init+0x6c/0xa0 [ehci_hcd])
[ 17.827392] [<bf09106c>] (ehci_hcd_init+0x6c/0xa0 [ehci_hcd]) from [<c000866c>] (do_one_initcall+0x34/0x174)
[ 17.838684] [<c000866c>] (do_one_initcall+0x34/0x174) from [<c006d41c>] (sys_init_module+0xe0/0x1b80)
[ 17.850433] [<c006d41c>] (sys_init_module+0xe0/0x1b80) from [<c0013c80>] (ret_fast_syscall+0x0/0x30)
[ 17.862518] Code: e34c3058 e5931000 e0802001 e594103c (e5916014)
[ 17.868774] ------------[ cut here ]------------
[ 17.874877] WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:161 omap3_l3_app_irq+0xe8/0x134()
[ 17.881317] In-band Error seen by MPU at address 0
[ 17.887603] Modules linked in: ehci_hcd(+) ipv6 fuse dm_mod ads7846 hwmon
[ 17.894927] [<c001a680>] (unwind_backtrace+0x0/0xf8) from [<c003f0dc>] (warn_slowpath_common+0x54/0x64)
[ 17.907958] [<c003f0dc>] (warn_slowpath_common+0x54/0x64) from [<c003f180>] (warn_slowpath_fmt+0x30/0x40)
[ 17.921020] [<c003f180>] (warn_slowpath_fmt+0x30/0x40) from [<c002ea30>] (omap3_l3_app_irq+0xe8/0x134)
[ 17.934173] [<c002ea30>] (omap3_l3_app_irq+0xe8/0x134) from [<c007b5dc>] (handle_irq_event_percpu+0x54/0x194)
[ 17.947357] [<c007b5dc>] (handle_irq_event_percpu+0x54/0x194) from [<c007b744>] (handle_irq_event+0x28/0x38)
[ 17.960510] [<c007b744>] (handle_irq_event+0x28/0x38) from [<c007d460>] (handle_level_irq+0x84/0x108)
[ 17.973693] [<c007d460>] (handle_level_irq+0x84/0x108) from [<c007aee0>] (generic_handle_irq+0x30/0x40)
[ 17.986846] [<c007aee0>] (generic_handle_irq+0x30/0x40) from [<c0014b54>] (handle_IRQ+0x38/0x84)
[ 17.993560] [<c0014b54>] (handle_IRQ+0x38/0x84) from [<c0013834>] (__irq_svc+0x34/0x78)
[ 18.000305] [<c0013834>] (__irq_svc+0x34/0x78) from [<c003f190>] (oops_exit+0x0/0x18)
[ 18.006988] [<c003f190>] (oops_exit+0x0/0x18) from [<0000000b>] (0xb)
[ 18.013488] ---[ end trace 8bf3d1efc00bd873 ]---
[ 18.020050] ---[ end trace 8bf3d1efc00bd874 ]---
[ 18.162170] gadget: using random self ethernet address
[ 18.168487] gadget: using random host ethernet address
[ 18.179840] usb0: MAC 3e:c8:49:d2:4f:72
[ 18.185791] usb0: HOST MAC 72:0c:ec:14:77:39
[ 18.197906] gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 18.205322] gadget: g_cdc ready
[ 18.223480] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 18.229248] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 18.235778] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 18.241455] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 18.246856] usb usb1: Product: MUSB HDRC host driver
[ 18.252166] usb usb1: Manufacturer: Linux 3.2.45 musb-hcd
[ 18.257293] usb usb1: SerialNumber: musb-hdrc
[ 18.273864] hub 1-0:1.0: USB hub found
[ 18.284088] hub 1-0:1.0: 1 port detected
[ 18.468261] zram: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.491210] zram: num_devices not specified. Using default: 1
[ 18.495880] zram: Creating 1 devices ...
[ 18.614257] Adding 65532k swap on /dev/zram0. Priority:5 extents:1 across:65532k SS
[ 97.855773] platform mpu.0: max OPP set to 3
[ 98.459075] input: nub0 as /devices/platform/omap_i2c.3/i2c-3/3-0066/input/input6
[ 98.511596] input: nub1 as /devices/platform/omap_i2c.3/i2c-3/3-0067/input/input7
[ 99.264160] SGX clock rate 200 MHz
[ 100.314392] ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 108.255432] Bluetooth: Core ver 2.16
[ 108.264373] NET: Registered protocol family 31
[ 108.264526] Bluetooth: HCI device and connection manager initialized
[ 108.264587] Bluetooth: HCI socket layer initialized
[ 108.264739] Bluetooth: L2CAP socket layer initialized
[ 108.264831] Bluetooth: SCO socket layer initialized
[ 585.450653] gadget: high-speed config #1: CDC Composite (ECM + ACM)
[ 585.526885] ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[ 596.472900] usb0: no IPv6 routers present
[ 616.780822] musb-hdrc musb-hdrc: remove, state 4
[ 616.783111] usb usb1: USB disconnect, device number 1
[ 616.793640] musb-hdrc musb-hdrc: USB bus 1 deregistered
[ 627.653839] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[ 627.655944] pgd = ddf40000
[ 627.657897] [00000004] *pgd=9de00831, *pte=00000000, *ppte=00000000
[ 627.660217] Internal error: Oops: 17 [#2]
[ 627.662200] Modules linked in: bluetooth zram(C) snd_pcm_oss snd_mixer_oss uinput ehci_hcd(+) ipv6 fuse dm_mod ads7846 hwmon [last unloaded: g_cdc]
[ 627.667449] CPU: 0 Tainted: G D WC O (3.2.45 #891)
[ 627.669677] PC is at ehci_halt.clone.49+0x4/0x60 [ehci_hcd]
[ 627.671844] LR is at ehci_silence_controller+0x10/0xc0 [ehci_hcd]
[ 627.674102] pc : [<bf08732c>] lr : [<bf08753c>] psr: 60000093
[ 627.674133] sp : dde39e50 ip : 00000000 fp : 00000000
[ 627.678558] r10: 00000000 r9 : dde38000 r8 : c0013e28
[ 627.680725] r7 : 00000072 r6 : c05e1d98 r5 : deac8908 r4 : deac8908
[ 627.682952] r3 : 00000000 r2 : de927c08 r1 : 00000000 r0 : deac890c
[ 627.685180] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 627.687500] Control: 10c5387d Table: 9df40019 DAC: 55555555
[ 627.689849] Process reboot (pid: 2279, stack limit = 0xdde382f0)
[ 627.692138] Stack: (0xdde39e50 to 0xdde3a000)
[ 627.694488] 9e40: deac8800 bf087614 bf0875ec de927c08
[ 627.696868] 9e60: de927c14 bf0861f8 bf0861d8 c027ea3c c027ea24 c027ba24 00000000 c05901ec
[ 627.699340] 9e80: 01234567 c004ee1c 00000000 c004efb0 ddd4b0b0 c05d8290 00034000 00000000
[ 627.701843] 9ea0: 00000000 00034000 dde39ef4 40010000 00000000 00000000 c09a36e0 00000000
[ 627.704284] 9ec0: 00000000 00000000 ddd4b6ec 00034000 00000000 ddd4b0b0 ddd4b108 ddd00780
[ 627.706848] 9ee0: 00000000 c00b08fc dde39f34 00000000 00000013 ddd00780 00000000 ddd4b0b0
[ 627.709442] 9f00: bf000000 00000000 00000000 00000400 dde37000 dcadfe88 00034000 ddd00780
[ 627.712097] 9f20: dde38000 00000000 00000000 00000000 00000000 dcadfe80 de54e080 de54ddc0
[ 627.714691] 9f40: de54ddc0 dcadfe80 dcadfe80 de54e080 de54ddc0 c00d1dfc 00000000 00000000
[ 627.717407] 9f60: deb66000 dcadfe80 deb66000 00000000 00000006 c0013e28 dcadfe80 deb66000
[ 627.720123] 9f80: 00000000 c00ceb0c 0000000f 00000000 00000000 00000001 00000001 00000000
[ 627.722869] 9fa0: 00000058 c0013c80 00000001 00000001 fee1dead 28121969 01234567 00000072
[ 627.725494] 9fc0: 00000001 00000001 00000000 00000058 000124fc 00000000 00000000 00000000
[ 627.728118] 9fe0: 4023a4b0 bef9fca0 00008ea0 4023a4c8 60000010 fee1dead 00000000 00000000
[ 627.730743] [<bf08732c>] (ehci_halt.clone.49+0x4/0x60 [ehci_hcd]) from [<bf08753c>] (ehci_silence_controller+0x10/0xc0 [ehci_hcd])
[ 627.735900] [<bf08753c>] (ehci_silence_controller+0x10/0xc0 [ehci_hcd]) from [<bf087614>] (ehci_shutdown+0x28/0x30 [ehci_hcd])
[ 627.741088] [<bf087614>] (ehci_shutdown+0x28/0x30 [ehci_hcd]) from [<bf0861f8>] (ehci_hcd_omap_shutdown+0x20/0x24 [ehci_hcd])
[ 627.746520] [<bf0861f8>] (ehci_hcd_omap_shutdown+0x20/0x24 [ehci_hcd]) from [<c027ea3c>] (platform_drv_shutdown+0x18/0x1c)
[ 627.752166] [<c027ea3c>] (platform_drv_shutdown+0x18/0x1c) from [<c027ba24>] (device_shutdown+0x84/0xc4)
[ 627.758117] [<c027ba24>] (device_shutdown+0x84/0xc4) from [<c004ee1c>] (kernel_restart+0xc/0x4c)
[ 627.761291] [<c004ee1c>] (kernel_restart+0xc/0x4c) from [<c004efb0>] (sys_reboot+0x14c/0x1ec)
[ 627.764556] [<c004efb0>] (sys_reboot+0x14c/0x1ec) from [<c0013c80>] (ret_fast_syscall+0x0/0x30)
[ 627.767822] Code: e3a01702 e5821024 e8bd8010 e5901000 (e5913004)
[ 627.771087] ---[ end trace 8bf3d1efc00bd875 ]---

No errors detected
Spoiler'd - Binky

It happens when i start usb stuff during the session.
 
Last edited by a moderator:
New USB wifi dongle, firmware missing. I'm on 1.54 + some updates.

dmesg


[ 80.074493] usb 2-2: new high-speed USB device number 2 using ehci-omap
[ 80.249786] usb 2-2: New USB device found, idVendor=148f, idProduct=5370
[ 80.249816] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 80.249816] usb 2-2: Product: 802.11 n WLAN
[ 80.249816] usb 2-2: Manufacturer: Ralink
[ 80.249847] usb 2-2: SerialNumber: 1.0
[ 80.427703] cfg80211: Calling CRDA to update world regulatory domain
[ 80.652313] usb 2-2: reset high-speed USB device number 2 using ehci-omap
[ 80.851104] ieee80211 phy0: Selected rate control algorithm 'pid'
[ 80.852294] Registered led device: rt2800usb-phy0::radio
[ 80.852508] Registered led device: rt2800usb-phy0::assoc
[ 80.852661] Registered led device: rt2800usb-phy0::quality
[ 80.853546] usbcore: registered new interface driver rt2800usb
[ 81.108123] udev: renamed network interface wlan0 to wlan1
[ 142.129516] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.


lsmod


rt2800usb 12447 0
rt2800lib 41437 1 rt2800usb
rt2x00usb 8322 1 rt2800usb
rt2x00lib 31930 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 223525 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 154825 2 rt2x00lib,mac80211

lsusb

Code:
Bus 002 Device 002: ID 148f:5370 Ralink Technology, Corp.
 
Hm, you normally don't switch kernels just because there are newer ones available. You would do, if there are some major bug fixes or new features the hardware could benefit from.

As I don't follow kernel development, is there something important new?
 
I follow new kernels features, and here and then i told myself some features would be cool on the OP.

Can't pinpoint anything from memory, but as you can imagine, there's a huge gap between 3.2 and 3.10.
 
Back
Top