Thinkpad 600e interrupt storm
Understudy
list at understudy.net
Sat Mar 12 14:58:19 PST 2005
Matthew N. Dodd wrote:
> On Thu, 10 Mar 2005, Karel Miklav wrote:
>
>> tp# kldload smapi
>
>
> Right, and the kernel will display something like this if it finds it.
>
> smapi0: <SMAPI BIOS> at iomem 0xfe9a0-0xfe9bf on motherboard
> smapi0: Version: 0.83, Length: 32, Checksum: 0x43
> smapi0: Information=0x7<REAL_VM86,PROTECTED_16,PROTECTED_32>
>
>> smapi: open(/dev/smapi0, ...): No such file or directory
>> tp# mknod smapi c 0 0 <-- a wild guess
>
>
> Nope, not with DEVFS.
>
> I'm guessing that the orm(4) driver has claimed that BIOS region.
> You'll have to load the module from the loader.
>
> Add 'smapi_load="YES"' to /boot/loader.conf
>
Thanks for the help here is where I am at. I had the file untarred in
/tmp already so I just went from there.
Slacker# cd usr.sbin/smapi
Slacker# ee Makefile
I added BINDIR=/usr/sbin tot he Makefile here.
Slacker# make all install
Warning: Object directory not changed from original /tmp/usr.sbin/smapi
install -s -o root -g wheel -m 555 smapi /usr/sbin
install -o root -g wheel -m 444 smapi.8.gz /usr/share/man/man8
Slacker# kldload smapi
Slacker# kldstat
Id Refs Address Size Name
1 8 0xc0400000 42ec90 kernel
2 1 0xc1560000 4000 logo_saver.ko
3 1 0xc1573000 17000 linux.ko
4 1 0xc19d7000 3000 smapi.ko
Slacker# rehash
Slacker# smapi config serial
[Serial Port Settings]
Commands:
A/ Serial Port A Settigs
B/ Serial Port A Settigs
MWAVE/ Serial Port A Settigs
Port Enabled IRQ Address
----- -------- ---- ------------------------
A No(No) 255(4) 0x2f3d-0x2f44(0x3f8-0x3ff)
B No(No) - -
MWAVE Yes(Yes) 3(3) 0x2f8-0x2ff(0x2f8-0x2ff)
Note: CMOS settings appear inside of ().
Slacker# rehash
Slacker#
Oaky my question is this do I do this:
mknod smapi c 0 0 <-- a wild guess
or go for another step like
Add 'smapi_load="YES"' to /boot/loader.conf ?
Sincerely,
Brendhan
More information about the freebsd-mobile
mailing list