Stuart Henderson wrote:
On 2007/05/06 04:38, Daniel Ouellet wrote:
Is anyone have been able to get the redirect console working on the Sun 2100 M2 or not?
Either the Ethernet management port or the serial port.
The Ethernet port only work when OpenBSD is nor running, as soon as it half way loaded,
it knockdown the port itself and the console port via the serial port doesn't work
either.
I don't know the M2 but on other systems where a bge(4) is shared
between ASF/IPMI and the OS, the only thing you can do for now is boot -c
and disable bge, leaving you with only the nfe(4).
The best I could do is disable the bge in BIOS witch kill both bge ports
and left you with only the nfe. Yes, painful a bit.
This way I could do the /SP management over the Ethernet, but reboot,
etc. Kill the access for the time it does that, etc. Better then
nothing, but never can I get any console on that for sure.
Now I don't bother with the management card on X2100, I just use the
standard BIOS serial redirect and 'set tty com0' and power them from a
masterswitch. A definite step down from lomlite on sparc64 boxes.
AIUI X4x00 (and the old badged newisys systems, v20z/v40z) are a lot
better.
Look like the best I could do after a few nights of research and
variations is to get the Ethernet for /SP management, no console and
serial for console, but no /SP management. (;<
I don't know about the serial console... istr on one of my non-M2 x2100
I just couldn't get it to work, whatever settings I tried, until I reset
CMOS to default values and it sprang back into life.
So, for the Ethernet management, I need to do in BIOS
First start with F9 to "Load Optimal Defaults" for the box, then
Advanced->OnBoard Device Configuration->Broadcom Device => Disable
The IP address default to 192.168.1.2/24 and can be changed as well.
Then to get the console working, on the serial port only, I need to do
in BIOS to force the COM1 to system instead of BMC and disable the
management on the serial port. So:
Advanced->Remote Access Configuration->Remote Access => Disable
Advanced->IPMI 2.0 Configuration->External COM Port => System
Then I do
echo "set tty com0" >/etc/boot.conf
And then I get the console on my serial port, but no management on that
serial port. Plus if I do an install with the bsd.rd, I have to be
pretty quick at the boot promt to type it
boot> set tty com0
So, to reset or power cycle the box, I need to ssh to the management
ethernet port:
Sun(TM) Embedded Lights Out Manager
Copyright 2004-2006 Sun Microsystems, Inc. All rights reserved.
Version 2.91
Hostname: SUNSP001636761ADD
IP address: 192.168.1.2
MAC address: 00:16:36:76:1A:DD
System serial number: 0637QAL022
/SP ->
To reset the box:
/SP -> set SystemInfo/CtrlInfo PowerCtrl=reset
The System will be Reset.
Do you wish to Continue..?(y/n)y
Set 'PowerCtrl' to 'reset'
/SP ->
Or off:
/SP -> set SystemInfo/CtrlInfo PowerCtrl=gracefuloff
The System will be graceful Powered Off.
Do you wish to Continue..?(y/n)
Set 'PowerCtrl' to 'off'
Note also that the "gracefuloff" doesn't mean it would let OpenBSD
shutdown graceful here. It's a hard shutdown for the OS, regardless, so
may want to be sure you shutdown -h the OS first! Same for the reset as
well.
Or on:
/SP -> set SystemInfo/CtrlInfo PowerCtrl=on
The System will be Powered On.
Do you wish to Continue..?(y/n)y
Set 'PowerCtrl' to 'on'
Then a few other things, but no console what so ever:
/SP -> start AgentInfo/console
console activate successful
press ESC ( to terminate session...
Nothing ever come here.
So, I guess it is somewhat manageable, but at a price of two Ethernet
ports, and not with ease for sure!
When you are use to the real old LOM from Sun, you just want to put a
hammer to that box!
I guess that's the best that is expected then.
If anyone got better then that, I would love to ear it.
That's the best I could do on my side.
dmesg in that configuration
=====================
OpenBSD 4.1 (GENERIC) #874: Sat Mar 10 19:09:51 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 536408064 (523836K)
avail mem = 447254528 (436772K)
using 13147 buffers containing 53850112 bytes (52588K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfc170 (36 entries)
bios0: Sun Microsystems X2100 M2
acpi at mainbus0 not configured
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca2/2 spacing 1
cpu0 at mainbus0: (uniprocessor)
cpu0: Dual-Core AMD Opteron(tm) Processor 1210, 1809.49 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,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
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: disabled to avoid ipmi0 interactions
iic1 at nviic0: disabled to avoid ipmi0 interactions
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: irq 15,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: irq 7
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
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: <MATSHITA, DVD-ROM SR-8178, PZ16> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa3: DMA
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <HITACHI HDS7225SBSUN250G 0634NRTRTJ>
wd0: 16-sector PIO, LBA48, 238471MB, 488390625 sectors
wd0(pciide1:0: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: irq 11,
address 00:16:36:76:0e:28
eephy0 at nfe0 phy 2: Marvell 88E1149 Gigabit PHY, rev. 1
nfe1 at pci0 dev 9 function 0 "NVIDIA MCP55 LAN" rev 0xa3: irq 5,
address 00:16:36:76:0e:27
eephy1 at nfe1 phy 3: Marvell 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 pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci6 at ppb5 bus 7
ppb6 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci7 at ppb6 bus 8
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
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
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Virtual USB MULTIMEDIA KEYBOARD, rev 1.10/0.01, addr 2, 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 uhub0 port 1 configuration 1 interface 1
uhidev1: Virtual USB MULTIMEDIA KEYBOARD, rev 1.10/0.01, addr 2, iclass 3/1
ums0 at uhidev1: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhub2 at uhub0 port 7
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard, rev
1.10/1.22, addr 3
uhub2: 3 ports with 2 removable, bus powered
uhidev2 at uhub2 port 1 configuration 1 interface 0
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22,
addr 4, iclass 3/1
ukbd1 at uhidev2: 8 modifier keys, 6 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev3 at uhub2 port 1 configuration 1 interface 1
uhidev3: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22,
addr 4, iclass 3/0
uhidev3: 3 report ids
uhid0 at uhidev3 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 3: input=3, output=0, feature=0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302