Re: 2.1.20 -- oops in reboot

Richard B. Johnson (root@analogic.com)
Fri, 3 Jan 1997 09:30:29 -0500 (EST)


On Fri, 3 Jan 1997, Morgan Sarges wrote:

> Pete Clements wrote:
> >
> > 2.1.20 generates the following oops on shutdown (hand copied from screen)
> > Intel 486DX2/66
[SNIPPED]
> --
Reboot patch is available (repeated here):

================================================
--- arch/i386/kernel/process.c. Thu Jan 2 11:12:19 1997
+++ arch/i386/kernel/process.c.new Thu Jan 2 12:53:21 1997
@@ -283,9 +283,7 @@

if(!reboot_thru_bios) {
sti();
- /* rebooting needs to touch the page at absolute addr 0 */
- pg0[0] = 7;
- *((unsigned short *)0x472) = reboot_mode;
+ *((unsigned short *)__va(0x472)) = reboot_mode;
for (;;) {
int i;
for (i=0; i<100; i++) {

================================================

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.20 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-