From owner-freebsd-current Tue Jan 26 20:08:52 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20477 for freebsd-current-outgoing; Tue, 26 Jan 1999 20:08:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from fw.bby.com.au (ns.bby.com.au [192.83.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20439 for ; Tue, 26 Jan 1999 20:08:49 -0800 (PST) (envelope-from gnb@itga.com.au) Received: (from daemon@localhost) by fw.bby.com.au (8.8.8/8.6.9) id PAA21510; Wed, 27 Jan 1999 15:08:26 +1100 (EST) Received: from lightning.itga.com.au(192.168.71.20) via SMTP by fw.bby.com.au, id smtpd021508; Wed Jan 27 04:08:22 1999 Received: from lightning (lightning [192.168.71.20]) by lightning.itga.com.au (8.9.1a/8.9.1) with ESMTP id PAA26575; Wed, 27 Jan 1999 15:08:21 +1100 (EST) Message-Id: <199901270408.PAA26575@lightning.itga.com.au> From: Gregory Bond Cc: Matthew Dillon , Mike Smith , current@FreeBSD.ORG, Matt Behrens Subject: WD/ide_pci bug! [was Re: SOFTUPDATES hangs keyboard ] In-reply-to: Your message of Wed, 27 Jan 1999 13:26:54 +1100. Date: Wed, 27 Jan 1999 15:08:21 +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well stone the bloody crows. System: HP Kayak XA 440BX M/b, P-II, Quantum Fireball ex4.3a For months I've been running with no flags on either wdc0 or wd0. Having followed the recent discussions about DMA mode etc I looked at LINT and added "flags 0xa0ff" to wd0. Rebuilt the system using the latest 3-Stable code, including Matt D.s VM fixes, and tried yet again the test that has quite reliably frozen my system (softupdates enabled on /usr/src, cd /usr/src/games, make) and, lo and behold, it worked. I thought it was probably Matt's VM patches but (just to make sure) I built a kernel without the wd flags and tried again. It failed. This seems to be saying the problem is the WD driver: When I have flags on my disk, it all works; when I use the default, it fails (but only on filesystems with softupdates activity...) Any ide_pci experts like me to try some more tests? Matt: I'm sorry I ever doubted the VM code or the softupdates! Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 [...] wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 4104MB (8405775 sectors), 8895 cyls, 15 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, accel, ovlap, dma, iordis acd0: drive speed 5512KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa Greg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message