funny behaviour of config /bsd

2007-01-20 Thread Vim Visual

Hi,

After a fresh install of o'bsd I am trying to enable ACPI on my laptop
but something is funny...

Setting enable acpi after config /bsd doesn't modify anything

Just in case of, here you are the steps I follow:

export [EMAIL PROTECTED]:/cvs
cd /usr; cvs checkout -P src/sys

sudo config -e -o /bsd.new /bsd

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  Enter 'help' for information
  ukc enable acpi

  and that's it

  ukc quit
  Kernel not modified

 I was expecting a 385 acpi0 enabled ??!!! find acpi also yields nothing...

The next steps would be...

cd /usr/src/sys/arch/i386/conf
config GENERIC
cd ../compile/GENERIC
make clean  make depend  make
 [...lots of output...]
make install
rm /var/run/dmesg.boot

Any hint?

In any case thanks for you attention,

Pau



Re: funny behaviour of config /bsd

2007-01-20 Thread Henning Brauer
* Vim Visual [EMAIL PROTECTED] [2007-01-20 15:55]:
 Setting enable acpi after config /bsd doesn't modify anything
 
 OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006

that is 4.0, not -current ...

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: funny behaviour of config /bsd

2007-01-20 Thread Jim Razmus
* Vim Visual [EMAIL PROTECTED] [070120 09:55]:
 Hi,
 
 After a fresh install of o'bsd I am trying to enable ACPI on my laptop
 but something is funny...
 
 Setting enable acpi after config /bsd doesn't modify anything
 
 Just in case of, here you are the steps I follow:
 
 export [EMAIL PROTECTED]:/cvs
 cd /usr; cvs checkout -P src/sys

Did you build a new kernel here?

 
 sudo config -e -o /bsd.new /bsd
 
 OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006

This line tells me no.  And/or your not operating on it.

   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
   Enter 'help' for information
   ukc enable acpi
 
   and that's it
 
   ukc quit
   Kernel not modified
 
  I was expecting a 385 acpi0 enabled ??!!! find acpi also yields 
  nothing...
 
 The next steps would be...
 
 cd /usr/src/sys/arch/i386/conf
 config GENERIC
 cd ../compile/GENERIC
 make clean  make depend  make
  [...lots of output...]
 make install
 rm /var/run/dmesg.boot
 

This should have taken place above where ask about building a new
kernel.

1. You want to build a new kernel using current source.
2. Install it as per the FAQ on building your own kernel.
3. Then try enabling acpi.

 Any hint?
 
 In any case thanks for you attention,
 
 Pau
 

HTH,
Jim



Re: funny behaviour of config /bsd

2007-01-20 Thread Miod Vallat
 OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
  ^^^

You're operating on a 4.0 release kernel; these don't have acpi code
compiled in.

   ukc enable acpi
 
   and that's it

A kernel with acpi would reply with a message like
385 acpi0 enabled

Miod



Re: funny behaviour of config /bsd

2007-01-20 Thread Stuart Henderson
On 2007/01/20 15:44, Vim Visual wrote:
 After a fresh install of o'bsd I am trying to enable ACPI on my laptop
 but something is funny...
 
 Setting enable acpi after config /bsd doesn't modify anything

 OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
   Enter 'help' for information
   ukc enable acpi

that is a 4.0 release kernel, acpi is not compiled-in, so there's
nothing to enable.

 export [EMAIL PROTECTED]:/cvs
 cd /usr; cvs checkout -P src/sys

don't do that, install a snapshot instead.
you can do a source build after you've installed a snapshot.