From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 22:54:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 690BA16A403 for ; Tue, 10 Apr 2007 22:54:13 +0000 (UTC) (envelope-from gary@mups.co.uk) Received: from mx2.aquiss.net (mx2.aquiss.net [87.127.240.55]) by mx1.freebsd.org (Postfix) with ESMTP id 38FA913C44C for ; Tue, 10 Apr 2007 22:54:13 +0000 (UTC) (envelope-from gary@mups.co.uk) Received: from [87.127.75.103] (helo=babylon2) by mx2.aquiss.net with esmtp (Aquiss) id 1HbPF7-0006LP-44 for freebsd-questions@freebsd.org; Tue, 10 Apr 2007 23:55:17 +0100 Date: Tue, 10 Apr 2007 23:55:46 +0100 To: freebsd-questions@freebsd.org From: Gary Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: User-Agent: Opera Mail/9.10 (Win32) X-Spam-Score: -2.8 (--) Subject: Write_DMA48 Kernel Panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 22:54:13 -0000 Hi, When attempting to backup data to a new 500GB sata HDD I'm getting a kernel panic, followed by reboot after the 15 second timeout. I've tried the drive in my XP machine and formated/written to it fine, I've also tried mounting the drive as a USB2 device via an external enclosure in FreeBSD and again writes/reads are fine. This is occuring on FreeBSD6-2 Release, Generic Kernel. Part of the message reads: ad6 TIMEOUT - WriteDMA48 retrying (1 retry left) Fata trap 12: page fault while in kernel mode fault code: supervisor read, page not present instruction pointer: 0x20:0xc0685de4 ... ... current process 6 (thread taskq) trap number =3D 12 I've attempted to lookup the function assosiated with the pointer and obtained the following two entries c0685da0 t devclass_sysctl_handler c0685ddc t devclass_sysctl_init In addition as the top error was DMA related, I've tried booting without dma support with boot/loader.conf containing hw.ata.ata_dma=3D0 With this in place the kernel panic doesn't occur, however instead I get a load of g_vfs_done error=3D6 messages. I'm currently backing up using the drive mounted in a USB2 enclosure rather than connected via SATA and all appears well, so I'm pretty sure the fault lies either with the SATA PCI Controller or somewhere in the freeBSD code. The specific controller card type is a SiI 3512 SATA150 controller I'll try the controller card in another machine tomorrow just to double check it's not actually a hardware fault. I have seen a few other threads with similar errors to the above in a google search, but as yet none of the suggested solutions worked. Aside from that, anyone have any other ideas as to what could be the cause or ideally how to resolve it? Thanks, Gary