9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Intel ICH7 AHCI
Date: Sun, 24 Feb 2008 22:36:11 +0100	[thread overview]
Message-ID: <9095905ccd15259b1a1ff06e8061b6ca@gmx.de> (raw)
In-Reply-To: <38d92dd43dd52b6ab44ac4ee6b0f65b3@quanstro.net>

> > > > 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
>
> then it's highly likely that your mp table is incorrect.  in bios there is often an
> option for mp specification version or some such.  you want to set that to 1.4
> if you have it.  unfortunately, i suspect this is not your problem.

here is no such option for me

> i put a version of mp.c on sources (/n/sources/contrib/quanstro/mp.c) that
> provides the file #P/mpirq which prints out the mp table irq assignments.
> if you can figure out how to save this stuff automatically with mp irqs enabled,
> this should have enough information to say for sure.

added a function to boot/boot.c that reads #P/mpirq and prints it. opening
the file works, but read() returns 0.

i have serial console connected to the machine now so here are some dumps:

boot with *nomp=1:

apm ax=f000 cx=f000 dx=40 di=100 ebx=21e7 esi=ffff

initial probe, to find plan9.ini...dev A0 port 1F0 config 0C5A capabilities 0F01 mwdma 0107

dev B0 port 1F0 config 85C0 capabilities 0F00 mwdma 0407

pcirouting: 8086/27D4 at pin 3 irq 11

pcirouting: 8086/27D6 at pin 4 irq 10

using sdC0!9fat!plan9.ini

.

Plan 9 Startup Menu:

====================

    1. save mode

    2. test mode

Selection[default==1]: 1


booting sdC0!9fat!9pcf

found 9pcf

.960547.....................................................................................................................+1584100.................................................................................................................................................................................................+378252=2922899

entry: 0xf0100020



Plan 9

E820: 00000000 0009fc00 memory

E820: 0009fc00 000a0000 reserved

E820: 000e0000 00100000 reserved

E820: 00100000 3fe60000 memory

E820: 3fe60000 3fee9000 acpi nvs

E820: 3fee9000 3feed000 memory

E820: 3feed000 3feff000 acpi reclaim

E820: 3feff000 3ff00000 memory

126 holes free

00018000 0009f000 552960

003cb000 10000000 264458240

265011200 bytes free

cpu0: 2999MHz GenuineIntel P4 (cpuid: AX 0x0F62 DX 0xBFEBFBFF)

ELCR: 0E00

#l0: i82557: 100Mbps port 0x1040 irq 11: 0002b397c4dd

#U/usb0: uhci: port 0x2080 irq 9

#U/usb1: uhci: port 0x2060 irq 10

#U/usb2: uhci: port 0x2040 irq 11

#U/usb3: uhci: port 0x2020 irq 11

1022M memory: 256M kernel data, 766M user, 1391M swap

