From owner-freebsd-current@FreeBSD.ORG Sun Apr 13 03:57:01 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 10C2137B401 for ; Sun, 13 Apr 2003 03:56:58 -0700 (PDT) Received: from mail.evip.pl (mail.evip.com.pl [212.244.157.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34E0643FBD for ; Sun, 13 Apr 2003 03:56:57 -0700 (PDT) (envelope-from w@evip.pl) Received: from w by mail.evip.pl with local (Exim 4.10) id 194fAW-000O4n-00 for current@freebsd.org; Sun, 13 Apr 2003 12:57:04 +0200 Date: Sun, 13 Apr 2003 12:57:04 +0200 From: Wiktor Niesiobedzki To: current@freebsd.org Message-ID: <20030413105704.GR31493@mail.evip.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: ATA DMA problem? 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: Sun, 13 Apr 2003 10:57:01 -0000 Hi, While booting, i've got problems with booting from old disk. Turning hw.ata.ata_dma=0 solves the problem, but the boot disk is non-dma. Any clues? Cheers, Wiktor Niesiobedzki $ uname -a FreeBSD portal 5.0-CURRENT FreeBSD 5.0-CURRENT #22: Mon Apr 7 22:24:15 CEST 2003 root@portal:/usr/obj/usr/src/sys/PORTALSMP i386 dmesg: atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 GEOM: new disk ad0 ad0: soft error (ECC corrected) cmd=read fsbn 1056321 of 0-3 ad0: hard error cmd=read fsbn 1056321 of 0-3 status=65 error=04 ad0: ATA-0 disk at ata0-master ad0: 515MB (1056384 sectors), 1048 C, 16 H, 63 S, 512 B ad0: 1 secs/int, 1 depth queue, WDMA1 ad0: piomode=11 dmamode=33 udmamode=-1 cblid=0 ad2: success setting UDMA33 on Intel PIIX4 chip ad2: ATA-5 disk at ata1-master ad2: 58644MB (120103200 sectors), 119150 C, 16 H, 63 S, 512 B ad2: 16 secs/int, 1 depth queue, UDMA33 ad2: piomode=12 dmamode=34 udmamode=69 cblid=1 SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad0s1a ad0: soft error (ECC corrected) cmd=read fsbn 382 of 191-206 ad0: hard error cmd=read fsbn 382 of 191-206 status=65 error=04 GEOM: Add ad0s1a hot[0] start 512 length 276 end 787 Root mount failed: 5 Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot>