Talk:CF Card slot

From ThinkWiki
Revision as of 08:03, 28 August 2006 by Epic (Talk | contribs) (udev on hde)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

/dev/hde is the devicename of the CompactFlash Memory Card inserted into the Thinkpad X31's CF Slot

The device seems to be handled by udev, but pmount which is used to mount udev devices complains, because it thinks, that: Error: device /dev/hde1 is not removable see the full output below.

Unless this can be corrected (any kernel hackers around?) use /etc/fstab (will give more details on this soon --epic)


udevinfo  -e |less

P: /block/hde N: hde S: disk/by-id/ata-SunDisk_SDCFB-4_MZX02597351 S: disk/by-path/pci-1.0-ide-0:0 E: ID_TYPE=generic E: ID_MODEL=SunDisk_SDCFB-4 E: ID_SERIAL=MZX02597351 E: ID_REVISION=Rev_3.10 E: ID_BUS=ata E: ID_PATH=pci-1.0-ide-0:0

P: /block/hde/hde1 N: hde1 S: disk/by-id/ata-SunDisk_SDCFB-4_MZX02597351-part1 S: disk/by-path/pci-1.0-ide-0:0-part1 S: disk/by-uuid/A0AD-93C2 E: ID_TYPE=generic E: ID_MODEL=SunDisk_SDCFB-4 E: ID_SERIAL=MZX02597351 E: ID_REVISION=Rev_3.10 E: ID_BUS=ata E: ID_PATH=pci-1.0-ide-0:0 E: ID_FS_USAGE=filesystem E: ID_FS_TYPE=vfat E: ID_FS_VERSION=FAT12 E: ID_FS_UUID=A0AD-93C2 E: ID_FS_LABEL= E: ID_FS_LABEL_SAFE=

root@solid:/home/eric# cat /sys/block/hde/removable 0

root@solid:/home/eric# 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 ANSI_X3.4-1968 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/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0/ide2/2.0, bus ide) does not match, trying parent find_bus_ancestry: device ide2 (path /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0/ide2, bus ) does not match, trying parent find_bus_ancestry: device 1.0 (path /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0, bus pcmcia) does not match, trying parent find_bus_ancestry: device 0000:02:00.1 (path /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1, bus pci) does not match, trying parent find_bus_ancestry: device 0000:00:1e.0 (path /sys/devices/pci0000:00/0000:00:1e.0, bus pci) does not match, trying parent 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/hde1 is not removable policy check failed