[lkml]   [2006]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.18-rc4-mm[1,2,3] -- Network card not getting assigned an "eth" device name
From: Andrew Morton <>
Date: Mon, 28 Aug 2006 12:03:28 -0700

> grepping for `ioctl' gives:
> ioctl(9, SIOCGIWNAME, 0xbfe38d8c) = -1 EINVAL (Invalid argument)
> ioctl(9, SIOCETHTOOL, 0xbfe38d2c) = 0
> ioctl(11, SIOCGIFHWADDR, {ifr_name="eth0", ???}) = -1 ENODEV (No such device)
> ioctl(11, SIOCGIFFLAGS, {ifr_name="eth0", ???}) = -1 ENODEV (No such device)
> Perhaps you could generate the strace output for 2.6.18-rc5, grep that for
> ioctl, look for differences? That initial SIOCGIWNAME failure is fishy.

That might help, but SIOCGIWNAME just gets a string that
says what wireless mode the device is in, not the device
name. Althought NetworkManager might use this for something

All of the interesting config calls are probably happening
via netlink, which doesn't get decoded by strace.

But changes via netlink can get traced by using "ip" in monitor mode,
try "ip monitor all" as root during such a NetworkManager run.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-08-28 22:29    [W:0.108 / U:16.624 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site