Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raw1394 soft lockup while capturing DV
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Sat Mar 24, 2007 5:24 pm    Post subject: Raw1394 soft lockup while capturing DV Reply with quote

Here's the SitRep:

I'm on an ACER 5040 laptop with a PCMCIA card for my Firewire port. It's one of those generic IEEE1394a/USB2 combo cards from CompUSA. I have a Canon MiniDV camera that I'm trying to capture video from using dvgrab.

I can control the Canon over firewire. However, when I try to capture from it, my laptop locks up. I have the same problem when I use Kino to capture. I can get the first few seconds of video, but then the computer completely freezes.

In a desperate move when it locked, I pulled the PCMCIA card. The laptop came back this way:

dmesg:
Quote:
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[177] MMIO=[34000000-340007ff] Max Packet=[1024] IR/IT contexts=[4/8]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011060000003837]
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
ieee1394: Node added: ID:BUS[0-00:1023] GUID[00008500007a93d1]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: raw1394: /dev/raw1394 device initialized
BUG: soft lockup detected on CPU#0!
<c013b922> softlockup_tick+0x9c/0xb1 <c0124f6e> update_process_times+0x3c/0x61
<c010ee8e> smp_apic_timer_interrupt+0x4f/0x59 <c013b9b2> handle_IRQ_event+0x17/0x4e
<c0103444> apic_timer_interrupt+0x1c/0x24 <c013b9b2> handle_IRQ_event+0x17/0x4e
<c013ba66> __do_IRQ+0x7d/0xd3 <c0104ef9> do_IRQ+0x4f/0x5d
<c01033b6> common_interrupt+0x1a/0x20 <c013b9b2> handle_IRQ_event+0x17/0x4e
<c013ba66> __do_IRQ+0x7d/0xd3 <c0104eec> do_IRQ+0x42/0x5d
=======================
<c01033b6> common_interrupt+0x1a/0x20
uhci_hcd 0000:07:00.0: host system error, PCI problems?
uhci_hcd 0000:07:00.0: host controller process error, something bad happened!
uhci_hcd 0000:07:00.1: host system error, PCI problems?
uhci_hcd 0000:07:00.1: host controller process error, something bad happened!
ehci_hcd 0000:07:00.2: HC died; cleaning up
uhci_hcd 0000:07:00.0: host system error, PCI problems?
uhci_hcd 0000:07:00.0: host controller process error, something bad happened!
uhci_hcd 0000:07:00.0: host controller halted, very bad!
uhci_hcd 0000:07:00.0: HCRESET not completed yet!
uhci_hcd 0000:07:00.0: HC died; cleaning up
uhci_hcd 0000:07:00.1: host system error, PCI problems?
uhci_hcd 0000:07:00.1: host controller process error, something bad happened!
uhci_hcd 0000:07:00.1: host controller halted, very bad!
uhci_hcd 0000:07:00.1: HCRESET not completed yet!
uhci_hcd 0000:07:00.1: HC died; cleaning up
pccard: card ejected from slot 0
uhci_hcd 0000:07:00.0: remove, state 0
usb usb4: USB disconnect, address 1
uhci_hcd 0000:07:00.0: USB bus 4 deregistered
uhci_hcd 0000:07:00.1: remove, state 0
usb usb5: USB disconnect, address 1
uhci_hcd 0000:07:00.1: USB bus 5 deregistered
ehci_hcd 0000:07:00.2: remove, state 0
usb usb6: USB disconnect, address 1
ehci_hcd 0000:07:00.2: USB bus 6 deregistered
ieee1394: Node removed: ID:BUS[0-01:1023] GUID[0011060000003837]
ieee1394: Node removed: ID:BUS[0-00:1023] GUID[00008500007a93d1]
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
dcd1348a
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in: dv1394 raw1394 eth1394 ohci1394 ieee1394 vmnet vmmon rfcomm l2cap snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device wlan_scan_sta ath_pci ath_rate_sample wlan ath_hal acer_acpi acerhk realtime snd_hda_intel snd_hda_codec snd_pcm snd_timer snd snd_page_alloc
CPU: 0
EIP: 0060:[<dcd1348a>] Tainted: PF VLI
EFLAGS: 00210286 (2.6.17-gentoo-r8 #15)
EIP is at dv1394_remove_host+0x1b/0xc6 [dv1394]
eax: dcc98a04 ebx: 00000000 ecx: 00000000 edx: cf2bc000
esi: 00000000 edi: dcd14a0f ebp: cf2be138 esp: dbd17ebc
ds: 007b es: 007b ss: 0068
Process pccardd (pid: 377, threadinfo=dbd17000 task=dbd18550)
Stack: dcd165e0 cf2bc000 dcd165e0 dcc86466 cf2bc000 00000000 dcd165e0 cf2bc000
cf2be138 cf2be138 dcc86565 cf2bc000 cf2be368 dcc860b4 cf2bc000 db209c00
dcc3beca cf2bc000 db209c00 db209c48 dcc425ec db9fd028 c0339be1 db209c00
Call Trace:
<dcc86466> __unregister_host+0x18/0x8f [ieee1394] <dcc86565> highlevel_remove_host+0x27/0x51 [ieee1394]
<dcc860b4> hpsb_remove_host+0x3b/0x60 [ieee1394] <dcc3beca> ohci1394_pci_remove+0x48/0x1e8 [ohci1394]
<c0339be1> pci_device_remove+0x19/0x2c <c03a8f2a> __device_release_driver+0x62/0x78
<c03a9120> device_release_driver+0x19/0x28 <c03a8885> bus_remove_device+0x77/0x8f
<c03a7c70> device_del+0x3c/0x6b <c03a7caa> device_unregister+0xb/0x16
<c033815d> pci_remove_bus_device+0x3c/0xd9 <c0338217> pci_remove_behind_bridge+0x1d/0x32
<c03e1e35> socket_shutdown+0x68/0xf3 <c03e2364> pccardd+0x147/0x1f1
<c0117aa7> default_wake_function+0x0/0x15 <c03e221d> pccardd+0x0/0x1f1
<c0100c25> kernel_thread_helper+0x5/0xb
Code: dc e8 24 0a 78 e3 89 da 89 5e 7c eb db 5b 5e c3 57 bf 0f 4a d1 dc 56 53 8b 44 24 10 8b 98 34 21 00 00 8b 80 2c 21 00 00 8b 70 04 <ac> ae 75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 0f 85 8f
EIP: [<dcd1348a>] dv1394_remove_host+0x1b/0xc6 [dv1394] SS:ESP 0068:dbd17ebc


The last half is probably an oops because the hardware suddenly wasn't there. I'm not sure what the first half is, but it seems to be ACPI-related.

All the Kernel options for IEEE1934 are compiled as modules, but I've tried this with all the modules compiled into the kernel as well.

I'm using 2.6.17-gentoo-r8. (I know there are newer kernels available, but because this is an Acer laptop, I have to use freaky addons like acer-acpi and acerhk to get the laptop to work at all, and they aren't supported in newer kernels as far as I know. Bummer.)

I'd like to capture video from the camera, but these lockups are obviously a problem. Any ideas, anyone?

Or does anyone else have an Acer 5040 configured to work solidly with newer kernels?
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 701
Location: The Netherlands

PostPosted: Mon Mar 26, 2007 11:43 am    Post subject: Reply with quote

Do you use hyperthreading?
Back to top
View user's profile Send private message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Tue May 22, 2007 2:58 pm    Post subject: Reply with quote

I don't think I have hyperthreading going, but I'm not familiar enough with that technology to know.

I'm about to rebuild my kernel with the 2.6.20 gentoo sources, in the hopes that will work ... I've been languishing on 2.6.17 for a while because of other issues with Acer that I don't want to risk bringing upon myself. At this point, though, it's this or nothing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum