public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Toth <stoth@linuxtv.org>
To: Jon Lowe <jonlowe@aol.com>
Cc: video4linux-list@redhat.com
Subject: Re: [BUG] HVR-1500 Hot swap causes lockup
Date: Thu, 24 Apr 2008 10:03:20 -0400	[thread overview]
Message-ID: <48109328.7000008@linuxtv.org> (raw)
In-Reply-To: <8CA7429B5FF15EF-9C8-FC@mblk-d14.sysops.aol.com>

Jon Lowe wrote:
> The problem is taking the card out.  That is when it hangs up.  If there 
> is a gui way in Linux (Ubuntu) to stop a card to safely remove it ala 
> Windows, I haven't found it.  Frankly, I haven't tried putting the card 
> in while Linux is running.  I always boot with it in place. I guess I 
> assumed Linux wouldn't see it and load the drivers unless I booted with 
> it in.  Am I wrong?
> 
> Also, has anyone gotten this card to work in analog mode in Linux?
> 
> Thanks.
> 
> Jon Lowe
> 
> 
> -----Original Message-----
> From: Steven Toth <stoth@linuxtv.org>
> To: Brandon Philips <brandon@ifup.org>
> Cc: Jon Lowe <jonlowe@aol.com>; v4l <video4linux-list@redhat.com>
> Sent: Wed, 23 Apr 2008 3:55 pm
> Subject: Re: [BUG] HVR-1500 Hot swap causes lockup
> 
> Brandon Philips wrote: 
>  > On 23:13 Tue 22 Apr 2008, Jon Lowe wrote: 
>  >> I read that page, but I don't have a clue what to do with it.? I'm a 
>  >> Linux newbie.? Is there some other logfile that might capture the 
>  >> problem?? If you give me a detail explanation of what you need me to 
>  >> do, I will do it. 
>  > > Since it is hard locking and I am completely unfamiliar with HVR-1500 
>  > and PCI hot plugging a netconsole is the best thing I can offer... 
>  > > 1) You will need a second computer connected to your laptop via a LAN. 
>  > > 2) Find out the IP address of the computer that is not your laptop. 
>  > > $ /sbin/ifconfig > > eth0 Link encap:Ethernet HWaddr > inet 
> addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0 
>  > ..... 
>  > > So, in this case the IP address is 192.168.1.150 
>  > > 3) Start netcat in a terminal on this system. 
>  > > $ netcat -u -l -p 666 
>  > > 4) Now, on your laptop run the following commands as root in a 
> terminal. 
>  > NOTE: replace 192.168.1.150 with the IP address you found in step 2. 
>  > > $ dmesg -n 8 
>  > $ modprobe netconsole netconsole=@/,@192.168.1.150/ 
>  > > 5) netconsole: network logging started should appear in the terminal 
>  > where you ran netcat. 
>  > > 6) Try to reproduce the hard lock on your laptop and include the 
> output 
>  > from netcat. 
>  > > Let me know if this works. 
>  > > Also, please continue to CC the v4l list. 
>  > > Cheers, 
>  > > Brandon 
>  > >> -----Original Message----- From: Brandon Philips <brandon@ifup.org> 
>  >> To: Jon Lowe <jonlowe@aol.com> Cc: video4linux-list@redhat.com Sent: 
>  >> Mon, 21 Apr 2008 11:07 pm Subject: Re: [BUG] HVR-1500 Hot swap causes 
>  >> lockup 
>  >> 
>  >> On 09:59 Sat 19 Apr 2008, Jon Lowe wrote: 
>  >>> Hope this is the right place to do this. 
>  >>> 
>  >>> Hauppauge HVR-1500 Expresscard, Ubuntu 8.04, latest V4L drivers. 
>  >>> 
>  >>> Removing (hotswap) this card from a ASUS F3SV laptop running Ubuntu 
>  >>> 8.04 causes a hard lock up of the computer.? Unresponsive to any 
>  >>> input. Requires complete shutdown of the computer and restart.? 
>  >>> Easily repeatable.? Same card is hot swappable under Windows 
> Vista.? >>> 
>  >>> This is critical because Expresscards are notoriously easy to 
>  >>> dislodge in notebooks.? 
>  >> Could you please setup a netconsole and try and get some debugging 
>  >> output? 
>  
> Brandon / Jon, 
>  
> Some background info, not that it helps much... 
>  
> We had a ton of issues under windows bringing the device into existence, 
> largely because of the PCIe chipset implementations and various timing 
> issues. None of these issues resulted in a complete system hang so your 
> symptoms are a mystery. Typically the windows issues were that 
> occasionally windows would not detect the device on insertion, removing 
> and inserting again would always case windows to re-detect properly. 
>  
> I have to be honest and say that I've never tried hotplug PCIe on linux, 
> I just don't have capable hardware. 
>  
> Speaking as the cx23885 Linux dev I would ask one thing, remove the 
> cx23885.ko driver from your system and cold boot the system before your 
> next set of tests. The hang sounds like a PCIe chipset issue on the 
> motherboard, but if you can prove the hang only happens when the 
> cx23885.ko driver is installed I'd be happy to work with you on the 
> problem. 
>  
> Good luck, let me know how it goes, regards. 

Remove the cx23885.ko driver from your file system, cold boot the system 
with the card installed, remove it, does it still hang?

Analog mode is not supported.

- Steve

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-04-24 14:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 13:59 [BUG] HVR-1500 Hot swap causes lockup Jon Lowe
2008-04-22  4:07 ` Brandon Philips
     [not found]   ` <8CA7307126F01E0-1644-3A1B@webmail-de04.sysops.aol.com>
2008-04-23 20:01     ` Brandon Philips
2008-04-23 20:55       ` Steven Toth
2008-04-24 13:53         ` Jon Lowe
2008-04-24 14:03           ` Steven Toth [this message]
2008-04-24 14:32           ` Jon Lowe
2008-04-24 14:40             ` Michael Krufky
2008-04-24 15:06               ` Steven Toth
2008-04-24 19:05               ` Jon Lowe
2008-04-23 20:59       ` Brandon Philips
2008-04-24  2:04       ` Jon Lowe
     [not found] <20080424170142.GA20017@kroah.com>
2008-04-24 17:52 ` mkrufky
2008-04-24 18:10 ` mkrufky
     [not found] <20080424182147.GA28661@kroah.com>
2008-04-24 18:43 ` mkrufky
     [not found]   ` <20080424120254.39ec53e8@appleyard>
2008-04-24 19:27     ` Jon Lowe
     [not found]       ` <20080424124901.093de915@appleyard>
2008-04-24 21:04         ` Jon Lowe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48109328.7000008@linuxtv.org \
    --to=stoth@linuxtv.org \
    --cc=jonlowe@aol.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox