Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 17:58:05 -0500
From:      Understudy <list@understudy.net>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Thinkpad 600e interrupt storm
Message-ID:  <423373FD.5000506@understudy.net>
In-Reply-To: <20050310162340.Q63068@sasami.jurai.net>
References:  <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> <20050310162340.Q63068@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423373FD.5000506>