Bug#344518: eciadsl: Does not load on boot

2005-12-24 Thread Giacomo

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 21
 



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]



Bug#344518: eciadsl: Does not load on boot

2005-12-23 Thread Giacomo Orlandi
Package: eciadsl
Version: 0.11-2
Severity: important

Eciadsl driver does not load on boot.
If I unplug and replug the modem it works:

usb 1-1: USB disconnect, address 3
ohci_hcd :00:02.0: wakeup
usb 1-1: new full speed USB device using ohci_hcd and address 4
usb 1-1: usbfs: process 4421 (eciadsl-firmwar) did not claim interface 0
before
use
usb 1-1: USB disconnect, address 4
ohci_hcd :00:02.0: wakeup
usb 1-1: new full speed USB device using ohci_hcd and address 5
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.

It works the same if I do
rmmod ohci_hcd  modprobe ohci_hcd
I remember that it loaded on boot with old hotplug package, so it could
be a udev bug as well.
I can give further informations if needed.

Regards,

Giacomo Orlandi



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages eciadsl depends on:
ii  libc6 2.3.5-8GNU C Library: Shared libraries an

Versions of packages eciadsl recommends:
ii  ppp 2.4.3-20050321+2 Point-to-Point Protocol (PPP) daem
ii  udev0.076-6  /dev/ and hotplug management daemo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344518: eciadsl: Does not load on boot

2005-12-23 Thread Marco d'Itri
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 21

-- 
ciao,
Marco


signature.asc
Description: Digital signature