Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
lbm
Posts: 494
Joined: 2009-05-16 09:24
Location: Denmark

hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#1 Post by lbm »

For the last couple of weeks, I have experienced that some (different) drives are disconnected (one at a time)..

First I replaced the drive without so much fuss, but then it happened again, with a different drive.
I then started to look through logs, and now I see this. sdh is dropped, because some sort of failure, and then later on added again as sdi ???
This drive is almost brand new 1,5-2 months old, and I've tested with smartctl which does not report any errors at all.

{code}
Oct 18 06:01:04 server kernel: [198903.628060] sd 7:0:0:0: [sdh] Synchronizing SCSI cache
Oct 18 06:01:04 server kernel: [198903.628134] sd 7:0:0:0: [sdh] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct 18 06:01:04 server kernel: [198903.628138] sd 7:0:0:0: [sdh] Stopping disk
Oct 18 06:01:04 server kernel: [198903.628152] sd 7:0:0:0: [sdh] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct 18 06:01:14 server kernel: [198913.471853] sd 7:0:0:0: [sdi] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
Oct 18 06:01:14 server kernel: [198913.471859] sd 7:0:0:0: [sdi] 4096-byte physical blocks
Oct 18 06:01:14 server kernel: [198913.471863] sd 7:0:0:0: Attached scsi generic sg7 type 0
Oct 18 06:01:14 server kernel: [198913.472028] sd 7:0:0:0: [sdi] Write Protect is off
Oct 18 06:01:14 server kernel: [198913.472082] sd 7:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 18 06:01:14 server kernel: [198913.489375] sd 7:0:0:0: [sdi] Attached SCSI disk
Oct 18 09:48:28 server kernel: [212548.457155] sd 7:0:0:0: [sdi] Synchronizing SCSI cache
Oct 18 09:48:28 server kernel: [212548.457204] sd 7:0:0:0: [sdi] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct 18 09:48:28 server kernel: [212548.457207] sd 7:0:0:0: [sdi] Stopping disk
Oct 18 09:48:28 server kernel: [212548.457215] sd 7:0:0:0: [sdi] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct 18 09:48:38 server kernel: [212558.829169] sd 7:0:0:0: [sdi] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
Oct 18 09:48:38 server kernel: [212558.829172] sd 7:0:0:0: [sdi] 4096-byte physical blocks
Oct 18 09:48:38 server kernel: [212558.829201] sd 7:0:0:0: Attached scsi generic sg7 type 0
Oct 18 09:48:38 server kernel: [212558.829390] sd 7:0:0:0: [sdi] Write Protect is off
Oct 18 09:48:38 server kernel: [212558.829504] sd 7:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
{code}

I strongly doubt its actually disks which are failing, but any ideas what it then could be?

imazighen-thamzgha
Posts: 38
Joined: 2017-04-21 09:38

Re: hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#2 Post by imazighen-thamzgha »

https://www.linuxquestions.org/question ... ve-880698/
as I have read from this thread, it's probably one of your hardware is failing, check the cables, connections, mobo, smell, chair, or anything related...


am so funny.
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen

User avatar
lbm
Posts: 494
Joined: 2009-05-16 09:24
Location: Denmark

Re: hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#3 Post by lbm »

Yes, thanks.. I have seen that thread as well.

User avatar
lbm
Posts: 494
Joined: 2009-05-16 09:24
Location: Denmark

Re: hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#4 Post by lbm »

I can also see this now, currently im expecting a bad cable, or even worse, issue with the motherboard.

Code: Select all

Oct 18 15:47:43 server kernel: [234103.837562] ata8: SATA link down (SStatus 0 SControl 310)
Oct 18 15:47:43 server kernel: [234103.837583] ata8: EH complete
Oct 18 15:47:43 server kernel: [234103.889890] ata8: limiting SATA link speed to 1.5 Gbps
Oct 18 15:47:43 server kernel: [234103.889891] ata8: hard resetting link
Oct 18 15:47:44 server kernel: [234104.781698] ata8: SATA link down (SStatus 0 SControl 310)
Oct 18 15:47:44 server kernel: [234104.781715] ata8: EH complete
Oct 18 15:47:44 server kernel: [234104.814334] ata8: limiting SATA link speed to 1.5 Gbps
Oct 18 15:47:44 server kernel: [234104.814337] ata8: hard resetting link
Oct 18 15:47:47 server kernel: [234108.705846] ata8: SATA link down (SStatus 0 SControl 310)
Oct 18 15:47:47 server kernel: [234108.705867] ata8: EH complete
Oct 18 15:47:48 server kernel: [234108.748713] ata8: limiting SATA link speed to 1.5 Gbps
Oct 18 15:47:48 server kernel: [234108.748716] ata8: hard resetting link
Oct 18 15:47:53 server kernel: [234114.502030] ata8: link is slow to respond, please be patient (ready=0)
Oct 18 15:47:57 server kernel: [234117.922163] ata8: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
Oct 18 15:47:57 server kernel: [234118.261026] ata8.00: ATA-9: HGST HDN726040ALE614, APGNW7JH, max UDMA/133
Oct 18 15:47:57 server kernel: [234118.261030] ata8.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
Oct 18 15:47:57 server kernel: [234118.269938] ata8.00: configured for UDMA/133
Oct 18 15:47:57 server kernel: [234118.269949] ata8: EH complete
ata8 is sdi

Code: Select all

s -l /sys/block/sd* | awk -F'/' '{print $8 " --> " $13}'|grep sdi
ata8 --> sdi

imazighen-thamzgha
Posts: 38
Joined: 2017-04-21 09:38

Re: hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#5 Post by imazighen-thamzgha »

Disconnect the cables, check them closely, if you have a multimeter, check all the pins for continuity, if not change the sata power cables, change all the cables, change computer, desktop, chair, head lights, buy a car, good job, we did it






Image
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen

User avatar
lbm
Posts: 494
Joined: 2009-05-16 09:24
Location: Denmark

Re: hostbyte=DID_BAD_TARGET ?, drive dropped, and readded ?

#6 Post by lbm »

Hah, seems to be caused by ad ad molex/sata power connecter.

Post Reply