From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 07:16:42 2003 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 4F95A16A4C1 for ; Wed, 3 Sep 2003 07:16:42 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id A00E543FF3 for ; Wed, 3 Sep 2003 07:16:40 -0700 (PDT) (envelope-from D.Rock@t-online.de) Received: from fwd01.aul.t-online.de by mailout09.sul.t-online.com with smtp id 19uYR4-0000PU-07; Wed, 03 Sep 2003 16:16:38 +0200 Received: from dialin.t-online.de (rAJIrgZdZezBVCmuAv5G3JOeaPXDYGgRKVXtK7XoHAUfHTMeGXY6wJ@[217.224.20.141]) by fwd01.sul.t-online.com with esmtp id 19uYQt-0DS1Kq0; Wed, 3 Sep 2003 16:16:27 +0200 Received: from t-online.de (doom [172.23.7.254])h83EFubS074906; Wed, 3 Sep 2003 16:15:56 +0200 (CEST) Message-ID: <3F55F79B.9070504@t-online.de> Date: Wed, 03 Sep 2003 16:15:55 +0200 From: D.Rock@t-online.de (Daniel Rock) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030624 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: Soren Schmidt References: <200309011116.h81BG0d3013061@spider.deepcore.dk> <3F54B9B1.5030308@t-online.de> In-Reply-To: <3F54B9B1.5030308@t-online.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Seen: false X-ID: rAJIrgZdZezBVCmuAv5G3JOeaPXDYGgRKVXtK7XoHAUfHTMeGXY6wJ cc: current@freebsd.org Subject: Re: ATAng probe updated please test 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, 03 Sep 2003 14:16:42 -0000 D. Rock schrieb: > Soren Schmidt schrieb: > >> I've gone over the probe code once again. >> >> Please test, and in case it fails to detect or misdetects anything, >> mail me the output of dmesg from a verbose boot, and state what >> devices actually are there. >> > > Hi, > > again no luck. Same problem persists, the devices got probed correctly > (two disks, each on its own channel), but cannot be accessed. > Just an additional notice: Booting in PIO mode (by setting hw.ata.ata_dma=0 in /boot/loader.conf): [...] GEOM: create disk ad0 dp=0xc10b3b70 ad0: 9671MB [20960/15/63] at ata0-master PIO4 GEOM: create disk ad1 dp=0xc10b3470 ad1: 1221MB [2482/16/63] at ata1-master PIO4 Waiting 2 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0a But if I try to set DMA mode later via atacontrol, the problem reappears: # atacontrol mode 0 udma2 udma2 Master = UDMA33 Slave = BIOSPIO # atacontrol mode 1 udma2 udma2 Master = WDMA2 Slave = BIOSPIO ad0: WARNING - WRITE_DMA recovered from missing interrupt ad1: WARNING - READ_DMA recovered from missing interrupt /usr/local/squid: bad dir ino 22496 at offset 0: mangled entry panic: ufs_dirbad: bad dir Debugger("panic") Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 db> where Debugger(c04517f8) at Debugger+0x45 panic(c04682ea,c1281200,d5decb08,c039be8a,c129b08c) at panic+0xbb ufs_dirbad(c129b08c,0,c04682a4,c103ce40,0) at ufs_dirbad+0x3d ufs_lookup(d5decb38,d5decb74,c02b0005,d5decb38,287) at ufs_lookup+0x2be ufs_vnoperate(d5decb38) at ufs_vnoperate+0x13 vfs_cache_lookup(d5decbac,d5decbc8,c02b45df,d5decbac,c103ce40) at vfs_cache_lookup+0x29d ufs_vnoperate(d5decbac) at ufs_vnoperate+0x13 lookup(d5decc30,c103ce40,50,c110cc00,20) at lookup+0x2cb namei(d5decc30) at namei+0x1b5 stat(c103ce40,d5decd14,2,84,216) at stat+0x4a syscall(2f,2f,2f,0,81f4020) at syscall+0x233 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (188, FreeBSD ELF32, stat), eip = 0x2815c95b, esp = 0xbfbffa6c, ebp = 0xbfbffc38 --- db> interestingly enough, a crash dump could be written on the dump device (ad0b), but it was unusable: Checking for core dump... savecore: first and last dump headers disagree on /dev/ad0b savecore: unsaved dumps found but not saved Daniel