Re: Default interface choice for automatic install

2014-05-08 Thread Xavier Claude
Le 2014-05-08 17:03, Kenneth Westerback a écrit :
 On 8 May 2014 10:11, Xavier Claude cont...@xavierclaude.be wrote:
 Hello again,

 I have another issue with autoinstall, the man page says[1] that 
 when
 the machine is booted via netboot, the interface chosen is the one 
 used
 for the netboot. It works well for a virtual machine, even with
 multiple interfaces. But on a physical machine with 2 Broadcom
 interfaces, and 2 Intel, with the netboot done by the Broadcom
 interface, the autoinstall doesn't start automatically (I can't test
 the netboot with the Intel interface, the BIOS doesn't allow it).

 What can I do to force the automatic install on the netboot 
 interface?

 Thank you for your answer.

 
 [1]:http://www.openbsd.org/cgi-bin/man.cgi?query=autoinstallsektion=8
 --
 Xavier Claude
 cont...@xavierclaude.be


 More information would be nice.

 Like a dmesg, and any actual messages you see before/during the
 install attempt.

The dmesg is join, you can see on the last lines (138) that it doesn't
recognize the PXE interface.

 A capture to a serial port acting as the console would be perfect.

I don't have serial access to the machine today, I can have it tomorrow 
if
you need more informations.

 Which Broadcom interface is doing the netbooting? What architecture
 are you using? Stuff like that.

The Broadcom interface used for netboot is named bnx1. The architecture 
is
i386. The physical machine is a Dell Poweredge 1950. I don't see any 
other
useful information but tell me if you need more.
-- 
Xavier Claude
cont...@xavierclaude.be
OpenBSD 5.5-stable (RAMDISK_CD) #0: Tue May  6 14:29:13 CEST 2014
r...@openbsd55.office.conostix.com:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,LAHF,PERF
real mem  = 3484286976 (3322MB)
avail mem = 3420123136 (3261MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/30/10, BIOS32 rev. 0 @ 0xffe90, SMBIOS 
rev. 2.5 @ 0xcfb9c000 (67 entries)
bios0: vendor Dell Inc. version 2.7.0 date 10/30/2010
bios0: Dell Inc. PowerEdge 1950
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 332MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PEX2)
acpiprt2 at acpi0: bus 5 (UPST)
acpiprt3 at acpi0: bus 6 (DWN1)
acpiprt4 at acpi0: bus 8 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus -1 (PE2P)
acpiprt7 at acpi0: bus 10 (PEX4)
acpiprt8 at acpi0: bus 12 (PEX6)
acpiprt9 at acpi0: bus 2 (SBEX)
acpiprt10 at acpi0: bus 14 (COMP)
bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00 0xcc000/0x6200 
0xd2800/0x1000! 0xec000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 4 int 16
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: apic 4 int 16
mfi0: PERC 6/i Integrated, firmware 6.1.1-0047, 256MB cache
scsibus0 at mfi0: 64 targets
sd0 at scsibus0 targ 0 lun 0: DELL, PERC 6/i, 1.21 SCSI3 0/direct fixed 
naa.60022190a150e0001af3af9d03ad4998
sd0: 476416MB, 512 bytes/sector, 975699968 sectors
ppb7 at pci0 dev 4 function 0 Intel 5000 PCIE x8 rev 0x12: apic 4 int 16
pci8 at ppb7 bus 10
em0 at pci8 dev 0 function 0 Intel 82571EB rev 0x06: apic 4 int 16, address 
00:15:17:97:e6:6e
em1 at pci8 dev 0 function 1 Intel 82571EB rev 0x06: apic 4 int 17, address 
00:15:17:97:e6:6f
ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
pci9 at ppb8 bus 11
ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE x8 rev 0x12: apic 4 int 16
pci10 at ppb9 bus 12
ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
pci11 at ppb10 bus 13
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
pchb3 at pci0 dev 16 function 2 Intel 5000 Error 

Re: Default interface choice for automatic install

2014-05-08 Thread Theo de Raadt
  Which Broadcom interface is doing the netbooting? What architecture
  are you using? Stuff like that.
 
 The Broadcom interface used for netboot is named bnx1. The architecture 
 is
 i386. The physical machine is a Dell Poweredge 1950. I don't see any 
 other
 useful information but tell me if you need more.

[...]

 scsibus4 at softraid0: 256 targets
 PXE boot MAC address 00:22:19:50:82:6f, interface unknown
 root on rd0a swap on rd0b dump on rd0b
 bnx0: address 00:22:19:50:82:71
 brgphy0 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
 bnx1: address 00:22:19:50:82:6f
 brgphy1 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6

The problem here is that the bnx interfaces need to boot a firmware
before they can expose their MAC address.

Thinking out loud.  It's possible the chip can expose it's MAC
address earlier, and maybe bnxattach() could create the ifp
earlier, in partial form.  But there's all sorts of downsides to
that ... because then the diskless code wil assume it can move
packets in and out of there...

So it's a bit of a bummer.