Date: Fri, 31 Oct 2003 14:17:36 -0800 From: Peter Wemm <peter@wemm.org> To: Adriaan de Groot <adridg@cs.kun.nl> Cc: amd64@freebsd.org Subject: Re: bootstrapping Message-ID: <20031031221736.B0B7D2A8FB@canning.wemm.org> In-Reply-To: <200310312200.06633.adridg@cs.kun.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Adriaan de Groot wrote: > I'm wondering about the promise fasttrack 378 RAID controller. I picked up on e > (1) SATA drive, and stuck it to the promise connectors. While the controller > sees the drive on bootup, once the kernel boots (and reports ata[234] on > atapci1) there's no devices there to speak of. Is this a normal phenomenon? A > driver issue? Have I been a moron to think that a RAID controller can also > act like a plain ata bus? There is a seperate ataraid driver in FreeBSD.. # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA raid devices device atapicd # ATAPI CDROM drives The 378 looks like this when its in raid mode: atapci0: <Promise PDC20378 SATA150 controller> port 0xdc00-0xdc7f,0xec00-0xec0f,0x9000-0x903f mem 0xcf800000-0xcf81ffff,0xcf900000-0xcf900fff irq 5 at device 8.0 on pci0 ata2: at 0xcf900000 on atapci0 ata3: at 0xcf900000 on atapci0 ata4: at 0xcf900000 on atapci0 ad0: 117246MB <Maxtor 6Y120M0> [238216/16/63] at ata2-master UDMA133 ad1: 117246MB <Maxtor 6Y120M0> [238216/16/63] at ata3-master UDMA133 ar0: 117246MB <ATA RAID1 array> [14946/255/63] status: READY subdisks: disk0 READY on ad0 at ata2-master disk1 READY on ad1 at ata3-master Mounting root from ufs:/dev/ar0s1a Yes, its just a normal IDE controller. If my memory serves me correctly (ie: I'm not going to reboot to find out :-), there is a bios setting so you can set the promise controller into 'RAID' or 'IDE' mode. It only affects booting. Once you've booted, its a software raid, so the OS has to know how to read the metadata and pretend its a raid again. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031031221736.B0B7D2A8FB>