From owner-freebsd-current Sun Mar 28 19:20: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 526A614ECD for ; Sun, 28 Mar 1999 19:19:58 -0800 (PST) (envelope-from ganymede@cloud9.net) Received: from earl-grey.cloud9.net (earl-grey [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 57CAE763AA; Sun, 28 Mar 1999 22:06:17 -0500 (EST) Date: Sun, 28 Mar 1999 22:06:17 -0500 (EST) From: Tugrul Galatali To: Soren Schmidt Cc: current@freebsd.org Subject: Re: UPDATE4: ATA/ATAPI driver new version available. In-Reply-To: <199903281858.UAA55984@freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There seems to be an oopsie with the includes on a system without PCI in ata-dma.c: #include "ata.h" +#include + #if NATA > 0 -#include "pci.h" #if NPCI > 0 +#include "pci.h" #include #include #include My 486 still spits this out tho: [...] ata0 at 0x1f0-0x1f7 irq 14 on isa [...] ad0: ATA-? disk at ata0 as master ad0: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=3, dmamode=1, udmamode=-1 ad0: 16 secs/int, 0 depth queue, PIO mode changing root device to wd0s1a ad0: invalid primary partition table: no magic changing root device to wd0a ad0: invalid primary partition table: no magic error 22: panic: cannot mount root (2) My PIIX3 box isn't happy with this update either: [...] ata-pci0: rev 0x00 on pci0.7.1 ata-pci0: Busmastering DMA supported [...] ata0 at 0x01f0 irq 14 on ata-pci0 [...] ata0: master: settting up WDMA2 mode on PIIX3/4 chip OK ad0: ATA-? disk at ata0 as master ad0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=-1 ad0: 16 secs/int, 0 depth queue, DMA mode acd0: CDROM drive at ata0 as slave acd0: drive speed 1779 - 4134KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked changing root device to wd0s1a [...] acd0: rezero failed <-- Whenever I try to mount my cdrom drive. With or without a cd in there. mount gives me "mount: Input/output error" I can't eject the cd tray either after I mount the drive. Its fine after boot but before I attempt to mount something. Tugrul Galatali To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message