Date: Thu, 06 Mar 2003 10:15:17 -0300 From: "Daniel C. Sobral" <dcs@tcoip.com.br> To: walt <wa1ter@myrealbox.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Disaster strikes... Message-ID: <3E6749E5.9030905@tcoip.com.br> In-Reply-To: <3E63FEE1.2020805@myrealbox.com> References: <3E63FEE1.2020805@myrealbox.com>
index | next in thread | previous in thread | raw e-mail
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: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E6749E5.9030905>
