Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2004 17:46:56 -0700
From:      "Darren Pilgrim" <dmp@bitfreak.org>
To:        <current@freebsd.org>
Subject:   Upgraded from 4.9 to 5.2.1, apm no longer works?
Message-ID:  <000b01c47117$bb62fe30$132a15ac@spud>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C470DD.0F042630
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I had RELENG_4_9 working flawlessly on an older machine.  I upgraded to
5.2.1-R by means of wiping and installing from scratch, then =
source-upgraded
to RELENG_5_2.  The computer does not have ACPI support, only APM.  The
kernel has "device apm" compiled in and hint.apm.0.disable=3D"0" in
/boot/loader.conf, but no apm device is detected.  Subsequently, `apm -e
enable` fails:

apm: can't open /dev/apm: No such file or directory

The only reason I use APM on this machine is so that `init 0` turns the
machine off rather than just halting.  How do I get this functionality =
back?

------=_NextPart_000_000C_01C470DD.0F042630
Content-Type: application/octet-stream;
	name="dmesg.output"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="dmesg.output"

Copyright (c) 1992-2004 The FreeBSD Project.=0A=
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A=
	The Regents of the University of California. All rights reserved.=0A=
FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul 20 20:31:46 PDT 2004=0A=
    root@spud.techno.pagans:/var/speck_build/obj/usr/src/sys/SPECK=0A=
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06f6000.=0A=
Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc06f6154.=0A=
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc06f6200.=0A=
Preloaded elf module "/boot/kernel/fdc.ko" at 0xc06f62ac.=0A=
Calibrating clock(s) ... i8254 clock: 1193228 Hz=0A=
CLK_USE_I8254_CALIBRATION not specified - using default frequency=0A=
Timecounter "i8254" frequency 1193182 Hz quality 0=0A=
Calibrating TSC clock ... TSC clock: 332387821 Hz=0A=
CPU: Overdrive Pentium II/Pentium II Xeon/Celeron (332.39-MHz 686-class =
CPU)=0A=
  Origin =3D "GenuineIntel"  Id =3D 0x1631  Stepping =3D 1=0A=
  =
Features=3D0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR>=0A=
real memory  =3D 125829120 (120 MB)=0A=
Physical memory chunk(s):=0A=
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)=0A=
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)=0A=
0x0000000000826000 - 0x00000000075bdfff, 114917376 bytes (28056 pages)=0A=
avail memory =3D 116793344 (111 MB)=0A=
bios32: Found BIOS32 Service Directory header at 0xc00fd9e0=0A=
bios32: Entry =3D 0xfd9f0 (c00fd9f0)  Rev =3D 0  Len =3D 1=0A=
pcibios: PCI BIOS entry at 0xf0000+0xda11=0A=
pnpbios: Found PnP BIOS data at 0xc00fa330=0A=
pnpbios: Entry =3D f0000:a430  Rev =3D 1.0=0A=
Other BIOS signatures found:=0A=
null: <null device, zero device>=0A=
random: <entropy source>=0A=
mem: <memory & I/O>=0A=
Pentium Pro MTRR support enabled=0A=
npx0: [FAST]=0A=
npx0: <math processor> on motherboard=0A=
npx0: INT 16 interface=0A=
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058=0A=
pci_open(1a):	mode1res=3D0x80000000 (0x80000000)=0A=
pci_cfgcheck:	device 0 [class=3D060000] [hdr=3D00] is there =
(id=3D12378086)=0A=
pcibios: BIOS version 2.10=0A=
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard=0A=
pci0: <PCI bus> on pcib0=0A=
pci0: physical bus=3D0=0A=
found->	vendor=3D0x8086, dev=3D0x1237, revid=3D0x02=0A=
	bus=3D0, slot=3D0, func=3D0=0A=
	class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0=0A=
	cmdreg=3D0x0106, statreg=3D0x2280, cachelnsz=3D0 (dwords)=0A=
	lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A=
found->	vendor=3D0x8086, dev=3D0x7000, revid=3D0x01=0A=
	bus=3D0, slot=3D7, func=3D0=0A=
	class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1=0A=
	cmdreg=3D0x000f, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A=
	lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A=
	map[20]: type 4, range 32, base 0000ffa0, size  4, enabled=0A=
found->	vendor=3D0x8086, dev=3D0x7010, revid=3D0x00=0A=
	bus=3D0, slot=3D7, func=3D1=0A=
	class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0=0A=
	cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A=
	lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A=
	map[10]: type 1, range 32, base fb000000, size 24, enabled=0A=
	map[14]: type 4, range 32, base 0000fc00, size  8, enabled=0A=
pci_cfgintr: can't route an interrupt to 0:11 INTA=0A=
found->	vendor=3D0x100c, dev=3D0x3208, revid=3D0x14=0A=
	bus=3D0, slot=3D11, func=3D0=0A=
	class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0=0A=
	cmdreg=3D0x0023, statreg=3D0x0400, cachelnsz=3D0 (dwords)=0A=
	lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A=
	intpin=3Da, irq=3D11=0A=
	map[10]: type 3, range 32, base ffbe7000, size 12, enabled=0A=
	map[14]: type 4, range 32, base 0000ff40, size  5, enabled=0A=
	map[18]: type 1, range 32, base ff800000, size 20, enabled=0A=
