Public bug reported:

When using new 1 TB sata hard drive on my nv based mainboard, dual core, 6 GB 
ram, amd64 ubuntu 9.04,
I get 2 types of errors:

1) after some times I get device-lost errors in dmesg and device stops
working till reboot


2) I always see one more device named /dev/sdd (sdc is the new hard drive) that 
shows up as 2 TB device

Let me go into some details:

1) device gets losts, that is shows in dmesg errors like:

[ 5764.955034] sd 5:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET 
driverbyte=DRIVER_OK,SUGGEST_OK
[ 5764.955039] end_request: I/O error, dev sdc, sector 413808352
(...)
[ 5872.227484] Buffer I/O error on device sdc, logical block 52804512           
      
[ 5872.227486] lost page write due to I/O error on sdc

and all the time,  then the device is dead - all I/O reports errors,
hdparm -i can not see it and so on

sometimes this is preceded with:

[ 4841.804585] ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 4841.804602] ata6.00: cmd 35/00:00:30:65:7a/00:02:14:00:00/e0 tag 0 dma 
262144 out
[ 4841.804604]          res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 
(timeout)
[ 4841.804610] ata6.00: status: { DRDY }
[ 4841.804646] ata6: soft resetting link
[ 4847.016549] ata6: link is slow to respond, please be patient (ready=0)
[ 4851.852058] ata6: SRST failed (errno=-16)
[ 4851.852074] ata6: soft resetting link


This happens after 2-10 hours of intensive hard drive use (shred, or dd 
if=/dev/zero of=device and so on)
Hapend 3 times so far (at least once with the above  ata6.00 exception error)

It seem to occur when computer was overheating (sensors of I think cpu and 
mobo, showing 80 C).
Nothing worked to fix it:
  - I put big fans next to computer, temp goes to just 60-65 instead 80
  - I used other sata cable
  - I plug it into other on board sata controller (3rd instead 2nd)

Also
  - badblocks report no problems
  - sata log  and sata --test long doesnt show any problems
  - disc stays at max 35 C temperature

Disc gets speeds up to 150 MiB/s

So I guess it could be a hardware issue (faulty mobo?) - but perhaps it is a 
driver / kernel problem?
I found similar reports of link is slow to respond, please be patient related 
to installing Ubuntu - but there it seemed to happen always not just sometimes, 
although it was also NV based mobo chip afair.


2) 
The second problem is the extra unknown device.


Below technical details follow.


AFTER THE FAILURE (after I/O errors and DID_BAD_TARGET etc stuff):
# hdparm -I /dev/sdc
/dev/sdc:
 HDIO_DRIVE_CMD(identify) failed: Input/output error

# hdparm -i /dev/sdc
/dev/sdc:
 HDIO_GET_IDENTITY failed: No message of desired type

# hdparm -a /dev/sdc
/dev/sdc:
 readahead     = 256 (on)

# hdparm /dev/sdc
/dev/sdc:
 IO_support    =  0 (default)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 56065/255/63, sectors = 1953525168, start = 0


And the extra ghost device (2 TB) that is appearing for unknown reason:

r...@lcwood:~# hdparm -i /dev/sdd

/dev/sdd:
 HDIO_GET_IDENTITY failed: Invalid argument
r...@lcwood:~# hdparm -I /dev/sdd

/dev/sdd:
 HDIO_DRIVE_CMD(identify) failed: Input/output error
r...@lcwood:~# hdparm /dev/sdd

/dev/sdd:
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 65535/255/63, sectors = 4294967296, start = 0
r...@lcwood:~# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel with disk identifier 0xc3abd5d3.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.


The number of cylinders for this disk is set to 267349.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sdd: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc3abd5d3

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q


Yes, I do NOT have any 2 TB devices here, this one is some ghost O_o.

# uname -a
Linux lcwood 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 
x86_64 GNU/Linux


Please write what more tests I could do.

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
sata hard drive connection fails with link is slow to respond, please be 
patient (ready=0) ; SRST failed (errno=-16) ; hostbyte=DID_BAD_TARGET 
driverbyte=DRIVER_OK,SUGGEST_OK
https://bugs.launchpad.net/bugs/409639
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to