Theo wrote:
> Hi there, i was searching info on installing openBSD on the x41 when i saw  
> your 
> reply in an  
> mailinggroup(http://www.mail-archive.com/misc@openbsd.org/msg09090.html). I 
> am 
> wondering if you know if this is going to be possible, I just got the feeling 
> from the message that you are trying to getting it work properly. I apologise 
>  
> if  I am wasting your time, but it would make me so happy if I finally got an 
> answer to this.

No problem.  I've indeed installed OpenBSD on my X41, but the results
aren't completely satisfactory.  All in all, most hardware gets
detected properly, but a few problems remain:

- The Broadcom ethernet interface sometimes has problems coming up or
down.  This depends a bit on the type of switch or hub you connect it
to.  I'm still investigating the driver, to see what's wrong with it,
since e.g. Windows XP and Linux 2.6.x have no problems with the card.
Most of the time, if I manually up the interface after logging in, it
works ok.

- The Intel wireless interface gets detected, but since I have no
wireless basestation at home (yet), I can't really test it.  Also, you
need to have some extra proprietary firmware for it, which you need to
download from sourceforge.  It's not clear which files are needed,
since the names in the manpage don't match those on sourceforge.

- I can only get X.org working in vesa mode, which works okay, but
rather slow, of course.  The X.org i810 should work too, but it always
crashes with a garbled screen, and some fatal errors in the log file:

...
(WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy)
...
(WW) I810(0): xf86AllocateGARTMemory: allocation of 1 pages failed
        (Cannot allocate memory)
(EE) I810(0): Failed to allocate HW cursor space.
(WW) I810(0): xf86AllocateGARTMemory: allocation of 4 pages failed
        (Cannot allocate memory)
(EE) I810(0): Failed to allocate HW (ARGB) cursor space.
(WW) I810(0): xf86AllocateGARTMemory: allocation of 1 pages failed
        (Cannot allocate memory)
(EE) I810(0): Failed to allocate Overlay register space.
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xfff0000
(WW) I810(0): Disabling HW cursor because the cursor memory allocation
failed.
(WW) I810(0): Disabling Xv because the overlay register buffer
allocation failed.
...
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x007bf000 (pgoffset 1983)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x0fff0000 (pgoffset
65520)
(WW) I810(0): xf86BindGARTMemory: binding of gart memory with key 4
        at offset 0xfff0000 failed (Invalid argument)

This is rather strange, since it works fine under Linux, even with
exactly the same version of X.org (6.8.2)!

As for the rest, everything works except the more or less proprietary
devices in the machine, e.g:

- The accelerometer (aka "Active Protection System") can be read
through the hw.sensors sysctls:

$ sysctl hw.sensors
hw.sensors.0=aps0, X_ACCEL, raw, 439
hw.sensors.1=aps0, Y_ACCEL, raw, 433
hw.sensors.2=aps0, X_VAR, raw, 439
hw.sensors.3=aps0, Y_VAR, raw, 433
hw.sensors.4=aps0, Temp1, temp, 33.00 degC / 91.40 degF
hw.sensors.5=aps0, Temp2, temp, 33.00 degC / 91.40 degF
hw.sensors.6=aps0, KBD_ACT, raw, 0
hw.sensors.7=aps0, MS_ACT, raw, 0
hw.sensors.8=aps0, LID_OPEN, raw, 1
hw.sensors.9=aps0, unknown, raw, 7

but I haven't really looked around yet for a program that actually
does something with this data.

- The fingerprint reader, which is recognized as a ugen(4) device.  I
have no idea whether there is any publicly available spec to
communicate with it.  Would be nice to have, but not critical of course.

- The TPM (aka Fritz chip), which should be somewhere under the Intel
82801FBM LPC controller, is simply not reported anywhere.  I also have
no idea if there's any spec for this thing.  Would be nice to store
some private keys in. ;)

For your reference, here's a dmesg of a GENERIC kernel built from
-current CVS:

OpenBSD 3.8-current (GENERIC) #0: Tue Oct 18 12:43:55 CEST 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel"
686-class) 599 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 600 MHz (988 mV): speeds: 1500, 1200, 1000,
800, 600 MHz
real mem  = 1600561152 (1563048K)
avail mem = 1453129728 (1419072K)
using 4278 buffers containing 80130048 bytes (78252K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(24) BIOS, date 08/09/05, BIOS32 rev. 0 @
0xfd750
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 63%
apm0: AC off, battery charge high, estimated 2:23 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xe800! 0xdc000/0x4000! 0xe0000/0x10000
ipmi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82915GM/GMS Video" rev 0x03:
aperture at 0xa0080000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82915GM/GMS Video" rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci1 at ppb0 bus 1
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1
(0x4101): irq 11 address 00:0a:e4:37:25:5d
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
vendor "Ricoh", unknown product 0x0822 (class system unknown subclass
0x05, rev 0x13) at pci2 dev 0 function 1 not configured
iwi0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2915ABG" rev 0x05:
irq 11, address 00:13:ce:37:62:37
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq
11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM IDE" rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426040G9AT00>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
"Intel 82801FB SMBus" rev 0x03 at pci0 dev 31 function 3 not configured
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
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask eff5 netmask eff5 ttymask fff7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ugen0 at uhub2 port 2
ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Cheers,
Dimitry

Reply via email to