Hi Christoph,

first of all thanks for the extensive debug information!

Can you try to compile your kernel without Mutex debugging and without
preempt statistics (both are options in the kernel hacking section of
the linux kernel.)

I also experience crashes if I have these debugging options enabled,
but that seems to be the fault of the debugging facility.

I added Greg and linux-usb-devel so that these guys can have a closer
look at it too.

Markus

On 7/8/07, Christoph <[EMAIL PROTECTED]> wrote:
> Hallo Markus!
>
> I'm using a Pinnacle PCTV DVB-T for several months now without serious
> problems.
> So far I used it only with my Notebook. Now I set up a Mini-ITX Machine with
> MythTV running 24/24h.
>
> The machine freezes ~36h ... black screen, even no sysrq. (Debian etch
> 2.6.18-4-k7).
> So I setup kexec, kernel 2.6.21, v4l 5877:e9a7be188b2b and now I got a
> backtrace:
>
> <1>[16645.528000] BUG: unable to handle kernel NULL pointer dereference at
> virtual address 0
> 0000068
> [...]
> [16645.528000] EIP is at end_unlink_async+0x1b/0xc5 [ehci_hcd]
> [16645.528000] eax: 00000060   ebx: de4f20dc   ecx: df912020   edx: df8f0b57
> [16645.528000] esi: 00000000   edi: de4f20dc   ebp: c58a9d4c   esp: c58a9d40
> [16645.528000] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
> [16645.528000] Process mythbackend (pid: 12863, ti=c58a8000 task=dbb3d070
> task.ti=c58a8000)
> [16645.528000] Stack: 00000020 00000000 de4f20dc c58a9dbc df8ed7d6 d74ba800
> de4f20dc de4f20d
> c
> [16645.528000]        dd9bd080 c58a9d78 df8ed22a de4f20dc 00000000 de4f20dc
> c58a9de8 df8ed7d
> 6
> [16645.528000]        000000bc c58a9d9c 00000292 00000000 00000000 c56ce254
> de4f20dc 0000000
> 0
> [16645.528000] Call Trace:
> [16645.528000]  [<c0104a3e>] show_trace_log_lvl+0x1a/0x2f
> [16645.528000]  [<c0104aee>] show_stack_log_lvl+0x9b/0xa3
> [16645.528000]  [<c0104cac>] show_registers+0x1b6/0x288
> [16645.528000]  [<c0104e68>] die+0xea/0x1bd
> [16645.528000]  [<c0113bcf>] do_page_fault+0x435/0x506
> [16645.528000]  [<c0289cbc>] error_code+0x74/0x7c
> [16645.528000]  [<df8ed7d6>] ehci_work+0x22/0x64b [ehci_hcd]
> [16645.528000]  [<df8f21b5>] ehci_irq+0x234/0x254 [ehci_hcd]
> [16645.528000]  [<df8a83af>] usb_hcd_irq+0x24/0x51 [usbcore]
> [16645.528000]  [<c013b3e2>] handle_IRQ_event+0x21/0x48
> [16645.528000]  [<c013c515>] handle_level_irq+0x5f/0x96
> [16645.528000]  [<c0105f8a>] do_IRQ+0x5c/0x7a
> [16645.528000]  [<c010453f>] common_interrupt+0x23/0x28
> [16645.528000]  [<c0140892>] free_hot_page+0xa/0xc
> [16645.528000]  [<c01408ae>] __free_pages+0x1a/0x25
> [16645.528000]  [<c014c0bc>] __vunmap+0xa2/0xcb
> [16645.528000]  [<c014c16f>] vfree+0x25/0x27
> [16645.528000]  [<dfb1e77b>] dvb_dvr_release+0x5b/0xb4 [dvb_core]
> [16645.528000]  [<c0155973>] __fput+0xa9/0x153
> [16645.528000]  [<c0155a33>] fput+0x16/0x18
> [16645.528000]  [<c01535cf>] filp_close+0x54/0x5c
> [16645.528000]  [<c0154597>] sys_close+0x57/0x8d
> [16645.528000]  [<c0103b30>] sysenter_past_esp+0x5d/0x81
> [16645.528000]  =======================
> [16645.528000] Code: e0 89 f8 e8 4c 4c 86 e0 83 c4 2c 5b 5e 5f c9 c3 55 89
> e5 57 56 53 89 c3
>  8b 70 14 0f ba b0 bc 00 00 00 01 8d 46 60 ba 57 0b 8f df <c6> 46 68 03 c7
> 46 48 00 00 00 00
>  e8 21 8d 8c e0 8b 7e 58 80 63
> [16645.528000] EIP: [<df8ed1da>] end_unlink_async+0x1b/0xc5 [ehci_hcd]
>
> Actually I'm not sure if it is irq gotcha of the ITX mainboard because it
> seems to
> have general timing problems. However, while crashing it passed the dvb code
> ...
> I'm not sure if it crashed above or below the TODO :)
>
> crash> l *dvb_dvr_release+0x5b
> 0xdfb1e77b is in dvb_dvr_release
> (/home/chris/Soft/v4l-5877/v4l/dmxdev.c:211).
> 206                             spin_unlock_irq(&dmxdev->lock);
> 207                             vfree(mem);
> 208                     }
> 209             }
> 210             /* TODO */
> 211             dvbdev->users--;
> 212             if(dvbdev->users==-1 && dmxdev->exit==1) {
> 213                     fops_put(file->f_op);
> 214                     file->f_op = NULL;
> 215                     mutex_unlock(&dmxdev->mutex);
>
> What do you think about that? Whats TODO?
>

nothing special anymore it can be removed; I had to do proper
useraccounting there, but the first step was to make the dvb-core
hotplug aware that it doesn't take down the whole machine if a device
crashes or disappears (eg. gets unplugged) for some reason.


> I attached some more information of the debugging session.
>
> regards
>
> chris
>
>
>
> lsusb
> Bus 002 Device 002: ID 051d:0002 American Power Conversion Back-UPS Pro
> 500/1000/1500
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 003: ID 086c:1003 DeTeWe - Deutsche Telephonwerke AG & Co.
> TA33 ISDN TA
> Bus 001 Device 001: ID 0000:0000
> Bus 003 Device 001: ID 0000:0000
> Bus 004 Device 005: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
> Bus 004 Device 004: ID eb1a:2870 eMPIA Technology, Inc.
> Bus 004 Device 001: ID 0000:0000
> uptime
> 19:00:53 up  2:56,  4 users,  load average: 0.02, 0.04, 0.03
> cat /proc/interrupts
>            CPU0
>   0:         53    XT-PIC-XT        timer
>   1:          8    XT-PIC-XT        i8042
>   2:          0    XT-PIC-XT        cascade
>   5:          0    XT-PIC-XT        SiS SI7012
>   6:          2    XT-PIC-XT        floppy
>   7:    1577871    XT-PIC-XT        ehci_hcd:usb4
>   8:          1    XT-PIC-XT        rtc
>   9:          1    XT-PIC-XT        acpi, ohci_hcd:usb3
>  10:       8134    XT-PIC-XT        ohci_hcd:usb1, eth0, eth1
>  11:     938551    XT-PIC-XT        libata, ohci_hcd:usb2, wifi0
>  12:        124    XT-PIC-XT        i8042
>  14:      31669    XT-PIC-XT        libata
>  15:          0    XT-PIC-XT        libata
> NMI:       1055
> LOC:    1577802
> ERR:        367
> MIS:          0
>


-- 
Markus Rechberger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to