From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6b79d706bb543819933090b511a377da@quanstro.net> From: erik quanstrom Date: Sat, 23 Feb 2008 21:58:56 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] Intel ICH7 AHCI In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 5f358302-ead3-11e9-9d60-3106f5b1d025 > Have tried Plan9 on Intel D945PLrn mainboard P4 Dualcore and > MP, Network and AHCI doesnt work out of the box. > > ok, i try to resolve AHCI first... > > the pci ids are 0x8086/0x27c0 for the SATA controller (82801GB) and > i tried to add this to the match function as Tich in sdiahci.c, but this > fails on: > > if (p->mem[Abar].bar == 0) > continue; there's a reason for this check. :-) if bios isn't setting up Abar, then either you're chipset doesn't support ahci or it isn't configured for ahci. generally the options are Enhanced mode with Ahci enabled. they're different for esb southbridges. intel says that the 82801gb does not support ahci mode. http://www.intel.com/support/chipsets/imsm/sb/CS-020644.htm ich7 should support your drives in *ata* mode. you may need to add the vid/did to sdata.c you can double check with pci. the device class/programming interface/subclass should be 01.06.01. you can check for a device with the proper configuration with this command: % pci|grep 'disk 01\.06\.01' > This machine also fails MP. I get mpintrenable() errors for any devices > including the keyboard and then i end up on the boot prompt unable > to type anything. > > mpintrenable: out of choices -1 -1 generally this means that your machine's mp table is broken. you can add *nomp=1 to your plan9.ini file to get around this. unfortunately, using mp interrupts there's no easy way to replicate what this bios does in setting up the interrupt routing on a modern machine. - erik