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>
<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>
<BR>
Any tips or advice are appreciated.<BR>
<BR>
There are the build log and my config file:<BR>
----------------------------------------------------------------------------<BR>===> build.sh command: ./build.sh -O ../obj -T ../tools -U -u kernel=GENERIC_LAPTOP<BR>===> build.sh started: Sun Apr 15 10:55:01 CST 2007<BR>===> NetBSD version: 4.99.17<BR>===> MACHINE: amd64<BR>===> MACHINE_ARCH: x86_64<BR>===> Build platform: NetBSD 4.99.17 amd64<BR>===> HOST_SH: /bin/sh<BR>===> TOOLDIR path: /usr/src/../tools<BR>===> DESTDIR path: /usr/src/../obj/destdir.amd64<BR>===> RELEASEDIR path: /usr/src/../obj/releasedir<BR>===> makewrapper: /usr/src/../tools/bin/nbmake-amd64<BR>===> Updated /usr/src/../tools/bin/nbmake-amd64<BR>===> Building kernel without building new tools<BR>===> Building kernel: GE
NERIC_LAPTOP<BR>===> Build directory: /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># $NetBSD: GENERIC.MP,v 1.2 2005/12/27 00:46:38 chs Exp $<BR>
include "arch/amd64/conf/GENERIC"<BR>
options MULTIPROCESSOR<BR>
#<BR># Added by abutter<BR>#<BR>
# ACPI devices<BR>acpiacad* at acpi? # ACPI AC Adapter<BR>acpibat* at acpi? # ACPI Battery<BR>acpibut* at acpi? # ACPI Button<BR>acpiec* at acpi? # ACPI Embedded Controller<BR>acpilid* at acpi? # ACPI Lid Switch<BR>acpitz* at acpi? # ACPI Thermal Zone<BR>
wpi* at pci? dev ? function ? # Intel PRO/Wireless 3945ABG<BR>
apm0 at mainbus0 # Advanced power management<BR>options APM_NO_IDLE # Don't call BIOS CPU idle function<BR>
#<BR># Added end<BR>#<BR>----------------------------------------------------------------------------<BR>
<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_--