tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wake-on-LAN no longer working in netbsd-7



Good Morning!


Am 10.09.15 um 13:57 schrieb Masanobu SAITOH:
> On 2015/09/10 17:24, Martin Husemann wrote:
>> On Thu, Sep 10, 2015 at 10:21:01AM +0200, Marc Balmer wrote:
>>> I used to start a netbsd-6 machine by sending Wake-on-LAN frames wo it.
>>>
>>> After upgrading that machine to netbsd-7, it ignores these WoL
>>> packages and
>>> does not start.
>>>
>>> Its an i386 with bge(4) interface (a HP micro server).
> 
>  Which generation? G8 or others?

I think it is an older one, if you don't see it from the dmesg below, I
will pull it our of the rack and see if I can find a label somewhere.

> Could you show me the dmesg?

Of course!  Here we go:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.0_RC3 (GENERIC) #2: Fri Sep 11 17:48:23 CEST 2015
        root%backup.vnode.ch@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 2943 MB
avail memory = 2878 MB
kern.module.path=/stand/i386/7.0/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP ProLiant MicroServer (   )
mainbus0 (root)
ACPI: RSDP 0xf8f50 000024 (v02 HP    )
ACPI: XSDT 0xb7fa0100 00007C (v01 HP     ProLiant 20100930 HP   00000097)
ACPI: FACP 0xb7fa0290 0000F4 (v03 HP     ProLiant 20100930 HP   00000097)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32
(20131218/tbfadt-634)
ACPI: DSDT 0xb7fa0620 006947 (v01 HP     ProLiant 00000006 INTL 20051117)
ACPI: FACS 0xb7fae000 000040
ACPI: APIC 0xb7fa0390 000072 (v01 HP     ProLiant 20100930 HP   00000097)
ACPI: MCFG 0xb7fa0410 00003C (v01 HP     ProLiant 20100930 HP   00000097)
ACPI: SPMI 0xb7fa0450 000041 (v05 HP     ProLiant 20100930 HP   00000097)
ACPI: OEMB 0xb7fae040 000072 (v01 HP     ProLiant 20100930 HP   00000097)
ACPI: HPET 0xb7fab4e0 000038 (v01 HP     ProLiant 20100930 HP   00000097)
ACPI: EINJ 0xb7fab520 000130 (v01  AMIER AMI_EINJ 20100930 HP   00000097)
ACPI: BERT 0xb7fab6b0 000030 (v01  AMIER AMI_BERT 20100930 HP   00000097)
ACPI: ERST 0xb7fab6e0 0001B0 (v01  AMIER AMI_ERST 20100930 HP   00000097)
ACPI: HEST 0xb7fab890 0000A8 (v01  AMIER ABC_HEST 20100930 HP   00000097)
ACPI: SSDT 0xb7fab940 000386 (v01 HP     ProLiant 00000001 AMD  00000001)
ACPI: All ACPI Tables successfully acquired
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x21, 24 pins
cpu0 at mainbus0 apid 0: AMD Athlon(tm) II Neo N36L Dual-Core Processor,
id 0x100f63
cpu1 at mainbus0 apid 1: AMD Athlon(tm) II Neo N36L Dual-Core Processor,
id 0x100f63
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <HP    ,ProLiant,20100930>, AslId <HP  ,00000097>
ACPI: OEMN 0xb7faaeb0 000624 (v01 AMD    NAHP     00000001 INTL 20051117)
ACPI: OEMN 0x0 000624 (v01 AMD    NAHP     00000001 INTL 20051117)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
BROD (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
OMSC (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
RMEM (PNP0C01) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 4 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_]
(20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_]
(20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_]
(20131218/hwxface-646)
attimer1: attached to pcppi1
ipmi: bus_space_map(..., 0, 2, 0, 0xc1196ce8) failed
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x9601 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x103c product 0x9602 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
radeon0 at pci1 dev 5 function 0: vendor 0x1002 product 0x9712 (rev. 0x00)
radeon0: unable to reserve VGA registers for i386 radeondrmkms hack
ppb1 at pci0 dev 6 function 0: vendor 0x1022 product 0x9606 (rev. 0x00)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex>
x1 @ 5.0GT/s
ppb1: link is x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci2 dev 0 function 0: Broadcom BCM5723 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 18
bge0: HW config 00000155, 00004015, 00002830, 00000000 00000000
bge0: ASIC BCM5784 A1 (0x5784100), Ethernet address 3c:4a:92:74:55:a9
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391 (rev.
0x40)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: AHCI revision 1.20, 4 ports, 32 slots, CAP
0xf722ff03<PSC,SSC,PMD,SPM,ISS=0x2=Gen2,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 18
ohci0: OHCI version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controller, 5 ports each: ohci0
usb1 at ehci0: USB revision 2.0
ohci1 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 18
ohci1: OHCI version 1.0, legacy support
ohci1: SMM does not respond, resetting
usb2 at ohci1: USB revision 1.0
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 17
ehci1: dropped intr workaround enabled
ehci1: EHCI version 1.0
ehci1: companion controller, 5 ports each: ohci1
usb3 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x42)
piixpm0: polling (SB800)
iic0 at piixpm0: I2C bus
iic1 at piixpm0: I2C bus
iic2 at piixpm0: I2C bus
iic3 at piixpm0: I2C bus
ixpide0 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller
(rev. 0x40)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14
atabus4 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15
atabus5 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x439d (rev. 0x40)
ppb2 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x40)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
ohci2 at pci0 dev 22 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb4 at ohci2: USB revision 1.0
ehci2 at pci0 dev 22 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci2: interrupting at ioapic0 pin 17
ehci2: dropped intr workaround enabled
ehci2: EHCI version 1.0
ehci2: companion controller, 4 ports each: ohci2
usb5 at ehci2: USB revision 2.0
pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1202 (rev. 0x00)
amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family10h)
pchb4 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbc: cmd word write error
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu0: P0: FFH, lat   4 us, pow  4641 mW, 1300 MHz
acpicpu0: P1: FFH, lat   4 us, pow  3800 mW, 1100 MHz
acpicpu0: P2: FFH, lat   4 us, pow  2537 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1297919930 Hz quality 3000
IPsec: Initialized Security Association Processing.
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 5 ports with 5 removable, self powered
uhub1 at usb1: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 5 ports with 5 removable, self powered
uhub2 at usb2: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
uhub3 at usb3: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 4 ports with 4 removable, self powered
uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 4 ports with 4 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 3.0Gb/s
ahcisata0 port 2: device present, speed: 3.0Gb/s
ahcisata0 port 3: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD1500HLFS-01MZUV0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 139 GB, 290721 cyl, 16 head, 63 sec, 512 bytes/sect x 293046768 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
wd1 at atabus1 drive 0
wd1: <WDC WD10EARS-00Y5B1>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168
sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
wd2 at atabus2 drive 0
wd2: <WDC WD1002FBYS-01A6B0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168
sectors
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
wd3 at atabus3 drive 0
wd3: <WDC WD5000AVDS-63U7B1>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
drm: initializing kernel modesetting (RS880 0x1002:0x9712 0x103C:0x1609).
drm: register mmio base: 0xfe8f0000
drm: register mmio size: 65536
drm kern info: ATOM BIOS: AMD_1407_150
radeon0: info: VRAM: 128M 0x00000000C0000000 - 0x00000000C7FFFFFF (128M
used)
radeon0: info: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
drm: Detected VRAM RAM=80M, BAR=128M
drm: RAM width 32bits DDR
Zone  kernel: Available graphics memory: 1240206 kiB
drm: radeon: 128M of VRAM memory ready
drm: radeon: 512M of GTT memory ready.
drm: Loading RS780 Microcode
drm: GART: num cpu pages 131072, num gpu pages 131072
drm: PCIE GART of 512M enabled (table at 0x00000000C0040000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x00000000a0000c00
and cpu addr 0x0xdc86ac00
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
radeon0: interrupting at ioapic0 pin 18 (radeon)
drm: radeon: irq initialized.
drm: ring test on 0 succeeded in 0 usecs
drm: ib test on ring 0 succeeded in 0 usecs
drm: Radeon Display Connectors
drm: Connector 0:
drm:   VGA-1
drm:   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
drm:   Encoders:
drm:     CRT1: INTERNAL_KLDSCP_DAC1
radeon0: info: No connectors reported connected with modes
drm: Cannot find any crtc or sizes - going 1024x768
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xdcba0000, size 1024x768, depth 32,
stride 4096
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)
> 
> 
>>> Something must have changed in how netbsd shutsdown -p a machine.
>>
>> Check for acpi errors in dmesg and connect a console to check for errors
>> printed during shutdown. It should end in something like "entering
>> ACPI sleep
>> state 5".
>>
>> Martin
>>
> 
> 

regards,
Marc



Home | Main Index | Thread Index | Old Index