logo       

modprobe lirc_atiusb hangs: msg#00095

hardware.lirc

Subject: modprobe lirc_atiusb hangs

Greetings,
I'm experiencing a hang when loading the lirc modules, modprobe just hangs there forever until I kill it.

strace modprobe lirc_atiusb debug=1
...
open("/lib/modules/2.6.15-gentoo-r5/misc/lirc_atiusb.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
read(4, "lirc_dev 14084 0 - Live 0xf92b10"..., 1024) = 115
read(4, "", 1024) = 0
close(4) = 0
munmap(0xb7f23000, 4096) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0644, st_size=24171, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 16384
read(3, "\2\0\0\0\0\0\0\0@+\0\0#\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0"..., 16384) = 7787
read(3, "", 8192) = 0
read(3, "", 8192) = 0
init_module("ELF", 0x5e6
(it hangs here)

at this point /proc/modules looks like:
cat /proc/modules
lirc_atiusb 18097 1 - Loading 0xf929a000
lirc_dev 14084 1 lirc_atiusb, Live 0xf92b1000
nvidia_agp 7196 1 - Live 0xf9281000
agpgart 30160 1 nvidia_agp, Live 0xf928b000

also at this point all I see in the log is:
Feb 26 13:57:04 procrustes lirc_dev: IR Remote Control driver registered, at major 61
Feb 26 13:57:04 procrustes
Feb 26 13:57:04 procrustes lirc_atiusb: USB remote driver for LIRC v0.5
Feb 26 13:57:04 procrustes lirc_atiusb: Paul Miller <pmiller9-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx>
Feb 26 13:57:04 procrustes lirc_atiusb: debug mode enabled: $Id: lirc_atiusb.c,v 1.51 2005/10/29 14:18:53 lirc Exp $


if I killall modprobe it then finishes?:
killall modprobe
cat /proc/modules
lirc_atiusb 17952 0 - Live 0xf929a000
lirc_dev 14084 1 lirc_atiusb, Live 0xf92b1000
nvidia_agp 7196 1 - Live 0xf9281000
agpgart 30160 1 nvidia_agp, Live 0xf928b000
lsmod
Module Size Used by
lirc_atiusb 17952 0
lirc_dev 14084 1 lirc_atiusb
nvidia_agp 7196 1
agpgart 30160 1 nvidia_agp


and I get additional info in the log:
Feb 26 13:57:47 procrustes lirc_atiusb[2]: usb_remote_probe: dev:dfd76800, intf:dfd82c00, id:f929de28)
Feb 26 13:57:47 procrustes lirc_atiusb[2]: scanning remote_list...
Feb 26 13:57:47 procrustes lirc_atiusb[2]: remote type = 0
Feb 26 13:57:47 procrustes lirc_atiusb[2]: adding remote to list
Feb 26 13:57:47 procrustes lirc_atiusb[2]: processing endpoint 0
Feb 26 13:57:47 procrustes lirc_atiusb[2]: acceptable inbound endpoint (0x81) found (maxp=8 len=5)
Feb 26 13:57:47 procrustes lirc_atiusb[2]: adding ep=0x81 to list
Feb 26 13:57:47 procrustes lirc_atiusb[2]: processing endpoint 1
Feb 26 13:57:47 procrustes lirc_atiusb[2]: acceptable outbound endpoint (0x2) found
Feb 26 13:57:47 procrustes lirc_dev: lirc_register_plugin: sample_rate: 0
Feb 26 13:57:48 procrustes lirc_atiusb[2]: X10 Wireless Technology Inc USB Receiver on usb3:2
Feb 26 13:57:48 procrustes lirc_atiusb[2]: usb_remote_probe: initializing outbound ep
Feb 26 13:57:48 procrustes lirc_atiusb[2]: send called (0x8004)
Feb 26 13:57:48 procrustes lirc_atiusb[2]: usb out called
Feb 26 13:57:48 procrustes lirc_atiusb[2]: send complete (0x8004)
Feb 26 13:57:48 procrustes lirc_atiusb[2]: send called (0x8007)
Feb 26 13:57:48 procrustes lirc_atiusb[2]: usb out called
Feb 26 13:57:48 procrustes lirc_atiusb[2]: send complete (0x8007)
Feb 26 13:57:48 procrustes usbcore: registered new driver lirc_atiusb



Again everything appears to work fine once I kill the modprobe, but it'd be nice to have it load cleanly to begin with.

uname -a
Linux procrustes 2.6.15-gentoo-r5 #1 SMP PREEMPT Sun Feb 26 13:17:33 CST 2006 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux

lirc-0.8.0


Any help is appreciated!



Andy




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise