NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/45591: cdce attaches to OpenMoko Freerunner, fails, attaches 2nd instance, neither works



>Number:         45591
>Category:       kern
>Synopsis:       cdce attaches to OpenMoko Freerunner, fails, attaches 2nd 
>instance, neither works
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 08 19:20:00 +0000 2011
>Originator:     John D. Baker
>Release:        NetBSD-5.99.56/amd64
>Organization:
>Environment:
NetBSD host02.cis.sac.alamo.edu 5.99.56 NetBSD 5.99.56 (GENERIC) #7: Thu Nov  3 
11:42:31 CDT 2011  
dino%host02.cis.sac.alamo.edu@localhost:/d0/build/current/obj/amd64/sys/arch/amd64/compile/GENERIC
 amd64

>Description:
As first described here:

  http://mail-index.netbsd.org/current-users/2011/08/16/msg017376.html

Upon plugging my OpenMoko Neo Freerunner into a USB port of a system
running -current/amd64 (and /i386), the following messages are logged:

[...]
Nov  8 09:27:06 host02 /netbsd: ehci1: handing over full speed device on port 2 
to uhci3
Nov  8 09:27:08 host02 /netbsd: cdce0 at uhub4 port 2 configuration 2 interface 0
Nov  8 09:27:08 host02 /netbsd: cdce0: Linux 2.6.34.7-v31 with s3c2410_udc 
RNDIS/Ethernet Gadget, rev 2.00/3.12, addr 2
Nov  8 09:27:08 host02 /netbsd: cdce0: could not find data bulk in
Nov  8 09:27:08 host02 /netbsd: cdce1 at uhub4 port 2 configuration 2 interface 
1
Nov  8 09:27:08 host02 /netbsd: cdce1: Linux 2.6.34.7-v31 with s3c2410_udc 
RNDIS/Ethernet Gadget, rev 2.00/3.12, addr 2
Nov  8 09:27:08 host02 /netbsd: cdce1: faking address
Nov  8 09:27:08 host02 /netbsd: cdce1: address 2a:db:25:00:00:01
[...]

The output of 'ifconfig' lists only the "cdce1" instance.
'ifconfig -v cdce1' shows:

  cdce1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 2a:db:25:00:00:01
        input: 0 packets, 0 bytes
        output: 0 packets, 0 bytes

Configuring manually and attempting to ssh into the Freerunner times
out.  Interface statistics are as follows:

  cdce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 2a:db:25:00:00:01
        input: 0 packets, 0 bytes
        output: 10 packets, 632 bytes, 5 multicasts
        inet 192.168.0.200 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::28db:25ff:fe00:1%cdce1 prefixlen 64 scopeid 0x6


Similarly, attempting to contact the NetBSD host from the Freerunner
fails with "Host Unreachable".
>How-To-Repeat:
On a NetBSD-5.99.56/amd (or /i386) host (others?) attach an OpenMoko
Neo Freerunner to an available USB port.  Configure the resulting
"cdceN" device and attempt to communicate between the systems.
>Fix:



Home | Main Index | Thread Index | Old Index