Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2019 08:13:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237261] Boot stuck in endless ATAPI_IDENTIFY attempts
Message-ID:  <bug-237261-227-gKKvEq4GwF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237261-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237261-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237261

Andriy Gapon <avg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |scsi@FreeBSD.org

--- Comment #6 from Andriy Gapon <avg@FreeBSD.org> ---
(In reply to Mikhail Teterin from comment #5)
Thank you!
So, we can see that the old stack also sees the phantom device, tries to
identify it and fails.  But I guess that that happens rather quickly (?) an=
d,
certainly, there are no endless retries.  That seems to be the main differe=
nce
between the old code and the new one.

I would try to draw attention of CAM experts like Scott Long or Alexander M=
otin
or Kenneth Merry to this bug.  I'll re-assign this bug to scsi@ as well.

Here are the relevant bits from the log:
ata1: <ATA channel 1> on atapci0
ata1: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00
ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: stat1=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x30000
ata1: Identifying devices: 00030000
ata1: New devices: 00030000
ata1: reiniting channel ..
ata1: reset tp1 mask=3D03 ostat0=3D00 ostat1=3D00
ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: stat1=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x30000
ata1: reinit done ..
unknown: FAILURE - ATAPI_IDENTIFY timed out LBA=3D0
ata1: reiniting channel ..
ata1: reset tp1 mask=3D03 ostat0=3D00 ostat1=3D00
ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: stat1=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb
ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x30000
ata1: reinit done ..
unknown: FAILURE - ATAPI_IDENTIFY timed out LBA=3D0

And then success for the real device:
ata1-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA33 cable=3D40 wire
acd0: setting UDMA33
acd0: <UJDA755 DVD/CDRW/1.00> CDRW drive at ata1 as master

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237261-227-gKKvEq4GwF>