walt wrote:

After cvsup'ing just now I cannot reboot -CURRENT either with the new
kernel or the old kernel.

The new kernel panics instantly on boot, and the old kernel halts
with multiple messages about ACPI, so I'm stuck with an unbootable
machine.

What is the command to disable acpi at the boot prompt?  I tried
'toggle-module acpi' with no luck.

Let me take this opportunity to mention that I think the whole way the acpi thing was done is wrong.


ACPI module is not loaded by loader.4th, in the frame of /boot/loader.conf, /boot/defaults/loader.conf. It's special cased inside the kernel and/or loader (I'm not sure which), and it _happens_ to use acpi_load as a name for it's environment variable.

Now, the problem is that, presently, none of the module stuff is kept on environment variables. At the time I wrote it, Forth stuff just didn't have any access to environment variables, so I had to create my own namespace. The acpi_load variable, though, _is_ kept in the environment variable namespace, and should be unset _there_. Thus, toggle-module, disable-module and enable-module none have the desired effect. For acpi, and acpi only, unset acpi_load is the correct way of doing. For all the other modules, the ones in set in /boot/loader.conf, disable-module would be correct, and "unset" _won't_ work.

Alas, I am rewrite this, and the new version will keep all data in environment variables, so both unset and toggle/disable-module will work for all of them. Good thing I'm seeing so many messages on this particular subject today, as it's renewing my motivation for this project.

--
Daniel C. Sobral
Gerência de Operações
Divisão de Comunicação de Dados
Coordenação de Segurança
TCO
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: [EMAIL PROTECTED]
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to