ATA broken in HEAD

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Sat, 20 Aug 2005 01:50:38 +0400
  Soren,

  the ATA subsystem has been recently broken in CURRENT.
I've got Asus A7V8X, with onboard
Promise controller. A single SATA disk is attached to it.

Important pieces from boot (written by hand):

atapci0: <Promise PDC20376> SATA 150 Controller
ata2 on atapci0
.
ad0: 152627MB <Seagate ST3160023AS 3.18> at ata2-master SATA150   
ad0: error issueing READ_DMA48 command
ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0
ad0: timeout waiting to issue command
ad0: error issueing READ_DMA48 command
ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0
ad0: timeout waiting to issue command
ad0: error issueing READ_DMA48 command
ad0: FAILURE - READ_DMA timed out LBA=0
ad0: timeout waiting to issue command
ad0: error issueing READ_DMA48 command

Then, after SCSI detect I get panic:

 Fatal trap 12: page fault while in kernel mode
 fault virtual address      = 0xdeadc0f2
 fault code         = supervisor read, page not present
 instruction pointer        = 0x20:0xc058075e
 stack pointer              = 0x28:0xcc9d7c4c
 frame pointer              = 0x28:0xcc9d7c4c
 code segment               = base 0x0, limit 0xfffff, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
 processor eflags   = interrupt enabled, resume, IOPL = 0
 current process            = 39 (swi6: task queue)

Trace written by hand:

devclass_getname(deadc0de)+0x6
device_get_name+0x18
device_print_prettyname+0xe
device_printf+0xc
ata_completed+0x8a
taskqueue_run

The previous kernel was build 12 Aug and is working perfectly.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Received on Fri Aug 19 2005 - 19:50:41 UTC

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