Re: [Em28xx] ehci_hcd map_single: unable to map unsafe buffer on a standard NSLU2

Thierry Merle <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.drivers.em28xx
Message-ID <[email protected]>
Markus Rechberger a écrit :
> can you test the device with a normal PC too?
> this will give you an image how it should behave in a usual environment..
>
> Markus
>
>   
Right, tested OK in the same configuration.
In fact the NSLU2 freezes only when a channel is tuned. I tried without 
plugging the antenna cable and scan did not freeze the kernel. All 
firmwares loaded OK.
I tried to solder the serial console but my bad soldering iron made a 
bad work. I stopped before breaking definitely the NSLU2.

I re-plugged the antenna and re-scanned channels, I did a tail -f -s0.1 
/var/log/messages, here is the end of the file before the freeze:
Sep 21 23:10:13 shagrat kernel: DIGITAL TV REQUEST
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 c2 00 04 00 
 >>> 80 02 00 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 c2 00 04 00 
 >>> 00 00 bb db
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 67 c2
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 68 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 69 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 6a 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 6b 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 5f 13
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> 70 01
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e4 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e5 2a
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e9 02
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e7 40
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e8 10
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 06
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 07
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 07
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 33
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 08
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 06
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 6f
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 07
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 33
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:10:13 shagrat kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 08
To compare the end, on my PC I have:
Sep 21 23:17:32 ouglouk kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e7 40
Sep 21 23:17:32 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:32 ouglouk kernel: em28xx #0: [ OK] 40 02 00 00 1e 00 02 00 
 >>> e8 10
Sep 21 23:17:32 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 06
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 67
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 07
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 33
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 08
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 06
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 6f
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 07
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 33
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] 40 03 00 00 1e 00 01 00 
 >>> 08
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 02 00 00 1e 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 05 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 47 00 01 00 
<<< 24
Sep 21 23:17:33 ouglouk kernel: em28xx #0: [ OK] c0 00 00 00 45 00 01 00 
<<< 00


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.