Bug 122291 - [ata] acd0: timeout waiting to issue command / acd0: error issuing ATA PACKET command // Promise PDC40718 SATA300 controller // acd0: CDROM <HL-DT-ST DVDRAM GH20NS10/EL00> at ata2-master SATA150
Summary: [ata] acd0: timeout waiting to issue command / acd0: error issuing ATA PACKET...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 14:10 UTC by rabe
Modified: 2018-01-03 05:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rabe 2008-03-31 14:10:00 UTC
	LG S-SATA DVD-Writer <HL-DT-ST DVDRAM GH20NS10/EL00> is attached to a 
	'PDC40718-GP SATA 300 TX4 Controller'. 

	noticeable: The hard drives are connected to channel 1 and 2 
		    on the controller board, the DVD is conencted to channel 3
	            (also tested on ch4).
		The kernel detects two harddrives as channel 2+3 (counted from 0) i
		and the DVD on chanel 0 (first channel). On BIOS 

	Before the DVD is detected there are some ATA timeout / PACKET errors:
	acd0: timeout waiting to issue command
	acd0: error issuing ATA PACKET command
	acd0: timeout waiting to issue command
	acd0: error issuing ATA PACKET command
	acd0: timeout waiting to issue command
	acd0: error issuing ATA PACKET command
	acd0: CDROM <HL-DT-ST DVDRAM GH20NS10/EL00> at ata2-master SATA150
	acd0: timeout waiting to issue command
	acd0: error issuing ATA PACKET command
	[... forever ...]

	* I also tried to connect the DVD to the onboard-prmise
	atapci1: Promise PDC20376 SATA150 controller ... on pci2
	without success. 

	* I tried some other SATA-Cables.
	* I measured +12V and +5V from a 5.14" power plug parallel to the DVD 

	* I was lucky to boot one time with the DVD attached to the Promise 300 
	  by opening / ejecting while these ATA-timeouts on acd0. 
          # dd if=/dev/acd0 of=/dev/null bs=2k count=1  on console
          resulted in 3x timeout+error from kernel followed by the i/o error message 
	  from dd followed by 2 more timeout+error lines of the Kernel
	* The two hard drives ad6 and ad10 are doing fine and without any 
	  error messages, ad6 is a geli device which would thow error-messages 
	  on corrupted data.

	If there is something else I may test or information I have to provide 
	please ask soon. I'm willing to update to 6-STABLE or 7.0-RELEASE or 
	7-STABLE if this would be a solution.

Fix: 

-
How-To-Repeat: 	attaching the DVD to the promise300
Comment 1 rabe 2008-05-03 18:10:08 UTC
I tested with the 200804-snapshots of 7-STABLE and 8-CURRENT with the
same results (on 8-CURRENT acd0 gets acd6). The DVD drive is able to
boot both media using BIOS but the kernel isn't able to access the
drive.

I also tested successfully with the latest KNOPPIX 5.3 so it shouldn't
be a general hardware problem. 

Regards
Raphael Becker

-- 
Raphael Becker          <rabe@uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
Comment 2 rabe 2008-09-17 07:07:10 UTC
Update:

I recently upgraded to 7.1-PRE, there is still

[...]
The GEOM class LABEL is already loaded.
ad0: 78533MB <Hitachi HDS728080PLAT20 PF2OA21B> at ata0-master UDMA100
ad2: 286168MB <SAMSUNG HD300LD WK100-12> at ata1-master UDMA100
GEOM_LABEL: Label for provider ad0s1f is label/HOMEcrypt.
GEOM_LABEL: Label for provider ad2s1 is ufs/DATA.
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
acd0: CDROM <HL-DT-ST DVDRAM GH20NS10/EL00> at ata5-master SATA150
[...]
acd0: error issuing ATA PACKET command
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
ad12: 286188MB <Maxtor 7L300S0 BANC1G10> at ata6-master SATA150
ad14: 476940MB <SAMSUNG HD501LJ CR100-10> at ata7-master SATA150
GEOM_LABEL: Label for provider ad12s1 is ufs/MULTIMEDIA.
GEOM_LABEL: Label for provider ad14 is label/PRIVATEcrypt. 
[...] 

Complete dmesg.boot: http://rabe.uugrn.org/FreeBSD/dmesg_daemon_71PRE

SATA harddrives are doing well on both Promise controllers, actually
they are connected to the onboard, SATA-DVD isn't working with FreeBSD
on both controllers. 

Regards
Raphael Becker

-- 
Raphael Becker          <rabe@uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
Comment 3 Alexander Motin freebsd_committer freebsd_triage 2010-03-12 05:06:07 UTC
FreeBSD Promise driver still doesn't support ATAPI.

-- 
Alexander Motin
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:20 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped