Web lists-archives.org

Re: [BUG] HVR-1500 Hot swap causes lockup




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@xxxxxxxxxxx>
To: Brandon Philips <brandon@xxxxxxxx>
Cc: Jon Lowe <jonlowe@xxxxxxx>; v4l <video4linux-list@xxxxxxxxxx>
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@xxxxxxxx>?
>> To: Jon Lowe <jonlowe@xxxxxxx> Cc: video4linux-list@xxxxxxxxxx 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.?
?
Steve?
?

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