Re: ATA regression

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Sat, 25 Dec 2004 01:30:21 +0200
On Fri, Dec 24, 2004 at 11:44:42PM +0100, S?ren Schmidt wrote:
> Ruslan Ermilov wrote:
> >On Fri, Dec 24, 2004 at 05:22:52PM +0100, S?ren Schmidt wrote:
> >
> >>OK, saw this thread a little late, but I committed some updates to this 
> >>area earlier today, let me know if that changes anything...
> >>
> >Unfortunately not.  With
> >
> >$FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.97 2004/12/24 13:36:04 sos Exp 
> >$
> >$FreeBSD: src/sys/dev/ata/ata-lowlevel.c,v 1.51 2004/12/24 13:38:25 sos 
> >Exp $
> >
> >I still get,
> >
> >atapci0: <nVidia nForce3 UDMA133 controller> port 
> >0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0
> >ata0: channel #0 on atapci0
> >ata1: channel #1 on atapci0
> >atapci1: <Promise PDC20378 SATA150 controller> port 
> >0xd000-0xd07f,0xd400-0xd40f,0xd800-0xd83f mem 
> >0xfc960000-0xfc97ffff,0xfc99f000-0xfc99ffff irq 5 at device 8.0 on pci1
> >atapci1: failed: rid 0x20 is memory, requested 4
> >ata2: channel #0 on atapci1
> >ata3: channel #1 on atapci1
> >ata4: channel #2 on atapci1
> >ad0: 76319MB <ST380011A/3.04> [155061/16/63] at ata0-master UDMA100
> >ata1-slave: DMA limited to UDMA33, non-ATA66 cable or device
> >acd0: CDRW <COM4824/VER 1.01> at ata1-slave UDMA33
> >ata4-master: FAILURE - ATA_IDENTIFY timed out
> >ata4-master: FAILURE - ATA_IDENTIFY timed out
> >ata4-master: FAILURE - ATA_IDENTIFY timed out
> >
> >followed by the instant panic.
> 
> The panic message and traceback would be helpfull, as I have a semilar 
> setup here that works "just fine" (tm)...
> 
I don't have a serial console attached here, so below was cut-n-pasted
by hands:

: ata4-master: FAILURE - ATA_IDENTIFY timed out
: ata4-master: FAILURE - ATA_IDENTIFY timed out
: ata4-master: FAILURE - ATA_IDENTIFY timed out
: Trying to mount root from ufs:/dev/ad0a
: ata4-master: FAILURE - ATA_IDENTIFY timed out
: Slab at 0xffffff003d7e1f38, freei 15 = 0.
: panic: Duplicate free of item 0xffffff003d7e1ca8 from zone 0xffffff003ffaf500(g_bio)
: 
: cpuid = 0
: KDB: enter: panic
: [thread pid 3 tid 100029 ]
: Stopped at	kdb_enter+0x2f: nop
: db> where
: kdb_enter() at ...
: panic() at ...
: uma_dbg_free() at ...
: uma_zfree_arg() at ...
: g_disk_done() at ...
: ad_done() at ...
: ata_completed() at ...
: g_io_schedule_up() at ...
: g_up_procbody() at ...
: fork_exit() at ...
: fork_trampoline() at ...
: --- trap 0, rip = 0, rsp = 0xffffffffa509dd00, rbp = 0 ---
: db>

A panic can be avoided by reverting the ata-queue.c,v 1.41.
But even after this, I get ATA_IDENTIFY failures.  And as I
said, reverting to a somewhat earlier version makes it all
work.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Dec 24 2004 - 22:30:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC