Re: Bluetooth and usb dongle belkin



Thanks for your answer.

I tried 1 and 3.

If I do strace lsusb, some of the last lines of the output when it
freezes are:

close(3) = 0
open("/proc/bus/usb/002/001", O_RDWR) = 3
ioctl(3, USBDEVFS_IOCTL, 0xbfad59e0) = 3
close(3) = 0
open("/proc/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 3
fstat64(3, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents(3, /* 5 entries */, 4096) = 80
open("/proc/bus/usb/001/004", O_RDWR) = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbfad3974) = 0
read(4, "\22\1\0\2\0\0\0@\264\0040h\1\0008Nd\1", 18) = 18
read(4, "\t\2 \0\1\1\0\300", 8) = 8
read(4, "\0\t\4\0\0\2\10\6P\0\7\5\2\2\0\2\0\7\5\206\2\0\2\0", 24) = 24
close(4) = 0
open("/proc/bus/usb/001/002", O_RDWR) = 4
ioctl(4, USBDEVFS_CONNECTINFO



so it stops there. It is maybe that it has problems to connect with the
device ?

Thanks.



Sam ha escrito:

horacius.rex@xxxxxxxxx writes:

SO what could be the cause of lsusb hanging in my system ?

"Could" can be many things. Just to name a few off the top of my head:

1) You're getting nailed by a kernel bug

2) Some of your system libraries are corrupted

3) It's possible that your USB dongle is defective, and is hanging/hogging
the USB bus. Something occasionally gets loose over here also. I guess
that vibration from spinning hard drives and fans occasionally works loose
the contact between my Belkin dongle and the USB port becomes intermittent,
and I need to take it out and jam it back in, before it comes back alive.
Last week the stupid dongle somehow was flooding my system with hardware
interrupts. The symptoms were rather bizarre (the system was sluggish, and
"top" showed me a constant load of 1.00 even though nothing was running. An
attempt to reboot caused the server to hang at the BIOS POST screen, without
even having the courtesy to load GRUB.

I suppose that many people would panic when faced with something like this,
thinking that their hardware just blew up. But, past experience told me to
yank the dongle and power-cycle, and of course everything came up fine.
Examining the system logs revealed that over the last day the system thought
that the boot IDE drive was failing, but now it gets a clean bill of health,
and blowing the dust out of the dongle returned things to normal.

I don't think anyone can give you a firm answer, only suggestions or
guesses. Some of the easy things you can try are:

1) Try plugging the dongle into a different USB port, or plus something else
into this USB port, and see if it works

2) Check to see if your Linux distribution has an updated kernel you can
install, or try. Or, if you're already running the latest kernel, try
installing and booting up an older kernel, to see if it makes any
difference

3) When lsusb hangs, ping this box from another machine, see if it responds
to pings. If it does, try to ssh-in from another machine, use ps to find
the stuck lsusb process, and use strace to try to figure out what it's
doing

Good luck.



--=_mimegpg-commodore.email-scan.com-8445-1169079399-0005
Content-Type: application/pgp-signature
X-Google-AttachSize: 190

.



Relevant Pages