I am running the modem through my USB ports on the back of my PC. The
USB connection idles or disconnects at random times, the longest I've
been able to stay online is about 1 hour. It seems to average anywhere
from 3 - 15 minutes. I was able to get my modem working again by doing
a /sbin/rmmod usb-uhci; /sbin/insmod usb-uhci. Doing the same with
/sbin/rmmod CDCEtherl; /sbin/modprobe CDCEther does not do anything.
I unfortunately do not have the ability to try my cable modem on another
machine. An interesting note, when I enable my internal network card
with my USB modem, I get the following
eth0 Link encap:Ethernet HWaddr 00:20:40:89:05:93
inet addr:24.xxx.xxx.51 Bcast:255.255.255.255
Mask:255.255.252.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:2108 errors:0 dropped:0 overruns:0 frame:0
TX packets:921 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:954387 (932.0 Kb) TX bytes:53173 (51.9 Kb)
eth1 Link encap:Ethernet HWaddr 00:40:F6:8C:A8:43
inet addr:24.xxx.xxx.51 Bcast:255.255.255.255
Mask:255.255.252.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:399 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:27915 (27.2 Kb) TX bytes:770 (770.0 b)
Interrupt:11 Base address:0x6000
Notice how the IP's are the same (of course xxx.xxx doesn't exist )...
I never notice when the eth0 goes down when running like this, since my
standard NIC always has an IP. There isn't anything particular in the
logs, like a timeout or anything, my connection is just dropped.
-- Explanation of log
I did a tail of my logs and left and didn't touch my computer until my
GAIM went out offline the last entry in tail PRIOR to my dropped
connection occured at 20:21:50 ( first entry shown ). I then did my
/sbin/rmmod usb-uhci and /sbin/insmod usb-uhci and showed all logs after
the 20:21:50. I needed to restart my modem 5 times in compiling this
email. I think at least 3 are shown in the logs below.
Sorry about the length,
Kevin
Log file
-----------------
Mar 25 20:21:50 kernel: usb.c: USB device not accepting new address=4
(error=-110)
Mar 25 20:23:32 kernel: usb.c: USB disconnect on device 1
Mar 25 20:23:32 kernel: usb.c: USB bus 1 deregistered
Mar 25 20:23:32 kernel: usb.c: USB disconnect on device 1
Mar 25 20:23:32 kernel: usb.c: USB bus 2 deregistered
Mar 25 20:23:36 kernel: usb-uhci.c: $Revision: 1.275 $ time 22:23:31 Mar
19 2002
Mar 25 20:23:36 kernel: usb-uhci.c: High bandwidth mode enabled
Mar 25 20:23:36 kernel: PCI: Found IRQ 11 for device 00:07.2
Mar 25 20:23:36 kernel: PCI: Sharing IRQ 11 with 00:07.3
Mar 25 20:23:36 kernel: usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
Mar 25 20:23:36 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:23:36 kernel: usb.c: new USB bus registered, assigned bus
number 1
Mar 25 20:23:36 kernel: hub.c: USB hub found
Mar 25 20:23:36 kernel: hub.c: 2 ports detected
Mar 25 20:23:36 kernel: PCI: Found IRQ 11 for device 00:07.3
Mar 25 20:23:36 kernel: PCI: Sharing IRQ 11 with 00:07.2
Mar 25 20:23:36 kernel: usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
Mar 25 20:23:36 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:23:36 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 2
Mar 25 20:23:36 kernel: usb.c: new USB bus registered, assigned bus
number 2
Mar 25 20:23:36 kernel: CDCEther.c: Ethernet information found at device
configuration. This is broken.
Mar 25 20:23:36 kernel: CDCEther.c: Probably broken Union descriptor,
fudging data interface
Mar 25 20:23:36 kernel: CDCEther.c: detected BULK OUT packets of size 64
Mar 25 20:23:36 kernel: usb.c: ignoring set_interface for dev 2, iface
0, alt 0
Mar 25 20:23:36 kernel: hub.c: USB hub found
Mar 25 20:23:37 kernel: hub.c: 2 ports detected
Mar 25 20:23:37 kernel: CDCEther.c: eth0: Motorola Corporation SB4100
USB Cable Modem 002040890593 00:20:40:89:05:93
Mar 25 20:23:37 kernel: usb.c: USB device 2 (vend/prod 0x7b2/0x4100) is
not claimed by any active driver.
Mar 25 20:23:37 dhcpcd[4671]: sendto: Network is down
Mar 25 20:23:37 kernel: usb-uhci.c: v1.275:USB Universal Host Controller
Interface driver
Mar 25 20:23:37 dhcpcd[4671]: sendto: Network is down
Mar 25 20:23:37 kernel: CDCEther.c: eth0: set multicast filters
Mar 25 20:23:37 kernel: CDCEther.c: eth0: set multicast filters
Mar 25 20:23:37 logger: punching nameserver 24.158.0.10 through the
firewall
Mar 25 20:23:37 kernel: CDCEther.c: eth0: set too many MC filters, using
allmulti
Mar 25 20:23:37 kernel: CDCEther.c: eth0: set too many MC filters, using
allmulti
Mar 25 20:23:55 kernel: usb.c: USB disconnect on device 2
Mar 25 20:23:55 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 3
Mar 25 20:23:59 kernel: usb_control/bulk_msg: timeout
Mar 25 20:23:59 kernel: usb.c: USB device not accepting new address=3
(error=-110)
Mar 25 20:23:59 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 4
Mar 25 20:24:03 kernel: usb_control/bulk_msg: timeout
Mar 25 20:24:03 kernel: usb.c: USB device not accepting new address=4
(error=-110)
Mar 25 20:28:33 network: Shutting down interface eth1: succeeded
Mar 25 20:28:34 sysctl: net.ipv4.ip_forward = 0
Mar 25 20:28:34 sysctl: net.ipv4.conf.default.rp_filter = 1
Mar 25 20:28:34 sysctl: kernel.sysrq = 0
Mar 25 20:28:34 network: Setting network parameters: succeeded
Mar 25 20:28:34 network: Bringing up interface lo: succeeded
Mar 25 20:28:34 ifup: Determining IP information for eth0...
Mar 25 20:28:34 dhcpcd[4671]: sendto: No such device
Mar 25 20:28:34 dhcpcd[4671]: sendto: No such device
Mar 25 20:28:34 ifup: done.
Mar 25 20:28:34 dhcpcd[4671]: dhcpStop: ioctl SIOCSIFFLAGS: No such
device
Mar 25 20:28:34 dhcpcd[4671]: dhcpStart: ioctl SIOCGIFHWADDR: No such
device
Mar 25 20:28:34 network: Bringing up interface eth0: succeeded
Mar 25 20:28:34 kernel: eth1: Setting half-duplex based on
auto-negotiated partner ability 0000.
Mar 25 20:28:36 network: Bringing up interface eth1: succeeded
Mar 25 20:28:43 kernel: usb.c: USB disconnect on device 1
Mar 25 20:28:43 kernel: usb.c: USB bus 1 deregistered
Mar 25 20:28:43 kernel: usb.c: USB disconnect on device 1
Mar 25 20:28:43 kernel: usb.c: USB bus 2 deregistered
Mar 25 20:28:46 kernel: usb-uhci.c: $Revision: 1.275 $ time 22:23:31 Mar
19 2002
Mar 25 20:28:46 kernel: usb-uhci.c: High bandwidth mode enabled
Mar 25 20:28:46 kernel: PCI: Found IRQ 11 for device 00:07.2
Mar 25 20:28:46 kernel: PCI: Sharing IRQ 11 with 00:07.3
Mar 25 20:28:46 kernel: usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
Mar 25 20:28:46 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:28:46 kernel: usb.c: new USB bus registered, assigned bus
number 1
Mar 25 20:28:46 kernel: hub.c: USB hub found
Mar 25 20:28:46 kernel: hub.c: 2 ports detected
Mar 25 20:28:46 kernel: PCI: Found IRQ 11 for device 00:07.3
Mar 25 20:28:46 kernel: PCI: Sharing IRQ 11 with 00:07.2
Mar 25 20:28:46 kernel: usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
Mar 25 20:28:46 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:28:46 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 2
Mar 25 20:28:46 kernel: usb.c: new USB bus registered, assigned bus
number 2
Mar 25 20:28:46 kernel: CDCEther.c: Ethernet information found at device
configuration. This is broken.
Mar 25 20:28:46 kernel: CDCEther.c: Probably broken Union descriptor,
fudging data interface
Mar 25 20:28:46 kernel: CDCEther.c: detected BULK OUT packets of size 64
Mar 25 20:28:46 kernel: usb.c: ignoring set_interface for dev 2, iface
0, alt 0
Mar 25 20:28:46 kernel: hub.c: USB hub found
Mar 25 20:28:46 kernel: hub.c: 2 ports detected
Mar 25 20:28:46 kernel: CDCEther.c: eth0: Motorola Corporation SB4100
USB Cable Modem 002040890593 00:20:40:89:05:93
Mar 25 20:28:46 kernel: usb.c: USB device 2 (vend/prod 0x7b2/0x4100) is
not claimed by any active driver.
Mar 25 20:28:46 kernel: usb-uhci.c: v1.275:USB Universal Host Controller
Interface driver
Mar 25 20:28:46 kernel: usb-uhci.c: ENXIO 80000200, flags 0, urb
df0cb7a0, burb df0cb920
Mar 25 20:28:46 kernel: CDCEther.c: usb_set_interface() failed
Mar 25 20:28:46 kernel: CDCEther.c: Attempted to set interface 1
Mar 25 20:28:46 kernel: CDCEther.c: To alternate setting 1
Mar 25 20:28:46 dhcpcd[5564]: dhcpStart: ioctl SIOCSIFFLAGS:
Input/output error
Mar 25 20:28:46 kernel: CDCEther.c: CDCEther_opencan't
enable_net_traffic() - -1
Mar 25 20:29:17 kernel: usb.c: USB disconnect on device 1
Mar 25 20:29:17 kernel: usb.c: USB disconnect on device 2
Mar 25 20:29:17 kernel: usb.c: USB bus 1 deregistered
Mar 25 20:29:17 kernel: usb.c: USB disconnect on device 1
Mar 25 20:29:17 kernel: usb.c: USB bus 2 deregistered
Mar 25 20:29:20 kernel: usb-uhci.c: $Revision: 1.275 $ time 22:23:31 Mar
19 2002
Mar 25 20:29:20 kernel: usb-uhci.c: High bandwidth mode enabled
Mar 25 20:29:20 kernel: PCI: Found IRQ 11 for device 00:07.2
Mar 25 20:29:20 kernel: PCI: Sharing IRQ 11 with 00:07.3
Mar 25 20:29:20 kernel: usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
Mar 25 20:29:20 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:29:20 kernel: usb.c: new USB bus registered, assigned bus
number 1
Mar 25 20:29:20 kernel: hub.c: USB hub found
Mar 25 20:29:20 kernel: hub.c: 2 ports detected
Mar 25 20:29:20 kernel: PCI: Found IRQ 11 for device 00:07.3
Mar 25 20:29:20 kernel: PCI: Sharing IRQ 11 with 00:07.2
Mar 25 20:29:20 kernel: usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
Mar 25 20:29:20 kernel: usb-uhci.c: Detected 2 ports
Mar 25 20:29:20 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 2
Mar 25 20:29:20 kernel: usb.c: new USB bus registered, assigned bus
number 2
Mar 25 20:29:20 kernel: CDCEther.c: Ethernet information found at device
configuration. This is broken.
Mar 25 20:29:20 kernel: CDCEther.c: Probably broken Union descriptor,
fudging data interface
Mar 25 20:29:20 kernel: CDCEther.c: detected BULK OUT packets of size 64
Mar 25 20:29:20 kernel: hub.c: USB hub found
Mar 25 20:29:20 kernel: hub.c: 2 ports detected
Mar 25 20:29:20 kernel: usb.c: ignoring set_interface for dev 2, iface
0, alt 0
Mar 25 20:29:20 kernel: usb-uhci.c: v1.275:USB Universal Host Controller
Interface driver
Mar 25 20:29:20 kernel: CDCEther.c: eth0: Motorola Corporation SB4100
USB Cable Modem 002040890593 00:20:40:89:05:93
Mar 25 20:29:20 kernel: usb.c: USB device 2 (vend/prod 0x7b2/0x4100) is
not claimed by any active driver.
Mar 25 20:29:20 kernel: CDCEther.c: eth0: set multicast filters
Mar 25 20:29:20 kernel: CDCEther.c: eth0: set multicast filters
Mar 25 20:29:20 kernel: CDCEther.c: eth0: set too many MC filters, using
allmulti
Mar 25 20:29:20 logger: punching nameserver 24.158.0.10 through the
firewall
On Sat, 2002-03-23 at 05:02, Brad Hards wrote:
> On Sat, 23 Mar 2002 04:00, Kevin Reck wrote:
> > RedHat 7.2 (kernel 2.4.18)
> > AMD Athlon 1.33Ghz ( 512Megs Ram )
> > Epox 8k7a motherboard
> >
> > I have succesfully made my Cable Modem work in Linux through the USB
> > interface ... The problem is that my eth0 (the USB ethernet connection)
> > constantly times-out and doing an ifup eth0 results in a failure to
> > reobtain an IP. [ifup: SIOCGIFFLAGS: No such device] The only way that I
> > have make my my USB connection work again is to reboot my machine. Any
> > ideas on how to keep the modem from timingout?
> I am not sure what is happening - you need to provide the timestamps for
> context, and some more information (eg /sbin/ifconfig eth0, when it works,
> and when it fails).
>
> Can you annotate the log (showing "things were working as advertised here", or
> "at this time the network failed" or "at this time I tried to do
> such-n-such")?
>
> How often is "constantly"?
>
> Are you running it through a hub?
>
> Can you try it on another machine? Can you try it with 2.4.19-pre2 or later?
>
> When it fails, can you try /sbin/rmmod CDCEther; /sbin/modprobe CDCEther? Can
> you try just power cycling the modem?
>
> Brad
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users