Hi again,

I tried to run the kernel from the CVS, it seems to have acpi patches
applied. It compiled just fine, but it causes more problems than it
fixes... There's the list of new problems:

- For some reason, when booting the new kernel, it freezes just before
  detecting the cd drive. Taking the drive out fixes that.

- Wireless nic won't attach with error "failed to resume the AR5212",
  see dmesg for details, its dev name is ath0. The laptop has wireless
  switch, which is supposed to hardware-disable bluetooth and wifi, and
  I'm pretty sure it's implemented through acpi. Under linux, it has no
  effect for the wireless card status, but the indicator does change.
  When booting OpenBSD, even if it was "on" before, it switches off.
  That's probably the reason why the nic isn't seen - it's disabled
  through acpi.

- The marvell nic that caused problem with the original kernel isn't
  even detected.

As I mentioned before, this is on the Fujitsu laptop with a lot of
non-standard features that are accessed through acpi, so it might very
well be that all or some of the problems are specific to this laptop.

Any advice is highly appreciated.

Thanks.




Config I used to build the kernel:
--------------------------------
include "arch/i386/conf/GENERIC"

option          MULTIPROCESSOR  # Multiple processor support
option          MPVERBOSE

cpu*            at mainbus?
ioapic*         at mainbus?

option          ACPIVERBOSE
option          ACPI_ENABLE

acpi0           at mainbus?
acpitimer*      at acpi?
acpihpet*       at acpi?
acpiac*         at acpi?
acpibat*        at acpi?
acpibtn*        at acpi?
acpicpu*        at acpi?
acpiec*         at acpi?
acpitz*         at acpi?
acpimadt*       at acpi?
acpiprt*        at acpi?
--------------------------------

================= dmesg ====================
OpenBSD 4.0-current (GENERIC.ACPI) #1: Sun Nov 19 13:46:39 EST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.ACPI
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
real mem  = 526217216 (513884K)
avail mem = 471887872 (460828K)
using 4256 buffers containing 26435584 bytes (25816K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7c) BIOS, date 05/10/06, BIOS32 rev. 0 @ 0xfdc74, 
SMBIOS rev. 2.4 @ 0xe5860 (53 entries)
bios0: FUJITSU LifeBook T4210
pcibios0: pcibios_get_status - function not supported
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xe600! 0xce800/0x1000 0xcfa00/0x1000 0xdc000/0x1c00!
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP MCFG SSDT SSDT APIC HPET BOOT 
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
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat
LAPIC: acpi_proc_id 0, apic_id 0, flags 0x1
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: calibrating local timer
cpu0: apic clock running at 166 MHz
cpu0: kstack at 0xe7de6000 for 8192 bytes
cpu0: idle pcb at 0xe7de6000, idle sp at 0xe7de7f98
LAPIC: acpi_proc_id 1, apic_id 1, flags 0x1
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
cpu1: kstack at 0xe7de8000 for 8192 bytes
cpu1: idle pcb at 0xe7de8000, idle sp at 0xe7de9f98
IOAPIC: acpi_ioapic_id 2, address 0xfec00000, global_int_base 0x0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, virtual wire mode, version 20, 24 
pins
apic_type 4
apic_type 4
OVERRIDE: bus 0, source 0, global_int 2, flags 5
OVERRIDE: bus 0, source 9, global_int 9, flags d
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpi device at acpi0 from table BOOT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 8 (PCIB)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 5 (RP03)
acpiec0 at acpi0: EC__
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: CMB1: model: CP293420 serial: 1 type: LION oem: Fujitsu
acpibat1 at acpi0: CMB2: model: CP293420 serial: 2 type: LION oem: Fujitsu
acpitz0 at acpi0, critical temperature: 100 degC
acpitz1 at acpi0, critical temperature: 100 degC
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture at 
0xf0300000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2 int 
17 (irq 11)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x8384 (rev. 2.1), HDA version 1.0
azalia0: codec: 0x04x/0x11c1 (rev. 2.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 5
ath0 at pci3 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 2 int 18 (irq 11)
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
ath0: unable to attach hardware; HAL status 22
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 23 
(irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 20 
(irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18 
(irq 11)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 16 
(irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 23 
(irq 11)
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 8
cbb0 at pci4 dev 3 function 0 "O2 Micro OZ711MP1 CardBus" rev 0x20: apic 2 int 
16 (irq 11)
cbb1 at pci4 dev 3 function 1 "O2 Micro OZ711MP1 CardBus" rev 0x20pci_intr_map: 
no mapping for pin A
: couldn't map interrupt
sdhc0 at pci4 dev 3 function 2 "O2 Micro OZ711MP1 SDHC" rev 0x00: apic 2 int 16 
(irq 11)
sdmmc0 at sdhc0
"O2 Micro OZ711MP1 XDHC" rev 0x00 at pci4 dev 3 function 3 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 9 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02: DMA, 
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <FUJITSU MHV2080BH PL>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 2 int 19 
(irq 11)
iic0 at ichiic0
isa0 at ichpcib0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fdff netmask fdff ttymask ffff
ioapic0: enabling
ioapic0: int0 0x10100 0x0
ioapic0: int1 0x70 0x0
ioapic0: int2 0x10100 0x0
ioapic0: int3 0x10100 0x0
ioapic0: int4 0x10100 0x0
ioapic0: int5 0x10100 0x0
ioapic0: int6 0x10100 0x0
ioapic0: int7 0x10100 0x0
ioapic0: int8 0x10100 0x0
ioapic0: int9 0x18100 0x0
ioapic0: int10 0x10100 0x0
ioapic0: int11 0x10100 0x0
ioapic0: int12 0x71 0x0
ioapic0: int13 0x10100 0x0
ioapic0: int14 0x10100 0x0
ioapic0: int15 0x10100 0x0
ioapic0: int16 0xa040 0x0
ioapic0: int17 0xf090 0x0
ioapic0: int18 0xa041 0x0
ioapic0: int19 0xa042 0x0
ioapic0: int20 0xa043 0x0
ioapic0: int21 0x1a100 0x0
ioapic0: int22 0x1a100 0x0
ioapic0: int23 0xb044 0x0
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub4 port 1 configuration 1 interface 0
umass0: LEXAR MEDIA JUMPDRIVE TRAVELER, rev 2.00/20.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <LEXAR, JUMPDRIVE TRAVEL, 2000> SCSI0 0/direct 
removable
sd0: 493MB, 493 cyl, 64 head, 32 sec, 512 bytes/sec, 1010784 sec total
ugen0 at uhub2 port 2
ugen0: AuthenTec Fingerprint Sensor, rev 1.10/6.21, addr 2
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: sd0 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
cpu1: starting, init idle stack ptr is 0xe7de9f98
cpu1: CPU at apid 1 running

Reply via email to