[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel panic when using USB



Hi all,

I have problems with the usb interface of the etrax 100 LX. I have replaced the usb_host.c and .h files in my 2.4.19 kernel with the new ones from the devboard_82 release and have attached a Philips web camera. With USB, video4linux and Philips webcam support the camera is found when inserted. My problems occurs when I am trying to make some IOCTL calls to the camera through video4linux or when I read from /dev/video0.

The output is shown below.

Do you think that this is a driver problem or am I doing something weird that causes this error?

I would be very grateful for any comments that helps me find the problem.

Best regards,
Peter

usb-host.c: ETRAX 100LX USB-HCD $Revision: 1.13.2.58 $ (c) 2001-2002 Axis Communications AB
usb.c: new USB bus registered, assigned bus number 1
usb-host.c: USB controller in host mode.
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller running.
hub.c: USB new device connect on bus1/2, assigned device number 2
init: starting up.
pwc Philips PCVC740K (ToUCam Pro) USB webcam detected.
open: No such device
Mounting proc on /proc
pwc Registered as /dev/video0.
Mounting /dev/flash2 on /mnt/flash
usbaudio: device 2 audiocontrol interface 1 has 1 input and 0 output AudioStreaming interfaces
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00
usbaudio: valid input sample rate 22050
usbaudio: device 2 interface 2 altsetting 2: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00
usbaudio: valid input sample rate 11025
usbaudio: device 2 interface 2 altsetting 3: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00
usbaudio: valid input sample rate 8000
usbaudio: device 2 interface 2 altsetting 4: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00
usbaudio: registered dsp 14,3
usbaudio: warning: found 1 of 0 logical channels.
usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine.
usbaudio: registered mixer 14,0

Mounting tmpfs on /var
Initializing /var
Jan  1 00:00:07 PS2000-DD syslogd 1.3-3: restart.
boa: servername set to 192.168.0.71.
Jan  1 00:00:07 PS2000-DD boa[57]: starting server

usb-host.c: Got epid_attn for INVALID_EPID (31).
usb-host.c: Urbs are linked, ignoring.
usb-host.c: Urbs are linked, ignoring.
<4>usb-host.c: Out of synch? Previous frame = 0, current frame = 868
usb-host.c: Out of synch? Previous frame = 868, current frame = 868
usb-host.c: Out of synch? Previous frame = 868, current frame = 869
usb-host.c: Got epid attn for isochronous endpoint, epid 0
usb-host.c: Perror for epid 0

urb                 :0x602d4aa0
next                  :0x602d4ba0
dev                   :0x6029a480
pipe                  :0x00028280
status                :0
transfer_flags        :0x00000002
transfer_buffer       :0x60ba4000
transfer_buffer_length:9600
actual_length         :0
setup_packet          :0x00000000
start_frame           :857
number_of_packets     :10
interval              :0
error_count           :0
context               :0x6029a880
complete              :0x6007b854



Dumping EP list...


USB_EP_Desc at 0x601b80ec
  command : 0x0000
  hw_len  : 0x000a (10)
  next    : 0x401b80fc
  sub     : 0x40fc63a0


USB_SB_Desc at 0x60fc63a0
  command : 0x0013
  sw_len  : 0x000a (10)
  next    : 0x00000000
  buf     : 0x00000000


USB_EP_Desc at 0x601b80fc
  command : 0x0100
  hw_len  : 0x0000 (0)
  next    : 0x401b810c
  sub     : 0x00000000


USB_EP_Desc at 0x601b810c
  command : 0x0200
  hw_len  : 0x0000 (0)
  next    : 0x401b811c
  sub     : 0x00000000


USB_EP_Desc at 0x601b811c
  command : 0x0300
  hw_len  : 0x0000 (0)
  next    : 0x401b812c
  sub     : 0x00000000


USB_EP_Desc at 0x601b812c
  command : 0x0400
  hw_len  : 0x0000 (0)
  next    : 0x401b813c
  sub     : 0x00000000


USB_EP_Desc at 0x601b813c
  command : 0x0500
  hw_len  : 0x0000 (0)
  next    : 0x401b814c
  sub     : 0x00000000


USB_EP_Desc at 0x601b814c
  command : 0x0600
  hw_len  : 0x0000 (0)
  next    : 0x401b815c
  sub     : 0x00000000


USB_EP_Desc at 0x601b815c
  command : 0x0700
  hw_len  : 0x0000 (0)
  next    : 0x401b816c
  sub     : 0x00000000


USB_EP_Desc at 0x601b816c
  command : 0x0800
  hw_len  : 0x0000 (0)
  next    : 0x401b817c
  sub     : 0x00000000


USB_EP_Desc at 0x601b817c
  command : 0x0900
  hw_len  : 0x0000 (0)
  next    : 0x401b818c
  sub     : 0x00000000


USB_EP_Desc at 0x601b818c
  command : 0x0a00
  hw_len  : 0x0000 (0)
  next    : 0x401b819c
  sub     : 0x00000000


USB_EP_Desc at 0x601b819c
  command : 0x0b00
  hw_len  : 0x0000 (0)
  next    : 0x401b81ac
  sub     : 0x00000000


USB_EP_Desc at 0x601b81ac
  command : 0x0c00
  hw_len  : 0x0000 (0)
  next    : 0x401b81bc
  sub     : 0x00000000


USB_EP_Desc at 0x601b81bc
  command : 0x0d00
  hw_len  : 0x0000 (0)
  next    : 0x401b81cc
  sub     : 0x00000000


USB_EP_Desc at 0x601b81cc
  command : 0x0e00
  hw_len  : 0x0000 (0)
  next    : 0x401b81dc
  sub     : 0x00000000


USB_EP_Desc at 0x601b81dc
  command : 0x0f00
  hw_len  : 0x0000 (0)
  next    : 0x401b81ec
  sub     : 0x00000000


USB_EP_Desc at 0x601b81ec
  command : 0x1000
  hw_len  : 0x0000 (0)
  next    : 0x401b81fc
  sub     : 0x00000000


USB_EP_Desc at 0x601b81fc
  command : 0x1100
  hw_len  : 0x0000 (0)
  next    : 0x401b820c
  sub     : 0x00000000


USB_EP_Desc at 0x601b820c
  command : 0x1200
  hw_len  : 0x0000 (0)
  next    : 0x401b821c
  sub     : 0x00000000


USB_EP_Desc at 0x601b821c
  command : 0x1300
  hw_len  : 0x0000 (0)
  next    : 0x401b822c
  sub     : 0x00000000


USB_EP_Desc at 0x601b822c
  command : 0x1400
  hw_len  : 0x0000 (0)
  next    : 0x401b823c
  sub     : 0x00000000


USB_EP_Desc at 0x601b823c
  command : 0x1500
  hw_len  : 0x0000 (0)
  next    : 0x401b824c
  sub     : 0x00000000


USB_EP_Desc at 0x601b824c
  command : 0x1600
  hw_len  : 0x0000 (0)
  next    : 0x401b825c
  sub     : 0x00000000


USB_EP_Desc at 0x601b825c
  command : 0x1700
  hw_len  : 0x0000 (0)
  next    : 0x401b826c
  sub     : 0x00000000


USB_EP_Desc at 0x601b826c
  command : 0x1800
  hw_len  : 0x0000 (0)
  next    : 0x401b827c
  sub     : 0x00000000


USB_EP_Desc at 0x601b827c
  command : 0x1900
  hw_len  : 0x0000 (0)
  next    : 0x401b828c
  sub     : 0x00000000


USB_EP_Desc at 0x601b828c
  command : 0x1a00
  hw_len  : 0x0000 (0)
  next    : 0x401b829c
  sub     : 0x00000000


USB_EP_Desc at 0x601b829c
  command : 0x1b00
  hw_len  : 0x0000 (0)
  next    : 0x401b82ac
  sub     : 0x00000000


USB_EP_Desc at 0x601b82ac
  command : 0x1c00
  hw_len  : 0x0000 (0)
  next    : 0x401b82bc
  sub     : 0x00000000


USB_EP_Desc at 0x601b82bc
  command : 0x1d00
  hw_len  : 0x0000 (0)
  next    : 0x401b82cc
  sub     : 0x00000000


USB_EP_Desc at 0x601b82cc
  command : 0x1e00
  hw_len  : 0x0000 (0)
  next    : 0x401b82dc
  sub     : 0x00000000


USB_EP_Desc at 0x601b82dc
  command : 0x1f03
  hw_len  : 0x0001 (1)
  next    : 0x401b80ec
  sub     : 0x401b82ec


USB_SB_Desc at 0x601b82ec
  command : 0x0043
  sw_len  : 0x0001 (1)
  next    : 0x00000000
  buf     : 0x401b8b0c

Kernel panic: Something wrong with DMA descriptor contents. Too much traffic inserted?
In interrupt handler - not syncing





Peter Fredriksson M.Sc.CE       
Free2move AB            Office +46 (0)35 18 21 90
Pilefeltsgatan 77       Fax +46 (0)35 18 21 99
S-302 50 Halmstad       www.free2move.se