public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* System hang (and other problems) with cdc_acm
@ 2009-01-19 20:20 Thomas Tuttle
  2009-01-26  7:27 ` Andrew Morton
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Tuttle @ 2009-01-19 20:20 UTC (permalink / raw)
  To: linux-kernel

Hi.

I've got a Lenovo X200 with an Ericsson F3507g Mobile Broadband Module
(a 3G cellular data card with built-in GPS), which uses the cdc_acm
driver.  I've experienced a couple of problems with it.  First, it
tends to hang the system after I've been using it for a while.  This
occurs whenever it's sending a lot of data to/from the computer,
whether it's a PPP connection or a GPS data stream.  I'm not sure how
to debug this; the Caps Lock light isn't flashing, so I'm not sure if
it's a panic or just a hang.  Second, if I read one of the TTYs using
"cat", I get a ton of blank lines.  To make any sense of the data
stream, I have to do cat /dev/ttyACM0 | grep -v "^$".

If anyone could help me debug this, I'd be greatly appreciative.

Thanks,

Thomas Tuttle

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-19 20:20 System hang (and other problems) with cdc_acm Thomas Tuttle
@ 2009-01-26  7:27 ` Andrew Morton
  2009-01-26  8:19   ` Michelle Konzack
  2009-01-26  8:36   ` Oliver Neukum
  0 siblings, 2 replies; 12+ messages in thread
From: Andrew Morton @ 2009-01-26  7:27 UTC (permalink / raw)
  To: Thomas Tuttle; +Cc: linux-kernel, linux-usb

(cc linux-usb)

On Mon, 19 Jan 2009 15:20:13 -0500 "Thomas Tuttle" <linux-kernel@ttuttle.net> wrote:

> Hi.
> 
> I've got a Lenovo X200 with an Ericsson F3507g Mobile Broadband Module
> (a 3G cellular data card with built-in GPS), which uses the cdc_acm
> driver.  I've experienced a couple of problems with it.  First, it
> tends to hang the system after I've been using it for a while.  This
> occurs whenever it's sending a lot of data to/from the computer,
> whether it's a PPP connection or a GPS data stream.  I'm not sure how
> to debug this; the Caps Lock light isn't flashing, so I'm not sure if
> it's a panic or just a hang.  Second, if I read one of the TTYs using
> "cat", I get a ton of blank lines.  To make any sense of the data
> stream, I have to do cat /dev/ttyACM0 | grep -v "^$".
> 
> If anyone could help me debug this, I'd be greatly appreciative.
> 
> Thanks,
> 
> Thomas Tuttle

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26  7:27 ` Andrew Morton
@ 2009-01-26  8:19   ` Michelle Konzack
  2009-01-26  8:45     ` Oliver Neukum
  2009-01-26  8:36   ` Oliver Neukum
  1 sibling, 1 reply; 12+ messages in thread
From: Michelle Konzack @ 2009-01-26  8:19 UTC (permalink / raw)
  To: linux-kernel, linux-usb

[-- Attachment #1: Type: text/plain, Size: 2447 bytes --]

Am 2009-01-25 23:27:53, schrieb Andrew Morton:
> On Mon, 19 Jan 2009 15:20:13 -0500 "Thomas Tuttle" <linux-kernel@ttuttle.net> wrote:
> 
> > Hi.
> > 
> > I've got a Lenovo X200 with an Ericsson F3507g Mobile Broadband Module
> > (a 3G cellular data card with built-in GPS), which uses the cdc_acm
> > driver.  I've experienced a couple of problems with it.  First, it
> > tends to hang the system after I've been using it for a while.  This
> > occurs whenever it's sending a lot of data to/from the computer,
> > whether it's a PPP connection or a GPS data stream.  I'm not sure how
> > to debug this; the Caps Lock light isn't flashing, so I'm not sure if
> > it's a panic or just a hang.  Second, if I read one of the TTYs using
> > "cat", I get a ton of blank lines.  To make any sense of the data
> > stream, I have to do cat /dev/ttyACM0 | grep -v "^$".
> > 
> > If anyone could help me debug this, I'd be greatly appreciative.

Same problem here...

My Router is based on Debian Etch with

Linux router 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux

and even if I install 2.6.26 it is the same effect.

I am using a cell-phone "Nokia 6120 classic" and my german GSM  Provider
is O2/Telefonica.  I get without any problems  550 kByte/Sec,  but  then
from one second to another 2-5 kByte/Sec.

I have to use

1)  poff o2
2)  wait for termination
3)  disconnect the Nokia
4)  nodprobe -r cdc_acm
5)  reconenct the Nokia
6)  pon o2

