9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Intel ICH7 AHCI
Date: Sat, 23 Feb 2008 21:58:56 -0500	[thread overview]
Message-ID: <6b79d706bb543819933090b511a377da@quanstro.net> (raw)
In-Reply-To: <ce92f860b2c8f90b8af55a6f6e8bcc75@gmx.de>

> 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


  reply	other threads:[~2008-02-24  2:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24  2:19 cinap_lenrek
2008-02-24  2:58 ` erik quanstrom [this message]
2008-02-24  4:22   ` cinap_lenrek
2008-02-24  4:29     ` erik quanstrom
2008-02-24  5:31       ` ron minnich
2008-02-24  5:41         ` lucio
2008-02-24  6:05           ` [9fans] Consumers? We the eeevil empire are the consumers! Lyndon Nerenberg
2008-02-24  6:16             ` lucio
2008-02-24  6:34               ` Lyndon Nerenberg
2008-02-24  6:54                 ` lucio
2008-02-24 12:52                   ` david jeannot
2008-02-24 16:48                     ` lucio
2008-02-24 16:56                       ` lucio
2008-02-24 21:31             ` Dave Eckhardt
2008-02-24 15:09         ` [9fans] Intel ICH7 AHCI erik quanstrom
2008-02-24 21:36       ` cinap_lenrek
2008-02-24 21:57         ` erik quanstrom
2008-02-24 23:03           ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b79d706bb543819933090b511a377da@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).