[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GENERIC.MP #30 and GENERIC #178



On Sat, Jun 26, 2004 at 04:37:32PM -0500, Adam Wirth wrote:

Hello Adam,
> 
> What sort of timeframe are you looking at for adding support? 

I am just trying to get it to work. I have been able to get the
2nd cpu running although I am currently unable to setup the interrupts.
However the system seems to boot fine this way ( although performance
is supposed to bad this way )

I guess I will have to study code/docs a bit more carefully to get this
to work.

> I just  started looking at the code this morning, so I have to go through a bit
> of a learning curve to figure out how MP support is being handled. 

Some problem here, I suggest you download the MPS 1.4 specifications
from intel. ( see http://www.uruk.org/~erich/mps.html and 
http://www.intel.com/design/pentium/datashts/242016.HTM )

> Therefore, I can't be much help in the next few days.  If you're
> thinking, though, that this issue will take on the order of a week or
> two, hopefully I'll be able to render some assistance.

( I just got my dual cpu system last week so I am still learning a lot )

Anyway, I have created a bsd.mp snapshot that should be able to boot on
Default Configuration systems ( it works for me )

you can download it from http://sigcafe.net/openbsd ( the usual warnings apply )
The patch ( updated version from the one I posted on saturday --> still needs work )
can also be found there.

btw a dmesg


OpenBSD 3.5-current (GENERIC.MP) #41: Sun Jun 27 13:55:30 CEST 2004
    smp_(_at_)_news_(_dot_)_sigcafe_(_dot_)_net:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 100 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC
: F00F bug workaround installed
real mem  = 167354368 (163432K)
avail mem = 146395136 (142964K)
using 2068 buffers containing 8470528 bytes (8272K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(41) BIOS, date 06/04/98, BIOS32 rev. 0 @ 0xf04b3
apm at bios0 function 0x15 not configured
pcibios0 at bios0: rev. 2.0 @ 0xf0000/0x4db
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2800
mainbus0: scanning 0x9f400 to 0x9f7f0 for MP signature
mainbus0: scanning 0x9f000 to 0x9f3f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xfef70
mainbus0: MP default configuration 6
mainbus0: Intel MP Specification (Version 1.1)
mainbus0: MP default configuration 6
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: calibrating local timer
cpu0: apic clock running at 66 MHz
cpu0: kstack at 0xdcd89000 for 8192 bytes
cpu0: idle pcb at 0xdcd89000, idle sp at 0xdcd8afa0
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel 386SX ("GenuineIntel" 386-class)
cpu1: kstack at 0xdcd8b000 for 8192 bytes
cpu1: idle pcb at 0xdcd8b000, idle sp at 0xdcd8cfa0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, virtual wire mode, version 11, 16 pins
ioapic0: duplicate apic id, remapped to apic 2
ioapic0: boot0 0x10000 0x0
ioapic0: boot1 0x10000 0x0
ioapic0: boot2 0x10000 0x0
ioapic0: boot3 0x10000 0x0
ioapic0: boot4 0x10000 0x0
ioapic0: boot5 0x10000 0x0
ioapic0: boot6 0x10000 0x0
ioapic0: boot7 0x10000 0x0
ioapic0: boot8 0x10000 0x0
ioapic0: boot9 0x10000 0x0
ioapic0: boot10 0x10000 0x0
ioapic0: boot11 0x10000 0x0
ioapic0: boot12 0x10000 0x0
ioapic0: boot13 0x10000 0x0
ioapic0: boot14 0x10000 0x0
ioapic0: boot15 0x10000 0x0
mainbus0: bus 0 is type EISA  
mainbus0: bus 1 is type PCI   
mainbus0: WARNING: interrupts not configured
pci0 at mainbus0 bus 0: configuration mode 2 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82434LX/NX PCI/Cache/DRAM" rev 0x11
"Intel 82375EB EISA" rev 0x05 at pci0 dev 1 function 0 not configured
"PC Technology RZ1000" rev 0x01 at pci0 dev 2 function 0 not configured
vga1 at pci0 dev 13 function 0 "Tseng Labs ET4000w32p rev C" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
dc0 at pci0 dev 14 function 0 "DEC 21142/3" rev 0x30pci_intr_map: bus 0 dev 14 func 0 pin 1; line 10
pci_intr_map: no MP mapping found
isa_intr_establish: no MP mapping found
: irq 10, address 08:00:2b:c3:66:7a
dcphy0 at dc0 phy 31: internal PHY
siop0 at pci0 dev 15 function 0 "Symbios Logic 53c810" rev 0x11pci_intr_map: bus 0 dev 15 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
isa_intr_establish: no MP mapping found
: irq 11
scsibus0 at siop0: 8 targets
siop0: target 0 now using 8 bit 10.0 MHz 8 REQ/ACK offset xfers
sd0 at scsibus0 targ 0 lun 0: <IBM, DCAS-34330 !#, S51A> SCSI2 0/direct fixed
sd0: 4134MB, 8205 cyl, 6 head, 171 sec, 512 bytes/sec, 8467200 sec total
siop0: target 5 now using 8 bit 10.0 MHz 8 REQ/ACK offset xfers
cd0 at scsibus0 targ 5 lun 0: <NEC, CD-ROM DRIVE:463, 1.05> SCSI2 5/cdrom removable
eisa0 at mainbus0
eisa0: can't map I/O space for slot 14
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
isa_intr_establish: no MP mapping found
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
ep0: irq 10 already in use
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
isa_intr_establish: no MP mapping found
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
isa_intr_establish: no MP mapping found
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
isa_intr_establish: no MP mapping found
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
isa_intr_establish: no MP mapping found
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
ep1 at isapnp0 "3Com 3C509B EtherLink III, TCM5090, PNP80F7, " port 0x210/16 irq 5: address 00:20:af:be:57:3a, utp/aui (default utp)
isa_intr_establish: no MP mapping found
biomask fb45 netmask ff65 ttymask ffe7
ioapic0: enabling
ioapic0: int0 0x10000 0x0
ioapic0: int1 0x10000 0x0
ioapic0: int2 0x10000 0x0
ioapic0: int3 0x10000 0x0
ioapic0: int4 0x10000 0x0
ioapic0: int5 0x10000 0x0
ioapic0: int6 0x10000 0x0
ioapic0: int7 0x10000 0x0
ioapic0: int8 0x10000 0x0
ioapic0: int9 0x10000 0x0
ioapic0: int10 0x10000 0x0
ioapic0: int11 0x10000 0x0
ioapic0: int12 0x10000 0x0
ioapic0: int13 0x10000 0x0
ioapic0: int14 0x10000 0x0
ioapic0: int15 0x10000 0x0
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
cpu1: starting, init idle stack ptr is 0xdcd8cfa0
cpu1: CPU at apid 1 running
-- 
| Mvg Gerard Gerritsen,
|
| Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
| restful it is to watch the cursor blink.  Close your eyes.  The opinions
| stated above are yours.  You cannot imagine why you ever felt otherwise.



Visit your host, monkey.org