Full log below. Boot finish at 66.540000, device not detected. Then I remove and insert it. Detected. Would appreciate any tip. Regards, Nuno [ 0.000000] Linux version 2.6.32.9 (nuno@ground2) (gcc version 4.3.3 (GCC) ) #3 Wed Mar 10 17:27:21 WET 2010 [ 0.000000] prom: fw_arg0=00000009, fw_arg1=a1f67fb0, fw_arg2=a1f68470, fw_arg3=00000008 [ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] Atheros AR9130 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00002000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 802d3c90, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8128 pages, LIFO batch:0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=WRT160NL [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 29320k/32768k available (2101k kernel code, 3448k reserved, 411k data, 152k init, 0k highmem) [ 0.000000] SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:56 [ 0.000000] Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200) [ 0.240000] Mount-cache hash table entries: 512 [ 0.240000] NET: Registered protocol family 16 [ 0.250000] MIPS: machine is Linksys WRT160NL [ 0.760000] bio: create slab <bio-0> at 0 [ 0.770000] usbcore: registered new interface driver usbfs [ 0.770000] usbcore: registered new interface driver hub [ 0.780000] usbcore: registered new device driver usb [ 0.780000] Switching to clocksource MIPS [ 0.790000] NET: Registered protocol family 2 [ 0.790000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.800000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.810000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.810000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.820000] TCP reno registered [ 0.820000] NET: Registered protocol family 1 [ 0.830000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.830000] Registering mini_fo version $Id$ [ 0.840000] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.850000] yaffs Mar 10 2010 10:41:57 Installing. [ 0.850000] msgmni has been set to 57 [ 0.860000] io scheduler noop registered [ 0.860000] io scheduler deadline registered (default) [ 0.870000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.870000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.880000] console [ttyS0] enabled, bootconsole disabled [ 0.890000] Atheros AR71xx SPI Controller driver version 0.2.4 [ 0.900000] m25p80 spi0.0: mx25l6405d (8192 Kbytes) [ 0.900000] spi0.0: searching for MyLoader partition table at offset 0x10000 [ 0.900000] spi0.0: searching for MyLoader partition table at offset 0x20000 [ 0.900000] spi0.0: searching for MyLoader partition table at offset 0x30000 [ 0.910000] spi0.0: searching for MyLoader partition table at offset 0x40000 [ 0.910000] spi0.0: no MyLoader partition table found [ 0.910000] Searching for RedBoot partition table in spi0.0 at offset 0x7e0000 [ 0.990000] Searching for RedBoot partition table in spi0.0 at offset 0x7f0000 [ 1.070000] No RedBoot partition table detected in spi0.0 [ 1.080000] 6 wrt160nl partitions found on MTD device spi0.0 [ 1.080000] Creating 6 MTD partitions on "spi0.0": [ 1.090000] 0x000000000000-0x000000040000 : "u-boot" [ 1.100000] 0x000000040000-0x000000180000 : "kernel" [ 1.100000] 0x000000180000-0x0000007e0000 : "rootfs" [ 1.110000] mtd: partition "rootfs" set to be root filesystem [ 1.110000] mtd: partition "rootfs_data" created automatically, ofs=300000, len=4E0000 [ 1.120000] 0x000000300000-0x0000007e0000 : "rootfs_data" [ 1.130000] 0x0000007e0000-0x0000007f0000 : "nvram" [ 1.130000] 0x0000007f0000-0x000000800000 : "art" [ 1.140000] 0x000000040000-0x0000007e0000 : "firmware" [ 1.150000] ag71xx_mdio: probed [ 1.160000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.370000] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000 [ 1.370000] eth0: connected to PHY at ag71xx-mdio:00 [uid=00008306, driver=Realtek RTL8306S] [ 1.380000] eth1: Atheros AG71xx at 0xba000000, irq 5 [ 1.580000] eth1: connected to PHY at ag71xx-mdio:04 [uid=00008306, driver=Realtek RTL8306S] [ 1.580000] Atheros AR71xx hardware watchdog driver version 0.1.0 [ 1.590000] ar71xx-wdt: timeout=15 secs (max=21) [ 1.590000] TCP westwood registered [ 1.590000] NET: Registered protocol family 17 [ 1.600000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx> [ 1.610000] All bugs added by David S. Miller <davem@xxxxxxxxxx> [ 1.620000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.630000] Freeing unused kernel memory: 152k freed [ 1.650000] Please be patient, while OpenWrt loads ... [ 3.740000] gpio-buttons driver version 0.1.2 [ 3.750000] input: gpio-buttons as /devices/platform/gpio-buttons/input/input0 [ 3.890000] Button Hotplug driver version 0.3.1 [ 4.200000] Registered led device: wrt160nl:blue:power [ 4.200000] Registered led device: wrt160nl:amber:wps [ 4.210000] Registered led device: wrt160nl:blue:wps [ 4.210000] Registered led device: wrt160nl:blue:wlan [ 5.400000] ar71xx: pll_reg 0xb8050014: 0x13000a44 [ 5.400000] eth0: link up (100Mbps/Full duplex) [ 7.400000] mini_fo: using base directory: / [ 7.400000] mini_fo: using storage directory: /tmp/root [ 8.400000] eth0: link down [ 9.030000] device eth0 entered promiscuous mode [ 9.750000] Generic kernel compatibility enabled based on linux-next next-20100113 [ 10.240000] cfg80211: Calling CRDA to update world regulatory domain [ 10.400000] ar71xx: pll_reg 0xb8050014: 0x13000a44 [ 10.400000] eth0: link up (100Mbps/Full duplex) [ 10.400000] br-lan: port 1(eth0) entering forwarding state [ 11.630000] ar71xx: pll_reg 0xb8050018: 0x13000a44 [ 11.630000] eth1: link up (100Mbps/Full duplex) [ 11.640000] cfg80211: World regulatory domain updated: [ 11.650000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.650000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.660000] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.670000] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.670000] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.680000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.200000] ath: EEPROM regdomain: 0x0 [ 12.200000] ath: EEPROM indicates default country code should be used [ 12.200000] ath: doing EEPROM country->regdmn map search [ 12.200000] ath: country maps to regdmn code: 0x3a [ 12.200000] ath: Country alpha2 being used: US [ 12.200000] ath: Regpair used: 0x3a [ 12.210000] phy0: Selected rate control algorithm 'ath9k_rate_control' [ 12.210000] phy0: Atheros AR9100 MAC/BB Rev:0 AR2122 RF Rev:a2 mem=0xb80c0000, irq=2 [ 12.220000] cfg80211: Calling CRDA for country: US [ 12.390000] cfg80211: Regulatory domain changed to country: US [ 12.390000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 12.400000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 12.410000] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 12.410000] (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.420000] (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.430000] (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.440000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 12.550000] PPP generic driver version 2.4.2 [ 12.740000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.860000] NET: Registered protocol family 24 [ 13.010000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.010000] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96 [ 13.010000] ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller [ 13.020000] drivers/usb/core/inode.c: creating file 'devices' [ 13.020000] drivers/usb/core/inode.c: creating file '001' [ 13.020000] ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1 [ 13.030000] ar71xx-ehci ar71xx-ehci: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT [ 13.030000] ar71xx-ehci ar71xx-ehci: park 0 [ 13.030000] ar71xx-ehci ar71xx-ehci: ...powerdown ports... [ 13.060000] ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000 [ 13.060000] ar71xx-ehci ar71xx-ehci: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT [ 13.060000] ar71xx-ehci ar71xx-ehci: init command 010009 (park)=0 ithresh=1 period=256 RUN [ 13.080000] ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00 [ 13.080000] usb usb1: default language 0x0409 [ 13.080000] usb usb1: udev 1, busnum 1, minor = 0 [ 13.080000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 13.090000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.100000] usb usb1: Product: Atheros AR91xx built-in EHCI controller [ 13.100000] usb usb1: Manufacturer: Linux 2.6.32.9 ehci_hcd [ 13.110000] usb usb1: SerialNumber: ar71xx-ehci [ 13.110000] usb usb1: uevent [ 13.110000] usb usb1: usb_probe_device [ 13.110000] usb usb1: configuration #1 chosen from 1 choice [ 13.120000] usb usb1: adding 1-0:1.0 (config #1, interface 0) [ 13.120000] usb 1-0:1.0: uevent [ 13.120000] hub 1-0:1.0: usb_probe_interface [ 13.120000] hub 1-0:1.0: usb_probe_interface - got id [ 13.120000] hub 1-0:1.0: USB hub found [ 13.120000] hub 1-0:1.0: 1 port detected [ 13.130000] hub 1-0:1.0: standalone hub [ 13.130000] hub 1-0:1.0: individual port power switching [ 13.130000] hub 1-0:1.0: individual port over-current protection [ 13.130000] hub 1-0:1.0: Single TT [ 13.130000] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns) [ 13.130000] hub 1-0:1.0: power on to power good time: 20ms [ 13.130000] hub 1-0:1.0: local power source is good [ 13.130000] hub 1-0:1.0: enabling power on all ports [ 13.130000] drivers/usb/core/inode.c: creating file '001' [ 13.230000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 [ 13.410000] nf_conntrack version 0.5.0 (460 buckets, 1840 max) [ 14.260000] usbcore: registered new interface driver usbserial [ 14.260000] USB Serial support registered for generic [ 14.270000] usbcore: registered new interface driver usbserial_generic [ 14.270000] usbserial: USB Serial Driver core [ 15.700000] eth1: link down [ 16.700000] ar71xx: pll_reg 0xb8050018: 0x13000a44 [ 16.700000] eth1: link up (100Mbps/Full duplex) [ 22.290000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 22.290000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 22.300000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 66.340000] mini_fo: using base directory: / [ 66.340000] mini_fo: using storage directory: /jffs [ 66.540000] ar71xx-wdt: enabling watchdog timer ***DEVICE REMOVAL*****[ 115.400000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 115.400000] ar71xx-ehci ar71xx-ehci: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT [ 115.400000] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s [ 115.440000] ar71xx-ehci ar71xx-ehci: GetStatus port 1 status c001002 POWER sig=se0 CSC [ 115.600000] hub 1-0:1.0: debounce: port 1: total 125ms stable 100ms status 0x100 [ 115.600000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 ***DEVICE INSERT******[ 121.360000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 121.360000] ar71xx-ehci ar71xx-ehci: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT [ 121.360000] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s [ 121.520000] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 [ 121.640000] usb 1-1: new full speed USB device using ar71xx-ehci and address 2 [ 121.700000] ar71xx-ehci ar71xx-ehci: port 1 high speed [ 121.700000] ar71xx-ehci ar71xx-ehci: GetStatus port 1 status 001005 POWER sig=se0 PE CONNECT [ 121.790000] usb 1-1: default language 0x0409 [ 121.790000] usb 1-1: udev 2, busnum 1, minor = 1 [ 121.790000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1001 [ 121.800000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=1 [ 121.810000] usb 1-1: Product: HUAWEI Mobile [ 121.810000] usb 1-1: Manufacturer: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ [ 121.820000] usb 1-1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ [ 121.820000] usb 1-1: uevent [ 121.820000] usb 1-1: usb_probe_device [ 121.820000] usb 1-1: configuration #1 chosen from 1 choice [ 121.850000] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [ 121.850000] usb 1-1:1.0: uevent [ 121.850000] usbserial_generic 1-1:1.0: usb_probe_interface [ 121.850000] usbserial_generic 1-1:1.0: usb_probe_interface - got id [ 121.850000] drivers/usb/core/inode.c: creating file '002' [ 121.850000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 2010/3/10 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Wed, 10 Mar 2010, Nuno Gonçalves wrote: > >> The UMTS modem Huawei E169 sometimes is not detected as a USB device >> on boot. No entry on /proc/... >> When pluged after the system is booted, it is always detected. >> >> It looks like some kind of incompability with this unit firmware(I've >> tested 5 hardware pieces). >> >> Is there any kind of diagnose suit I can run to try to diagnose the issue? >> >> I could only find the problem on Openwrt(2.6). > > As Greg said, this is likely to be a platform issue. However you _can_ > collect some additional information. Build a kernel with > CONFIG_USB_DEBUG and CONFIG_PRINTK_TIME enabled, and then post the > dmesg log showing what happens during a boot in which the modem wasn't > detected. > > Alan Stern > > -- \ Nuno Gonçalves / \ Bugs? Features! / \ nunojpg@xxxxxxxxx / PORTUGAL E-mail sent directly from Google Mail webmail using HTTPS on behalf of Nuno João Pinto Gonçalves, birth date 1986-11-16. E-mail headers provide good assurance that this message was not tampered and originates from nunojpg@xxxxxxxxxx If you require additional security, I may provide on request X509 electronic signature under Portuguese government chain. Se precisar de assinatura digital do Cartão de Cidadão, de uma apitadela. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html