Date: Sun, 19 Oct 2003 14:03:35 -0700 From: "Serious Signal" <ebay@on-air.net> To: "'Dmitry Morozovsky'" <marck@rinet.ru>, "'Rob Lahaye'" <lahaye@users.sourceforge.net> Cc: freebsd-stable@freebsd.org Subject: RE: Odd IDE / vinum problem on new 4.9-RC3 system Message-ID: <200310192103.h9JL3mbG095722@space.lan> In-Reply-To: <20031020003821.C88532@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> Well colleagues, but both of you failed to specify your onboard IDE > controlled > dmesg lines! ;-) > > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** Dmitry, Good catch! atapci0: <VIA 82C686 ATA100 controller> port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 In my case, the motherboard came in a Shuttle XPC (Flex ATX form factor) barebones model FV24 which uses the VIA VT82C686B chipset. It has the latest available BIOS installed. A friend of mine said, "When UDMA 100 first came out, many of the chipsets were 100 on primary and 66 on secondary. This was not at all uncommon." The specs in the manual say, "PCI Bus Master IDE Controller Onboard -- Two UltraDMA 100/66/33 Bus Master Dual-channel IDE ports provide support to a maximum of four IDE devices. The IDE Bus implements the data transfer speed up to 100/66/33 MB/sec and also supports Enhanced PIO Modes." If my friend is right, it certainly explains what I'm seeing, as UDMA100 works on the primary and only UDMA66 works on the secondary. Can anyone else confirm and specifically with this VIA chipset? --Serious Original posting: All, I'm running 4.9-RC3 on a new installation with three new hard drives that are all Ultra100-compatible. BIOS is set to Auto for IDE drives and correctly reports sizes with UDMA 100 LBA modes. The OS sees: ad0: 76319MB <WDC WD800JB-00ETA0> [155061/16/63] at ata0-master UDMA100 ad1: 238475MB <WDC WD2500JB-32FUA0> [484521/16/63] at ata0-slave UDMA100 ad2: 238475MB <WDC WD2500JB-32FUA0> [484521/16/63] at ata1-master UDMA100 When I connect the drives to the onboard IDE, only the first IDE channel (ad0 and ad1) works right at UDMA100. On the second channel, with ad2 only, I get errors when writing (reading is not a problem): ad2s1e: UDMA ICRC error writing fsbn 643383313 of 321036265-321036392 (ad2s1 bn 643383313; cn 40048 tn 193 sn 34) retrying ad2s1e: UDMA ICRC error writing fsbn 643383313 of 321036265-321036392 (ad2s1 bn 643383313; cn 40048 tn 193 sn 34) retrying ad2s1e: UDMA ICRC error writing fsbn 643383313 of 321036265-321036392 (ad2s1 bn 643383313; cn 40048 tn 193 sn 34) retrying Occasionally, the retries succeed. But eventually, the OS sets the ATA mode to PIO: ad2s1e: UDMA ICRC error writing fsbn 643383313 of 321036265-321036392 (ad2s1 bn 643383313; cn 40048 tn 193 sn 34) falling back to PIO mode Of course, PIO mode works (albeit slowly). If I manually set the ATA mode with atacontrol to UDMA66, it works fine. Moving the drives to a Promise Ultra100 PCI card works, too, but is not what I want. I've tried two UDMA100 cables with no difference (and they work on the Promise card as a control test, so they're fine). BIOS is set to auto for everything -- CPU, bus, SDRAM frequency -- no over-clocking or any other aggressive settings. I'm accessing a vinum striped and mirrored file system across ad1 and ad2, if that's significant. (But if it were, why would the errors appear only on the ad2 device?). I've run out of ideas. Am I'm missing something? Thanks for your help. --Serious P.S. Please include my address in your reply.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310192103.h9JL3mbG095722>