[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-09-04 Thread Martin Pitt
Fixed in 0.9.13 which is now in edgy.

** Changed in: pmount (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-08-15 Thread Andrew Jorgensen
Thank you, Martin.  I've been meaning to look for this bug report for a
while.  It's a pleasure to see that there's a workaround and a fix
already.

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-08-08 Thread Martin Pitt
It seems the kernel does not consider this device as removable. Can you
please do

  pmount -d /dev/hde1

and paste the output here?

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-08-08 Thread Neil Woolford
Without whitelisting active...

[EMAIL PROTECTED]:/etc$ pmount -d /dev/hde1
resolved /dev/hde1 to device /dev/hde1
mount point to be used: /media/hde1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount/_dev_hde1
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 33:1
find_sysfs_device: checking whether /dev/hde1 is on /sys/block/hde (33:0)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/hde1 matches partition 33:0
find_sysfs_device: checking whether device /dev/hde1 matches partition 33:1
find_sysfs_device: - partition matches, belongs to block device /sys/block/hde
device_removable: corresponding block device for /dev/hde1 is /sys/block/hde
get_blockdev_attr: value of /sys/block/hde/removable == 0
find_bus_ancestry: device 2.0 (path 
/sys/devices/pci:00/:00:04.0/0.0/ide2/2.0, bus ide) does not match, 
trying parent
find_bus_ancestry: device ide2 (path 
/sys/devices/pci:00/:00:04.0/0.0/ide2, bus ) does not match, trying 
parent
find_bus_ancestry: device 0.0 (path /sys/devices/pci:00/:00:04.0/0.0, 
bus pcmcia) does not match, trying parent
find_bus_ancestry: device :00:04.0 (path 
/sys/devices/pci:00/:00:04.0, bus pci) does not match, trying parent
find_bus_ancestry: device pci:00 (path /sys/devices/pci:00, bus ) does 
not match, trying parent
find_bus_ancestry: dev == NULL, fail
Error: device /dev/hde1 is not removable
policy check failed
[EMAIL PROTECTED]:/etc$


OR - with whitelisting of /dev/hde1 in /etc/pmount.allow

resolved /dev/hde1 to device /dev/hde1
mount point to be used: /media/hde1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount/_dev_hde1
device_whitelist: checking /etc/pmount.allow...
comparing /dev/hde1 against whitelisted '/dev/hde1'
device_whitlisted(): match, returning 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/hde1'
spawn(): /sbin/cryptsetup terminated with status 255
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
mount point directory locked
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 
'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8'
 '/dev/hde1' '/media/hde1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 
'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/hde1' 
'/media/hde1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 
'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,iocharset=utf8' 
'/dev/hde1' '/media/hde1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 
'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/hde1' 
'/media/hde1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 
'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8'
 '/dev/hde1' '/media/hde1'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-07-12 Thread Neil Woolford
** Attachment added: Output of lshal
   http://librarian.launchpad.net/3388913/hal.txt

** Attachment added: Output of ls -l /sys/block/*/device
   http://librarian.launchpad.net/3389401/ls_device.txt

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-07-12 Thread Neil Woolford
For information, I posted this on the mailing list before filing a bug.

Two other users have subsequently posted (from the forums) that they
have the same problem.

Florian Diesch suggested a workaround of adding the device name ( eg in
my case /dev/hde1 ) in the /etc/pmount.allow file.  This works for me
and may help others until a proper fix is implemented.

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-07-07 Thread Martin Pitt
Please do

  lshal  hal.txt

and attach hal.txt here. Also, please paste the output of

   ls -l /sys/block/*/device

here. Thank you!

** Changed in: hal (Ubuntu)
Sourcepackagename: hal = pmount
   Status: Unconfirmed = Needs Info

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 50226] Re: pmount sees a microdrive as non-removable, so won't mount it.

2006-06-20 Thread Neil Woolford
pmount appears to just be following the information given by
(presumably) hal about the device.  So pmount is not at fault here, it
is being told by other parts of the system that the drive is not
removable.

** Changed in: pmount (Ubuntu)
Sourcepackagename: pmount = hal

-- 
pmount sees a microdrive as non-removable, so won't mount it.
https://launchpad.net/bugs/50226

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs