Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 22:18:58 -0800
From:      Devin Butterfield <dbutter@wireless.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   ATA driver problem?? (lost disk contact)
Message-ID:  <38588452.3383809C@wireless.net>

next in thread | raw e-mail | index | archive | help
Hi,

I just recently compiled a kernel with the new ATA driver and have
discovered a problem: if I run sysinstall, right when it says "probing
devices, please wait (this can be a while)" error messages saying...

Dec 15 21:20:05 dbm /kernel: ata0-slave: ad_timeout: lost disk contact -
resetting
Dec 15 21:20:05 dbm /kernel: ata0: resetting devices .. done
Dec 15 21:20:15 dbm /kernel: ata0-slave: ad_timeout: lost disk contact -
resetting
Dec 15 21:20:15 dbm /kernel: ata0: resetting devices .. done
Dec 15 21:20:25 dbm /kernel: ata0-slave: ad_timeout: lost disk contact -
resetting
Dec 15 21:20:25 dbm /kernel: ata0: resetting devices .. done
Dec 15 21:20:35 dbm /kernel: ata0-slave: ad_timeout: lost disk contact -
resetting
Dec 15 21:20:35 dbm /kernel: ata0-slave: ad_timeout: trying fallback to
PIO mode
Dec 15 21:20:35 dbm /kernel: ata0: resetting devices .. done

and after printing these messages a number of times, sysinstall will
finally come up. If I quit sysinstall and then run it again, probing
goes well and there are no timeouts. The interesting thing is that I can
reproduce this problem by rebooting and running sysinstall. So, this
only happens when running sysinstall for the first time after a boot.
:-/

I've read through all the previous messages regarding these timeout
problems and have even increased the timeout in ata-disk.c to 10 secs
but no luck.

Anybody have any ideas?? Below is the usual info...
--
Regards, Devin.

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-19991214-CURRENT #1: Wed Dec 15 21:05:38 PST 1999
    root@dbm.wireless.net:/usr/src/sys/compile/DBM
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 126500864 (123536K bytes)
Preloaded elf kernel "kernel" at 0xc0378000.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <AcerLabs Aladdin ATA controller> at device 15.0 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
dc0: <82c169 PNIC 10/100BaseTX> irq 10 at device 16.0 on pci0
dc0: Ethernet address: 00:a0:cc:27:48:ec
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
<SNIP>
ad0: <Maxtor 90871U2/FA570480> ATA-5 disk at ata0 as master
ad0: 8297MB (16992864 sectors), 16858 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad1: <WDC AC26400B/32.02S32> ATA-4 disk at ata0 as slave 
ad1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, UDMA33
acd0: <HITACHI CDR-7930/1022> CDROM drive at ata1 as master
acd0: read 1377KB/s (1377KB/s), 128KB buffer, PIO
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s2a
cd0 at adv0 bus 0 target 3 lun 0
cd0: <YAMAHA CRW4260 1.0h> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
- tray closed


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?38588452.3383809C>