Hello,
I've bought me an Intellinet USB Ethernet adapter in the hope that I
will get a running network on my omap3-based board. But it doesn't work.
The kernel on the target doesn't even register a new usb device when I
plug in the adapter to the device. On my host everything works fine.
Iam using kernel version 2.6.34 for an arm-based omap3 target.
I've attached the target dmesg output within a text file.
The asix and also the mcs7830 drivers are compiled in to the kernel (not
as a module). Also whole usbnet support is compiled in. Could that be a
problem here?
However, if I plug in the adapter into my host system, the following
kernel output appears:
usb 3-1: new high speed USB device using ehci_hcd and address 24
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: applying rev.C fixup
eth2: register 'MOSCHIP usb-ethernet driver' at usb-0000:00:1d.7-1,
MOSCHIP 7830/7730 usb-NET adapter, 00:d0:01:11:0a:49
udev: renamed network interface eth2 to eth4
If the adapter gets hotplugged on the device nothing happens...
Any help on this issue would be very appreciated. Thanks in advance.
Kind Regards,
Steve
P.S. If you need additional informations please let me know.
root@beagleboard /root]# dmesg | more
Linux version 2.6.34-rc1-07855-gf0a9ba0-dirty (redwing@euklid) (gcc version 4.4.3 (Buildroot 2010.02) ) #4 Sat Mar 27 13:08:54 CET 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c03c8e78, node_mem_map c03e5000
Normal zone: 512 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 65024 pages, LIFO batch:15
OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: ramdisk_size=8192 root=/dev/ram0 rw rootfstype=ext2 console=ttyGS0,115200n8 initrd=0x81600000,8M nohz=off
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 247724k/247724k available, 14420k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc002a000 ( 136 kB)
.text : 0xc002a000 - 0xc0382000 (3424 kB)
.data : 0xc0398000 - 0xc03c9480 ( 198 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 487.36 BogoMIPS (lpj=1904640)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb_hdrc: MHDRC RTL version 1.400
musb_hdrc: setup fifo_mode 4
musb_hdrc: 28/31 max ep, 16384/16384 memory
musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 499
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
omapfb: configured for panel omap3beagle
omapfb: DISPC version 3.0 initialized
Console: switching to colour frame buffer device 128x48
omapfb: Framebuffer initialized. Total vram 1572864 planes 1
omapfb: Pixclock 61714 kHz hfreq 57.5 kHz vfreq 74.2 Hz
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
brd: module loaded
loop: module loaded
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver MOSCHIP usb-ethernet driver
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
regulator_init_complete: incomplete constraints, leaving VDVI on
regulator_init_complete: incomplete constraints, leaving VDAC on
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Warning: unable to open an initial console.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 136K
mmc0: new SD card at address aaaa
mmcblk0: mmc0:aaaa SD02G 1.84 GiB
mmcblk0: p1 p2 p3
g_serial gadget: high speed config #2: CDC ACM config
------------[ cut here ]------------
WARNING: at kernel/mutex.c:207 __mutex_lock_slowpath+0x68/0x224()
Modules linked in:
[<c00303c0>] (unwind_backtrace+0x0/0xd8) from [<c0051270>] (warn_slowpath_common+0x48/0x60)
[<c0051270>] (warn_slowpath_common+0x48/0x60) from [<c02a9308>] (__mutex_lock_slowpath+0x68/0x224)
[<c02a9308>] (__mutex_lock_slowpath+0x68/0x224) from [<c02a94d0>] (mutex_lock+0xc/0x20)
[<c02a94d0>] (mutex_lock+0xc/0x20) from [<c01a1294>] (echo_set_canon_col+0x14/0x38)
+0xbac/0x106c)echo_set_canon_col+0x14/0x38) from [<c01a356c>] (n_tty_receive_buf--More--
[<c01a356c>] (n_tty_receive_buf+0xbac/0x106c) from [<c01a5a1c>] (flush_to_ldisc+0xd4/0x168)
[<c01a5a1c>] (flush_to_ldisc+0xd4/0x168) from [<c020cdc0>] (gs_rx_push+0x128/0x1d0)
[<c020cdc0>] (gs_rx_push+0x128/0x1d0) from [<c005587c>] (tasklet_action+0x6c/0xac)
[<c005587c>] (tasklet_action+0x6c/0xac) from [<c0055ee8>] (__do_softirq+0x70/0xf8)
[<c0055ee8>] (__do_softirq+0x70/0xf8) from [<c0055fb0>] (irq_exit+0x40/0x8c)
[<c0055fb0>] (irq_exit+0x40/0x8c) from [<c002a074>] (asm_do_IRQ+0x74/0x90)
[<c002a074>] (asm_do_IRQ+0x74/0x90) from [<c002a9d4>] (__irq_svc+0x34/0x80)
Exception stack(0xc0399f78 to 0xc0399fc0)
9f60: 00000000 60000013
9f80: 60000013 c03ca07c c0398000 c039bbd0 c03c9704 c039bbc8 80023e68 411fc083
9fa0: 0000001f 00000000 00000000 c0399fc0 c0038bdc c0038c14 60000013 ffffffff
[<c002a9d4>] (__irq_svc+0x34/0x80) from [<c0038c14>] (omap3_pm_idle+0x48/0x4c)
[<c0038c14>] (omap3_pm_idle+0x48/0x4c) from [<c002c2e0>] (cpu_idle+0x48/0x88)
[<c002c2e0>] (cpu_idle+0x48/0x88) from [<c0008928>] (start_kernel+0x248/0x2a0)
[<c0008928>] (start_kernel+0x248/0x2a0) from [<80008034>] (0x80008034)
---[ end trace 40bc2a1590d1a34a ]---