[ Hope this is the right mailing list. I'm expecting I need some patches in
  - current to fix my problem. ]

I tried to install 4.0-RELEASE on a completely new PC system, but the
install failed with ATA write errors and resets. I moved the disk to another
PC and installed 4.0 via manual disklabels, newfs, bin + src extraction.
4.0 booted fine on this system (a Dell Optiplex GX1).

Back on the new system, a 993AS motherboard with VIA 82C596 ATA33 controller,
and <ST313021A> [25232/16/63] 13Gig disk at ata0-master using UDMA33. It
boots and then takes out the root partition, again with ATA write errors and
resets.

I searched through the -current mailing list archives, rebuilt /, and added
this command near the top of /etc/rc:

# Ensure stupid IDE controller doesn't do DMA and stuff the filesystem
/sbin/sysctl -w hw.atamodes="pio,dma"

I see that Soren added some 89C596 support to ata/ata-disk.c on Jan 3, 2000.
It looks like this code is in the 4.0-RELEASE support tree.


Can anybody tell me if this 89C596 support is still experimental, or
alternatively are there any recent patches/changes which I should pick up?
I'm happy to cvsup either from 4.0-stable or 4.0-current if it would help
to fix this problem.

Many thanks in advance for any suggestions!

        Warren

P.S Attached is the dmesg from a successful boot where I set pio mode in
/etc/rc.


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000
    [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67043328 (65472K bytes)
avail memory = 61100032 (59668K bytes)
Preloaded elf kernel "kernel" at 0xc03c0000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <VIA 83C572 USB controller> at 7.2 irq 11
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xe800-0xe83f mem 
0xdd000000-0xdd0fffff,0xdd100000-0xdd100fff irq 10 at device 9.0 on pci0
fxp0: Ethernet address 00:90:27:a4:6a:d2
fxp0: supplying EUI64: 00:90:27:ff:fe:a4:6a:d2
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
ad0: 12419MB <ST313021A> [25232/16/63] at ata0-master using UDMA33
Mounting root from ufs:/dev/ad0a
fxp0: starting DAD for fe80:0001::0290:27ff:fea4:6ad2
fxp0: DAD complete for fe80:0001::0290:27ff:fea4:6ad2 - no duplicates found


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to