From: Piotr Hosowicz on
On 13.05.2010 22:07, Greg KH wrote:
> On Thu, May 13, 2010 at 08:55:09PM +0200, Piotr Hosowicz wrote:
>> Hello,
>>
>> I have a simple question = I've heard rumours here and there that
>> SYSFS is deprecated and forthcoming kernels won't use it
>
> Nope, not true at all. Where did you hear those rumors so that I can go
> after them with a big stick and squash them?

Sorry, these must have been some random rumours in my head which came to
being during wild Debian upgrades sessions I had.

>> I even see some warning during boot.
>
> What specific warning are you seeing?

See my parallel email. I didn't understand them, this - as it appeared -
is udev question.

>> Is it true? And where to disable it in the config?
>
> If you want to disable sysfs, you can, it's in the config file, but you
> have to really know what you are doing otherwise you will usually end up
> with a system that does not boot properly.

Now I see, thanks for the reply.

Regards,

Piotr Hosowicz

--
Janusz Korwin-Mikke:
"Idiota z dyplomem to taki sam idiota,
jak przedtem - tylko z pretensjami."
NP: Patrick O'Hearn - Night Becomes Her
NB: 2.6.34-rc7-git4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Américo Wang on
On Fri, May 14, 2010 at 03:52:03AM +0200, Piotr Hosowicz wrote:
>On 13.05.2010 21:28, Randy Dunlap wrote:
>>Piotr Hosowicz wrote:
>>>On 13.05.2010 20:55, Piotr Hosowicz wrote:
>>>
>>>>I could find the option in menuconfig and I don't want to edit .config
>>>>by hand, because there are various *SYSFS* options there.
>>>
>>>Sorry, I mistyped, I meant I _cannot_ find it in menuconfig nor in .config.
>>
>>The only thing about SYSFS that is deprecated AFAIK is in init/Kconfig:
>>
>>config SYSFS_DEPRECATED_V2
>> bool "enable deprecated sysfs features to support old userspace tools"
>> depends on SYSFS
>> default n
>> select SYSFS_DEPRECATED
>> help
>> This option switches the layout of sysfs to the deprecated
>> version. Do not use it on recent distributions.
>
>Thanks, I have it disabled. I asked tyhe question because of such
>messages during boot:
>
>May 13 16:26:24 aapi205 udevd[1432]: SYSFS{}= will be removed in a
>future udev version, please use ATTR{}= to match the event device, or
>ATTRS{}= to match a parent device, in
>/etc/udev/rules.d/025_logitechmouse.rules:21
>

It is a warning for udev rules, that is saying you should replace
SYSFS{}= with ATTR{}= in your rule file under /etc/udev/rules.d/,
nothing related with kernel.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Greg KH on
On Fri, May 14, 2010 at 03:52:03AM +0200, Piotr Hosowicz wrote:
> Thanks, I have it disabled. I asked tyhe question because of such messages
> during boot:
>
> May 13 16:26:24 aapi205 udevd[1432]: SYSFS{}= will be removed in a future
> udev version, please use ATTR{}= to match the event device, or ATTRS{}= to
> match a parent device, in /etc/udev/rules.d/025_logitechmouse.rules:21
>
> As far as I can see this is rather udev question. I don't know what to do
> about those messages. Can you give me a hint?

The above message tells you exactly what you need to fix in the udev
rule. Please file a bug against the package that the rule came from,
this is not a kernel or even a udev issue, but rather a packaging issue.

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Sid Boyce on
As the message says, you have to change all instances of SSYSFS to ATTR
in the rules files in /etc/udev/rules.d to stop those messages
appearing on boot up.

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Piotr Hosowicz on
On 16.05.2010 23:08, Sid Boyce wrote:
> As the message says, you have to change all instances of SSYSFS to ATTR
> in the rules files in /etc/udev/rules.d to stop those messages
> appearing on boot up.

Just plain search and replace ATTR for SYSFS?

Thanks, regards,

Piotr Hosowicz

--
Z cyklu "Uroki demokracji", czyli pytania i odpowiedzi w teledurniejach:
- Kt�r� posta� ubran� tylko w przepask� na biodrach i hu�taj�c� si� na
lianach gra� Johnny Weissmuller?
- Jezusa.
NP: Patrick O'Hearn - Approaching Summit
NB: 2.6.34-rc7-git9
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/