Hi,

thanks for getting back to me.

Mohan Kumar M <[EMAIL PROTECTED]> wrote:
[...]
> I checked plugging usb stick in a Ubuntu Hardy Heron distro with
> kernel versions pre 2.6.25 and 2.6.25.x, in both cases pmount worked.
>
> Please correct me if I am doing some thing wrong.

Yes, I've only just realised that the problem doesn't necessarily occur
even on 2.6.25.y. The crucial difference is this:

--8<---------------cut here---------------start------------->8---
--- config-safe 2008-05-23 18:42:48.000000000 +0200
+++ .config     2008-05-23 18:43:46.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.25.4-test1
-# Fri May 23 18:12:59 2008
+# Linux kernel version: 2.6.25.4
+# Fri May 23 18:43:46 2008
 #
 # CONFIG_64BIT is not set
 CONFIG_X86_32=y
@@ -78,8 +78,7 @@
 CONFIG_CGROUP_SCHED=y
 CONFIG_CGROUP_CPUACCT=y
 # CONFIG_RESOURCE_COUNTERS is not set
-CONFIG_SYSFS_DEPRECATED=y
-CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_SYSFS_DEPRECATED_V2 is not set
 # CONFIG_RELAY is not set
 CONFIG_NAMESPACES=y
 # CONFIG_UTS_NS is not set
--8<---------------cut here---------------end--------------->8---

The standard kernel shipped in Debian sid is configured with

CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y

which is why the problem is hidden. If you happen to be running a kernel
where the deprecated sysfs files are disabled, you'll get the problem I
described.

Please note that the issue is definitely caused by a bug in libsysfs
which just not happened to show up before.

Regards,

Elias



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to