Easily reproducible Linux 3.3.2 Oops in ehci_work().

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

 



Hello.

I can reliably reproduce an Oops on our Freescale 8347:e
with a Logitech webcam. Strange part is that I can only do
it using usb-audio, never with the same device using uvcvideo
or usb-storage.
It usually occurs within seconds of streaming from the
USB-audio device. I have ported everything on our platfrom from
our 2.6.32 kernel to 3.3.2. USB never gave me an issue on 2.6.32
and I can't figure out why it would die in ehci_work like this.

Unable to handle kernel paging request for data at address 0xbe903df8
Faulting instruction address: 0xc01f45d4
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT ASP8347E
Modules linked in:
NIP: c01f45d4 LR: c01f41b0 CTR: 00000008
REGS: c3ff7e30 TRAP: 0300   Not tainted  (3.3.2)
MSR: 00001032 <ME,IR,DR,RI>  CR: 24482422  XER: 20000000
DAR: be903df8, DSISR: 22000000
TASK = c31996e0[2261] 'cap' THREAD: c31aa000
GPR00: 00000000 c3ff7ee0 c31996e0 c3a0438c c3b03d80 c31b3ba0 00000000 00000000 
GPR08: be903dec 00000000 ffadffff c33b311c 44448484 1001a448 00000e68 c3a04328 
GPR16: 00000000 01000000 00000e60 000001cd 000001cd 00000730 c3a0438c c3a04390 
GPR24: c3a0f730 00000000 c3b72de0 c3a09f30 00000000 c3a042d8 00000000 c33b30a0 
NIP [c01f45d4] ehci_work+0x8f4/0xac4
LR [c01f41b0] ehci_work+0x4d0/0xac4
Call Trace:
[c3ff7ee0] [c01f41b0] ehci_work+0x4d0/0xac4 (unreliable)
[c3ff7f40] [c01f4c18] ehci_irq+0x284/0x2b4
[c3ff7f70] [c01dde24] usb_hcd_irq+0x44/0x6c
[c3ff7f80] [c005ba10] handle_irq_event_percpu+0x74/0x1b0
[c3ff7fc0] [c005bba0] handle_irq_event+0x54/0x90
[c3ff7fe0] [c005e338] handle_level_irq+0xa0/0x114
[c3ff7ff0] [c000dd48] call_handle_irq+0x18/0x28
[c31abf10] [c0005784] do_IRQ+0xe0/0x138
[c31abf40] [c000fb64] ret_from_except+0x0/0x14
--- Exception: 501 at 0xff1565c
    LR = 0xff15658
Instruction dump:
7cff3a14 55082036 38070004 7d044214 3908000c 7c00042c 74077000 932bff88 
408200e0 2f800000 419c00cc 5400853e <90e8000c> 90080008 81040058 7c080214 
---[ end trace c2cdbb4339c562c5 ]---

Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 180 seconds..
    
--- dmesg ---
Using ASP8347E machine description
Linux version 3.3.2 (emelchr@sekic2474) (gcc version 4.6.2 (crosstool-NG 1.14.1) ) #1 PREEMPT Wed May 2 08:46:56 CEST 2012
Found legacy serial port 0 for /soc8349@ff000000/serial@4500
  mem=ff004500, taddr=ff004500, irq=0, clk=265420800, speed=0
Found legacy serial port 1 for /soc8349@ff000000/serial@4600
  mem=ff004600, taddr=ff004600, irq=0, clk=265420800, speed=0
bootconsole [udbg0] enabled
DB FPGA at fddfe000
Found FSL PCI host bridge at 0x00000000ff008500. Firmware bus number: 0->0
PCI host bridge /pci@ff008500 (primary) ranges:
 MEM 0x00000000c0000000..0x00000000dfffffff -> 0x00000000c0000000 
  IO 0x00000000b8000000..0x00000000b80fffff -> 0x0000000000000000
Top of RAM: 0x4000000, Total RAM: 0x4000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA      0x00000000 -> 0x00004000
  Normal   empty
Movable zone start PFN for each node
Early memory PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c040dcc4, node_mem_map c043b000
  DMA zone: 128 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 16256 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: ttyS0,38400 root=/dev/mtdblock3 rootfstype=squashfs ro quiet
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60552k/65536k available (4032k kernel code, 4984k reserved, 160k data, 128k bss, 152k init)
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfdcfc000..0xfe000000  : early ioremap
  * 0xc5000000..0xfdcfc000  : vmalloc & ioremap
SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at c5000700
time_init: decrementer frequency = 66.355200 MHz
time_init: processor frequency   = 266.000000 MHz
clocksource: timebase mult[f120652] shift[24] registered
clockevent: decrementer mult[10fca786] shift[32] cpu[0]
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
gpiochip_add: registered GPIOs 224 to 255 on device: /soc8349@ff000000/gpio-controller@c00
gpiochip_add: registered GPIOs 192 to 223 on device: /soc8349@ff000000/gpio-controller@d00
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xc0000000-0xdfffffff]
pci 0000:00:00.0: [1957:0085] type 0 class 0x000b20
pci 0000:00:00.0: reg 10: [mem 0x00000000-0x000fffff]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff 64bit pref]
PCI: max bus depth: 0 pci_try_num: 1
pci_bus 0000:00: resource 4 [io  0x0000-0xfffff]
pci_bus 0000:00: resource 5 [mem 0xc0000000-0xdfffffff]
Registering ipic system core operations
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered (default)
usbcore: registered new interface driver udlfb
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xff004500 (irq = 16) is a 16550A
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xff004600 (irq = 17) is a 16550A
ff004500.serial: ttyS0 at MMIO 0xff004500 (irq = 16) is a 16550
ff004600.serial: ttyS1 at MMIO 0xff004600 (irq = 17) is a 16550
f0000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Searching for RedBoot partition table in f0000000.flash at offset 0x7fe0000
12 RedBoot partitions found on MTD device f0000000.flash
Creating 12 MTD partitions on "f0000000.flash":
0x000000000000-0x000000020000 : "(reserved)"
0x000000020000-0x000000080000 : "RedBoot"
0x000000080000-0x0000000a0000 : "flags1"
0x0000000a0000-0x0000024a0000 : "linux1"
0x0000024a0000-0x0000024c0000 : "flags2"
0x0000024c0000-0x0000048c0000 : "linux2"
0x0000048c0000-0x000007ac0000 : "conf"
0x000007ac0000-0x000007ae0000 : "bflags"
0x000007ae0000-0x000007fe0000 : "bimg"
0x000007fe0000-0x000007fff000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
0x000007fff000-0x000008000000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
0x000000000000-0x000008000000 : "fullmtd"
fsl_spi ff007000.spi: at 0xcd0a2000 (irq = 20), CPU mode
Fixed MDIO Bus: probed
Freescale PowerQUICC MII Bus: probed
fsl-gianfar ff024000.ethernet: eth0: mac: 00:00:00:00:00:00
fsl-gianfar ff024000.ethernet: eth0: Running with NAPI enabled
fsl-gianfar ff024000.ethernet: eth0: RX BD ring size for Q[0]: 256
fsl-gianfar ff024000.ethernet: eth0: TX BD ring size for Q[0]: 256
fsl-gianfar ff025000.ethernet: eth1: mac: c8:35:b8:81:34:bc
fsl-gianfar ff025000.ethernet: eth1: Running with NAPI enabled
fsl-gianfar ff025000.ethernet: eth1: RX BD ring size for Q[0]: 256
fsl-gianfar ff025000.ethernet: eth1: TX BD ring size for Q[0]: 256
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
hso: drivers/net/usb/hso.c: Option Wireless
usbcore: registered new interface driver hso
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 39, io mem 0xff022000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbtouchscreen
i2c /dev entries driver
mpc-i2c ff003100.i2c: timeout 1000000 us
at24 0-0050: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
mpc-i2c ff003000.i2c: timeout 1000000 us
rtc-ds1307 1-0068: rtc core: registered ds1337 as rtc0
Linux video capture interface: v2.00
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
Driver for 1-wire Dallas network protocol.
DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
ESC WDOG: Activating base timer.
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Distributed Switch Architecture driver version 0.1
eth1[0]: detected a Marvell 88E6095/88E6095F switch
dsa slave smi: probed
FPGA [0xf8000000..0xf81fffff] at 0xcd100000
ADC registers at cd120010
serial8250.1: ttyS2 at MMIO 0xf8010010 (irq = 25) is a TI16750
serial8250.1: ttyS3 at MMIO 0xf8010000 (irq = 24) is a TI16750
serial8250.1: ttyS4 at MMIO 0xf8010030 (irq = 27) is a TI16750
serial8250.1: ttyS5 at MMIO 0xf8010020 (irq = 26) is a TI16750
rtc-ds1307 1-0068: setting system clock to 2012-05-02 07:19:17 UTC (1335943157)
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 152k freed
usb 1-1: new high-speed USB device number 2 using fsl-ehci
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
usb 1-1.1: new high-speed USB device number 3 using fsl-ehci
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0809)
input: UVC Camera (046d:0809) as /devices/ff000000.soc8349/ff022000.usb/fsl-ehci.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
set resolution quirk: cval->res = 384
device eth1 entered promiscuous mode
PHY: fixed-0:02 - Link is Up - 1000/Full
lan2.1: link up, 100 Mb/s, full duplex, flow control disabled


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux