Subject: Re: SATA on VIA VT8237
To: Matt Thomas <>
From: Patrick Welche <>
List: tech-kern
Date: 08/25/2005 20:41:03
On Mon, Oct 25, 2004 at 05:09:23PM -0700, Matt Thomas wrote:
> At 04:40 PM 10/25/2004, Sean Davis wrote:
> >Does anyone know if the SATA on the VIA VT8237 South Bridge is supported 
> >(or
> >will be in the very near future?) I've got a machine coming with a
> >KT600-chipset motherboard, and would like to run NetBSD on it. As it's for
> >work purposes, I will be forced to run Whatever Works, aka FreeBSD, if
> >NetBSD-current doesn't support it :\
> Seems to for me (this is from an amd64 system):
> viaide0 at pci0 dev 15 function 0
> viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)
> viaide0: bus-master DMA support present
> viaide0: primary channel wired to native-PCI mode
> viaide0: using ioapic0 pin 20 (irq 11) for native-PCI interrupt
> atabus0 at viaide0 channel 0
> wd0 at atabus0 drive 0: <WDC WD2500JD-22FYB0>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA 
> data transfers)

I have 2 disks plugged into a VT8237, and there is some sort of
RAID0/1 configury in the controller's BIOS. I set them to mirror,
yet I see both disks individually under NetBSD. I had a look with
windoze 98, and there they appear as a single mirrored disk.

I have stared at

but they seem to be content free.. (What exactly is V-Raid?) The
paradox is if the raid is really software raid embedded in the
windows driver, why have the bios to set up the raid sets? If it
really is hardware raid, why does NetBSD see the disks individually?