Re: Panic in HVR-950q caused by changeset 11356

2009-04-28 Thread Josh Watzman
Devin Heitmueller wrote:
 I discussed it at length with Janneg on #linuxtv this morning.  A pull
 request has been submitted with the fix, marked high priority.

I just pulled and built from the main hg tree, and in a simple test it
did not oops on disconnect! Thanks for everyone's work, and I'll
continue to test over the next week or so and let you know if it happens
again.

(Also, thanks for the CC, and please continue to do so on anything
related to this issue; I unsubscribed from the list a few days ago due
to the relatively high traffic.)

Josh Watzman

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


BUG when unplugging EyeTV

2009-04-13 Thread Josh Watzman
Hello,

I'm hitting a kernel BUG when unplugging my EyeTV on a MacBook Pro.
According to the OS X software, it has an XC5000 tuner, AU8522
demodulator, and AU0828 controller; I hear that it is the same as the
Hauppage WinTV-HVR-950Q.

I'm running Debian sid with a locally-built 2.6.29.1 kernel. The only
modifications from the kernel.org vanilla kernel are the addition of
v4l-dvb drivers grabbed from hg today and wireless-testing also current
as of today.

The text of the BUG is pasted below; the BUG is consistently
reproducible either if I unplug the device or if I try to rmmod modules
(only did this once and not sure rmmod'ing which dvb module actually
caused it). I have unfortunately not checked to see how similar the BUG
reports end up over different trials.

If you need more context, see
http://www.contrib.andrew.cmu.edu/~jwatzman/eyetv/ for various parts of
dmesg. 1 was taken right after plugging it in; 2 after waiting a few
moments for the firmware to upload; 3 after successfully watching TV
for about an hour; and 4 after unplugging the device.

Let me know if you need more information!
Thanks,
Josh Watzman



[45664.805473] usb 1-3: USB disconnect, address 8
[45664.806201] BUG: unable to handle kernel NULL pointer dereference at
0008
[45664.806209] IP: [802506bb] prepare_to_wait+0x29/0x58
[45664.806222] PGD 7c9ed067 PUD 7c970067 PMD 0
[45664.806229] Oops: 0002 [#1] SMP
[45664.806234] last sysfs file: /sys/devices/platform/applesmc.768/light
[45664.806238] CPU 0
[45664.806241] Modules linked in: xc5000 tuner au8522 snd_usb_audio
snd_usb_lib snd_hwdep au0828 dvb_core videobuf_vmalloc videobuf_core
tveeprom v4l2_common radeon drm uvcvideo videodev v4l1_compat
v4l2_compat_ioctl32 ipv6 binfmt_misc cpufreq_conservative
cpufreq_userspace dm_mod cpufreq_stats cpufreq_powersave kvm_intel kvm
fuse cpufreq_ondemand acpi_cpufreq freq_table loop firewire_sbp2
snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss
snd_pcm snd_seq_dummy arc4 snd_seq_oss ecb snd_seq_midi snd_rawmidi
ath9k mac80211 snd_seq_midi_event snd_seq rfkill snd_timer
snd_seq_device joydev rtc_cmos snd video i2c_i801 rtc_core cfg80211
applesmc appletouch soundcore snd_page_alloc rng_core i2c_core rtc_lib
led_class ac battery pcspkr button output evdev input_polldev ext3 jbd
mbcache ide_cd_mod cdrom sd_mod ata_generic hid_apple ata_piix libata
scsi_mod ide_pci_generic firewire_ohci firewire_core piix crc_itu_t
ide_core uhci_hcd ehci_hcd sky2 intel_agp thermal processor fan usbhid hid
[45664.806377] Pid: 151, comm: khubd Not tainted 2.6.29.1 #1 MacBookPro2,2
[45664.806382] RIP: 0010:[802506bb]  [802506bb]
prepare_to_wait+0x29/0x58
[45664.806391] RSP: 0018:88007e0d3c00  EFLAGS: 00010046
[45664.806395] RAX:  RBX: 88007e0d3c20 RCX:

[45664.806400] RDX: 88007e0d3c38 RSI: 0246 RDI:
8053b8a8
[45664.806404] RBP: 8053b8a8 R08:  R09:
2451
[45664.806409] R10:  R11: 8800 R12:
0002
[45664.806413] R13: 88004c89 R14: a047f6b8 R15:

[45664.806418] FS:  () GS:8062()
knlGS:
[45664.806423] CS:  0010 DS: 0018 ES: 0018 CR0: 8005003b
[45664.806428] CR2: 0008 CR3: 37841000 CR4:
26e0
[45664.806432] DR0:  DR1:  DR2:

[45664.806437] DR3:  DR6: 0ff0 DR7:
0400
[45664.806442] Process khubd (pid: 151, threadinfo 88007e0d2000,
task 88007e06f990)
[45664.806445] Stack:
[45664.806448]  880074188190 880074188528 880037909c00
a0468ef5
[45664.806456]   88007e06f990 8025050a
88007e0d3c38
[45664.806464]  88007e0d3c38 88007e0d3c60 8800
880074188190
[45664.806473] Call Trace:
[45664.806477]  [a0468ef5] ? dvb_net_release+0x60/0xab [dvb_core]
[45664.806502]  [8025050a] ? autoremove_wake_function+0x0/0x2e
[45664.806510]  [a0478962] ? au0828_dvb_unregister+0x44/0xa6
[au0828]
[45664.806524]  [a0477036] ? au0828_usb_disconnect+0x36/0x86
[au0828]
[45664.806537]  [803b24de] ? usb_unbind_interface+0x5e/0xe5
[45664.806547]  [803a2148] ? __device_release_driver+0x83/0xa6
[45664.806555]  [803a2243] ? device_release_driver+0x21/0x2d
[45664.806561]  [803a1874] ? bus_remove_device+0xa8/0xca
[45664.806567]  [803a0233] ? device_del+0x132/0x16c
[45664.806574]  [803afd77] ? usb_disable_device+0x7d/0xf4
[45664.806581]  [803aba24] ? usb_disconnect+0x89/0x10e
[45664.806588]  [803ac971] ? hub_thread+0x663/0x1066
[45664.806594]  [8020a6c9] ? __switch_to+0xb4/0x399
[45664.806602]  [8025050a] ? autoremove_wake_function+0x0/0x2e
[45664.806609]  [803ac30e] ? hub_thread+0x0/0x1066
[45664.806615]  [80250197

Re: BUG when unplugging EyeTV

2009-04-13 Thread Josh Watzman
 Hello Josh,
 
 Thanks for the bug report.  Robert Krakora reported the same stack
 trace to me off-list over the weekend.  I've been tied up with some
 family business, but I intend to dig into it deeper this weekend.

No problem, take your time. I was quite pleased when the DVB worked on
the stock kernel and even more pleased when the analog worked with the
current hg tree. Thank you all for your work on these drivers.

 I didn't know that Elgato had a 950q clone (I did work on the original
 Elgato EyeTV device for Linux).  Could you please send me the output
 of lsusb -v so I can confirm precisely which device it is a clone
 of?

I'm not 100% sure it's a clone of that card, but everything seems to
match. The instructions for the 950q firmware on the wiki are what
originally allowed me to get it working.

The lsusb is quite long -- you can get it at
http://www.contrib.andrew.cmu.edu/~jwatzman/eyetv/lsusb and I've also
uploaded a screenshot of what the OS X software says the device is at
http://www.contrib.andrew.cmu.edu/~jwatzman/eyetv/eyetv.png if that
helps too.

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