Error on unmounting external hard drive

Bug #571429 reported by electhor
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Drive mounts fine, but gets an error on "Safely remove drive"
ian@ian:~$ dmesg|tail -20
[ 3763.847759] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 3763.847764] sd 7:0:0:0: [sdd] Attached SCSI disk
[ 4944.668097] usb 1-1: USB disconnect, address 5
[ 4950.364077] usb 1-1: new high speed USB device using ehci_hcd and address 6
[ 4950.497637] usb 1-1: configuration #1 chosen from 1 choice
[ 4950.503018] scsi8 : SCSI emulation for USB Mass Storage devices
[ 4950.504794] usb-storage: device found at 6
[ 4950.504797] usb-storage: waiting for device to settle before scanning
[ 4955.504316] usb-storage: device scan complete
[ 4955.509926] scsi 8:0:0:0: Direct-Access SAMSUNG MP0402H 0811 PQ: 0 ANSI: 0
[ 4955.511749] sd 8:0:0:0: Attached scsi generic sg5 type 0
[ 4955.512904] sd 8:0:0:0: [sdd] 78242976 512-byte logical blocks: (40.0 GB/37.3 GiB)
[ 4955.516511] sd 8:0:0:0: [sdd] Test WP failed, assume Write Enabled
[ 4955.516516] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 4955.519165] sd 8:0:0:0: [sdd] Test WP failed, assume Write Enabled
[ 4955.519171] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 4955.519176] sdd: sdd1 sdd2
[ 4956.000781] sd 8:0:0:0: [sdd] Test WP failed, assume Write Enabled
[ 4956.000785] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 4956.000790] sd 8:0:0:0: [sdd] Attached SCSI disk
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ian 1424 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x92400000 irq 22'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,103c30d9,00100000'
   Controls : 12
   Simple ctrls : 6
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=a2c0fc85-a9f7-4f62-987a-44f0497330a4
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
MachineType: Hewlett-Packard Compaq Presario C700 Notebook PC
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=1eeaa002-208a-41c5-9ade-a371d24a08d0 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: lucid regression-release needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout dip fuse lpadmin netdev plugdev sambashare video
dmi.bios.date: 04/29/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.33
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 30D9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 83.21
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.33:bd04/29/2008:svnHewlett-Packard:pnCompaqPresarioC700NotebookPC:pvrF.33:rvnHewlett-Packard:rn30D9:rvr83.21:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: Compaq Presario C700 Notebook PC
dmi.product.version: F.33
dmi.sys.vendor: Hewlett-Packard

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ian 1424 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x92400000 irq 22'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,103c30d9,00100000'
   Controls : 12
   Simple ctrls : 6
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=a2c0fc85-a9f7-4f62-987a-44f0497330a4
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
MachineType: Hewlett-Packard Compaq Presario C700 Notebook PC
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=1eeaa002-208a-41c5-9ade-a371d24a08d0 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: lucid regression-release needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout dip fuse lpadmin netdev plugdev sambashare video
dmi.bios.date: 04/29/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.33
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 30D9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 83.21
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.33:bd04/29/2008:svnHewlett-Packard:pnCompaqPresarioC700NotebookPC:pvrF.33:rvnHewlett-Packard:rn30D9:rvr83.21:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: Compaq Presario C700 Notebook PC
dmi.product.version: F.33
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
electhor (electhor) wrote :
tags: added: kj-triage
Revision history for this message
electhor (electhor) wrote :

This is still occurring with kernel 2.6.32-22-generic - exactly the same message and behaviour as described above.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi electhor,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 571429

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
electhor (electhor) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
electhor (electhor) wrote : AplayDevices.txt

apport information

Revision history for this message
electhor (electhor) wrote : BootDmesg.txt

apport information

Revision history for this message
electhor (electhor) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
electhor (electhor) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
electhor (electhor) wrote : CurrentDmesg.txt

apport information

Revision history for this message
electhor (electhor) wrote : IwConfig.txt

apport information

Revision history for this message
electhor (electhor) wrote : Lspci.txt

apport information

Revision history for this message
electhor (electhor) wrote : Lsusb.txt

apport information

Revision history for this message
electhor (electhor) wrote : PciMultimedia.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcInterrupts.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcModules.txt

apport information

Revision history for this message
electhor (electhor) wrote : UdevDb.txt

apport information

Revision history for this message
electhor (electhor) wrote : UdevLog.txt

apport information

Revision history for this message
electhor (electhor) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
electhor (electhor) wrote : AlsaDevices.txt

apport information

Revision history for this message
electhor (electhor) wrote : AplayDevices.txt

apport information

Revision history for this message
electhor (electhor) wrote : BootDmesg.txt

apport information

Revision history for this message
electhor (electhor) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
electhor (electhor) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
electhor (electhor) wrote : CurrentDmesg.txt

apport information

Revision history for this message
electhor (electhor) wrote : IwConfig.txt

apport information

Revision history for this message
electhor (electhor) wrote : Lspci.txt

apport information

Revision history for this message
electhor (electhor) wrote : Lsusb.txt

apport information

Revision history for this message
electhor (electhor) wrote : PciMultimedia.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcInterrupts.txt

apport information

Revision history for this message
electhor (electhor) wrote : ProcModules.txt

apport information

Revision history for this message
electhor (electhor) wrote : UdevDb.txt

apport information

Revision history for this message
electhor (electhor) wrote : UdevLog.txt

apport information

Revision history for this message
electhor (electhor) wrote : WifiSyslog.txt

apport information

Revision history for this message
electhor (electhor) wrote :

Sorry, I did that twice.

It still occurs every time I 'safely remove' the external hard drive. This has only occurred with the lucid kernel - prior kernels (going back as far as Ibex) did not have this issue and the hard drive partitions and filesystem types are unchanged. I will test the current development kernel tomorrow and let you know. I unfortunately don't have the bandwidth available to download a daily build - I'm on very limited bandwidth at present. I apologise.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
tags: added: kernel-core kernel-needs-review
removed: needs-kernel-logs needs-upstream-testing
Revision history for this message
electhor (electhor) wrote :

Hi Jeremy,

Just one question re testing the upstream kernel. The daily build has not got a kernel image image, only kernel headers and kernel source - I thought I should be testing the kernel image. Can you please tell me what I have to test as the two options available under daily/current (below), don't seem correct. Of course I could be wrong, but the last time I did this kind of testing, I remember using the upstream kernel image.

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

Revision history for this message
electhor (electhor) wrote :

The latest daily and current kernel gives the same message upon removing the external hard drive.
Kernel image is:- linux-image-2.6.35-999-generic_2.6.35-999.201006111153_i386.deb

description: updated
tags: added: kernel-reviewed
removed: kernel-needs-review
Revision history for this message
penalvch (penalvch) wrote :

electhor, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily kernel folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.