* Gaudenz Steinlin (gaudenz@soziologie.ch) wrote:
> This looks like discover is hanging when detecting the hardware not when
> loading modules.
Looks like discover is trying to talk to the modem, and failing. I
finally got the box up on the network (not with wireless,
unfortunately) and did an strace on discover, here's the end of it:
open("/dev/lp0", O_RDONLY) = 5 close(5) = 0
open("/dev/lp1", O_RDONLY) = -1 ENXIO (No such device or address)
open("/dev/lp2", O_RDONLY) = -1 ENXIO (No such device or address)
open("/dev/ttyS0", O_RDWR|O_NONBLOCK) = 5
fcntl64(5, F_SETFL, O_RDONLY) = 0
ioctl(5, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(5, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(5, SNDCTL_TMR_START, {B1200 -opost -isig -icanon -echo ...}) = 0
ioctl(5, TIOCMGET, [TIOCM_DTR|TIOCM_RTS|TIOCM_CAR|0x4000]) = 0
ioctl(5, TIOCMSET, [TIOCM_DTR|TIOCM_RTS|TIOCM_CAR|0x4000]) = 0
nanosleep({0, 200000000}, NULL) = 0
nanosleep({0, 200000000}, NULL) = 0
write(5, "AT\r", 3) = 3
time(NULL) = 1072097747
select(6, [5], NULL, [5], {0, 250000}) = 0 (Timeout)
time(NULL) = 1072097747
ioctl(5, SNDCTL_TMR_START, {B9600 opost isig icanon echo ...}) = 0
close(5
And that's it... I guess it's actually hanging when it tries to close
/dev/ttyS0?
Stephen
Attachment:
signature.asc
Description: Digital signature