pci_cfgintr: can't route an interrupt to 0:17 INTA=0A=
found->	vendor=3D0x8086, dev=3D0x1229, revid=3D0x05=0A=
	bus=3D0, slot=3D17, func=3D0=0A=
	class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0=0A=
	cmdreg=3D0x0117, statreg=3D0x0290, cachelnsz=3D8 (dwords)=0A=
	lattimer=3D0x48 (2160 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x38 =
(14000 ns)=0A=
	intpin=3Da, irq=3D9=0A=
	powerspec 1  supports D0 D1 D2 D3  current D0=0A=
isab0: <PCI-ISA bridge> at device 7.0 on pci0=0A=
isa0: <ISA bus> on isab0=0A=
atapci0: <Intel PIIX3 WDMA2 controller> port 0xffa0-0xffaf at device 7.1 =
on pci0=0A=
ata0: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00=0A=
ata0-master: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00=0A=
ata0-slave:  stat=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00=0A=
ata0: reset tp2 mask=3D03 stat0=3D50 stat1=3D00 devices=3D0x1<ATA_MASTER>=0A=
ata0: at 0x1f0 irq 14 on atapci0=0A=
ata0: [MPSAFE]=0A=
ata1: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D01=0A=
ata1-master: stat=3D0x10 err=3D0x01 lsb=3D0x14 msb=3D0xeb=0A=
ata1-slave:  stat=3D0x01 err=3D0x04 lsb=3D0x14 msb=3D0xeb=0A=
ata1: reset tp2 mask=3D03 stat0=3D10 stat1=3D01 =
devices=3D0x4<ATAPI_MASTER>=0A=
ata1: at 0x170 irq 15 on atapci0=0A=
ata1: [MPSAFE]=0A=
pci0: <display, VGA> at device 11.0 (no driver attached)=0A=
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xff40-0xff5f mem =
0xff800000-0xff8fffff,0xffbe7000-0xffbe7fff irq 9 at device 17.0 on pci0=0A=
fxp0: using memory space register mapping=0A=
fxp0: Ethernet address 00:a0:c9:d8:ad:58=0A=
fxp0: PCI IDs: 8086 1229 8086 0009 0005=0A=
fxp0: Dynamic Standby mode is disabled=0A=
miibus0: <MII bus> on fxp0=0A=
inphy0: <i82555 10/100 media interface> on miibus0=0A=
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A=
fxp0: bpf attached=0A=
ata: ata0 already exists; skipping it=0A=
ata: ata1 already exists; skipping it=0A=
pnpbios: 15 devices, largest 247 bytes=0A=
PNP0201: adding io range 0-0xf, size=3D0x10, align=3D0x1=0A=
PNP0201: adding io range 0x80-0x90, size=3D0x11, align=3D0x1=0A=
PNP0201: adding io range 0x94-0x9f, size=3D0xc, align=3D0x1=0A=
PNP0201: adding io range 0xc0-0xde, size=3D0x1f, align=3D0x1=0A=
PNP0201: adding io range 0x40b-0x40b, size=3D0x1, align=3D0x1=0A=
PNP0201: adding io range 0x410-0x43f, size=3D0x30, align=3D0x1=0A=
PNP0201: adding io range 0x481-0x483, size=3D0x3, align=3D0x1=0A=
PNP0201: adding io range 0x487-0x487, size=3D0x1, align=3D0x1=0A=
PNP0201: adding io range 0x489-0x48c, size=3D0x4, align=3D0x1=0A=
PNP0201: adding io range 0x4d6-0x4d6, size=3D0x1, align=3D0x1=0A=
PNP0201: adding dma mask 0x10=0A=
pnpbios: handle 1 device ID PNP0201 (0102d041)=0A=
PNP0100: adding io range 0x40-0x43, size=3D0x4, align=3D0x1=0A=
PNP0100: adding irq mask 0x1=0A=
pnpbios: handle 2 device ID PNP0100 (0001d041)=0A=
PNP0b00: adding io range 0x70-0x71, size=3D0x2, align=3D0x1=0A=
PNP0b00: adding irq mask 0x100=0A=
pnpbios: handle 3 device ID PNP0b00 (000bd041)=0A=
PNP0800: adding io range 0x61-0x61, size=3D0x1, align=3D0x1=0A=
pnpbios: handle 4 device ID PNP0800 (0008d041)=0A=
PNP0c04: adding io range 0xf0-0xff, size=3D0x10, align=3D0x1=0A=
PNP0c04: adding irq mask 0x2000=0A=
pnpbios: handle 5 device ID PNP0c04 (040cd041)=0A=
PNP0303: adding io range 0x60-0x60, size=3D0x1, align=3D0x1=0A=
PNP0303: adding io range 0x64-0x64, size=3D0x1, align=3D0x1=0A=
PNP0303: adding irq mask 0x2=0A=
pnpbios: handle 6 device ID PNP0303 (0303d041)=0A=
pnpbios: handle 7 device ID PNP0f13 (130fd041)=0A=
PNP0c01: adding fixed memory32 range 0xe8000-0xfffff, size=3D0x18000=0A=
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=3D0xa0000=0A=
PNP0c01: adding fixed memory32 range 0x100000-0x77fffff, size=3D0x7700000=0A=
PNP0c01: adding fixed memory32 range 0xfff80000-0xffffffff, =
size=3D0x80000=0A=
pnpbios: handle 8 device ID PNP0c01 (010cd041)=0A=
PNP0a03: adding io range 0xcf8-0xcff, size=3D0x8, align=3D0x1=0A=
pnpbios: handle 9 device ID PNP0a03 (030ad041)=0A=
PNP0700: adding io range 0x3f2-0x3f5, size=3D0x4, align=3D0x1=0A=
PNP0700: adding irq mask 0x40=0A=
PNP0700: adding dma mask 0x4=0A=
pnpbios: handle 10 device ID PNP0700 (0007d041)=0A=
PNP0401: adding io range 0x378-0x37f, size=3D0x8, align=3D0x1=0A=
PNP0401: adding io range 0x778-0x77f, size=3D0x8, align=3D0x1=0A=
PNP0401: adding irq mask 0x20=0A=
PNP0401: adding dma mask 0x8=0A=
pnpbios: handle 11 device ID PNP0401 (0104d041)=0A=
PNP0501: adding io range 0x3f8-0x3ff, size=3D0x8, align=3D0x1=0A=
PNP0501: adding irq mask 0x10=0A=
pnpbios: handle 12 device ID PNP0501 (0105d041)=0A=
PNP0501: adding io range 0x2f8-0x2ff, size=3D0x8, align=3D0x1=0A=
PNP0501: adding irq mask 0x8=0A=
pnpbios: handle 13 device ID PNP0501 (0105d041)=0A=
PNP0c02: adding io range 0x78-0x7f, size=3D0x8, align=3D0x1=0A=
PNP0c02: adding io range 0x2e-0x2f, size=3D0x2, align=3D0x1=0A=
pnpbios: handle 14 device ID PNP0c02 (020cd041)=0A=
Trying Read_Port at 203=0A=
Trying Read_Port at 243=0A=
Trying Read_Port at 283=0A=
Trying Read_Port at 2c3=0A=
Trying Read_Port at 303=0A=
Trying Read_Port at 343=0A=
Trying Read_Port at 383=0A=
Trying Read_Port at 3c3=0A=
sc: sc0 already exists; skipping it=0A=
vga: vga0 already exists; skipping it=0A=
isa_probe_children: disabling PnP devices=0A=
isa_probe_children: probing non-PnP devices=0A=
orm0: <Option ROMs> at iomem =
0xea000-0xebfff,0xe8000-0xe9fff,0xc0000-0xc7fff on isa0=0A=
adv0: not probed (disabled)=0A=
aha0: not probed (disabled)=0A=
aic0: not probed (disabled)=0A=
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0=0A=
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0=0A=
atkbd: the current kbd controller command byte 0065=0A=
atkbd: keyboard ID 0x41ab (2)=0A=
kbd0 at atkbd0=0A=
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000=0A=
psm0: current command byte:0065=0A=
psm0: failed to reset the aux device.=0A=
bt0: not probed (disabled)=0A=
cs0: not probed (disabled)=0A=
ed0: not probed (disabled)=0A=
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port =
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0=0A=
fdc0: FIFO enabled, 8 bytes threshold=0A=
fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0A=
fe0: not probed (disabled)=0A=
ie0: not probed (disabled)=0A=
le0: not probed (disabled)=0A=
lnc0: not probed (disabled)=0A=
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0=0A=
pcic1: not probed (disabled)=0A=
ppc0: parallel port found at 0x378=0A=
ppc0: using extended I/O port range=0A=
ppc0: ECP SPP SPP=0A=
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0=0A=
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode=0A=
ppc0: FIFO with 16/16/8 bytes threshold=0A=
ppbus0: <Parallel port bus> on ppc0=0A=
sc0: <System console> at flags 0x100 on isa0=0A=
sc0: VGA <16 virtual consoles, flags=3D0x300>=0A=
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)=0A=
sio0: irq maps: 0x21 0x31 0x21 0x21=0A=
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0=0A=
sio0: type 16550A=0A=
sio1: irq maps: 0x21 0x29 0x21 0x21=0A=
sio1 at port 0x2f8-0x2ff irq 3 on isa0=0A=
sio1: type 16550A=0A=
sio2: not probed (disabled)=0A=
sio3: not probed (disabled)=0A=
sn0: not probed (disabled)=0A=
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0A=
fb0: vga0, vga, type:VGA (5), flags:0x7007f=0A=
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000=0A=
fb0: init mode:24, bios mode:3, current mode:24=0A=
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k=0A=
VGA parameters upon power-up=0A=
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 =0A=
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 =0A=
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A=
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A=
VGA parameters in BIOS for mode 24=0A=
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 =0A=
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 =0A=
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A=
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A=
EGA/VGA parameters to be used for mode 24=0A=
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 =0A=
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 =0A=
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A=
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A=
vt0: not probed (disabled)=0A=
isa_probe_children: probing PnP devices=0A=
unknown: <PNP0201> failed to probe at port =
0x4d6,0x489-0x48c,0x487,0x481-0x483,0x410-0x43f,0x40b,0xc0-0xde,0x94-0x9f=
,0x80-0x90,0-0xf drq 4 on isa0=0A=
unknown: <PNP0800> failed to probe at port 0x61 on isa0=0A=
unknown: <PNP0303> can't assign resources (port)=0A=
unknown: <PNP0303> at port 0x60 on isa0=0A=
psmcpnp0: irq resource info is missing; assuming irq 12=0A=
psmcpnp0: <PS/2 mouse port> at irq 12 on isa0=0A=
psm0: current command byte:0065=0A=
psm0: failed to reset the aux device.=0A=
unknown: <PNP0700> can't assign resources (port)=0A=
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0=0A=
unknown: <PNP0401> can't assign resources (port)=0A=
unknown: <PNP0401> at port 0x378-0x37f on isa0=0A=
unknown: <PNP0501> can't assign resources (port)=0A=
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0=0A=
unknown: <PNP0501> can't assign resources (port)=0A=
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0=0A=
Device configuration finished.=0A=
Timecounter "TSC" frequency 332387821 Hz quality 800=0A=
Timecounters tick every 1.000 msec=0A=
lo0: bpf attached=0A=
ata1: spurious interrupt - status=3D0x01 error=3D0x04=0A=
ata0-master: pio=3D0x0c wdma=3D0x22 udma=3D0x45 cable=3D80pin=0A=
ata0-master: setting PIO4 on Intel PIIX3 chip=0A=
ata0-master: setting WDMA2 on Intel PIIX3 chip=0A=
GEOM: create disk ad0 dp=3D0xc1b62960=0A=
ad0: <WDC WD1200BB-00CAA1/17.07W17> ATA-5 disk at ata0-master=0A=
ad0: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B=0A=
ad0: 16 secs/int, 1 depth queue, WDMA2=0A=
GEOM: new disk ad0=0A=
ata1-master: pio=3D0x0c wdma=3D0x22 udma=3D0x42 cable=3D40pin=0A=
ata1-master: setting PIO4 on Intel PIIX3 chip=0A=
acd0: <CD-ROM 50X L/15> CDROM drive at ata1 as master=0A=
acd0: read 8593KB/s (8593KB/s), 128KB buffer, PIO4=0A=
acd0: Reads: CDR, CDRW, CDDA stream, packet=0A=
acd0: Writes:=0A=
acd0: Audio: play, 255 volume levels=0A=
acd0: Mechanism: ejectable tray, unlocked=0A=
acd0: Medium: no/blank disc=0A=
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):15/254/63 s:63 l:256977=0A=
[1] f:00 typ:165 s(CHS):16/0/1 e(CHS):1023/254/63 s:257040 l:21752010=0A=
[2] f:00 typ:165 s(CHS):1023/255/63 e(CHS):1023/52/63 s:22013082 =
l:212426802=0A=
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0=0A=
GEOM: Configure ad0s1, start 32256 length 131572224 end 131604479=0A=
GEOM: Configure ad0s2, start 131604480 length 11137029120 end 11268633599=0A=
GEOM: Configure ad0s3, start 11270697984 length 108762522624 end =
120033220607=0A=
GEOM: Configure ad0s1a, start 0 length 131572224 end 131572223=0A=
GEOM: Configure ad0s1c, start 0 length 131572224 end 131572223=0A=
GEOM: Configure ad0s2b, start 0 length 2147483648 end 2147483647=0A=
GEOM: Configure ad0s2c, start 0 length 11137029120 end 11137029119=0A=
GEOM: Configure ad0s2d, start 2147483648 length 1073741824 end 3221225471=0A=
GEOM: Configure ad0s2e, start 3221225472 length 1073741824 end 4294967295=0A=
GEOM: Configure ad0s3c, start 0 length 108762522624 end 108762522623=0A=
GEOM: Configure ad0s3e, start 0 length 108762522624 end 108762522623=0A=
Mounting root from ufs:/dev/ad0s1a=0A=
start_init: trying /sbin/init=0A=

------=_NextPart_000_000C_01C470DD.0F042630--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c47117$bb62fe30$132a15ac>