> > > > 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

Reply via email to