Package: pmount
Version: 0.9.17-2
Severity: important

Hello,

I think this bug is different than 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485110, because I can't 
mount only devices via firewire. If I test the same device via usb there is 
no problem. If I type pmount -d /dev/sda2 I get (shorted):

resolved /dev/sda2 to device /dev/sda2
Checking for device '/dev/sda2' in '/etc/fstab'
mount point to be used: /media/sda2
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_sda2
Checking for device '/dev/sda2' in '/etc/mtab'
Checking for device '/dev/sda2' in '/proc/mounts'
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:2
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/ram0 (1:0)
[...]
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/ram15 (1:15)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/hda (3:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/hdc (22:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/fd0 (2:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/loop0 (7:0)
[...]
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/loop7 (7:7)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/sda (8: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/sda2 matches partition 8:0
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:1
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:2
find_sysfs_device: -> partition matches, belongs to block 
device /sys/block/sda
device_removable: corresponding block device for /dev/sda2 is /sys/block/sda
get_blockdev_attr: value of /sys/block/sda/removable == 0
find_device_in_buses : successfully opened bus 'usb' path '/sys/bus/usb'
find_device_in_buses : successfully opened bus 'pcmcia' path '/sys/bus/pcmcia'
find_bus_ancestry: device '4:0:0:0' 
(path 
'/sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.2/fw1/fw1.0/host4/target4:0:0/4:0:0:0',
 
bus 'scsi') does not match, trying parent
find_device_in_buses : successfully opened bus 'usb' path '/sys/bus/usb'
find_device_in_buses : successfully opened bus 'pcmcia' path '/sys/bus/pcmcia'
[...]
find_bus_ancestry: device 'pci0000:00' (path '/sys/devices/pci0000:00', 
bus '') does not match, trying parent
find_bus_ancestry: dev == NULL, fail
Error: device /dev/sda2 is not removable
policy check failed

Via usb I get for pmount -d /dev/sda2:

resolved /dev/sda2 to device /dev/sda2
Checking for device '/dev/sda2' in '/etc/fstab'
mount point to be used: /media/sda2
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_sda2
Checking for device '/dev/sda2' in '/etc/mtab'
Checking for device '/dev/sda2' in '/proc/mounts'
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:2
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/ram0 (1:0)
[...]
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/ram15 (1:15)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/hda (3:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/hdc (22:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/fd0 (2:0)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/loop0 (7:0)
[...]
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/loop7 (7:7)
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/sda (8: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/sda2 matches partition 8:0
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:1
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:2
find_sysfs_device: -> partition matches, belongs to block 
device /sys/block/sda
device_removable: corresponding block device for /dev/sda2 is /sys/block/sda
get_blockdev_attr: value of /sys/block/sda/removable == 0
find_device_in_buses : successfully opened bus 'usb' path '/sys/bus/usb'
find_device_in_buses : successfully opened bus 'pcmcia' path '/sys/bus/pcmcia'
find_bus_ancestry: device '5:0:0:0' 
(path 
'/sys/devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3:1.0/host5/target5:0:0/5:0:0:0',
 
bus 'scsi') does not match, trying parent
find_device_in_buses : successfully opened bus 'usb' path '/sys/bus/usb'
find_device_in_buses : successfully opened bus 'pcmcia' path '/sys/bus/pcmcia'
find_bus_ancestry: device 'target5:0:0' 
(path 
'/sys/devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3:1.0/host5/target5:0:0', 
bus '') does not match, trying parent
find_device_in_buses : successfully opened bus 'usb' path '/sys/bus/usb'
find_device_in_buses : successfully opened bus 'pcmcia' path '/sys/bus/pcmcia'
find_bus_ancestry: device 'host5' 
(path '/sys/devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3:1.0/host5', bus '') 
does not match, trying parent
find_bus_ancestry: device 4-3:1.0 
(path /sys/devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3:1.0, bus usb) matches 
query, success
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sda2'
spawn(): /sbin/cryptsetup terminated with status 234
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
mount point directory locked
blkid gave FS ext3 for '/dev/sda2'
spawnv(): 
executing /bin/mount '/bin/mount' '-t' 'ext3' '-o' 
'nodev,noauto,nosuid,user,errors=continue,async,atime,noexec' '/dev/sda2' 
'/media/sda2'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked

In both cases cat /sys/block/sda/removable:
0

with kde-hal-device-manager the entry are the same,only one with use and the 
other with firewire.

Unfortuately I don't know where I have to add the firewire support for pmount.

Some time ago - I think it was the etch version of pmount it works perfectly.


If there are any further questions - yust ask ;)

dear,

sandro

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.25-2-686

Debian Release: lenny/sid
  600 testing         ftp5.gwdg.de 
   50 unstable        ftp5.gwdg.de 
    1 experimental    ftp5.gwdg.de 

--- Package information. ---
Depends               (Version) | Installed
===============================-+-============
libblkid1           (>= 1.39-1) | 1.41.0-3
libc6                (>= 2.7-1) | 2.7-13
libdbus-1-3          (>= 1.1.1) | 1.2.1-3
libhal-storage1     (>= 0.5.10) | 0.5.11-2
libhal1             (>= 0.5.10) | 0.5.11-2
libsysfs2                       | 2.1.0-4



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

Reply via email to