public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Multiple USB DVB devices cause hard lockups
@ 2005-11-09 13:59 Hugo Mills
  2005-11-09 14:33 ` [linux-dvb-maintainer] " hunold
  2005-11-20  2:17 ` Johannes Stezenbach
  0 siblings, 2 replies; 5+ messages in thread
From: Hugo Mills @ 2005-11-09 13:59 UTC (permalink / raw)
  To: linux-dvb-maintainer, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3842 bytes --]

   I'm trying to get a pair of Twinhan Alpha II DVB-USB devices
working on the same machine. With a single device plugged in, I can
quite easily receive and stream data.

   With both devices connected to the machine, both are recognised.
However, use of either device causes some form of stack backtrace (I
can't see the top of it to verify what kind) from the kernel, and a
hard lock-up. Magic SysRQ is non-functional after the lock-up. Failure
cases that I've seen are:

 - Streaming from device 0 is OK for a few seconds, and then the
   system locks hard.

 - Streaming from device 0 is OK. Streaming from device 1 before
   device 0 crashes locks the device 1 process in D state, and then
   locks the system hard a few seconds later.

   I've observed this behaviour on both 2.6.12.2 and 2.6.14. No logs
were left from the crashes, and only incomplete information on screen,
so I presume that I'll need to get a serial console set up to capture
output. A log of the devices being identified on boot-up is attached
below, for what it's worth (probably not much).

   Hugo.

Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: EHCI Host Controller
Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: new USB bus registered, assigned bus number 1
Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: irq 12, io mem 0xd4000000
Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: park 0
Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
Nov  9 11:49:48 src@vlad kernel: hub 1-0:1.0: USB hub found
Nov  9 11:49:48 src@vlad kernel: hub 1-0:1.0: 5 ports detected
Nov  9 11:49:48 src@vlad kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2
Nov  9 11:49:48 src@vlad kernel: usb 1-3: new high speed USB device using ehci_hcd and address 3
Nov  9 11:49:48 src@vlad kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)' in warm state.
Nov  9 11:49:48 src@vlad kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Nov  9 11:49:48 src@vlad kernel: DVB: registering new adapter (Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)).
Nov  9 11:49:48 src@vlad kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Nov  9 11:49:48 src@vlad kernel: DVB: registering frontend 0 (Twinhan VP7045/46 USB DVB-T)...
Nov  9 11:49:48 src@vlad kernel: dvb-usb: schedule remote query interval to 400 msecs.
Nov  9 11:49:48 src@vlad kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) successfully initialized and connected.
Nov  9 11:49:48 src@vlad kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)' in warm state.
Nov  9 11:49:48 src@vlad kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Nov  9 11:49:48 src@vlad kernel: DVB: registering new adapter (Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)).
Nov  9 11:49:48 src@vlad kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Nov  9 11:49:48 src@vlad kernel: DVB: registering frontend 1 (Twinhan VP7045/46 USB DVB-T)...
Nov  9 11:49:48 src@vlad kernel: dvb-usb: schedule remote query interval to 400 msecs.
Nov  9 11:49:48 src@vlad kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) successfully initialized and connected.
Nov  9 11:49:48 src@vlad kernel: usbcore: registered new driver dvb_usb_vp7045
Nov  9 11:49:48 src@vlad kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
     --- "Your problem is that you have a negative personality." ---     
                             "No,  I don't!"                             

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb-maintainer] Multiple USB DVB devices cause hard lockups
  2005-11-09 13:59 Multiple USB DVB devices cause hard lockups Hugo Mills
@ 2005-11-09 14:33 ` hunold
  2005-11-20  2:17 ` Johannes Stezenbach
  1 sibling, 0 replies; 5+ messages in thread
From: hunold @ 2005-11-09 14:33 UTC (permalink / raw)
  To: Hugo Mills; +Cc: linux-kernel, linux-dvb@linuxtv.org

Hello Hugo, 

