I've installed the November, 27 snapshot on an Averatec 3250HX-01
with an Athlon XP-M processor and KM400 chipset. APM does not work,
nor does ACPI, EHCI, or CPU throttling. Continued...
OpenBSD 3.8-current (GENERIC) #274: Sun Nov 27 12:59:22 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP-M (LV) 2200+ ("AuthenticAMD" 686-class, 512KB L2
cache) 1.66 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS FID VID
real mem = 502833152 (491048K)
avail mem = 451805184 (441216K)
using 4278 buffers containing 25243648 bytes (24652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/04/04, BIOS32 rev. 0 @ 0xfdb30
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf79f0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc200 0xcca00/0x1800 0xe0000/0x1000
cpu0 at mainbus0
esm at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA VT8378 VGA" rev 0x01: aperture at
0xd8000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ral0 at pci0 dev 9 function 0 "Ralink RT2560" rev 0x01: irq 11, address
00:11:09:ae:c9:3b
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
cbb0 at pci0 dev 10 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x20: irq 10
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin A
: couldn't map interrupt
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin B
: couldn't map interrupt
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin C
: couldn't map interrupt
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82pci_intr_map: no
mapping for pin D
: couldn't map interrupt
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N080ATMR04-0>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QSI, DVD+-RW SDW-082S, LX06> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 10
ac97: codec id 0x56494161 (VIA Technologies VT1612A)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
"VIA VT82C686 Modem" rev 0x80 at pci0 dev 17 function 6 not configured
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address
00:40:45:25:f2:8c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x000008,
model 0x4063
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask e7fd netmask effd ttymask ffff
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
I made these changes to /usr/src/sys:
Index: powernow-k7.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/powernow-k7.c,v
retrieving revision 1.8
diff -u -r1.8 powernow-k7.c
--- powernow-k7.c 26 Nov 2005 11:22:12 -0000 1.8
+++ powernow-k7.c 28 Nov 2005 19:25:15 -0000
@@ -304,8 +304,11 @@
p += sizeof(struct psb_s);
- for (maxpst = 0; maxpst < 200; maxpst++) {
+ for (maxpst = 0; maxpst < 1; maxpst++) {
pst = (struct pst_s*) p;
+
+ printf("cpusig: %x\npstsig: %x\n",
+ cpusig, pst->signature);
if (cpusig == pst->signature && fid == pst->fid
&& vid == pst->vid) {
--- GENERIC Mon Nov 28 12:13:35 2005
+++ ACPI Mon Nov 28 14:08:59 2005
@@ -58,13 +58,13 @@
eisa0 at mainbus0
pci* at mainbus0
-#acpi0 at mainbus?
-#acpitimer* at acpi?
-#hpet* at acpi?
+acpi0 at mainbus?
+acpitimer* at acpi?
+hpet* at acpi?
option ACPIVERBOSE
-#option ACPI_ENABLE
+option ACPI_ENABLE
option PCIVERBOSE
option EISAVERBOSE
Which brought me to this dmesg:
OpenBSD 3.8-current (ACPI) #1: Mon Nov 28 14:21:56 EST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ACPI
cpu0: mobile AMD Athlon(tm) XP-M (LV) 2200+ ("AuthenticAMD" 686-class, 512KB L2
cache) 1.66 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS FID VID
cpusig: 6a0
pstsig: 7a0
real mem = 502833152 (491048K)
avail mem = 451846144 (441256K)
using 4278 buffers containing 25243648 bytes (24652K) of memory
mainbus0 (root)
acpi0 at mainbus0: revision 0 attached
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
bios0 at mainbus0: AT/286+(00) BIOS, date 08/04/04, BIOS32 rev. 0 @ 0xfdb30
apm0 at bios0: Power Management spec V1.2
apm0: APM engage (device 1): No APM present (134)
apm0: APM get power status: No APM present (134)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf79f0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc200 0xcca00/0x1800 0xe0000/0x1000
cpu0 at mainbus0
esm at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA VT8378 VGA" rev 0x01: aperture at
0xd8000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ral0 at pci0 dev 9 function 0 "Ralink RT2560" rev 0x01: irq 11, address
00:11:09:ae:c9:3b
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
cbb0 at pci0 dev 10 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x20: irq 10
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin A
: couldn't map interrupt
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin B
: couldn't map interrupt
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80pci_intr_map: no
mapping for pin C
: couldn't map interrupt
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82pci_intr_map: no
mapping for pin D
: couldn't map interrupt
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N080ATMR04-0>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QSI, DVD+-RW SDW-082S, LX06> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 10
ac97: codec id 0x56494161 (VIA Technologies VT1612A)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
"VIA VT82C686 Modem" rev 0x80 at pci0 dev 17 function 6 not configured
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address
00:40:45:25:f2:8c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x000008,
model 0x4063
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask e5fd netmask edfd ttymask ffff
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Dmesg reports FID and VID, yet ``sysctl hw.setperf'' reports ``value
is not available.'' I think the source is telling me that the BIOS
and the kernel disagree on which CPU is installed, (cpusig !=
pst->signature). This is no surprise as the BIOS is the worst I've
ever seen.
I would love to donate this laptop to the cause but am too poor to
buy another, so I'll limit my offer to network access and a case
of beer if someone can get this stuff working.