Mohan Kumar M <[EMAIL PROTECTED]> wrote:
> Elias, Thank you.
>
> Even after disabling SYSFS_DEPRECATED_V2 in Ubuntu with kernel 2.6.25.x, 
> pmount worked without any issue.

This is a vanilla kernel I presume?

>
> Can you tell me how do you mount the usb flash drives using pmount? (I
> think you manually mount)

$ pmount /dev/sdb1

Here is a reasonably generic recipe to reproduce this issue on a Debian
based system:

$ wget -nd -nc 
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.7.tar.bz2
$ tar -xjf linux-2.6.25.7.tar.bz2
$ wget -nd -nc 
ftp.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.25-2-686_2.6.25-5_i386.deb
$ dpkg -x linux-image-2.6.25-2-686_2.6.25-5_i386.deb linux-image
$ cp linux-image/boot/config-2.6.25-2-686 linux-2.6.25.7/.config
$ cd linux-2.6.25.7
$ make menuconfig

Disable "General setup ---> Create deprecated sysfs files" as well as
"Processor type and features ---> Paravirtualized guest support" (the
latter is required only to avoid problems with make-kpkg on my system).

$ fakeroot make-kpkg --append-to-version=-test1 --initrd kernel_image
$ sudo dpkg -i ../linux-image-2.6.25.7-test1_i386.deb

Hope that helps,

Elias



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

Reply via email to