← Back to team overview

kernel-packages team mailing list archive

[Bug 1092883] Re: Disk report of Unhandled error code

 

** Description changed:

  Repeated message such as
  
  Dec 21 10:56:03 s01 kernel: [12597.472089] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472093] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472098] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 02 00 00
  Dec 21 10:56:03 s01 kernel: [12597.472113] end_request: I/O error, dev sde, sector 1857458688
  
  Once this occurs it is reported a number of times per second apparently
  on a continuous basis. The sector number does increase but I'm not sure
  whether the disk driver is really trying to access the disk.
  
  To show the above log entries in context here are a few lines before
  them and a few after.
  
  Dec 21 10:55:03 s01 kernel: [12537.438622] ata9.00: exception Emask 0x10 SAct 0x1 SErr 0x80000 action 0xe frozen
  Dec 21 10:55:03 s01 kernel: [12537.438628] ata9.00: irq_stat 0x00100010, PHY RDY changed
  Dec 21 10:55:03 s01 kernel: [12537.438633] ata9: SError: { 10B8B }
  Dec 21 10:55:03 s01 kernel: [12537.438638] ata9.00: failed command: READ FPDMA QUEUED
  Dec 21 10:55:03 s01 kernel: [12537.438646] ata9.00: cmd 60/00:00:00:92:b6/02:00:6e:00:00/40 tag 0 ncq 262144 in
  Dec 21 10:55:03 s01 kernel: [12537.438648]          res f2/36:00:00:00:00/00:00:00:01:f2/00 Emask 0x12 (ATA bus error)
  Dec 21 10:55:03 s01 kernel: [12537.438652] ata9.00: status: { Busy }
  Dec 21 10:55:03 s01 kernel: [12537.438655] ata9.00: error: { IDNF ABRT }
  Dec 21 10:55:03 s01 kernel: [12537.438662] ata9: hard resetting link
  Dec 21 10:55:13 s01 kernel: [12547.444041] ata9: softreset failed (timeout)
  Dec 21 10:55:13 s01 kernel: [12547.444048] ata9: hard resetting link
  Dec 21 10:55:23 s01 kernel: [12557.456048] ata9: softreset failed (timeout)
  Dec 21 10:55:23 s01 kernel: [12557.456055] ata9: hard resetting link
  Dec 21 10:55:58 s01 kernel: [12592.460049] ata9: softreset failed (timeout)
  Dec 21 10:55:58 s01 kernel: [12592.460057] ata9: limiting SATA link speed to 1.5 Gbps
  Dec 21 10:55:58 s01 kernel: [12592.460061] ata9: hard resetting link
  Dec 21 10:56:03 s01 kernel: [12597.472038] ata9: softreset failed (timeout)
  Dec 21 10:56:03 s01 kernel: [12597.472046] ata9: reset failed, giving up
  Dec 21 10:56:03 s01 kernel: [12597.472050] ata9.00: disabled
  Dec 21 10:56:03 s01 kernel: [12597.472064] ata9: EH complete
  Dec 21 10:56:03 s01 kernel: [12597.472089] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472093] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472098] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 02 00 00
  Dec 21 10:56:03 s01 kernel: [12597.472113] end_request: I/O error, dev sde, sector 1857458688
  Dec 21 10:56:03 s01 kernel: [12597.472250] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472254] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472258] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.472271] end_request: I/O error, dev sde, sector 1857458688
  Dec 21 10:56:03 s01 kernel: [12597.472378] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472381] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472386] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 08 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.472398] end_request: I/O error, dev sde, sector 1857458696
  Dec 21 10:56:03 s01 kernel: [12597.473888] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.473891] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.473896] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 10 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.473910] end_request: I/O error, dev sde, sector 1857458704
  Dec 21 10:56:03 s01 kernel: [12597.473953] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.473957] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.473962] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 18 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.473976] end_request: I/O error, dev sde, sector 1857458712
  Dec 21 10:56:03 s01 kernel: [12597.474014] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474017] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474022] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 20 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474035] end_request: I/O error, dev sde, sector 1857458720
  Dec 21 10:56:03 s01 kernel: [12597.474073] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474087] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474091] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 28 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474103] end_request: I/O error, dev sde, sector 1857458728
  Dec 21 10:56:03 s01 kernel: [12597.474137] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474140] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474144] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 30 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474155] end_request: I/O error, dev sde, sector 1857458736
  Dec 21 10:56:03 s01 kernel: [12597.474189] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474191] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474195] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 38 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474207] end_request: I/O error, dev sde, sector 1857458744
  Dec 21 10:56:03 s01 kernel: [12597.474239] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474241] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474245] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 40 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474257] end_request: I/O error, dev sde, sector 1857458752
  Dec 21 10:56:03 s01 kernel: [12597.474289] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474292] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474296] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 48 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474307] end_request: I/O error, dev sde, sector 1857458760
  Dec 21 10:56:03 s01 kernel: [12597.474338] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474341] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474345] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 50 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474357] end_request: I/O error, dev sde, sector 1857458768
  
  This happened while running badblocks against the disk.
  
- 1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
- -> About Ubuntu
- 
- mythtv@s01:~$ lsb_release -rd
- Description:	Ubuntu 12.04.1 LTS
- Release:	12.04
- mythtv@s01:~$ 
- mythtv@s01:~$ lsb_release -a
- No LSB modules are available.
- Distributor ID:	Ubuntu
- Description:	Ubuntu 12.04.1 LTS
- Release:	12.04
- Codename:	precise
- mythtv@s01:~$ 
- 
- 2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
- mythtv@s01:~$ uname -a
- Linux s01 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux
- mythtv@s01:~$ 
- 
  3) What you expected to happen
  Expected kernel or driver to recognise the error (it looks like it did not know what it was or how to handle it) and know how to respond. At least an informative log report would help.
  
  4) What happened instead
  The response seems to have confused badblocks. If left alone it looks like it would have marked all following blocks as bad when this could have been a different type of error such as a communication issue.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-35-generic-pae 3.2.0-35.55
  ProcVersionSignature: Ubuntu 3.2.0-35.55-generic-pae 3.2.34
  Uname: Linux 3.2.0-35-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu15.1
  Architecture: i386
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  mythtv     2841 F.... pulseaudio
-                       a         12453 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  mythtv     2841 F.... pulseaudio
+                       a         12453 F.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xfdff4000 irq 49'
-    Mixer name	: 'Realtek ALC882'
-    Components	: 'HDA:10ec0882,147b8e01,00100101'
-    Controls      : 53
-    Simple ctrls  : 25
+  Card hw:0 'Intel'/'HDA Intel at 0xfdff4000 irq 49'
+    Mixer name	: 'Realtek ALC882'
+    Components	: 'HDA:10ec0882,147b8e01,00100101'
+    Controls      : 53
+    Simple ctrls  : 25
  Date: Fri Dec 21 11:54:35 2012
  HibernationDevice: RESUME=UUID=d275224e-9930-4474-abca-05dbecb38f2e
  IwConfig:
-  lo        no wireless extensions.
-  
-  eth2      no wireless extensions.
-  
-  eth1      no wireless extensions.
+  lo        no wireless extensions.
+ 
+  eth2      no wireless extensions.
+ 
+  eth1      no wireless extensions.
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_GB.utf8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_GB.utf8
+  SHELL=/bin/bash
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: root=LABEL=hostname-root ro
  PulseList:
-  Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/mythtv not ours.
-  No PulseAudio daemon running, or not running as session daemon.
+  Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/mythtv not ours.
+  No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
-  linux-restricted-modules-3.2.0-35-generic-pae N/A
-  linux-backports-modules-3.2.0-35-generic-pae  N/A
-  linux-firmware                                1.79.1
+  linux-restricted-modules-3.2.0-35-generic-pae N/A
+  linux-backports-modules-3.2.0-35-generic-pae  N/A
+  linux-firmware                                1.79.1
  RfKill:
-  
+ 
  SourcePackage: linux
  UpgradeStatus: Upgraded to precise on 2012-12-20 (0 days ago)
  dmi.bios.date: 09/08/2006
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: AB9/AB9RPO(Intel965+ICH8)
  dmi.board.vendor: http://www.abit.com.tw/
  dmi.board.version: 1.x
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd09/08/2006:svn:pn:pvr:rvnhttp//www.abit.com.tw/:rnAB9/AB9RPO(Intel965+ICH8):rvr1.x:cvn:ct3:cvr:

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1092883

Title:
  Disk report of Unhandled error code

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Repeated message such as

  Dec 21 10:56:03 s01 kernel: [12597.472089] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472093] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472098] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 02 00 00
  Dec 21 10:56:03 s01 kernel: [12597.472113] end_request: I/O error, dev sde, sector 1857458688

  Once this occurs it is reported a number of times per second
  apparently on a continuous basis. The sector number does increase but
  I'm not sure whether the disk driver is really trying to access the
  disk.

  To show the above log entries in context here are a few lines before
  them and a few after.

  Dec 21 10:55:03 s01 kernel: [12537.438622] ata9.00: exception Emask 0x10 SAct 0x1 SErr 0x80000 action 0xe frozen
  Dec 21 10:55:03 s01 kernel: [12537.438628] ata9.00: irq_stat 0x00100010, PHY RDY changed
  Dec 21 10:55:03 s01 kernel: [12537.438633] ata9: SError: { 10B8B }
  Dec 21 10:55:03 s01 kernel: [12537.438638] ata9.00: failed command: READ FPDMA QUEUED
  Dec 21 10:55:03 s01 kernel: [12537.438646] ata9.00: cmd 60/00:00:00:92:b6/02:00:6e:00:00/40 tag 0 ncq 262144 in
  Dec 21 10:55:03 s01 kernel: [12537.438648]          res f2/36:00:00:00:00/00:00:00:01:f2/00 Emask 0x12 (ATA bus error)
  Dec 21 10:55:03 s01 kernel: [12537.438652] ata9.00: status: { Busy }
  Dec 21 10:55:03 s01 kernel: [12537.438655] ata9.00: error: { IDNF ABRT }
  Dec 21 10:55:03 s01 kernel: [12537.438662] ata9: hard resetting link
  Dec 21 10:55:13 s01 kernel: [12547.444041] ata9: softreset failed (timeout)
  Dec 21 10:55:13 s01 kernel: [12547.444048] ata9: hard resetting link
  Dec 21 10:55:23 s01 kernel: [12557.456048] ata9: softreset failed (timeout)
  Dec 21 10:55:23 s01 kernel: [12557.456055] ata9: hard resetting link
  Dec 21 10:55:58 s01 kernel: [12592.460049] ata9: softreset failed (timeout)
  Dec 21 10:55:58 s01 kernel: [12592.460057] ata9: limiting SATA link speed to 1.5 Gbps
  Dec 21 10:55:58 s01 kernel: [12592.460061] ata9: hard resetting link
  Dec 21 10:56:03 s01 kernel: [12597.472038] ata9: softreset failed (timeout)
  Dec 21 10:56:03 s01 kernel: [12597.472046] ata9: reset failed, giving up
  Dec 21 10:56:03 s01 kernel: [12597.472050] ata9.00: disabled
  Dec 21 10:56:03 s01 kernel: [12597.472064] ata9: EH complete
  Dec 21 10:56:03 s01 kernel: [12597.472089] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472093] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472098] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 02 00 00
  Dec 21 10:56:03 s01 kernel: [12597.472113] end_request: I/O error, dev sde, sector 1857458688
  Dec 21 10:56:03 s01 kernel: [12597.472250] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472254] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472258] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 00 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.472271] end_request: I/O error, dev sde, sector 1857458688
  Dec 21 10:56:03 s01 kernel: [12597.472378] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.472381] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.472386] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 08 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.472398] end_request: I/O error, dev sde, sector 1857458696
  Dec 21 10:56:03 s01 kernel: [12597.473888] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.473891] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.473896] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 10 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.473910] end_request: I/O error, dev sde, sector 1857458704
  Dec 21 10:56:03 s01 kernel: [12597.473953] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.473957] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.473962] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 18 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.473976] end_request: I/O error, dev sde, sector 1857458712
  Dec 21 10:56:03 s01 kernel: [12597.474014] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474017] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474022] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 20 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474035] end_request: I/O error, dev sde, sector 1857458720
  Dec 21 10:56:03 s01 kernel: [12597.474073] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474087] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474091] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 28 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474103] end_request: I/O error, dev sde, sector 1857458728
  Dec 21 10:56:03 s01 kernel: [12597.474137] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474140] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474144] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 30 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474155] end_request: I/O error, dev sde, sector 1857458736
  Dec 21 10:56:03 s01 kernel: [12597.474189] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474191] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474195] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 38 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474207] end_request: I/O error, dev sde, sector 1857458744
  Dec 21 10:56:03 s01 kernel: [12597.474239] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474241] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474245] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 40 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474257] end_request: I/O error, dev sde, sector 1857458752
  Dec 21 10:56:03 s01 kernel: [12597.474289] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474292] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474296] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 48 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474307] end_request: I/O error, dev sde, sector 1857458760
  Dec 21 10:56:03 s01 kernel: [12597.474338] sd 8:0:0:0: [sde] Unhandled error code
  Dec 21 10:56:03 s01 kernel: [12597.474341] sd 8:0:0:0: [sde]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  Dec 21 10:56:03 s01 kernel: [12597.474345] sd 8:0:0:0: [sde] CDB: Read(10): 28 00 6e b6 92 50 00 00 08 00
  Dec 21 10:56:03 s01 kernel: [12597.474357] end_request: I/O error, dev sde, sector 1857458768

  This happened while running badblocks against the disk.

  3) What you expected to happen
  Expected kernel or driver to recognise the error (it looks like it did not know what it was or how to handle it) and know how to respond. At least an informative log report would help.

  4) What happened instead
  The response seems to have confused badblocks. If left alone it looks like it would have marked all following blocks as bad when this could have been a different type of error such as a communication issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-35-generic-pae 3.2.0-35.55
  ProcVersionSignature: Ubuntu 3.2.0-35.55-generic-pae 3.2.34
  Uname: Linux 3.2.0-35-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu15.1
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mythtv     2841 F.... pulseaudio
                        a         12453 F.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfdff4000 irq 49'
     Mixer name	: 'Realtek ALC882'
     Components	: 'HDA:10ec0882,147b8e01,00100101'
     Controls      : 53
     Simple ctrls  : 25
  Date: Fri Dec 21 11:54:35 2012
  HibernationDevice: RESUME=UUID=d275224e-9930-4474-abca-05dbecb38f2e
  IwConfig:
   lo        no wireless extensions.

   eth2      no wireless extensions.

   eth1      no wireless extensions.
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.utf8
   SHELL=/bin/bash
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: root=LABEL=hostname-root ro
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/mythtv not ours.
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-35-generic-pae N/A
   linux-backports-modules-3.2.0-35-generic-pae  N/A
   linux-firmware                                1.79.1
  RfKill:

  SourcePackage: linux
  UpgradeStatus: Upgraded to precise on 2012-12-20 (0 days ago)
  dmi.bios.date: 09/08/2006
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: AB9/AB9RPO(Intel965+ICH8)
  dmi.board.vendor: http://www.abit.com.tw/
  dmi.board.version: 1.x
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd09/08/2006:svn:pn:pvr:rvnhttp//www.abit.com.tw/:rnAB9/AB9RPO(Intel965+ICH8):rvr1.x:cvn:ct3:cvr:

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