Subject: Build failed on amd64 when APM Enable
To: None <current-users@netbsd.org>
From: GaoBismar <abutter@hotmail.com>
List: current-users
Date: 04/15/2007 11:14:59
--_ceaa0b88-4e7e-4067-a89c-f757f985ef09_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit

I downloaded NetBSD-amd64-4.99.17-install.iso form http://iso.aydogan.net and then installed it, but I find that the default loading OS is always NetBSD even though I select Windows XP as default in the installation. I think it is just a blemish.
 
For the 3945ABG, APM and other devices on my HP V3183, I fetched the source ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files and compiled a special kernel. But I can't add APM support and I did all by the document Power Managment.
 
Any tips or advice are appreciated.
 
There are the build log and my config file:
----------------------------------------------------------------------------===> build.sh command: ./build.sh -O ../obj -T ../tools -U -u kernel=GENERIC_LAPTOP===> build.sh started: Sun Apr 15 10:55:01 CST 2007===> NetBSD version:   4.99.17===> MACHINE:          amd64===> MACHINE_ARCH:     x86_64===> Build platform:   NetBSD 4.99.17 amd64===> HOST_SH:          /bin/sh===> TOOLDIR path:     /usr/src/../tools===> DESTDIR path:     /usr/src/../obj/destdir.amd64===> RELEASEDIR path:  /usr/src/../obj/releasedir===> makewrapper:      /usr/src/../tools/bin/nbmake-amd64===> Updated /usr/src/../tools/bin/nbmake-amd64===> Building kernel without building new tools===> Building kernel:  GENERIC_LAPTOP===> Build directory:  /usr/src/../obj/sys/arch/amd64/compile/GENERIC_LAPTOP/usr/src/sys/arch/amd64/conf/GENERIC_LAPTOP:21: `apm' cannot attach to `mainbus'*** Stop.
ERROR: nbconfig failed for GENERIC_LAPTOP*** BUILD ABORTED ***----------------------------------------------------------------------------
GENERIC_LAPTOP----------------------------------------------------------------------------# $NetBSD: GENERIC.MP,v 1.2 2005/12/27 00:46:38 chs Exp $
include "arch/amd64/conf/GENERIC"
options  MULTIPROCESSOR
## Added by abutter#
# ACPI devicesacpiacad*  at acpi?  # ACPI AC Adapteracpibat*  at acpi?  # ACPI Batteryacpibut*  at acpi?  # ACPI Buttonacpiec*  at acpi?  # ACPI Embedded Controlleracpilid*  at acpi?  # ACPI Lid Switchacpitz*  at acpi?  # ACPI Thermal Zone
wpi* at pci? dev ? function ? # Intel PRO/Wireless 3945ABG
apm0    at mainbus0            # Advanced power managementoptions  APM_NO_IDLE  # Don't call BIOS CPU idle function
## Added end#----------------------------------------------------------------------------
 
_________________________________________________________________
探索 Windows Vista 的世界
http://search.live.com/results.aspx?q=windows+vista&mkt=zh-cn&FORM=LIVSOP
--_ceaa0b88-4e7e-4067-a89c-f757f985ef09_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: 8bit

<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>I downloaded NetBSD-amd64-4.99.17-install.iso form ">http://iso.aydogan.net and then installed it, but I find that the default loading OS is always NetBSD even though I select Windows XP as default in the installation. I think it is just a blemish.<BR>
&nbsp;<BR>
For the 3945ABG, APM and other devices on my HP V3183, I fetched the source ">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files and compiled a special kernel. But I can't add APM support and I did all by the document Power Managment.<BR>
&nbsp;<BR>
Any tips or advice are appreciated.<BR>
&nbsp;<BR>
There are the build log and my config file:<BR>
----------------------------------------------------------------------------<BR>===&gt; build.sh command: ./build.sh -O ../obj -T ../tools -U -u kernel=GENERIC_LAPTOP<BR>===&gt; build.sh started: Sun Apr 15 10:55:01 CST 2007<BR>===&gt; NetBSD version:&nbsp;&nbsp; 4.99.17<BR>===&gt; MACHINE:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; amd64<BR>===&gt; MACHINE_ARCH:&nbsp;&nbsp;&nbsp;&nbsp; x86_64<BR>===&gt; Build platform:&nbsp;&nbsp; NetBSD 4.99.17 amd64<BR>===&gt; HOST_SH:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /bin/sh<BR>===&gt; TOOLDIR path:&nbsp;&nbsp;&nbsp;&nbsp; /usr/src/../tools<BR>===&gt; DESTDIR path:&nbsp;&nbsp;&nbsp;&nbsp; /usr/src/../obj/destdir.amd64<BR>===&gt; RELEASEDIR path:&nbsp; /usr/src/../obj/releasedir<BR>===&gt; makewrapper:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/src/../tools/bin/nbmake-amd64<BR>===&gt; Updated /usr/src/../tools/bin/nbmake-amd64<BR>===&gt; Building kernel without building new tools<BR>===&gt; Building kernel:&nbsp; GE
 NERIC_LAPTOP<BR>===&gt; Build directory:&nbsp; /usr/src/../obj/sys/arch/amd64/compile/GENERIC_LAPTOP<BR>/usr/src/sys/arch/amd64/conf/GENERIC_LAPTOP:21: `apm' cannot attach to `mainbus'<BR>*** Stop.<BR>
ERROR: nbconfig failed for GENERIC_LAPTOP<BR>*** BUILD ABORTED ***<BR>----------------------------------------------------------------------------<BR>
GENERIC_LAPTOP<BR>----------------------------------------------------------------------------<BR>#&nbsp;$NetBSD: GENERIC.MP,v 1.2 2005/12/27 00:46:38 chs Exp $<BR>
include "arch/amd64/conf/GENERIC"<BR>
options &nbsp;MULTIPROCESSOR<BR>
#<BR># Added by abutter<BR>#<BR>
# ACPI devices<BR>acpiacad* &nbsp;at acpi?&nbsp;&nbsp;# ACPI AC Adapter<BR>acpibat* &nbsp;at acpi?&nbsp;&nbsp;# ACPI Battery<BR>acpibut* &nbsp;at acpi?&nbsp;&nbsp;# ACPI Button<BR>acpiec* &nbsp;at acpi?&nbsp;&nbsp;# ACPI Embedded Controller<BR>acpilid* &nbsp;at acpi?&nbsp;&nbsp;# ACPI Lid Switch<BR>acpitz* &nbsp;at acpi?&nbsp;&nbsp;# ACPI Thermal Zone<BR>
wpi*&nbsp;at pci? dev ? function ?&nbsp;# Intel PRO/Wireless 3945ABG<BR>
apm0&nbsp;&nbsp;&nbsp; at mainbus0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Advanced power management<BR>options &nbsp;APM_NO_IDLE&nbsp;&nbsp;# Don't call BIOS CPU idle function<BR>
#<BR># Added end<BR>#<BR>----------------------------------------------------------------------------<BR>
&nbsp;<BR><br /><hr />探索 Windows Vista 的世界 <a href='http://search.live.com/results.aspx?q=windows+vista&mkt=zh-cn&FORM=LIVSOP' target='_new'>了解更多信息!</a></body>
</html>
--_ceaa0b88-4e7e-4067-a89c-f757f985ef09_--