freebsd on sgi 1200

Dean Hamstead dean at bong.com.au
Sun Jun 5 02:17:16 GMT 2005


just a quicky

installing freebsd on some nice sgi 1200s
they are 2ru machines ,dual p3 800, mylex scsi raid
intel mainboard

freebsd works a treat, except  the motherboard
has the strangest quirk that only on cold boots
does it detect both cpu's. warm reboots cause it
to disable the second cpu and thus freebsd doesnt
pick up the second cpu (annoying)

the same bug is present in all three machines i have
im hoping i can just force freebsd to use two cpus

oh, i rebuilt the kernel etc, and from a cold boot
the mboard picks up both cpu's and so does freebsd
and they both work nicely.

heres one working nicely

root at kusanagi# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Sat Jun  4 00:30:43 EST 2005
     dean at kusanagi.bong.com.au.:/usr/obj/usr/src/sys/DEAN0
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (795.90-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
 
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 268369920 (255 MB)
avail memory = 252968960 (241 MB)
ACPI APIC Table: <Intel  N440BX  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  1
  cpu1 (AP): APIC ID:  0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xc08-0xc0b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443GX host to PCI bridge> mem 0xf8000000-0xfbffffff at 
device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 15.0 on pci1
pci2: <PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 9.0 on pci0
pci3: <PCI bus> on pcib3
mlx0: <Mylex version 4 RAID interface> mem 0xf4104000-0xf4105fff irq 19 
at device 9.1 on pci0
mlx0: DAC960PTL1, 1 channel, firmware 4.07-0-29, 16MB RAM
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 17366MB (35565568 sectors) RAID 1 (online)
ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2400-0x24ff mem 
0xf4101000-0xf4101fff irq 19 at device 12.0 on pci0
aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2800-0x28ff mem 
0xf4102000-0xf4102fff irq 19 at device 12.1 on pci0
aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x2000-0x203f mem 
0xf4000000-0xf40fffff,0xf4100000-0xf4100fff irq 21 at device 14.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:90:27:f6:1c:11
isab0: <PCI-ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 
0x2040-0x204f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 18.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2060-0x207f irq 
21 at device 18.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 18.3 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get status.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x3e8-0x3ef irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 
0xe4000-0xe7fff,0xce000-0xd0fff,0xcd000-0xcdfff,0xc8000-0xccfff,0xc0000-0xc7fff 
on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acd0: CDROM <CD-540E/1.0A> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/mlxd0s1a

heres one not playing nicely

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #1: Sat Jun  4 18:43:16 EST 2005
     dean at aramaki.bong.com.au.:/usr/obj/usr/src/sys/DEAN0
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (796.54-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
 
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,PN,MMX,FXSR,SSE>
real memory  = 268369920 (255 MB)
avail memory = 252968960 (241 MB)
ACPI APIC Table: <Intel  N440BX  >
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xc08-0xc0b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443GX host to PCI bridge> mem 0xf8000000-0xfbffffff at 
device 0.0 on pci
0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 15.0 on pci1
pci2: <PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 9.0 on pci0
pci3: <PCI bus> on pcib3
mlx0: <Mylex version 4 RAID interface> mem 0xf4104000-0xf4105fff irq 19 
at device 9.1 o
n pci0
mlx0: DAC960PTL1, 1 channel, firmware 4.07-0-29, 16MB RAM
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 17366MB (35565568 sectors) RAID 1 (online)
ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2400-0x24ff mem 
0xf4101000-0xf410
1fff irq 19 at device 12.0 on pci0
aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2800-0x28ff mem 
0xf4102000-0xf410
2fff irq 19 at device 12.1 on pci0
aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x2000-0x203f mem 
0xf4000000-0xf40fffff,0xf41
00000-0xf4100fff irq 21 at device 14.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:a8:4d:51
isab0: <PCI-ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 
0x2040-0x204f,0x376,0x170-0x177,0x3f6,0x1
f0-0x1f7 at device 18.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2060-0x207f irq 
21 at device 18
.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 18.3 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get status.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 
3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x3e8-0x3ef irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 
0xe4000-0xe7fff,0xce000-0xd0fff,0xcd000-0xcdfff,0xc800
0-0xccfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 796540596 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM <CD-540E/1.0A> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/mlxd0s1a

you can see the intel mainboard, with onboard adaptec scsi
and intel network card onboard. the mylex is add-in but as you
can see works well. just the wretchid second cpu!


Dean
-- 
WWW: http://dean.bong.com.au  LAN: http://www.bong.com.au
EMAIL: dean at bong.com.au       or       djzort at bong.com.au
ICQ: 16867613


More information about the freebsd-hardware mailing list