Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 1999 22:06:17 -0500 (EST)
From:      Tugrul Galatali <ganymede@cloud9.net>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: UPDATE4: ATA/ATAPI driver new version available.
Message-ID:  <Pine.BSF.4.10.9903282111030.9703-100000@earl-grey.cloud9.net>
In-Reply-To: <199903281858.UAA55984@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

There seems to be an oopsie with the includes on a system without PCI in
ata-dma.c:

 #include "ata.h"
+#include <sys/types.h>
+
 #if NATA > 0
-#include "pci.h"
 #if NPCI > 0
+#include "pci.h"
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>

	My 486 still spits this out tho:

[...]
ata0 at 0x1f0-0x1f7 irq 14 on isa
[...]
ad0: <WDC AC2850F/28.25E40> 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: <Intel PIIX3 IDE controller> 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: <WDC AC22100H/11.09I14> 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: <HITACHI CDR-8330/0007> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9903282111030.9703-100000>