Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 16:14:45 -0500 (EST)
From:      Richard J Kuhns <rjk@grauel.com>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        stable@freebsd.org
Subject:   Re: My cdrom disappeared with the new ata-all.c :-(
Message-ID:  <14859.5061.812358.725100@moriarity.grauel.com>
In-Reply-To: <200011092038.VAA30964@freebsd.dk>
References:  <14859.1104.90246.424231@moriarity.grauel.com> <200011092038.VAA30964@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Soren Schmidt writes:
 > *SIGH* This is a no win game, its incrediable how crappy hardware
 > can be made these days :(
 >=20
 > However, could you try this patch and if it doesn't work up the
 > DELAY further to say 50000 ? The problem here is that lots of
 > other ATAPI devices hangs if the delay gets much bigger than that...=

 >=20
 >=20
 > Index: ata-all.c
 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 > RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v
 > retrieving revision 1.50.2.11
 > diff -u -r1.50.2.11 ata-all.c
 > --- ata-all.c=092000/11/09 10:47:29=091.50.2.11
 > +++ ata-all.c=092000/11/09 20:35:46
 > @@ -1253,7 +1253,7 @@
 >      DELAY(1);
 >      inb(scp->ioaddr + ATA_STATUS);
 >      outb(scp->altioaddr, ATA_A_IDS | ATA_A_RESET);
 > -    DELAY(10000);=20
 > +    DELAY(30000);=20
 >      outb(scp->altioaddr, ATA_A_IDS);
 >      DELAY(100000);
 >      inb(scp->ioaddr + ATA_ERROR);
 >=20
 >=20
 >=20
 > -S=F8ren

I'm sure you don't want to hear this, but it made no difference.  I eve=
n
tried upping it to 70000 and then 100000, but ata1 never showed up.  I'=
ve
just reverted to 1.50.2.10 again.  Here's an extract from my most recen=
t
reboot.  The only diffence between this and one with 1.50.2.11 is that =
the
ata1: and acd0: lines aren't there :(.

...
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.=
1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
...
ad0: 11513MB <TOSHIBA MK1214GAP> [23392/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TORiSAN DVD-ROM DRD-U824> at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s2a
...

Anything else?  I'm heading home right now, but I'll check in after I g=
et
there.
--=20
Richard Kuhns=09=09=09rjk@grauel.com
PO Box 6249=09=09=09Tel: (765)477-6000 \
100 Sawmill Road=09=09=09=09    x319
Lafayette, IN  47903=09=09     (800)489-4891 /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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