On Thu, Nov 19, 2009 at 3:28 PM, Bryan Allen <b...@mirrorshades.net> wrote: > Has anyone gotten this system set up so you can use three NICs and connect to > the Service Processor on the fourth? > > I got console redirected to the SP easily enough, and have tried disabling and > cloning bge* via config(8) so it only binds to one of the bge ports as opposed > to both of them. > > The interface I add (bge0) comes up, can be configured, upped and downed, but > it it seems to be hosed: > > bge0 at pci6 dev 4 function 0 "Broadcom BCM5715" rev 0xa3, BCM5715 A3 (0x9003): apic 2 int 15 (irq 15), address 00:16:36:88:46:6e > OUI 0x000818 model 0x0034 rev 0 at bge0 phy 1 not configured > bge0: no PHY found! > > [r...@b-fw-sd]:[~]# ifconfig bge0 > bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:16:36:88:46:6e > priority: 0 > media: Ethernet manual (none) > inet6 fe80::216:36ff:fe88:466e%bge0 prefixlen 64 scopeid 0x3 > > Some googling suggests that this should work, but I can't seem to get there. > It's been a while since I've needed to go messing around in the OpenBSD kernel. > > Any insight would be much appreciated. > > Commands, dmesg from modified and unmodified systems follow: > > [r...@b-fw-sd]:[/]# cp bsd bsd.orig > [r...@b-fw-sd]:[/]# config -e -o bsd.new bsd.orig > OpenBSD 4.5 (GENERIC) #2052: Sat Feb 28 14:55:24 MST 2009 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC > Enter 'help' for information > ukc> find bge > 149 bge* at pci* dev -1 function -1 flags 0x0 > ukc> add bge0 > Clone Device (DevNo, 'q' or '?') ? 149 > Insert before Device (DevNo, 'q' or '?') ? 149 > 149 bge0 at pci* dev -1 function -1 flags 0x0 > ukc> change bge0 > 149 bge0 at pci* dev -1 function -1 flags 0x0 > change [n] y > dev [-1] ? 4 > function [-1] ? 0 > flags [0] ? > 149 bge0 changed > 149 bge0 at pci* dev 4 function 0 flags 0x0 > ukc> disable bge* > 150 bge* disabled > ukc> find bge > 149 bge0 at pci* dev 4 function 0 flags 0x0 > 150 bge* at pci* disable dev -1 function -1 flags 0x0 > ukc> quit > Saving modified kernel. > [r...@b-fw-sd]:[/]# mv bsd.new bsd > [r...@b-fw-sd]:[~]# cat /etc/boot.conf > set tty com1 > > dmesg from the modified system: > > OpenBSD 4.5 (GENERIC) #2052: Sat Feb 28 14:55:24 MST 2009 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC > real mem = 3756982272 (3582MB) > avail mem = 3634565120 (3466MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfbdc0 (36 entries) > bios0: vendor Sun Microsystems version "S40_3A05" date 09/01/2006 > bios0: Sun Microsystems X2100 M2 > acpi0 at bios0: rev 2 > acpi0: tables DSDT FACP APIC SPCR OEMB SSDT > acpi0: wakeup devices PS2K(S4) PS2M(S4) NSMB(S4) USB0(S1) USB2(S1) NMAC(S5) NMAD(S5) P0P1(S4) HDAC(S4) BR10(S5) BR11(S5) BR12(S5) BR1E(S5) BCM1(S5) BR13(S5) BR14(S5) BR15(S5) SLPB(S4) PWRB(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Dual-Core AMD Opteron(tm) Processor 1210, 1809.50 MHz > cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: apic clock running at 201MHz > cpu at mainbus0: not configured > ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P1) > acpiprt2 at acpi0: bus 8 (BR10) > acpiprt3 at acpi0: bus 7 (BR11) > acpiprt4 at acpi0: bus 5 (BR12) > acpiprt5 at acpi0: bus 6 (BR1E) > acpiprt6 at acpi0: bus 4 (BR13) > acpiprt7 at acpi0: bus 3 (BR14) > acpiprt8 at acpi0: bus 2 (BR15) > acpicpu0 at acpi0: PSS > acpibtn0 at acpi0: SLPB > acpibtn1 at acpi0: PWRB > ipmi at mainbus0 not configured > cpu0: PowerNow! K8 1809 MHz: speeds: 1800 1000 MHz > pci0 at mainbus0 bus 0: configuration mode 1 > "NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 0 function 0 not configured > pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa3 > nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa3 > iic0 at nviic0 > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM ECC PC2-5300CL5 > iic1 at nviic0 > ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: apic 2 int 15 (irq 15), version 1.0, legacy support > ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: apic 2 int 7 (irq 7) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 > pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-N, P.6A> ATAPI 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa3: DMA > pciide1: using apic 2 int 10 (irq 10) for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <ST3160811AS> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 > wd1 at pciide1 channel 1 drive 0: <ST3160811AS> > wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 > ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 5 function 0 "ASPEED Technology AST2000" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 2 int 11 (irq 11), address 00:16:36:88:46:70 > eephy0 at nfe0 phy 2: 88E1149 Gigabit PHY, rev. 1 > nfe1 at pci0 dev 9 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 2 int 5 (irq 5), address 00:16:36:88:46:71 > eephy1 at nfe1 phy 3: 88E1149 Gigabit PHY, rev. 1 > ppb1 at pci0 dev 10 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci3 at ppb2 bus 3 > ppb3 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci4 at ppb3 bus 4 > ppb4 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci5 at ppb4 bus 5 > ppb5 at pci5 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xb5 > pci6 at ppb5 bus 6 > bge0 at pci6 dev 4 function 0 "Broadcom BCM5715" rev 0xa3, BCM5715 A3 (0x9003): apic 2 int 15 (irq 15), address 00:16:36:88:46:6e > OUI 0x000818 model 0x0034 rev 0 at bge0 phy 1 not configured > bge0: no PHY found! > "Broadcom BCM5715" rev 0xa3 at pci6 dev 4 function 1 not configured > ppb6 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci7 at ppb6 bus 7 > ppb7 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci8 at ppb7 bus 8 > pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev JH-F2 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > com1: console > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x68 > wbsio0 port 0xa10/2 not configured > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uhidev0 at uhub1 port 1 configuration 1 interface 0 "Virtual USB MULTIMEDIA KEYBOARD" rev 1.10/0.01 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33 > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub1 port 1 configuration 1 interface 1 "Virtual USB MULTIMEDIA KEYBOARD" rev 1.10/0.01 addr 2 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > WARNING: / was not properly unmounted > > dmesg from a unmodified X2100 M2: > > OpenBSD 4.5 (GENERIC) #2052: Sat Feb 28 14:55:24 MST 2009 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC > real mem = 3756982272 (3582MB) > avail mem = 3634565120 (3466MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfbdc0 (36 entries) > bios0: vendor Sun Microsystems version "S40_3A05" date 09/01/2006 > bios0: Sun Microsystems X2100 M2 > acpi0 at bios0: rev 2 > acpi0: tables DSDT FACP APIC SPCR OEMB SSDT > acpi0: wakeup devices PS2K(S4) PS2M(S4) NSMB(S4) USB0(S1) USB2(S1) NMAC(S5) NMAD(S5) P0P1(S4) HDAC(S4) BR10(S5) BR11(S5) BR12(S5) BR1E(S5) BCM1(S5) BR13(S5) BR14(S5) BR15(S5) SLPB(S4) PWRB(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Dual-Core AMD Opteron(tm) Processor 1210, 1809.52 MHz > cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: apic clock running at 201MHz > cpu at mainbus0: not configured > ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P1) > acpiprt2 at acpi0: bus 8 (BR10) > acpiprt3 at acpi0: bus 7 (BR11) > acpiprt4 at acpi0: bus 5 (BR12) > acpiprt5 at acpi0: bus 6 (BR1E) > acpiprt6 at acpi0: bus 4 (BR13) > acpiprt7 at acpi0: bus 3 (BR14) > acpiprt8 at acpi0: bus 2 (BR15) > acpicpu0 at acpi0: PSS > acpibtn0 at acpi0: SLPB > acpibtn1 at acpi0: PWRB > ipmi at mainbus0 not configured > cpu0: PowerNow! K8 1809 MHz: speeds: 1800 1000 MHz > pci0 at mainbus0 bus 0: configuration mode 1 > "NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 0 function 0 not configured > pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa3 > nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa3 > iic0 at nviic0 > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5 > spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM ECC PC2-5300CL5 > iic1 at nviic0 > ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: apic 2 int 15 (irq 15), version 1.0, legacy support > ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: apic 2 int 7 (irq 7) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 > pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-N, P.6A> ATAPI 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa3: DMA > pciide1: using apic 2 int 10 (irq 10) for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <ST3160811AS> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 > wd1 at pciide1 channel 1 drive 0: <ST3160811AS> > wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 > ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 5 function 0 "ASPEED Technology AST2000" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 2 int 11 (irq 11), address 00:16:36:88:46:d0 > eephy0 at nfe0 phy 2: 88E1149 Gigabit PHY, rev. 1 > nfe1 at pci0 dev 9 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 2 int 5 (irq 5), address 00:16:36:88:46:d1 > eephy1 at nfe1 phy 3: 88E1149 Gigabit PHY, rev. 1 > ppb1 at pci0 dev 10 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci3 at ppb2 bus 3 > ppb3 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci4 at ppb3 bus 4 > ppb4 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci5 at ppb4 bus 5 > ppb5 at pci5 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xb5 > pci6 at ppb5 bus 6 > bge0 at pci6 dev 4 function 0 "Broadcom BCM5715" rev 0xa3, BCM5715 A3 (0x9003): apic 2 int 15 (irq 15), address 00:16:36:88:46:ce > brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 > bge1 at pci6 dev 4 function 1 "Broadcom BCM5715" rev 0xa3, BCM5715 A3 (0x9003): apic 2 int 10 (irq 10), address 00:16:36:88:46:cf > brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 > ppb6 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci7 at ppb6 bus 7 > ppb7 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa3 > pci8 at ppb7 bus 8 > pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev JH-F2 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x68 > wbsio0 port 0xa10/2 not configured > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uhidev0 at uhub1 port 1 configuration 1 interface 0 "Virtual USB MULTIMEDIA KEYBOARD" rev 1.10/0.01 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33 > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub1 port 1 configuration 1 interface 1 "Virtual USB MULTIMEDIA KEYBOARD" rev 1.10/0.01 addr 2 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > > -- > bda > cyberpunk is dead. long live cyberpunk. > >
On the old ELOM systems, AFAIK you need to define the ELOM port's behavior inside the system BIOS. Its hokey, and even Solaris/OpenSolaris have issues with those ELOM ports. Don't know why Sun doesn't refund customers who got suckered into getting ELOM systems. </bitter> -- Brent Jones br...@servuhome.net