Linux rebooting problem...

Linux rebooting problem...

Post by WARNER BR » Sat, 16 Sep 1995 04:00:00



I have a problem with Linux rebooting itself at various points.  Sometimes it
would reboot right before the Parallelizing Check, sometimes during (because it
rebooted during the previous session so the drive has to be re-sync-ed), and
other times during use, either in Linux or X-Windows.  Can anyone help me out
w/ these strange reboot (shutdown) problems?  Thanks.

-----------------------------
| Warner Wang               |
-----------------------------

-----------------------------

 
 
 

1. Linux Reboot Problem

I've recently installed Linux (Slackware 3.0 distribution) on my 486.  I have run
into a strange problem.  When performing a reboot, shutdown -r, or CTRL-ALT-DEL,
Linux goes through all the motions of shutting down (syncs the disk, unmounts file
systems, etc...) just fine.  BUT when it gets to the point of actually rebooting
the PC, it just sits there.  Nothing happens.  I must then hit the hardware reset
button to get it to turn over.

I can get the PC to reboot just fine under DOS.  Int 19 works and so does writing
1234h to 40:72 and then jmp'ing to FFFF:0.  Win95 even has no problem rebooting
the machine (surprise!!!  Win95 can do it and Linux can't!  Arg!!).

I'm pretty well versed in UN*X from a user stand point.  This is my first
experience with admin type stuff.  I also consider my self a compitent C
programmer (EXTREMELY limit assembly, though).  I decided to delve into the
problem and see how it is supposed to work.  From what I can tell this is what
happens (correct me if I am wrong, please!):

Whatever program has been asked to reboot the machine (init, halt, reboot--link to
halt, shutdown, whatever...) calls the reboot() system call (unistd.h).  Reboot()
then (if all the inputs are correct) calls hard_reset_now() (kernel function--see
process.c of the kernel source).  Hard_reset_now() is the little bugger that is
supposed to reboot the machine.

I spent a few of hours trying to decipher what/how hard_reset_now() does/works,
but to no avail.  I just don't have enough of an assembly background to figure it
out.

Has anyone out there ever seen this problem before?  Does anyone out there know of
a fix?  I would be extremely greatful for ANY help on this.

...............................................................................
  ___
 /   \                |
|                     |              "Elephant: A mouse built to
|    __               |                         government specifications"
|     | arrick   |    | ames
 \___/            \__/


...............................................................................

2. Reading is much more interesting than TV (0285/1708)

3. Headless Linux reboot problem

4. Large Kernel

5. Linux reboot problem !!

6. Problem Compiling Apache 1.2.6

7. Linux Reboot Problem

8. delayed logins

9. reboot error reboot error reboot error

10. Compaq 6000 reboots and reboots and reboots

11. reboot &c should chdir("/") (Re: Problem with reboot and umount)

12. Linux SHUTDOWN/REBOOT problem, help!

13. Problems rebooting from linux to windows...