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 :
> On 9/20/07, Thierry Merle <[email protected]> wrote:
>   
>> Hi Markus,
>>
>> To sum up:
>> - on David's NSLU2, his tuner makes dma errors in ehci_hcd module.
>> - on my NSLU2, his tuner if I plug his tuner directly on the NSLU2 with
>> the v4l-dvb-experimental tree, I get a i2c error.
>> With a hub plugging the device freezes the kernel but I have not wired
>> the serial line to see a kernel oops).
>> Attached is the /var/log/messages corresponding to my try.
>>
>> The NSLU2 is a based on a IXP420 CPU (ARMv5TE architecture). The
>> internal USB driver is not used, on the PCI bus a NEC USB chip is connected.
>> See http://www.nslu2-linux.org/wiki/Info/CPUOverview for all infos.
>>
>> On the debian-arm ML, Lennart Sorensen invoked a CPU usage problem but
>> he was talking about the MPEG-TS stream processing.
>> My cinergyT2 can stream at 33% CPU user consumption on the NSLU2.
>>
>>     
>
> Sep 20 23:05:56 shagrat kernel: Em28xx: Initialized (Em28xx Audio
> Extension) extension
> Sep 20 23:05:57 shagrat kernel: em2880-dvb.c: DVB Init
> Sep 20 23:05:57 shagrat kernel: Loading base firmware: xc3028_8MHz_init0.i2c.fw
> Sep 20 23:05:57 shagrat kernel: xc3028-tuner.c: Unable to load firmware
> Sep 20 23:05:57 shagrat kernel: xc3028-tuner.c: ** PLEASE HAVE A LOOK AT **
> Sep 20 23:05:57 shagrat kernel: xc3028-tuner.c:
> http://linuxtv.org/v4lwiki/index.php/Talk:Em2880#Firmware
>
> is udev started or even the right version of udev installed?
> otherwise you won't be able to load the firmware..
>
> Markus
>
>   
I did not modify the udevd since first debian etch installation:
ii  udev                        0.105-4                         /dev/ 
and hotplug management daemon

Well, I did not try to digg in the code to find exactly where the error 
comes from, I should begin by that...

Following the /dev entries that are created after the usb tuner insertion:

shagrat:~# ls -lrt /dev
[..]
crw-rw---- 1 root root    442, 4099 Sep 21 19:05 usbdev3.4_ep00
crw-rw---- 1 root root     89,    1 Sep 21 19:05 i2c-1
drwxr-xr-x 2 root root          100 Sep 21 19:05 snd
crw-rw---- 1 root root    442, 4099 Sep 21 19:05 usbdev3.4_ep81
crw-rw---- 1 root root    442, 4099 Sep 21 19:05 usbdev3.4_ep82
crw-rw---- 1 root root    442, 4099 Sep 21 19:05 usbdev3.4_ep83
crw-rw---- 1 root root    442, 4099 Sep 21 19:05 usbdev3.4_ep84
crw-rw---- 1 root video    81,    0 Sep 21 19:05 video0
crw-rw---- 1 root video    81,  224 Sep 21 19:05 vbi0
drwxr-xr-x 3 root root          120 Sep 21 19:05 input
crw-rw-rw- 1 root root      5,    2 Sep 21 19:05 ptmx

The module list:
shagrat:~#  lsmod
Module                  Size  Used by
mt2060                  5028  0
mt352                   6856  0
zl10353                 6376  0
em2880_dvb             12580  0
dvb_core               81032  1 em2880_dvb
em28xx_audio            5188  0
snd_pcm                77960  1 em28xx_audio
snd_timer              24164  1 snd_pcm
snd_page_alloc         10408  1 snd_pcm
snd                    52756  3 em28xx_audio,snd_pcm,snd_timer
soundcore              10372  1 snd
xc3028_tuner            8416  1
tvp5150                18032  0
tuner                  61608  0
em28xx                 90164  2 em2880_dvb,em28xx_audio
compat_ioctl32          1088  1 em28xx
ir_common              38948  1 em28xx
videodev               26496  1 em28xx
v4l2_common            18688  4 tvp5150,tuner,em28xx,videodev
v4l1_compat            12324  2 em28xx,videodev
tveeprom               14416  1 em28xx
ledtrig_heartbeat       3040  0
nfs                   250836  0
nfsd                  240296  17
exportfs                5792  1 nfsd
lockd                  67252  3 nfs,nfsd
nfs_acl                 4032  2 nfs,nfsd
sunrpc                165912  13 nfs,nfsd,lockd,nfs_acl
ipv6                  269416  18
dm_snapshot            17180  0
dm_mirror              20948  0
dm_mod                 59120  2 dm_snapshot,dm_mirror
rtc_dev                 7432  0
ixp4xx_mac             19572  0
evdev                  10400  0
ixp4xx_qmgr             8652  5 ixp4xx_mac
ixp4xx_npe             14368  2 ixp4xx_mac
ixp4xx_beeper           3616  0
firmware_class         10656  2 xc3028_tuner,ixp4xx_npe
ext3                  137704  2
jbd                    59368  1 ext3
mbcache                 9188  1 ext3
sd_mod                 19248  4
usb_storage            77707  3
scsi_mod              102800  2 sd_mod,usb_storage
ehci_hcd               31240  0
ohci_hcd               17156  0
usbcore               126920  7 
em2880_dvb,em28xx_audio,em28xx,usb_storage,ehci_hcd,ohci_hcd



-------------------------------------------------------------------------
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.