From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 09:40:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 368D616A4DA for ; Tue, 29 Aug 2006 09:40:58 +0000 (UTC) (envelope-from daniel.kerse@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB7243D53 for ; Tue, 29 Aug 2006 09:40:57 +0000 (GMT) (envelope-from daniel.kerse@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2004358wxd for ; Tue, 29 Aug 2006 02:40:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iyH5gegiHwpnuQIJRNm1mYxsvDH23YBgdO0FpLBGPozNddYTWszbHmuq1B6nbrQQwq82L93QH0BN331/fXXrmK1hNjagJgb29WbRagEKBjdarKw1a0CBrfA084W2+2gzkwligepei3zmMrNCAQFUdqDeBuHYx3Wajm5TS2BF+9k= Received: by 10.70.87.9 with SMTP id k9mr7454727wxb; Tue, 29 Aug 2006 02:40:56 -0700 (PDT) Received: by 10.70.50.3 with HTTP; Tue, 29 Aug 2006 02:40:56 -0700 (PDT) Message-ID: <1fd935cc0608290240y5fc46020l28b6bd531d025e5a@mail.gmail.com> Date: Tue, 29 Aug 2006 21:40:56 +1200 From: "Daniel Kerse" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Wake on Lan stopped working soon after system upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 09:40:58 -0000 Hi there I recently upgraded my system from FreeBSD 6.1-STABLE #1: Sun Jul 30 15:12:34 NZST 2006 to FreeBSD 6.1-STABLE #2: Mon Aug 7 19:20:35 NZST 2006 Somewhere along the way my Wake on Lan stopped working. I've tested my Wakeup system[1] - it is still wakes up my WinXP laptop but won't wake up my FreeBSD[2] box. After checking a few logs it seems I did manage to wake the system up remotely once once after 'make installkernel' and 'make installworld'. The only thing I've changed since then is an upgrade of ports[3]. I have noticed that when my FreeBSD box is shut down, the Ethernet lights are off. I have a feeling that previously the lights may have stayed on when the system was down(?) I've checked the bios[4] settings, it is still set to wake on lan. The LAN port[5] is built into the motherboard. I've had a bit of a look at the ACPI[6] settings in the kernel[7], but nothing's standing out, even after reading the acpi man page. I've tried booting with and without acpi, and always shutdown with "shutdown -p". Hope someone can help, Dan [1] "Linksys WRT54Sv1.1 GDD-WRT v23 SP1 Final (05/16/06) voip" [2] FreeBSD schooner.harbour 6.1-STABLE FreeBSD 6.1-STABLE #2: Mon Aug 7 19:20:35 NZST 2006 root@schooner.harbour:/usr/obj/usr/src/sys/SCHOONER i386 [3] Here's what "portmanager -u" updated after the last time I got WoL to work. 00029 have:portupgrade-2.1.3.2_2,2 /sysutils/portupgrade OLD available: portupgrade-2.1.3.2_3,2 00045 have:php5-5.1.4 /lang/php5 built with OLD dependency: apache-1.3.37_1 00047 have:apache-1.3.37 /www/apache13 OLD available: apache-1.3.37_1 00065 have:postgresql-libpqxx-2.6.6 /databases/postgresql-libpqxx OLD available: postgresql-libpqxx-2.6.7 00080 have:koffice-1.5.1,2 /editors/koffice-kde3 built with OLD dependency: postgresql-libpqxx-2.6.7 00087 have:kdelibs-3.5.3 /x11/kdelibs3 built with OLD dependency: mDNSResponder-107.5 00093 have:libltdl-1.5.22 /devel/libltdl15 [4] BIOS upgraded before I set WoL up. Gigabyte GA-7VKMLS motherboard VIA KM266/KL266 chipset [5] rl0: port 0xe000-0xe0ff mem 0xdefdff00-0xdefdffff irq 18 at device 19.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:20:ed:6f:dd:4d acpi_button1: on acpi0 [6] $ dmesg | grep acpi acpi0: on motherboard acpi0: Power Button (fixed) acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_button1: on acpi0 fdc0: port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 acpi0: on motherboard acpi0: Power Button (fixed) acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_button1: on acpi0 fdc0: port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 $ [7] $ sysctl -a | grep acpi acpidev 48 2K - 48 32 acpisem 19 2K - 19 64 acpitask 0 0K - 1 32 acpica 1566 85K - 20527 16,32,64,128,256,512,1024 acpipwr 1 1K - 1 32 debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 0x20041119 debug.acpi.semaphore_debug: 0 hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% machdep.acpi_timer_freq: 3579545 machdep.acpi_root: 1025552 dev.acpi.0.%desc: AMIINT AMIINI09 dev.acpi.0.%driver: acpi dev.acpi.0.%parent: nexus0 dev.acpi_sysresource.0.%desc: System Resource dev.acpi_sysresource.0.%driver: acpi_sysresource dev.acpi_sysresource.0.%location: handle=\_SB_.PCI0.SBRG.SYSR dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C02 _UID=0 dev.acpi_sysresource.0.%parent: acpi0 dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz dev.acpi_timer.0.%driver: acpi_timer dev.acpi_timer.0.%location: unknown dev.acpi_timer.0.%pnpinfo: unknown dev.acpi_timer.0.%parent: acpi0 dev.pci_link.0.%parent: acpi0 dev.pci_link.1.%parent: acpi0 dev.pci_link.2.%parent: acpi0 dev.pci_link.3.%parent: acpi0 dev.cpu.0.%parent: acpi0 dev.acpi_button.0.%desc: Power Button dev.acpi_button.0.%driver: acpi_button dev.acpi_button.0.%location: handle=\_SB_.PWRB dev.acpi_button.0.%pnpinfo: _HID=PNP0C0C _UID=0 dev.acpi_button.0.%parent: acpi0 dev.acpi_button.1.%desc: Sleep Button dev.acpi_button.1.%driver: acpi_button dev.acpi_button.1.%location: handle=\_SB_.SLPB dev.acpi_button.1.%pnpinfo: _HID=PNP0C0E _UID=0 dev.acpi_button.1.%parent: acpi0 dev.pcib.0.%parent: acpi0 dev.fdc.0.%parent: acpi0 dev.sio.0.%parent: acpi0 dev.sio.1.%parent: acpi0 dev.ppc.0.%parent: acpi0 dev.atdma.0.%parent: acpi0 dev.attimer.0.%parent: acpi0 dev.attimer.1.%parent: acpi0 dev.npxisa.0.%parent: acpi0 dev.psmcpnp.0.%parent: acpi0 dev.atkbdc.0.%parent: acpi0 $