Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled/sbin/ifup

From: Andrew Morton
Date: Sun Jul 09 2006 - 16:50:25 EST


On Sun, 09 Jul 2006 20:22:09 +0200
Mike Galbraith <efault@xxxxxx> wrote:

> Greetings,
>
> As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...
>
> -[pid 8191] lstat64("/sys/class/net/eth1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
> -[pid 8191] lstat64("/sys/block/eth1", 0xafec0f9c) = -1 ENOENT (No such file or directory)
>
> ...and wandered off into lala-land.

Well that's amusing. Ethernet-over-scsi?

> It used to do...
>
> +[pid 8905] lstat64("/sys/class/net/eth1", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> +[pid 8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53
> +[pid 8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53
>
> ...and made working network interface.
>

I'd be suspecting
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

If you could do a `patch -R' of that one it'd really help, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/