From owner-freebsd-questions Sun Jul 6 21:52:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA23777 for questions-outgoing; Sun, 6 Jul 1997 21:52:02 -0700 (PDT) Received: from counterintelligence.cdrom.com (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA23753 for ; Sun, 6 Jul 1997 21:51:57 -0700 (PDT) Received: from localhost (root@localhost) by counterintelligence.cdrom.com (8.8.5/8.8.5) with SMTP id VAA01060 for ; Sun, 6 Jul 1997 21:51:49 -0700 (PDT) Date: Sun, 6 Jul 1997 21:51:47 -0700 (PDT) From: 0000-Administrator To: questions@freebsd.org Subject: IDE Controller (Puke!) Problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have to western digital caviar 2.1 gig drives on my micron millenia ppro-180 w/64 MB, I am running 2.2.2 freebsd from the walnut creek cdrom subscription cds. The problem i am going to describe is drive independant I had the same problems when the drives were switched and also with linux in the same configuration (althought they were much worse [i dont seem to be getting corrupted data on the slave drive yet]). On the primary controller I have wd0 as the master and wd1 as the slave , and on the secondary controller i have an atapi drive (cable select) --- without the second slave harddrive everything was working fine but once i set up the drive (after installing freebsd -- which by the way is a real pain in the butt, although informative) When i was transferring files to the new drive (untarring 100's of megabytes of tar balls the system would pause occasionally for about 10 seconds (you could still log in but i/o was unavailable)) and some messages were put in my logs: Jul 5 16:41:48 shellx /kernel: wd1: interrupt timeout: Jul 5 16:41:48 shellx /kernel: wd1: status 58 error 4 Jul 5 17:34:41 shellx /kernel: wd1: status 59 error 4 (This happened numerous times during heavy i/o) And the newest one is: wd1s1f: wdintr: read error detected late reading fsbn 131483 of 131472-131583 (wd1s1 bn 848283; cn 841 tn 8 sn 51)wd1: status 59 error 4 Question1: Are any of these going to cause data corruption Question2: Barring going over the scsi drives and a scsi controller what is my best course of action, Is there such a thing as an ide controller that plugs into a pci slot (ive never seen one), and if so which one works with freebsd -- here is some information that may be useful: Question3: This is totally unrelated but i have entirely read both man pages on ipfw and natd and the freebsd handbook examples and have yet to get it to work --- i ran it in verbose and it looks like it works for about 15 seconds then stops --- does anyone who uses natd have any sample configurations, i'd would like to look at them. Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #0: Sat Jul 5 14:10:43 PDT 1997 root@shellx.acroal.com:/usr/src/sys/compile/XKERN CPU: Pentium Pro (179.63-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xfbff,MTRR,PGE,MCA,CMO V> real memory = 67108864 (65536K bytes) avail memory = 62640128 (61172K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 vga0 rev 2 int a irq 11 on pci0:15 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x260-0x27f irq 9 on isa ed0: address 00:40:05:3c:8e:10, type NE2000 (16 bit) ed1 at 0x300-0x31f irq 10 on isa ed1: address 00:40:05:3c:8e:0f, type NE2000 (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 1 (atapi): , removable, dma, iordis wcd0: 689Kb/sec, 112Kb cache, audio play, 127 volume levels, ejectable tray wcd0: 120mm data disc loaded, unlocked npx0 flags 0x1 on motherboard npx0: INT 16 interface sb0: sbxvi0 at 0x0 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa IP packet filtering initialized, divert enabled, logging limited to 100 packets/ entry