lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 01 Nov 2006 05:44:09 +0100 From: Mike Galbraith <efault@....de> To: Greg KH <gregkh@...e.de> Cc: Cornelia Huck <cornelia.huck@...ibm.com>, "Martin J. Bligh" <mbligh@...gle.com>, Andy Whitcroft <apw@...dowen.org>, Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org, Steve Fox <drfickle@...ibm.com> Subject: Re: 2.6.19-rc3-mm1 -- missing network adaptors On Tue, 2006-10-31 at 13:31 -0800, Greg KH wrote: > On Tue, Oct 31, 2006 at 05:46:39PM +0100, Cornelia Huck wrote: > > On Tue, 31 Oct 2006 07:52:17 -0800, > > "Martin J. Bligh" <mbligh@...gle.com> wrote: > > > > > >>> Merely change CONFIG_SYSFS_DEPRECATED to be set to yes, and it should > > > >>> all work just fine. Doesn't anyone read the Kconfig help entries for > > > >>> new kernel options? > > > >> 1. This doesn't fix it. > > > > > > > > I think acpi is now being fingered here, right? > > > > > > Eh? How. Backing out all your patches from -mm fixes it. > > > The deprecated stuff does not fix it, it's the same as before. > > > > That's because /sys/class/net/<interface> is now a symlink instead of a > > directory (and that hasn't anything to do with acpi, but rather with > > the conversions in the driver tree). Seems the directory -> symlink > > change shouldn't be done since it's impacting user space... > > If you enable CONFIG_SYSFS_DEPRECATED, then there is no symlink and > there is no userspace change. sysfs should look identical to before. > > Or did I miss something doing this work? Something is amiss, because it's still a symlink here. With driver-core-fixes-sysfs_create_link-retval-checks-in.patch reverted so I can boot, I get the below both in my patched up 2.6.19-rc3 and 2.6.19-rc3-mm1. strace -vf /sbin/getcfg eth0 lstat64("/sys/class/net/eth0", {st_dev=makedev(0, 0), st_ino=4480, st_mode=S_IFLNK|0777, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2006/11/01-05:00:15, st_mtime=2006/11/01-05:59:54, st_ctime=2006/11/01-05:59:54}) = 0 file /sys/class/net/eth0 /sys/class/net/eth0: symbolic link to `../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0/eth0' grep DEPRECATED .config CONFIG_SYSFS_DEPRECATED=y # CONFIG_PM_SYSFS_DEPRECATED is not set - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists