Comment 15 for bug 653568

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

Hi martin,
retry @ 10.10..
running live-cd
adding your ppa
update & upgrade
kernelcrash:

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]

But:
mounting de key properly.
output before unlocking:

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_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ubuntu@ubuntu:~$

dmesg:

[ 630.791183] ------------[ cut here ]------------
[ 630.791223] WARNING: at
/build/buildd/linux-2.6.35/ubuntu/aufs/plink.c:332
au_plink_append+0x274/0x2e0 [aufs]()
[ 630.791226] Hardware name: W760SUN
[ 630.791228] unexpectedly many pseudo links, 101
[ 630.791230] Modules linked in: binfmt_misc parport_pc ppdev lp dm_crypt
parport snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event arc4 snd_seq snd_timer
snd_seq_device rtl8187 joydev mac80211 snd uvcvideo soundcore cfg80211
jmb38x_ms videodev psmouse snd_page_alloc v4l1_compat memstick serio_raw
eeprom_93cx6 squashfs aufs nls_cp437 isofs dm_raid45 xor btrfs zlib_deflate
crc32c libcrc32c nouveau ttm drm_kms_helper drm sis_agp video usb_storage
output i2c_algo_bit sis190 agpgart sdhci_pci sdhci mii sata_sis led_class
[ 630.791281] Pid: 3485, comm: dpkg Not tainted 2.6.35-22-generic
#33-Ubuntu
[ 630.791284] Call Trace:
[ 630.791297] [<c014ac52>] warn_slowpath_common+0x72/0xa0
[ 630.791305] [<f96fc494>] ? au_plink_append+0x274/0x2e0 [aufs]
[ 630.791313] [<f96fc494>] ? au_plink_append+0x274/0x2e0 [aufs]
[ 630.791316] [<c014ad23>] warn_slowpath_fmt+0x33/0x40
[ 630.791325] [<f96fc494>] au_plink_append+0x274/0x2e0 [aufs]
[ 630.791334] [<f97072ea>] au_cpup_or_link+0x10a/0x230 [aufs]
[ 630.791342] [<f9707c88>] aufs_link+0x158/0x4a0 [aufs]
[ 630.791348] [<c0303a6d>] ? security_inode_permission+0x1d/0x30
[ 630.791357] [<f9705427>] ? h_permission+0x97/0x120 [aufs]
[ 630.791364] [<c022269d>] vfs_link+0xed/0x160
[ 630.791368] [<c0224fd7>] sys_linkat+0x117/0x120
[ 630.791373] [<c02306cf>] ? mntput_no_expire+0x1f/0xd0
[ 630.791377] [<c02221c5>] ? path_put+0x25/0x30
[ 630.791381] [<c023b118>] ? do_utimes+0x98/0xe0
[ 630.791385] [<c0225015>] sys_link+0x35/0x40
[ 630.791391] [<c05c90a4>] syscall_call+0x7/0xb
[ 630.791393] ---[ end trace 18dae44cab695e80 ]---
[ 637.951419] udev[3569]: starting version 163
[ 826.548046] usb 1-8: new high speed USB device using ehci_hcd and address
5
[ 826.681363] scsi3 : usb-storage 1-8:1.0
[ 829.866546] scsi 3:0:0:0: CD-ROM IronKey CD-ROM
2.08 PQ: 0 ANSI: 0
[ 829.867891] scsi 3:0:0:1: Direct-Access IronKey Secure Drive
2.08 PQ: 0 ANSI: 0
[ 830.057386] sr1: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
[ 830.057606] sr 3:0:0:0: Attached scsi CD-ROM sr1
[ 830.057735] sr 3:0:0:0: Attached scsi generic sg3 type 5
[ 830.057996] sd 3:0:0:1: Attached scsi generic sg4 type 0
[ 830.062608] sd 3:0:0:1: [sdc] Attached SCSI removable disk
[ 834.845214] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 837.154820] ISO 9660 Extensions: RRIP_1991A

after unlock:
Unlock successful.
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_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ubuntu@ubuntu:~$

first sight, no difference in output.

The kernelcrash is reproducable by taking the livecd,
uncheck all repo except yours
run apt-get update && apt-get upgrade

Good job anyway... tnx..

OT: btw.. pls let me know if I may ask you a little scriptquestion, on topic
of ironkey, but offtopic for this bug.

Best Regards,

Bankey

2010/10/7 Martin Pitt <email address hidden>

> > linux gives alerts "could not mount /dev/sr0 sr1. "
>
> This indeed looks weird. Can you try to do this
>
> umount /dev/sr1
> udisks --mount /dev/sr1
>
> and copy the output?
>
> But anyway, if this is still working under 10.04, then it's probably not
> worth pursing this further.
>
> > so if we want to tackle this one, i guess let's try it later on with
> maverick pakackes..
>
> Right. I applied the two fixes to the maverick package and uploaded
> again to my sru-test PPA (so the maverick sources for this will work
> now).
>
> --
> 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,

Bankey/Arno

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