Sorry,

I no longer have that specific HDD enclosure.

Tal

--- On Sat, 4/13/13, Julian Wiedmann <[email protected]> wrote:

> From: Julian Wiedmann <[email protected]>
> Subject: [Bug 1082215] Re: Writing on a certain USB HDD causes corruption
> To: [email protected]
> Date: Saturday, April 13, 2013, 3:47 AM
> Tal Nevo,
> could you please test the latest kernel from -updates
> (3.2.0-40.64) and see if it fixes this bug?. Thank you.
> 
> ** Changed in: linux (Ubuntu)
>        Status: Fix Committed =>
> Incomplete
> 
> -- 
> You received this bug notification because you are
> subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1082215
> 
> Title:
>   Writing on a certain USB HDD causes corruption
> 
> Status in “linux” package in Ubuntu:
>   Incomplete
> 
> Bug description:
>   I bought an external USB enclosure for a SATA 2.5"
> hard drive. When using this USB drive with Microsoft
> Windows, it works perfectly - I have no problems reading and
> writing from/to the drive.
>   However when using this USB drive in Ubuntu (10.04 as
> well as 12.04) I can read the data on the drive without a
> problem, however after I wrote to the drive I started
> getting corruption errors.
> 
>   To simplify the detection of the problem I used a new
> empty hard drive with this USB enclosure.
>   I wrote zeroes on about 1GB of the start of the drive
> (using a different USB to SATA interface).
>   When I read from the drive using the commands
> 
>   dd if=/dev/sdb of=/tmp/xxx bs=1M count=100
>   hexdump -C xxx 
> 
>   The output of hexdump indicates that all that was
> read were zeroes:
> 
>   00000000  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   06400000
> 
>   However, after I run the following command (writes to
> drive):
> 
>   dd if=/dev/zero of=/dev/sdb bs=1M count=100
> 
>   and then these commands:
> 
>   dd if=/dev/sdb of=/tmp/xxx bs=1M count=100
>   hexdump -C xxx  | less
> 
>   I get the following output:
>   00000000  55 53 42 43 96 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   00000010  00 00 00 00 00 00 00 f0  00 00 00
> 00 00 00 00 18  |................|
>   00000020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   0001e000  55 53 42 43 97 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   0001e010  00 00 00 00 f0 00 00 f0  00 00 00
> 00 00 00 00 e5  |................|
>   0001e020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   0003c000  55 53 42 43 98 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   0003c010  00 00 00 01 e0 00 00 f0  00 00 00
> 00 00 00 00 4c  |...............L|
>   0003c020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   0005a000  55 53 42 43 99 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   0005a010  00 00 00 02 d0 00 00 f0  00 00 00
> 00 00 00 00 49  |...............I|
>   0005a020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   00078000  55 53 42 43 9a 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   00078010  00 00 00 03 c0 00 00 f0  00 00 00
> 00 00 00 00 e1  |................|
>   00078020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   00096000  55 53 42 43 9b 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   00096010  00 00 00 04 b0 00 00 f0  00 00 00
> 00 00 00 00 40  |...............@|
>   00096020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   000b4000  55 53 42 43 9c 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   000b4010  00 00 00 05 a0 00 00 f0  00 00 00
> 00 00 00 00 16  |................|
>   000b4020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   000d2000  55 53 42 43 9d 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   000d2010  00 00 00 06 90 00 00 f0  00 00 00
> 00 00 00 00 13  |................|
>   000d2020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   000f0000  55 53 42 43 9e 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   000f0010  00 00 00 07 80 00 00 f0  00 00 00
> 00 00 00 00 bb  |................|
>   000f0020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
>   *
>   0010e000  55 53 42 43 9f 5f 00 00  00 e0 01
> 00 00 00 0a 2a  |USBC._.........*|
>   0010e010  00 00 00 08 70 00 00 f0  00 00 00
> 00 00 00 00 52  |....p..........R|
>   0010e020  00 00 00 00 00 00 00 00  00 00 00
> 00 00 00 00 00  |................|
> 
>   This indicates that although I tried to write zeroes
> to the drive,
>   what was actually written was mostly zeroes, but also
> these strange
>   blocks starting with "USBC". According to the dump
> these show up at
>   the beginning of every block (block size was 1M
> bytes) that the 'dd'
>   program wrote.
> 
>   The output of lsusb on this system is:
>   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0
> root hub
>   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0
> root hub
>   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1
> root hub
>   Bus 003 Device 002: ID 044e:3001 Alps Electric Co.,
> Ltd UGTZ4 Bluetooth
>   Bus 002 Device 002: ID 14cd:6116 Super Top M6116 SATA
> Bridge
> 
>   The last entry being the USB to SATA controller that
> I think Ubuntu
>   has a problem with.
> 
>   Thanks,
>   Tal Nevo
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 12.04
>   Package: linux-image-3.2.0-33-generic 3.2.0-33.52
>   ProcVersionSignature: Ubuntu 3.2.0-33.52-generic
> 3.2.31
>   Uname: Linux 3.2.0-33-generic x86_64
>   NonfreeKernelModules: vtsspp sep3_8 pax apwr3_0
>   AlsaVersion: Advanced Linux Sound Architecture Driver
> Version 1.0.24.
>   ApportVersion: 2.0.1-0ubuntu15
>   Architecture: amd64
>   ArecordDevices:
>    **** List of CAPTURE Hardware Devices
> ****
>    card 0: Intel [HDA Intel], device 0:
> AD198x Analog [AD198x Analog]
>      Subdevices: 2/2
>      Subdevice #0: subdevice #0
>      Subdevice #1: subdevice #1
>   AudioDevicesInUse:
>    USER        PID ACCESS
> COMMAND
>    /dev/snd/controlC0:  tal   
>     2136 F.... pulseaudio
>   Card0.Amixer.info:
>    Card hw:0 'Intel'/'HDA Intel at 0xf6a20000
> irq 47'
>      Mixer name    :
> 'Intel Cantiga HDMI'
>      Components    :
> 'HDA:11d41883,10f70000,00100400
> HDA:14f12c06,10f70000,00100000
> HDA:80862802,80860101,00100000'
>      Controls      : 40
>      Simple ctrls  : 21
>   Date: Fri Nov 23 02:26:55 2012
>   HibernationDevice:
> RESUME=UUID=7d81d0b8-58ad-4582-9006-43f1e0ed2898
>   InstallationMedia: Ubuntu 12.04.1 LTS "Precise
> Pangolin" - Release amd64 (20120817.1)
>   MachineType: Panasonic Corporation CF-F8GXWAJP
>   MarkForUpload: True
>   PccardctlIdent:
>    Socket 0:
>      no product info available
>   PccardctlStatus:
>    Socket 0:
>      no card
>   ProcEnviron:
>    TERM=xterm
>    SHELL=/bin/bash
>    PATH=(custom, no user)
>    LANG=en_US.UTF-8
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine:
> BOOT_IMAGE=/boot/vmlinuz-3.2.0-33-generic
> root=UUID=172a77d7-5669-4e0a-bfe2-256eb4864c4d ro quiet
> splash vt.handoff=7
>   PulseList: Error: command ['pacmd', 'list'] failed
> with exit code 1: No PulseAudio daemon running, or not
> running as session daemon.
>   RelatedPackageVersions:
>    linux-restricted-modules-3.2.0-33-generic
> N/A
>    linux-backports-modules-3.2.0-33-generic 
> N/A
>    linux-firmware       
>                
>     1.79.1
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh
> install)
>   dmi.bios.date: 06/05/2009
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: V3.00L14
>   dmi.board.name: CFF8-3
>   dmi.board.vendor: Panasonic Corporation
>   dmi.board.version: 1
>   dmi.chassis.asset.tag: No Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: Panasonic Corporation
>   dmi.chassis.version: 001
>   dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrV3.00L14:bd06/05/2009:svnPanasonicCorporation:pnCF-F8GXWAJP:pvr003:rvnPanasonicCorporation:rnCFF8-3:rvr1:cvnPanasonicCorporation:ct10:cvr001:
>   dmi.product.name: CF-F8GXWAJP
>   dmi.product.version: 003
>   dmi.sys.vendor: Panasonic Corporation
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1082215/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082215

Title:
  Writing on a certain USB HDD causes corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1082215/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to