From owner-freebsd-current@FreeBSD.ORG Wed Jun 30 07:45:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8224F16A4CF for ; Wed, 30 Jun 2004 07:45:16 +0000 (GMT) Received: from mailhub.intercaf.ru (mailhub.intercaf.ru [195.96.167.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9181D43D2F for ; Wed, 30 Jun 2004 07:45:15 +0000 (GMT) (envelope-from lesha@intercaf.ru) Received: from [195.96.167.70] (sick@[195.96.167.70]) (authenticated bits=0) by mailhub.intercaf.ru (8.12.10/8.12.10) with ESMTP id i5U7go16016882 for ; Wed, 30 Jun 2004 11:43:50 +0400 (MSD) (envelope-from lesha@intercaf.ru) From: Alex K Organization: InterCAF To: freebsd-current@freebsd.org Date: Wed, 30 Jun 2004 11:43:07 +0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200406301143.07550.lesha@intercaf.ru> Subject: ATA panic PR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 07:45:16 -0000 Hello, everyone! I have submitted a PR today. Thought I should CC it here. ATA panics immediately on boot if running in DMA mode (which is default) With hw.ata.ata_dma="0" in /boot/loader.conf everything works fine, but is terribly slow. DMA worked fine with 5.2.1-RELEASE. # uname -a FreeBSD urri.intercaf.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Wed Jun 30 10:36:24 MSD 2004 urri@urri.intercaf.ru:/usr/obj/usr/src/sys/URRI i386 It panics with GENERIC kernel too. atapci0: port 0x110b-0x111a,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0-master: DMA limited to UDMA33, non-ATA66 cable or device ad0: 19077MB [38760/16/63] at ata0-master UDMA33 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=39070017 ad0: DMA limited to UDMA33, non-ATA66 cable or device kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x74 fault code = supervisor read, page not present instruction pointer = 0x8:0xc050f615 stack pointer = 0x10:0xc7683c48 frame pointer = 0x10:0xc7683c4c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 5 (taskqueue) trap number = 12 panic: page fault syncing disks, buffers remaining... done Uptime: 6s Cheers, AL.