Comment 9 for bug 653568

Revision history for this message
bankey (bankey-biharidassa) wrote : Re: [Bug 653568] Re: mounting hardware encrypted usb stick failes

hi Martin..
I created some time for it and the latest livecd..

output before update :

ubuntu@ubuntu:~$ sudo /lib/udev/cdrom_id --debug /dev/sr1
main: probing: '/dev/sr1'
cd_inquiry: INQUIRY: [IronKey ][CD-ROM ][2.08]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
cd_profiles: drive is pre-MMC2 and does not support 46h get configuration
command
cd_profiles: trying to work around the problem
info_scsi_cmd_err: READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
cd_profiles_old_mmc: no current profile, assuming no media
ID_CDROM=1
ID_CDROM_MEDIA=1

output after update..
ubuntu@ubuntu:~$ sudo /lib/udev/cdrom_id --debug /dev/sr1
main: probing: '/dev/sr1'
cd_inquiry: INQUIRY: [IronKey ][CD-ROM ][2.08]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
cd_profiles: drive is pre-MMC2 and does not support 46h get configuration
command
cd_profiles: trying to work around the problem
info_scsi_cmd_err: READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
cd_profiles_old_mmc: no current profile, but disc is present; assuming
CD-ROM
cd_media_toc: READ TOC: len: 48, start track: 1, end track: 1
cd_media_toc: track=0 info=0x4(data) start_block=0
cd_media_toc: last track 0 starts at block 0
info_scsi_cmd_err: READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

BTW: a bit of the ppa gives a problem:
Err http://ppa.launchpad.net maverick/main Sources
  404 Not Found
Err http://ppa.launchpad.net maverick/main i386 Packages
  404 Not Found

