From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5fefe2e249817316058b64c44b49c64d@gmx.de> To: 9fans@cse.psu.edu Subject: Re: [9fans] Intel ICH7 AHCI Date: Sun, 24 Feb 2008 05:22:47 +0100 From: cinap_lenrek@gmx.de In-Reply-To: <6b79d706bb543819933090b511a377da@quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 5f3c0fec-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' i have 2 entries in pci for disk with class/interf/subclass of: disk 01.01.8a disk 01.01.8f but no 01.06.01 entries. > > 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 yep, that works > 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. bad :-( > - erik