Discussion:
[Em28xx] dvb-core random crashes
Christian Hoffmann
2007-12-08 20:32:27 UTC
Permalink
Hi,
I am running into a similar crash with a dvb t receiver in end_async_unlink as
reported some month ago on this ML.

PID: 0 TASK: ffffffff804b7870 CPU: 0 COMMAND: "swapper"
#0 [ffffffff80624b10] machine_kexec at ffffffff8021c00d
#1 [ffffffff80624bc0] crash_kexec at ffffffff80255dbe
#2 [ffffffff80624c80] do_page_fault at ffffffff803fde21
#3 [ffffffff80624d90] error_exit at ffffffff803fc0fd
[exception RIP: end_unlink_async+34]
RIP: ffffffff8811d20a RSP: ffffffff80624e48 RFLAGS: 00010202
RAX: 0000000000010029 RBX: ffff81007e098178 RCX: 0000000000000000
RDX: 0000000000008028 RSI: ffffffff8811fe7e RDI: 0000000000000080
RBP: 0000000000000000 R8: 0000000000000000 R9: ffffffff8047dc64
R10: ffff8100022ffc48 R11: 0000000000000246 R12: 0000000000000000
R13: ffff81007e098178 R14: ffff81007e098000 R15: 0000000000000000
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#4 [ffffffff80624e60] ehci_work at ffffffff8811d78b
#5 [ffffffff80624ed0] ehci_irq at ffffffff88120d0f
#6 [ffffffff80624f20] usb_hcd_irq at ffffffff880ded82
#7 [ffffffff80624f30] handle_IRQ_event at ffffffff802603e8
#8 [ffffffff80624f60] handle_fasteoi_irq at ffffffff802618b6
#9 [ffffffff80624f90] do_IRQ at ffffffff8020c136
--- <IRQ stack> ---
#10 [ffffffff805c7e88] ret_from_intr at ffffffff8020a141
[exception RIP: acpi_safe_halt+40]
RIP: ffffffff88003dc6 RSP: ffffffff805c7f30 RFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff81007e6760a8 RCX: ffffffff8047dde4
RDX: 0000000000000007 RSI: 00000000000001c6 RDI: 0000000004000000
RBP: 0000000000000000 R8: 0000000000000002 R9: ffffffff8047dc64
R10: ffff8100022ffc48 R11: 0000000000000246 R12: ffffffff805c7f14
R13: 0000000000001001 R14: ffffffff80332334 R15: 0000000000000000
ORIG_RAX: ffffffffffffff86 CS: 0010 SS: 0018
#11 [ffffffff805c7f30] acpi_processor_idle at ffffffff88003ff9
#12 [ffffffff805c7f70] cpu_idle at ffffffff80208daf
crash>