root is from (tcp, local)[local!#S/sdC0/fossil]:

user[none]: glenda

time...

fossil(#S/sdC0/fossil)...version...time...



init: starting /bin/rc



pci -v:
0.0.0:	brg  06.00.00 8086/2770   0
	Intel Corporation 82945G/GZ/P/PL Host Bridge/DRAM Controller
0.28.0:	brg  06.04.00 8086/27d0 255
	Intel Corporation
0.28.2:	brg  06.04.00 8086/27d4  11
	Intel Corporation
0.28.3:	brg  06.04.00 8086/27d6  10
	Intel Corporation
0.29.0:	usb 0c.03.00 8086/27c8   9 4:00002081 32
	Intel Corporation
0.29.1:	usb 0c.03.00 8086/27c9  10 4:00002061 32
	Intel Corporation
0.29.2:	usb 0c.03.00 8086/27ca  11 4:00002041 32
	Intel Corporation
0.29.3:	usb 0c.03.00 8086/27cb  11 4:00002021 32
	Intel Corporation
0.30.0:	brg  06.04.01 8086/244e 255
	Intel Corporation 82801DB Hub Interface to PCI Bridge
0.31.0:	brg  06.01.00 8086/27b8   0
	Intel Corporation
0.31.1:	disk 01.01.8a 8086/27df  11 0:00000001 16 1:00000001 16 2:00000001 16 3:00000001 16 4:000020b1 16
	Intel Corporation
0.31.2:	disk 01.01.8f 8086/27c0  10 0:000020c9 16 1:000020e5 16 2:000020c1 16 3:000020e1 16 4:000020a1 16
	Intel Corporation 82801 82801 GB Serial ATA Storage Controllers
0.31.3:	smb 0c.05.00 8086/27da  10 4:00002001 32
	Intel Corporation 82801G SMBus Controller
4.0.0:	net  02.00.00 8086/1229  11 0:44021000 4096 1:00001041 64 2:44000000 131072
	Intel Corporation 82557/8/9/0/1 Fast Ethernet LAN Controller
4.1.0:	vid  03.00.00 5333/8811  11 0:40000000 67108864
	S3 Graphics Co., Ltd 8622mcq04 Trio 64/64V
4.8.0:	net  02.00.00 8086/27dc  11 0:44020000 4096 1:00001001 64
	Intel Corporation


boot without *nomp=1:

apm ax=f000 cx=f000 dx=40 di=100 ebx=21e7 esi=ffff

initial probe, to find plan9.ini...dev A0 port 1F0 config 0C5A capabilities 0F01 mwdma 0107

dev B0 port 1F0 config 85C0 capabilities 0F00 mwdma 0407

pcirouting: 8086/27D4 at pin 3 irq 11

pcirouting: 8086/27D6 at pin 4 irq 10

using sdC0!9fat!plan9.ini

.

Plan 9 Startup Menu:

====================

    1. save mode

    2. test mode

Selection[default==1]: 2


booting sdC0!9fat!9pcf.t

found 9pcf.t

.941432..................................................................................................................+1749612......................................................................................................................................................................................................................+378324=3069368

entry: 0xf0100020



Plan 9

E820: 00000000 0009fc00 memory

E820: 0009fc00 000a0000 reserved

E820: 000e0000 00100000 reserved

E820: 00100000 3fe60000 memory

E820: 3fe60000 3fee9000 acpi nvs

E820: 3fee9000 3feed000 memory

E820: 3feed000 3feff000 acpi reclaim

E820: 3feff000 3ff00000 memory

126 holes free

00018000 0009f000 552960

003ee000 10000000 264314880

264867840 bytes free

cpu0: 2999MHz GenuineIntel P4 (cpuid: AX 0x0F62 DX 0xBFEBFBFF)

ELCR: 0E00

LAPIC: fee00000 e0000000

mpintrenable: out of choices -1 -1

intrenable: couldn't enable irq 1, tbdf 0xFFFFFFFF for kbd

ioapicirq: can't find bus type 12

mpintrenable: out of choices -1 -1

intrenable: couldn't enable irq 11, tbdf 0xC040000 for ether0

#l0: i82557: 100Mbps port 0x1040 irq 11: 0002b397c4dd

iahci found 1

iahci mem[Abar].bar == 0

iahci found 1

iahci mem[Abar].bar == 0

iahci found 1

iahci mem[Abar].bar == 0

iahci found 1

iahci mem[Abar].bar == 0

iahci found 1

iahci mem[Abar].bar == 0

mpintrenable: out of choices -1 -1

intrenable: couldn't enable irq 6, tbdf 0xFFFFFFFF for floppy

mpintrenable: out of choices -1 -1

intrenable: couldn't enable irq 4, tbdf 0xFFFFFFFF for COM1


this continues on vga screen a little bit further and gives me mpintrenable error for every
device... then boot starts, prints the empty #P/mpirq file and asks for rootfs.

the iahci stuff is just debug prints... ignore it :-)

> i feel your pain.  i have a new motherboard with some bad entries in the mp
> table, too.
>
> - erik

cinap


  parent reply	other threads:[~2008-02-24 21:36 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
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 [this message]
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=9095905ccd15259b1a1ff06e8061b6ca@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --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).