Marco d'Itri ha scritto:
On Dec 23, Giacomo Orlandi <[EMAIL PROTECTED]> wrote:
Eciadsl driver does not load on boot.
If I unplug and replug the modem it works:
Is /usr a standalone file system? Or maybe pppd is started before /
is mounted read-write.
Anyway I do not own any hardware supported by this driver, so you will
have to debug this by yourself. I suggest you start by adding to the
/lib/hotplug/eciadsl script a logging statement like:
exec >> /dev/eciadsl.log 2>&1
Thanks for the quick reply.
/usr is not a standalone partition in my system.
The error message in /dev/eciadsl.log is:
can't find your EZUSB USB ADSL Loader
ERROR eciadsl-firmware: failed
Adding some more debug output I realized that when /lib/hotplug/eciadsl
is started /proc/bus/usb/devices does not exist, even if usbfs is my
/etc/fstab; then I tried to mount usbfs in the script but it's already
mounted according to /etc/mtab.
What I argued is that at the beginning / is read only and usbfs seems
temporary mounted but soon umounted, and so the script fails; later / is
mounted rw and then usbfs is definitely mounted and readable.
I found a workaround adding
until [ -f /proc/bus/usb/devices ] ; do
sleep 1
done
Is there a better solution?
Merry Christmas eve to everybody!
Giacomo Orlandi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]