From owner-freebsd-current Wed Dec 15 22:17:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from wireless.net (wireless.net [207.137.156.159]) by hub.freebsd.org (Postfix) with ESMTP id 495FA15608 for ; Wed, 15 Dec 1999 22:17:27 -0800 (PST) (envelope-from dbutter@wireless.net) Received: from db.wireless.net (db.wireless.net [209.75.70.101]) by wireless.net (8.9.3/8.9.3) with ESMTP id WAA00324 for ; Wed, 15 Dec 1999 22:22:05 -0800 (PST) Received: from wireless.net (dbm.wireless.net [192.168.0.2]) by db.wireless.net (8.9.3/8.9.3) with ESMTP id WAA99889 for ; Wed, 15 Dec 1999 22:16:26 -0800 (PST) (envelope-from dbutter@wireless.net) Message-ID: <38588452.3383809C@wireless.net> Date: Wed, 15 Dec 1999 22:18:58 -0800 From: Devin Butterfield X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: ATA driver problem?? (lost disk contact) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 AMD Features=0x80000800 real memory = 134152192 (131008K bytes) avail memory = 126500864 (123536K bytes) Preloaded elf kernel "kernel" at 0xc0378000. md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: 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: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ad0: 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: 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: 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: 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