Hi,

  I originally sent this to misc@ but it probably got lost in all
the noise, so here it is again.

  I went through the PR database and found a case where someone was
having problems with the MAC address being different between dmesg/
kernel time and later. I did not find that to be an issue at all.

  Here's the message again with dmesg and panic. Any ideas on how
to fix? My best guess is it's the lii(4) driver itself, but I am not 
good at tracing these things.

  While attempting to network boot my Asus EEE with its lii(4) wired 
ethernet, I get an error and panic when it attempts to boot via 
nfs_boot.

  When I hook the network cable up to a switch to watch the link, it 
stays on until the kernel boots, then goes off during the devices 
detection, then goes back on briefly, then turns off before it tries to 
do the nfs_mount root.

  Thinking it could be a slow PHY, I modified line 1020 in 
netinet/if_ether.c to read:
                result = tsleep((caddr_t)&myip, PSOCK, "revarp", hz*20);

  However, all this did was make the kernel wait forever at the 
"nfs_boot:" line. I watched for link light again, and it stayed off 
almost the whole time, flickered for about quarter of a second, then 
went out again.

  For comparison, I hooked up another laptop (an Acer TravelMate with 
a bce(4) ethernet device) and attempted to boot diskless with it with 
the same kernel and config (except for changing the MAC address in 
/etc/ethers and dhcpd.conf) and it worked fine.

  I'm thinking it could have something to do with the lii(4) driver. 
Attached is the panic with trace and ps as well as a dmesg of the 
machine when it boots normally (with the kernel on a USB stick.)

Tom


PXE boot MAC address 00:22:15:14:89:d6, interface lii0
nfs_boot: using interface lii0, with revarp & bootparams
panic: reverse arp not answered by rarpd(8) or dhcpd(8)
Stopped at      Debugger+0x4:   popl    %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d08dea35,d0ba3cd4,d08d2434.d0ba3cd4,d156a094) at Debugger+0x4
panic(d08d2434,d156a094,d0ba3d18,d0a2f500,746f6f) at panic+0x5d
nfs_boot_init(d0ba3df0,d0a2f500,128,d03ec0f9,a) at nfs_boot_init+0x3ca
nfs_mountroot(d08b4257,0,d08b9faa,0,0) at nfs_mountroot+0x4c
main(d02004ba,d02004c2,0,0,0) at main+0x57b
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
    10      0      0      0  3    0x100200  bored         crypto
     9      0      0      0  3    0x100200  pftm          pfpurge
     8      0      0      0  3    0x100200  usbtsk        usbtask
     7      0      0      0  3    0x100200  usbatsk       usbatsk
     6      0      0      0  3    0x100200  bored         intelrel
     5      0      0      0  3    0x100200  acpi0         acpi0
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3    0x100200                idle0
     2      0      0      0  3  0x40100200  kmalloc       kmthread
     1      0      0      0  3    0x100200  initexec      swapper
*    0     -1      0      0  7     0x80200                swapper


OpenBSD 4.9-current (GENERIC) #0: Thu Apr 28 21:01:49 BST 2011
    r...@jera.pertho.net:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 508755968 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/11/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version "1302" date 03/11/2009
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model "701" serial   type LION oem "ASUS"
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: apic 1 int 
16
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1 int 16
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: apic 1 int 17
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: apic 1 int 17, 
address 00:22:15:14:89:d6
atphy0 at lii0 phy 1: F2 10/100 PHY, rev. 2
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1 int 18
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 1 int 18
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:b5:36:7f
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: <SILICONMOTION SM223AC>
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-3200CL3 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 3 configuration 1 interface 0 "SanDisk U3 Cruzer Micro" 
rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, U3 Cruzer Micro, 8.02> SCSI0 0/direct 
removable serial.078154065009F6903265
sd0: 3863MB, 512 bytes/sec, 7913471 sec total
uvideo0 at uhub0 port 8 configuration 1 interface 0 "eMPIA Technology EeePC701 
camera" rev 2.00/12.12 addr 2
video0 at uvideo0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
ath0: unable to reset hardware; hal status 3651705500
ath0: unable to reset hardware; hal status 3651706236

Reply via email to