...
DIGITAL TV REQUEST
DIGITAL TV REQUEST
DIGITAL TV REQUEST
DIGITAL TV REQUEST
Unable to handle kernel NULL pointer dereference at 0000000000000088 RIP:
[<ffffffff8811d20a>] :ehci_hcd:end_unlink_async+0x22/0xed
PGD 46866067 PUD 46867067 PMD 0
Oops: 0002 [1] SMP
last sysfs file: /devices/pci0000:00/0000:00:14.4/0000:06:02.0/rf_kill
CPU 0
Modules linked in: qt1010 mt2060 mt352 zl10353 em2880_dvb dvb_core
em28xx_audio xc3028_tuner tvp5150 tuner em28xx compat_ioctl32 ir_common
videodev v4l2_common v4l1_compat tveeprom appletalk ax25 ipx p8023 eeprom
ircomm_tty ircomm iptable_filter ip_tables ip6_tables x_tables snd_pcm_oss
snd_mixer_oss snd_seq snd_seq_device af_packet cpufreq_conservative
cpufreq_userspace cpufreq_powersave powernow_k8 fuse apparmor loop dm_mod
pcmcia ipw2200 ide_cd tifm_7xx1 tifm_core ieee80211 ieee80211_crypt
firmware_class ohci1394 container dock battery ac yenta_socket rtc_cmos
ieee1394 cdrom snd_atiixp rsrc_nonstatic rtc_core i2c_piix4 snd_atiixp_modem
rtc_lib snd_ac97_codec ac97_bus button pcmcia_core snd_pcm snd_timer tg3 snd
parport_pc fglrx(P) parport soundcore k8temp hwmon serio_raw joydev
snd_page_alloc irda crc_ccitt ehci_hcd ide_disk ohci_hcd usbcore radeonfb
fb_ddc i2c_algo_bit i2c_core edd ext3 mbcache jbd fan atiixp ide_core thermal
processor
Pid: 0, comm: swapper Tainted: P N 2.6.22.13-0.3-default #1
RIP: 0010:[<ffffffff8811d20a>]
[<ffffffff8811d20a>] :ehci_hcd:end_unlink_async+0x22/0xed
RSP: 0018:ffffffff80624e48 EFLAGS: 00010202
RAX: 0000000000010029 RBX: ffff81007e098178 RCX: 0000000000000000
RDX: 0000000000008028 RSI: ffffffff8811fe7e RDI: 0000000000000080
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8047dc64
R10: ffff8100022ffc48 R11: 0000000000000246 R12: 0000000000000000
R13: ffff81007e098178 R14: ffff81007e098000 R15: 0000000000000000
FS: 0000000040800950(0000) GS:ffffffff80500000(0000) knlGS:00000000f7e6e6c0
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000088 CR3: 0000000046865000 CR4: 00000000000006e0
Process swapper (pid: 0, threadinfo ffffffff805c6000, task ffffffff804b7870)
Stack: ffff81007e098000 ffff81007e098178 0000000000000000 ffffffff8811d78b
ffff81007e143120 ffff81007e7bc240 0000024100000800 0000000000000120
0000000000000240 0000000180617800 0000024100000001 ffff81007e098000
Call Trace:
<IRQ> [<ffffffff8811d78b>] :ehci_hcd:ehci_work+0x25/0x6bd
[<ffffffff88120d0f>] :ehci_hcd:ehci_irq+0x15a/0x188
[<ffffffff880ded82>] :usbcore:usb_hcd_irq+0x24/0x52
[<ffffffff802603e8>] handle_IRQ_event+0x25/0x53
[<ffffffff802618b6>] handle_fasteoi_irq+0x94/0xd0
[<ffffffff80208ce4>] default_idle+0x0/0x3d
[<ffffffff8020c136>] do_IRQ+0x6c/0xd6
[<ffffffff88003e4d>] :processor:acpi_processor_idle+0x0/0x48b
[<ffffffff8020a141>] ret_from_intr+0x0/0xa
<EOI> [<ffffffff88003dc6>] :processor:acpi_safe_halt+0x28/0x39
[<ffffffff88003ff9>] :processor:acpi_processor_idle+0x1ac/0x48b
[<ffffffff88003e4d>] :processor:acpi_processor_idle+0x0/0x48b
[<ffffffff80208ce4>] default_idle+0x0/0x3d
[<ffffffff80208daf>] cpu_idle+0x8e/0xb1
[<ffffffff805d077b>] start_kernel+0x2cf/0x2db
[<ffffffff805d0148>] _sinittext+0x148/0x14c


Code: c6 85 88 00 00 00 03 48 c7 45 50 00 00 00 00 e8 a8 95 1d f8
RIP [<ffffffff8811d20a>] :ehci_hcd:end_unlink_async+0x22/0xed
RSP <ffffffff80624e48>
crash>


Having added as earlier suggested ...
drivers/usb/host/ehci-hcd.c:611
/* complete the unlinking of some qh [4.15.2.3] */
if (status & STS_IAA) {
if (ehci->reclaim) {
COUNT (ehci->stats.reclaim);
ehci->reclaim_ready = 1;
bh = 1;
} else {
printk(KERN_ERR "AUA: ehci reclaim NULL status: %u\n", status);
}
}

I see now in dmesg
AUA: ehci reclaim NULL status 32 or sometimes 33

I use 2.6.22.13-0.3-default on an Acer Laptop. ATI chipset. Anything
else I can provide?

Regards,

Chris

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Loading...