and now it work again...  But sometimes, my Nokia (Symbian S60) crashs.

Normaly I can use "cdc_ether" plus "rndis_host" but any kernel modules I
have tried are crashing.  (Bugreport alredy to the Debian BTS)

Since the "cdc_ether" and the "rndis_host" is loaded automaticaly  if  I
connect my Nokia I had to remove the two modules plus usbnet physicaly.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26  7:27 ` Andrew Morton
  2009-01-26  8:19   ` Michelle Konzack
@ 2009-01-26  8:36   ` Oliver Neukum
  2009-01-27 23:34     ` Thomas Tuttle
  1 sibling, 1 reply; 12+ messages in thread
From: Oliver Neukum @ 2009-01-26  8:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Thomas Tuttle, linux-kernel, linux-usb

Am Monday 26 January 2009 08:27:53 schrieb Andrew Morton:
> > I've got a Lenovo X200 with an Ericsson F3507g Mobile Broadband Module
> > (a 3G cellular data card with built-in GPS), which uses the cdc_acm
> > driver.  I've experienced a couple of problems with it.  First, it
> > tends to hang the system after I've been using it for a while.  This
> > occurs whenever it's sending a lot of data to/from the computer,
> > whether it's a PPP connection or a GPS data stream.  I'm not sure how
> > to debug this; the Caps Lock light isn't flashing, so I'm not sure if
> > it's a panic or just a hang.  Second, if I read one of the TTYs using
> > "cat", I get a ton of blank lines.  To make any sense of the data
> > stream, I have to do cat /dev/ttyACM0 | grep -v "^$".
> > 
> > If anyone could help me debug this, I'd be greatly appreciative.

It is probably necessary to setup a watchdog. Can you do that?
As for the blank lines, I am not sure this is a bug. Your device may
indeed send a lot of newlines.

	Regards
		Oliver


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26  8:19   ` Michelle Konzack
@ 2009-01-26  8:45     ` Oliver Neukum
  2009-01-26 12:00       ` Michelle Konzack
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Neukum @ 2009-01-26  8:45 UTC (permalink / raw)
  To: Michelle Konzack; +Cc: linux-kernel, linux-usb

Am Monday 26 January 2009 09:19:04 schrieb Michelle Konzack:
> > > to debug this; the Caps Lock light isn't flashing, so I'm not sure if
> > > it's a panic or just a hang.  Second, if I read one of the TTYs using
> > > "cat", I get a ton of blank lines.  To make any sense of the data
> > > stream, I have to do cat /dev/ttyACM0 | grep -v "^$".
> > > 
> > > If anyone could help me debug this, I'd be greatly appreciative.
> 
> Same problem here...
> 
> My Router is based on Debian Etch with
> 
> Linux router 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux
> 
> and even if I install 2.6.26 it is the same effect.
> 
> I am using a cell-phone "Nokia 6120 classic" and my german GSM  Provider
> is O2/Telefonica.  I get without any problems  550 kByte/Sec,  but  then
> from one second to another 2-5 kByte/Sec.

What makes you think that it is the same problem? It doesn't hang your
system, does it? If so, can you please post "dmesg" of one of the incidents
and "lsusb -v"?

	Regards
		Oliver


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26  8:45     ` Oliver Neukum
@ 2009-01-26 12:00       ` Michelle Konzack
  2009-01-26 12:47         ` Oliver Neukum
  0 siblings, 1 reply; 12+ messages in thread
From: Michelle Konzack @ 2009-01-26 12:00 UTC (permalink / raw)
  To: linux-kernel, linux-usb