Hugo Mills writes:
>    I'm trying to get a pair of Twinhan Alpha II DVB-USB devices
> working on the same machine. With a single device plugged in, I can
> quite easily receive and stream data. 
> 
>    With both devices connected to the machine, both are recognised.
> However, use of either device causes some form of stack backtrace (I
> can't see the top of it to verify what kind) from the kernel, and a
> hard lock-up. Magic SysRQ is non-functional after the lock-up. Failure
> cases that I've seen are:

Thank you for your report. I forwarded the mail to the linux-dvb mailing 
list. Hopefully somebody is able to help you. 

Please consider subscribing to the linux-dvb mailing list:
http://www.linuxtv.org/cgi-bin/mailman/listinfo 

>    Hugo.

CU
Michael. 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb-maintainer] Multiple USB DVB devices cause hard lockups
  2005-11-09 13:59 Multiple USB DVB devices cause hard lockups Hugo Mills
  2005-11-09 14:33 ` [linux-dvb-maintainer] " hunold
@ 2005-11-20  2:17 ` Johannes Stezenbach
  2005-11-21  8:52   ` Patrick Boettcher
  1 sibling, 1 reply; 5+ messages in thread
From: Johannes Stezenbach @ 2005-11-20  2:17 UTC (permalink / raw)
  To: Hugo Mills, linux-dvb-maintainer, linux-kernel; +Cc: Patrick Boettcher

On Wed, Nov 09, 2005 Hugo Mills wrote:
>    I'm trying to get a pair of Twinhan Alpha II DVB-USB devices
> working on the same machine. With a single device plugged in, I can
> quite easily receive and stream data.
> 
>    With both devices connected to the machine, both are recognised.
> However, use of either device causes some form of stack backtrace (I
> can't see the top of it to verify what kind) from the kernel, and a
> hard lock-up. Magic SysRQ is non-functional after the lock-up. Failure
> cases that I've seen are:

Maybe Patrick can comment, I believe he tested with multiple
USB devices.
I can't do much with this report without the kernel messages :-(

Johannes


>  - Streaming from device 0 is OK for a few seconds, and then the
>    system locks hard.
> 
>  - Streaming from device 0 is OK. Streaming from device 1 before
>    device 0 crashes locks the device 1 process in D state, and then
>    locks the system hard a few seconds later.
> 
>    I've observed this behaviour on both 2.6.12.2 and 2.6.14. No logs
> were left from the crashes, and only incomplete information on screen,
> so I presume that I'll need to get a serial console set up to capture
> output. A log of the devices being identified on boot-up is attached
> below, for what it's worth (probably not much).
> 
>    Hugo.
> 
> Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: EHCI Host Controller
> Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: new USB bus registered, assigned bus number 1
> Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: irq 12, io mem 0xd4000000
> Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: park 0
> Nov  9 11:49:48 src@vlad kernel: ehci_hcd 0000:00:0c.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
> Nov  9 11:49:48 src@vlad kernel: hub 1-0:1.0: USB hub found
> Nov  9 11:49:48 src@vlad kernel: hub 1-0:1.0: 5 ports detected
> Nov  9 11:49:48 src@vlad kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2
> Nov  9 11:49:48 src@vlad kernel: usb 1-3: new high speed USB device using ehci_hcd and address 3
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)' in warm state.
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
> Nov  9 11:49:48 src@vlad kernel: DVB: registering new adapter (Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)).
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
> Nov  9 11:49:48 src@vlad kernel: DVB: registering frontend 0 (Twinhan VP7045/46 USB DVB-T)...
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: schedule remote query interval to 400 msecs.
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) successfully initialized and connected.
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)' in warm state.
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
> Nov  9 11:49:48 src@vlad kernel: DVB: registering new adapter (Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)).
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
> Nov  9 11:49:48 src@vlad kernel: DVB: registering frontend 1 (Twinhan VP7045/46 USB DVB-T)...
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: schedule remote query interval to 400 msecs.
> Nov  9 11:49:48 src@vlad kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) successfully initialized and connected.
> Nov  9 11:49:48 src@vlad kernel: usbcore: registered new driver dvb_usb_vp7045
> Nov  9 11:49:48 src@vlad kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> 
> -- 
> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
>   PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
>      --- "Your problem is that you have a negative personality." ---     
>                              "No,  I don't!"                             



> _______________________________________________
> linux-dvb-maintainer mailing list
> linux-dvb-maintainer@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb-maintainer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb-maintainer] Multiple USB DVB devices cause hard    lockups
  2005-11-20  2:17 ` Johannes Stezenbach
@ 2005-11-21  8:52   ` Patrick Boettcher
  2005-11-21 15:10     ` Hugo Mills
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Boettcher @ 2005-11-21  8:52 UTC (permalink / raw)
  To: Johannes Stezenbach
  Cc: Hugo Mills, linux-dvb-maintainer, linux-kernel, Jeremy Nysen

Jeremy, I added you to this discussion, because obviously you are 
suffering the same problem.

On Sun, 20 Nov 2005, Johannes Stezenbach wrote:
>>    I'm trying to get a pair of Twinhan Alpha II DVB-USB devices
>> working on the same machine. With a single device plugged in, I can
>> quite easily receive and stream data.
>
> Maybe Patrick can comment, I believe he tested with multiple
> USB devices.

Sorry Johannes, that it seems I'm always waiting for your alarm to make me 
write a Mail - but this time I cannot add anything to find the problem - 
or maybe I can - not sure :):

I tested it with multiple dvb-usb devices in parallel - but never with 2 
Twinhan Alpha boxes.

Just a thought: Hugo, can you enable dvb-usb-debug and load the dvb-usb.ko 
with parameter debug=9 .

Then start the transfer and your syslog will be filled with messages of 
returning USB-buffers and their sizes. Try to catch some lines from both 
devices and send them here.

regards,
Patrick.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb-maintainer] Multiple USB DVB devices cause hard lockups
  2005-11-21  8:52   ` Patrick Boettcher
@ 2005-11-21 15:10     ` Hugo Mills
  0 siblings, 0 replies; 5+ messages in thread
From: Hugo Mills @ 2005-11-21 15:10 UTC (permalink / raw)
  To: Patrick Boettcher
  Cc: Johannes Stezenbach, Hugo Mills, linux-dvb-maintainer,
	linux-kernel, Jeremy Nysen

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

On Mon, Nov 21, 2005 at 09:52:20AM +0100, Patrick Boettcher wrote:
> On Sun, 20 Nov 2005, Johannes Stezenbach wrote:
> >>   I'm trying to get a pair of Twinhan Alpha II DVB-USB devices
> >>working on the same machine. With a single device plugged in, I can
> >>quite easily receive and stream data.
> >
> >Maybe Patrick can comment, I believe he tested with multiple
> >USB devices.
> 
> Sorry Johannes, that it seems I'm always waiting for your alarm to make me 
> write a Mail - but this time I cannot add anything to find the problem - 
> or maybe I can - not sure :):
> 
> I tested it with multiple dvb-usb devices in parallel - but never with 2 
> Twinhan Alpha boxes.
> 
> Just a thought: Hugo, can you enable dvb-usb-debug and load the dvb-usb.ko 
> with parameter debug=9 .
> 
> Then start the transfer and your syslog will be filled with messages of 
> returning USB-buffers and their sizes. Try to catch some lines from both 
> devices and send them here.

   Yes, I'll try that. It'll be tomorrow evening (GMT), though, as I'm
out this evening. I'll also try to get a serial console running so I
can try to capture the full oops text.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- You've read the project plan.  Forget that. We're going to Do ---  
                      Stuff and Have Fun doing it.                       

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-21 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09 13:59 Multiple USB DVB devices cause hard lockups Hugo Mills
2005-11-09 14:33 ` [linux-dvb-maintainer] " hunold
2005-11-20  2:17 ` Johannes Stezenbach
2005-11-21  8:52   ` Patrick Boettcher
2005-11-21 15:10     ` Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox