From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <654bf4d1971709e9f023af1232c651c0@plan9.bell-labs.com> Date: Sun, 20 Jun 2004 02:12:59 -0400 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] Support for SATA hard drives. In-Reply-To: <20040620045004.GB8281@0xfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a79be6dc-eacd-11e9-9e20-41e7f4b1d025 On Sun Jun 20 00:46:50 EDT 2004, vthacker@0xfe.org wrote: > Does anyone have a SATA hard drive working under Plan 9? I'm looking > forward to using a 250GB or larger SATA hard drive in a venti server. > I figure someone must have given this idea some thought, but I haven't > heard it discussed anywhere. > > --Vester Thacker The controllers look to all intents and purposes just like regular ATA controllers (unless you want to initialise them from scratch), so there's not much to do other than make sure the controller is recognised by the driver. There's one there alraeady: devi% grep SATA /sys/src/9/pc/sdata.c case (0x3149<<16)|0x1106: /* VIA VT8237 SATA/RAID */ devi% and it has on it devi# cat /dev/sdC0/ctl inquiry ST380013AS config 0C5A capabilities 2F00 dma 00550040 dmactl 00550040 rwm 16 rwmctl 0 lba48always off geometry 156301488 512 16383 16 63 part data 0 156301488 devi#