Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77162 - slmodem: /etc/init.d/slmodem doesn't wait long enough
Summary: slmodem: /etc/init.d/slmodem doesn't wait long enough
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 13:24 UTC by Vaclav Slavik
Modified: 2005-01-21 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Slavik 2005-01-08 13:24:45 UTC
The /etc/init.d/slmodem file contains a while loop that waits until kernel module is loaded and creates a device in /dev -- see bug #47947 (comment 59) for details.  The code waits at most 2.5 seconds (5 cycles, each of them has 'sleep 0.5' in it), then reports failure. On my system (which is not particularly slow - a 1.4GHz Celeron-M; 2.6.9 kernel and udev), it is far too small amount of time, it takes _at least_ five seconds for this module to become ready.

Can the timeout in loadsmodule function please be increased to at least
${COUNT} -lt 15 (in place of current 5)?


Reproducible: Always
Steps to Reproduce:
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-01-21 18:35:21 UTC
r2 commited with this trivial change.
I've increased timeout to 10 secs (${COUNT} -lt 20)