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
[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 arm-linux- gnueabi 4.6.0-10ubuntu2 cross1. 49 The GNU C preprocessor arm-linux- gnueabi 4.6.0-10ubuntu2 cross1. 49 The GNU C++ compiler arm-linux- gnueabi 4.6.0-10ubuntu2 cross1. 49 The GNU C compiler arm-linux- gnueabi- base 4.6.0-10ubuntu2 cross1. 49 The GNU Compiler Collection (base package) 10ubuntu2cross1 .65 GCC support library armel-cross 4.6.0-10ubuntu2 cross1. 49 GCC OpenMP (GOMP) support library 4.6-dev- armel-cross 4.6.0-10ubuntu2 cross1. 49 GCC mudflap support libraries (development files) armel-cross 4.6.0-10ubuntu2 cross1. 49 GCC mudflap shared support libraries +6-4.6- dev-armel- cross 4.6.0-10ubuntu2 cross1. 49 The GNU Standard C++ Library v3 (development files) +6-4.6- pic-armel- cross 4.6.0-10ubuntu2 cross1. 49 The GNU Standard C++ Library v3 (shared library subset kit) +6-armel- cross 4.6.0-10ubuntu2 cross1. 49 The GNU Standard C++ Library v3
ii cpp-4.6-
ii g++-4.6-
ii gcc-4.6-
ii gcc-4.6-
pi libgcc1-armel-cross 1:4.6.0-
ii libgomp1-
ii libmudflap0-
ii libmudflap0-
ii libstdc+
ii libstdc+
ii libstdc+
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)
collisions: 0 txqueuelen:1000
...
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
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 arm-linux- gnueabi 4.5.3-1ubuntu2c ross1.48 The GNU C preprocessor linux-gnueabi 4:4.5.2-8 The GNU C preprocessor (cpp) for armel architecture arm-linux- gnueabi 4.5.3-1ubuntu2c ross1.48 The GNU C compiler arm-linux- gnueabi- base 4.5.3-1ubuntu2c ross1.48 The GNU Compiler Collection (base package) linux-gnueabi 4:4.5.2-8 The GNU C compiler for armel architecture
ii cpp-4.5-
ii cpp-arm-
ii gcc-4.5-
ii gcc-4.5-
ii gcc-arm-