some remarks:
I installed the deb files manually because sudo upgrade && sudo upgrade
failes (probably because it's a lucid ppa)
after installing the files (only the dev-files did not want to install
Errors were encountered while processing:
 libgudev-1.0-dev
 libudev0-udeb_151-12.1pitti1_i386.udeb
udev-udeb_151-12.1pitti1_i386.udeb

further by restarting udev services and udevtrigger I got a crash in kernel
:
WARNING: at /build/buildd/linux-2.6.35/ubuntu/aufs/plink.c:332
au_plink_append+0x274/0x2e0 [aufs]()
Call Trace:
 [<c014ac52>] warn_slowpath_common+0x72/0xa0
 [<f96fc494>] ? au_plink_append+0x274/0x2e0 [aufs]
 [<f96fc494>] ? au_plink_append+0x274/0x2e0 [aufs]
 [<c014ad23>] warn_slowpath_fmt+0x33/0x40
 [<f96fc494>] au_plink_append+0x274/0x2e0 [aufs]
 [<f97072ea>] au_cpup_or_link+0x10a/0x230 [aufs]
 [<f9707c88>] aufs_link+0x158/0x4a0 [aufs]
 [<c0303a6d>] ? security_inode_permission+0x1d/0x30
 [<f9705427>] ? h_permission+0x97/0x120 [aufs]

udev-trigger is still trying to restart..

I'm sorry I can't put more time in it now..

Regards,

Bankey

2010/10/6 Bankey BiHari Dassa <email address hidden>

> I will.. when i got thr ime for it....
> let you know asap ..
>
> 2010/10/6 Martin Pitt <email address hidden>
>
> Thanks. Can you please add my "sru-test" PPA at
>>
>> https://launchpad.net/~pitti/+archive/sru-test<https://launchpad.net/%7Epitti/+archive/sru-test>
>>
>> and upgrade to the udev there? This should fix the issue. Can you please
>> give me the cdrom_id debug output again (even if it works, to confirm
>> that everything looks like it should)?
>>
>> Thanks!
>>
>> --
>> mounting hardware encrypted usb stick failes
>> https://bugs.launchpad.net/bugs/653568
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “udev” package in Ubuntu: Incomplete
>>
>> Bug description:
>> Binary package hint: util-linux
>>
>> Key is seen in dmesg.
>> appears in nautilus, but failes to mount.
>> mouning as root failes.
>>
>> in 9.04 till 10.04 it works flawless.
>>
>> bug regognision ironkey
>>
>> [ 158.024073] usb 1-1: new high speed USB device using ehci_hcd and
>> address 5
>> [ 158.173004] scsi7 : usb-storage 1-1:1.0
>> [ 161.378310] scsi 7:0:0:0: CD-ROM IronKey CD-ROM
>> 2.08 PQ: 0 ANSI: 0
>> [ 161.379764] scsi 7:0:0:1: Direct-Access IronKey Secure Drive
>> 2.08 PQ: 0 ANSI: 0
>> [ 161.577707] sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
>> [ 161.578058] sr 7:0:0:0: Attached scsi CD-ROM sr0
>> [ 161.578262] sr 7:0:0:0: Attached scsi generic sg1 type 5
>> [ 161.578699] sd 7:0:0:1: Attached scsi generic sg2 type 0
>> [ 161.599177] sd 7:0:0:1: [sdb] Attached SCSI removable disk
>>
>> bankey@goloka-vrindaban:~$ lsusb
>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 003 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA
>> Modem / E270 HSDPA/HSUPA Modem
>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 001 Device 005: ID 1953:0202 Ironkey Inc.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> lshal:
>> usb_device_1d6b_2_0000_00_1d_7' (string)
>> info.product = 'IronKey' (string)
>> info.subsystem = 'usb_device' (string)
>> info.udi = '/org/freedesktop/Hal/devices/usb_device_1953_202_00420993'
>> (string)
>> info.vendor = 'Ironkey Inc.' (string)
>> linux.device_file = '/dev/bus/usb/001/005' (string)
>> linux.hotplug_type = 2 (0x2) (int)
>> linux.subsystem = 'usb' (string)
>> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1'
>> (string)
>> usb_device.bus_number = 1 (0x1) (int)
>> usb_device.can_wake_up = false (bool)
>> usb_device.configuration_value = 1 (0x1) (int)
>> usb_device.device_class = 0 (0x0) (int)
>> usb_device.device_protocol = 0 (0x0) (int)
>> usb_device.device_revision_bcd = 520 (0x208) (int)
>> usb_device.device_subclass = 0 (0x0) (int)
>> usb_device.is_self_powered = false (bool)
>> usb_device.linux.device_number = 5 (0x5) (int)
>> usb_device.linux.sysfs_path =
>> '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1' (string)
>> usb_device.max_power = 200 (0xc8) (int)
>> usb_device.num_configurations = 1 (0x1) (int)
>> usb_device.num_interfaces = 1 (0x1) (int)
>> usb_device.num_ports = 0 (0x0) (int)
>> usb_device.product = 'IronKey' (string)
>> usb_device.product_id = 514 (0x202) (int)
>> usb_device.serial = '00420993' (string)
>> usb_device.speed = 480.0 (480) (double)
>> usb_device.vendor = 'Ironkey Inc.' (string)
>> usb_device.vendor_id = 6483 (0x1953) (int)
>> usb_device.version = 2.0 (2) (double)
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 10.10
>> Package: mount 2.17.2-0ubuntu1
>> ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
>> Uname: Linux 2.6.35-22-generic i686
>> Architecture: i386
>> Date: Sat Oct 2 14:16:35 2010
>> EcryptfsInUse: Yes
>> InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386
>> (20100816.1)
>> ProcEnviron:
>> LC_TIME=en_GB.UTF-8
>> LANG=en_US.utf8
>> SHELL=/bin/bash
>> SourcePackage: util-linux
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/ubuntu/+source/udev/+bug/653568/+subscribe
>>
>
>
>
> --
> With the best regards, love and peace,
>
>
> Bankey/Arno
>
> http://bankeybihari.hyves.nl
> *****************************************
>

--
With the best regards, love and peace,

Bankey/Arno

http://bankeybihari.hyves.nl
*****************************************