Comment 4 for bug 791552

Revision history for this message
Paolo Pisati (p-pisati) wrote : Re: No USB support on beagle/beagleXM

[flag@newluxor ubuntu-oneiric]$ git log --oneline -1
5da5c79 UBUNTU: Ubuntu-2.6.39-3.10

compiling an oneiric kernel with gcc 4.6 make me reproduce the problem:

[ 0.000000] Linux version 2.6.39-3-omap (root@newluxor) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.0-10ubuntu2) ) #10 Fri Jun 3 17:18:12 CEST 2011 (Ubuntu 2.6.39-3.10-omap 2.6.39)
...
flag@ubuntu:~$ ifconfig eth0
eth0: error fetching interface information: Device not found
flag@ubuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[flag@newluxor ~]$ dpkg -l | grep 4.6 | grep arm
ii cpp-4.6-arm-linux-gnueabi 4.6.0-10ubuntu2cross1.49 The GNU C preprocessor
ii g++-4.6-arm-linux-gnueabi 4.6.0-10ubuntu2cross1.49 The GNU C++ compiler
ii gcc-4.6-arm-linux-gnueabi 4.6.0-10ubuntu2cross1.49 The GNU C compiler
ii gcc-4.6-arm-linux-gnueabi-base 4.6.0-10ubuntu2cross1.49 The GNU Compiler Collection (base package)
pi libgcc1-armel-cross 1:4.6.0-10ubuntu2cross1.65 GCC support library
ii libgomp1-armel-cross 4.6.0-10ubuntu2cross1.49 GCC OpenMP (GOMP) support library
ii libmudflap0-4.6-dev-armel-cross 4.6.0-10ubuntu2cross1.49 GCC mudflap support libraries (development files)
ii libmudflap0-armel-cross 4.6.0-10ubuntu2cross1.49 GCC mudflap shared support libraries
ii libstdc++6-4.6-dev-armel-cross 4.6.0-10ubuntu2cross1.49 The GNU Standard C++ Library v3 (development files)
ii libstdc++6-4.6-pic-armel-cross 4.6.0-10ubuntu2cross1.49 The GNU Standard C++ Library v3 (shared library subset kit)
ii libstdc++6-armel-cross 4.6.0-10ubuntu2cross1.49 The GNU Standard C++ Library v3

while, if i recompile the same tree with gcc 4.5, everything works as expected:

[ 0.000000] Linux version 2.6.39-3-omap (root@newluxor) (gcc version 4.5.3 (Ubuntu/Linaro 4.5.3-1ubuntu2) ) #10 Fri Jun 3 16:07:23 CEST 2011 (Ubuntu 2.6.39-3.10-omap 2.6.39)
...
flag@ubuntu:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 7e:cf:20:cb:ca:dd
          BROADCAST MULTICAST MTU:1492 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

flag@ubuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 03f0:5307 Hewlett-Packard

[flag@newluxor ~]$ dpkg -l | grep 4.5 | grep arm
ii cpp-4.5-arm-linux-gnueabi 4.5.3-1ubuntu2cross1.48 The GNU C preprocessor
ii cpp-arm-linux-gnueabi 4:4.5.2-8 The GNU C preprocessor (cpp) for armel architecture
ii gcc-4.5-arm-linux-gnueabi 4.5.3-1ubuntu2cross1.48 The GNU C compiler
ii gcc-4.5-arm-linux-gnueabi-base 4.5.3-1ubuntu2cross1.48 The GNU Compiler Collection (base package)
ii gcc-arm-linux-gnueabi 4:4.5.2-8 The GNU C compiler for armel architecture