linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /dev/sda disappearing with SYFS_DEPRECATED?
@ 2010-11-16  5:20 Norbert Preining
  2010-11-16  5:51 ` Paul Mundt
  0 siblings, 1 reply; 3+ messages in thread
From: Norbert Preining @ 2010-11-16  5:20 UTC (permalink / raw)
  To: linux-kernel

Hi all,

(please Cc)

I just changed my kernel config slightly to activate some DEPRECATED
configs and alas, the change was interesting, suddenly there
was no /dev/sda shown anymore.

Userspace remain completely the same (debian/sid up2date).

The only changes I made in the .config file was:
-# CONFIG_SYSFS_DEPRECATED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y

-CONFIG_NFSD_DEPRECATED=y
+# CONFIG_NFSD_DEPRECATED is not set

and this made the /dev/sda* entries disappear.

Is that to be expected?

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
YESNABY (n.)
A 'yes, maybe' which means 'no'.
			--- Douglas Adams, The Meaning of Liff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /dev/sda disappearing with SYFS_DEPRECATED?
  2010-11-16  5:20 /dev/sda disappearing with SYFS_DEPRECATED? Norbert Preining
@ 2010-11-16  5:51 ` Paul Mundt
  2010-11-16 12:08   ` Norbert Preining
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mundt @ 2010-11-16  5:51 UTC (permalink / raw)
  To: Norbert Preining; +Cc: linux-kernel

On Tue, Nov 16, 2010 at 02:20:27PM +0900, Norbert Preining wrote:
> I just changed my kernel config slightly to activate some DEPRECATED
> configs and alas, the change was interesting, suddenly there
> was no /dev/sda shown anymore.
> 
> Userspace remain completely the same (debian/sid up2date).
> 
> The only changes I made in the .config file was:
> -# CONFIG_SYSFS_DEPRECATED is not set
> +CONFIG_SYSFS_DEPRECATED=y
> +CONFIG_SYSFS_DEPRECATED_V2=y
> 
> -CONFIG_NFSD_DEPRECATED=y
> +# CONFIG_NFSD_DEPRECATED is not set
> 
> and this made the /dev/sda* entries disappear.
> 
> Is that to be expected?
> 
Yes. Newer tools are incompatible with these settings, as noted in the
Kconfig help for these entries:

config SYSFS_DEPRECATED

	...

          Recent distributions and userspace tools after 2009/2010 depend on
          the existence of /sys/class/block/, and will not work with this
          option enabled.

SYSFS_DEPRECATED_V2 just forces this behaviour on.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /dev/sda disappearing with SYFS_DEPRECATED?
  2010-11-16  5:51 ` Paul Mundt
@ 2010-11-16 12:08   ` Norbert Preining
  0 siblings, 0 replies; 3+ messages in thread
From: Norbert Preining @ 2010-11-16 12:08 UTC (permalink / raw)
  To: Paul Mundt; +Cc: linux-kernel

On Di, 16 Nov 2010, Paul Mundt wrote:
> Yes. Newer tools are incompatible with these settings, as noted in the
> Kconfig help for these entries:

Ouch, sorry, yes... didn't read that. I read only the short desc and hoped
that it might fix the input layer problem introduced in 2.6.37-rc, not 
giving me brightness events.

Thanks.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
One's never alone with a rubber duck.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-16 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16  5:20 /dev/sda disappearing with SYFS_DEPRECATED? Norbert Preining
2010-11-16  5:51 ` Paul Mundt
2010-11-16 12:08   ` Norbert Preining

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).