[-- Attachment #1: Type: text/plain, Size: 28997 bytes --]

Am 2009-01-26 09:45:52, schrieb Oliver Neukum:
> What makes you think that it is the same problem? It doesn't hang your
> system, does it? If so, can you please post "dmesg" of one of the incidents
> and "lsusb -v"?

It slows down and then after some minutes (15-30)  it  hang.  The  Nokia
show 3.5G and the "Connection Manager" an active connection but there is
ZERO traffic...

On the router I can not ping the Internet or do something else...


As you can see, it recoved the EXT3 since the kernel was crashed  and  I
had to reboot the router.  But there is a weird thing  with  it:  On  my
Laptop and my Intranet Server the kernel write @crash a message into the
logs, but on the Router is nothing...

Here the last outputs:

----[ '/var/log/dmesg' ]------------------------------------------------
Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-23etch1) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-
21)) #1 SMP Fri Dec 12 16:48:28 UTC 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
 BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
127MB LOWMEM available.
On node 0 totalpages: 32752
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 28656 pages, LIFO batch:7
DMI 2.1 present.
ACPI: RSDP (v000 MSISYS                                ) @ 0x000f5d80
ACPI: RSDT (v001 MSISYS MS-6147W 0x30302e31 MSFT 0x00000000) @ 0x07ff3000
ACPI: FADT (v001 MSISYS MS-6147W 0x30302e31 MSFT 0x00000000) @ 0x07ff3040
ACPI: DSDT (v001 MSISYS AWRDACPI 0x00001000 MSFT 0x01000007) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 10000000 (gap: 08000000:f7ff0000)
Detected 434.324 MHz processor.
Built 1 zonelists.  Total pages: 32752
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01109000)
Enabling fast FPU save and restore... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 122304k/131008k available (1543k kernel code, 8176k reserved, 578k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 869.57 BogoMIPS (lpj=1739144)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 1c00)
CPU0: Intel Celeron (Mendocino) stepping 00
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 4371k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfbc30, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
* Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
* this clock source is slow. Consider trying other clock sources
PCI quirk: region 4000-403f claimed by PIIX4 ACPI
PCI quirk: region 5000-500f claimed by PIIX4 SMB
PCI: Firmware left 0000:00:10.0 e100 interrupts enabled, disabling
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 8 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: e0000000-e3ffffff
  PREFETCH window: 14000000-140fffff
PCI: Bus 2, cardbus bridge: 0000:00:0e.0
  IO window: 00001000-000010ff
  IO window: 00001400-000014ff
  PREFETCH window: 10000000-11ffffff
  MEM window: 12000000-13ffffff
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1232751592.476:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 196k freed
ACPI: Fan [FAN0] (on)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
usbcore: registered new driver usbfs
usbcore: registered new driver hub
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
USB Universal Host Controller Interface driver v3.0
hda: QUANTUM FIREBALL CR6.4A, ATA DISK drive
Time: acpi_pm clocksource has been installed.
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
e100: eth0: e100_probe: addr 0xe6502000, irq 12, MAC addr 00:90:27:92:78:7E
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hda: max request size: 128KiB
hda: 12594960 sectors (6448 MB) w/418KiB Cache, CHS=13328/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
Attempting manual resume
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 4M @ 0xe6000000
Yenta: CardBus bridge found at 0000:00:0e.0 [0000:0000]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Yenta: ISA IRQ mask 0x0000, PCI irq 11
Socket status: 30000006
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
input: PC Speaker as /class/input/input0
Real Time Clock Driver v1.12ac
cdc_acm 1-1:1.8: ttyACM0: USB ACM device
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
Adding 240964k swap on /dev/hda2.  Priority:-1 extents:1 across:240964k
EXT3 FS on hda1, internal journal
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
------------------------------------------------------------------------



----[ command 'lsusb -v' ]----------------------------------------------

Bus 001 Device 005: ID 0421:002f Nokia Mobile Phones 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0421 Nokia Mobile Phones
  idProduct          0x002f 
  bcdDevice            1.00
  iManufacturer           1 Nokia
  iProduct                2 Nokia 6120 classic
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          408
    bNumInterfaces         14
    bConfigurationValue     1
    iConfiguration          4 Bulk transfer method configuration
    bmAttributes         0xc0
      Self Powered
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass      8 Wireless Handset Control
      bInterfaceProtocol      0 
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      CDC WHCM:
        bcdVersion           1.00
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 2 3 4 5 6 7 8 9 10 11 12 13 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass      8 Wireless Handset Control
      bInterfaceProtocol      1 
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      INVALID CDC (Telephone Operations):  05 24 08 00 01
      CDC Union:
        bMasterInterface        1
        bSlaveInterface         2 3 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass    254 
      bInterfaceProtocol      0 
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      UNRECOGNIZED CDC:  05 24 ab 05 15
      CDC Union:
        bMasterInterface        2
        bSlaveInterface         3 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Class specific interface descriptor for class 10 is unsupported
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass     11 OBEX
      bInterfaceProtocol      0 
      iInterface              6 SYNCML-SYNC
      CDC Header:
        bcdCDC               1.10
      CDC OBEX:
        bcdVersion           1.00
      CDC Union:
        bMasterInterface        4
        bSlaveInterface         5 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass     11 OBEX
      bInterfaceProtocol      0 
      iInterface              7 PC Suite Services
      CDC Header:
        bcdCDC               1.10
      CDC OBEX:
        bcdVersion           1.00
      CDC Union:
        bMasterInterface        6
        bSlaveInterface         7 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        8
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              8 CDC Comms Interface
      CDC Header:
        bcdCDC               1.00
      CDC ACM:
        bmCapabilities       0x0f
          connection notifications
          sends break
          line coding and serial state
          get/set/clear comm features
      CDC Union:
        bMasterInterface        8
        bSlaveInterface         9 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval             128
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        9
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              9 CDC Data Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       10
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol    255 Vendor Specific (MSFT RNDIS?)
      iInterface             10 CDC Comms Interface
      CDC Header:
        bcdCDC               1.00
      CDC ACM:
        bmCapabilities       0x0f
          connection notifications
          sends break
          line coding and serial state
          get/set/clear comm features
      CDC Union:
        bMasterInterface        10
        bSlaveInterface         11 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval             128
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       11
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             11 CDC Data Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       12
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass    253 
      bInterfaceProtocol      0 
      iInterface             12 LCIF_Alt0
      CDC Header:
        bcdCDC               1.10
      UNRECOGNIZED CDC:  05 24 fc 00 01
      CDC Union:
        bMasterInterface        12
        bSlaveInterface         13 
      UNRECOGNIZED CDC:  04 24 fd 00
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       13
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber       13
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              32
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed hub
  bMaxPacketSize0        64
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.18-6-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:07.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled
------------------------------------------------------------------------

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26 12:00       ` Michelle Konzack
@ 2009-01-26 12:47         ` Oliver Neukum
  2009-01-28  9:16           ` Michelle Konzack
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Neukum @ 2009-01-26 12:47 UTC (permalink / raw)
  To: Michelle Konzack; +Cc: linux-kernel, linux-usb

Am Monday 26 January 2009 13:00:29 schrieb Michelle Konzack:
> > What makes you think that it is the same problem? It doesn't hang your
> > system, does it? If so, can you please post "dmesg" of one of the incidents
> > and "lsusb -v"?
> 
> It slows down and then after some minutes (15-30)  it  hang.  The  Nokia
> show 3.5G and the "Connection Manager" an active connection but there is
> ZERO traffic...

Please be specific. Does your internet connection hang, or does the
whole system hang?

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26  8:36   ` Oliver Neukum
@ 2009-01-27 23:34     ` Thomas Tuttle
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Tuttle @ 2009-01-27 23:34 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: Andrew Morton, linux-kernel, linux-usb

On Mon, Jan 26, 2009 at 3:36 AM, Oliver Neukum <oliver@neukum.org> wrote:
> Am Monday 26 January 2009 08:27:53 schrieb Andrew Morton:
> It is probably necessary to setup a watchdog. Can you do that?

I don't know how to do it, but I can follow instructions well :)

> As for the blank lines, I am not sure this is a bug. Your device may
> indeed send a lot of newlines.

It also seems to behave strangely in GPS mode.  Instead of sending
something of the form "1234567890...", it will send
1234567890...
234567890...
34567890...
and so on.  I'd like to look in to this more to see if I can write a workaround.

Cheers,

Thomas Tuttle

-- 
Thomas Tuttle
http://www.ttuttle.net/
thinkinginbinary@gmail.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-26 12:47         ` Oliver Neukum
@ 2009-01-28  9:16           ` Michelle Konzack
  2009-01-28 10:44             ` Oliver Neukum
  0 siblings, 1 reply; 12+ messages in thread
From: Michelle Konzack @ 2009-01-28  9:16 UTC (permalink / raw)
  To: linux-kernel, linux-usb

[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]

Am 2009-01-26 13:47:57, schrieb Oliver Neukum:
> Please be specific. Does your internet connection hang, or does the
> whole system hang?

The whole system...  If I can not get a webpage on my workstation I  try
to connect to my router using ssh but the xterm close  immeiately  which
mean, the system is entirely crashed

Then if I use my KVM switch onthe router, the screen is black, and as  I
have already written, no kernel messages from the crash in the logs.

If there is an option I can activate to get logs dumps or  such,  please
let me know.

Note:   Currently I retry to get my broken develstation running  again
        and then I can try to compile new kernels, but this takes time
        currently...  (no money for parts, since it is an SCSI system)

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-28  9:16           ` Michelle Konzack
@ 2009-01-28 10:44             ` Oliver Neukum
  2009-01-28 17:28               ` Michelle Konzack
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Neukum @ 2009-01-28 10:44 UTC (permalink / raw)
  To: Michelle Konzack; +Cc: linux-kernel, linux-usb

Am Wednesday 28 January 2009 10:16:01 schrieb Michelle Konzack:
> Am 2009-01-26 13:47:57, schrieb Oliver Neukum:
> > Please be specific. Does your internet connection hang, or does the
> > whole system hang?
> 
> The whole system...  If I can not get a webpage on my workstation I  try
> to connect to my router using ssh but the xterm close  immeiately  which
> mean, the system is entirely crashed

Is the system you are referring to on your workstation or your router?

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-28 10:44             ` Oliver Neukum
@ 2009-01-28 17:28               ` Michelle Konzack
  2009-01-28 17:52                 ` Oliver Neukum
  0 siblings, 1 reply; 12+ messages in thread
From: Michelle Konzack @ 2009-01-28 17:28 UTC (permalink / raw)
  To: linux-kernel, linux-usb

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

Am 2009-01-28 11:44:38, schrieb Oliver Neukum:
> Am Wednesday 28 January 2009 10:16:01 schrieb Michelle Konzack:
> > Am 2009-01-26 13:47:57, schrieb Oliver Neukum:
> > > Please be specific. Does your internet connection hang, or does the
> > > whole system hang?
> > 
> > The whole system...  If I can not get a webpage on my workstation I  try
> > to connect to my router using ssh but the xterm close  immeiately  which
> > mean, the system is entirely crashed
> 
> Is the system you are referring to on your workstation or your router?

The router of course...

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: System hang (and other problems) with cdc_acm
  2009-01-28 17:28               ` Michelle Konzack
@ 2009-01-28 17:52                 ` Oliver Neukum
  0 siblings, 0 replies; 12+ messages in thread
From: Oliver Neukum @ 2009-01-28 17:52 UTC (permalink / raw)
  To: Michelle Konzack; +Cc: linux-kernel, linux-usb

Am Wednesday 28 January 2009 18:28:19 schrieb Michelle Konzack:
> Am 2009-01-28 11:44:38, schrieb Oliver Neukum:
> > Am Wednesday 28 January 2009 10:16:01 schrieb Michelle Konzack:
> > > Am 2009-01-26 13:47:57, schrieb Oliver Neukum:
> > > > Please be specific. Does your internet connection hang, or does the
> > > > whole system hang?
> > > 
> > > The whole system...  If I can not get a webpage on my workstation I  try
> > > to connect to my router using ssh but the xterm close  immeiately  which
> > > mean, the system is entirely crashed
> > 
> > Is the system you are referring to on your workstation or your router?
> 
> The router of course...

Ok, I see. You can see your hardware while you type. I cannot.
Please compile your router a kernel with CONFIG_PROVE_LOCKING and
CONFIG_DETECT_SOFTLOCKUP

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-01-28 17:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 20:20 System hang (and other problems) with cdc_acm Thomas Tuttle
2009-01-26  7:27 ` Andrew Morton
2009-01-26  8:19   ` Michelle Konzack
2009-01-26  8:45     ` Oliver Neukum
2009-01-26 12:00       ` Michelle Konzack
2009-01-26 12:47         ` Oliver Neukum
2009-01-28  9:16           ` Michelle Konzack
2009-01-28 10:44             ` Oliver Neukum
2009-01-28 17:28               ` Michelle Konzack
2009-01-28 17:52                 ` Oliver Neukum
2009-01-26  8:36   ` Oliver Neukum
2009-01-27 23:34     ` Thomas Tuttle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox