after patching in the usbdnet into the 2.4.20 the connection via usb (net.usb0) works fine to a zaurus. Dhcpd is enabled on the usb connection due to the security restrictions on the zaurus. But when the usb connection is killed (the zaurus is removed) the net.usb0 is called with stop and the dhcpd crashes out before the net.usb0 finishes. This leaves the net.usb0 link in /mnt/.init/started/ log file when connection killed: Feb 16 18:07:06 [kernel] usb.c: USB disconnect on device 00:07.2-2.2 address 5 Feb 16 18:07:06 [/etc/hotplug/net.agent] invoke /etc/init.d/net.usb0 stop Feb 16 18:07:06 [dhcpcd] dhcpRelease: sendto: No such device Feb 16 18:07:06 [dhcpcd] arpRelease: sendto: No such device Feb 16 18:07:07 [dhcpcd] terminating on signal 1 Feb 16 18:07:07 [modprobe] modprobe: Can't locate module usb0 Feb 16 18:07:07 [dhcpcd] dhcpStop: ioctl SIOCSIFADDR: No such device Feb 16 18:07:07 [modprobe] modprobe: Can't locate module usb0 Feb 16 18:07:07 [dhcpcd] dhcpStop: ioctl SIOCSIFFLAGS: No such device Reproducible: Always Steps to Reproduce: 1. connect to zaurus via usb (dhcpd enabled) 2. remove zaurus 3. connect zaurus Actual Results: the connect is not restarted. If the link is delected manually (or by calling net.usb0 stop) then the connection can be started automatically when the zaurus is replaced in the cradle (usb) Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-acpi-r9 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl acpi alsa bonobo evo gb imap -kde ldap libgda maildir mozilla pcmcia pda sasl -svga tetex" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I would like to help with this, but I can't develop a solution without more information. Have you been able to develop a patch to your init scripts that helps? Also, I'm guessing you had to make some changes to get the Zaurus working, and those might be part of the situation. If you have another distro that works, perhaps see what solution they employed.
Created attachment 9736 [details, diff] kernel patch for usbdnet (for Zaurus) The patch for the Zaurus was not included upto 2.4.20. I have not checked versions after this. I patched the acpi kernel. The new usbdnet module must be selected in the kernel build, and the following parameters entered: USBD Network Vendor = 04dd USBD Network idProduct = 8004 Because of security restrictions in the Zaurus, the IP address should be obtained from the Zaurus DHCP-server. Create the net.usb0 and edit the net entry for usb0 for DHCP. The Zaurus will go online correctly, and can be seen in ifconfig. (It can also be synchronized by the Qtopia Desktop, which must be installed separately). I have not yet experimented with the net.usb0, but will do so in the next few days.
*** Bug 10627 has been marked as a duplicate of this bug. ***
Does only the kernel changes work ?
It's been months since any useful updates were made to this bug. Please test with a recent kernel and reopen this bug if the problem persists.
please try the latest kernel and baselayout and see if that makes any difference