Re: How do I do a COLD Reboot on FreeBSD?

From: Billy Newsom (billy_at_nlcc.us)
Date: 01/31/05

  • Next message: Gert Cuykens: "Re: fsck"
    Date: Mon, 31 Jan 2005 09:04:00 -0600
    To: freebsd-questions@freebsd.org
    
    

    Oliver Leitner wrote:
    > I am not completely sure...
    >
    > but from what i know bout a COLD Reboot:
    >
    > just unplug the power cable.
    >
    > that exactly does what a COLD Reboot does.
    >
    Yep, you are techically right, but of course, I asked how to do this from the
    operating system, in this case FreeBSD. Many "diagnostic disks" and ROM
    burning floppy disks do a cold reset from software, just as some examples.
    This code is available, but I need to do this remotely, from 3000 miles away,
    or tell someone how to do it over the phone, or write it on a napkin glued to
    the monitor (aka "sticky note") for a clueless user who happens to be near
    the box, etc.

    And personally, I would rather not disengage the power cord.

    The target "look and feel" will be to type "rebootme" and see the video card
    BIOS screen, followed by memory counting, etc. and the POST. Right now,
    typing reboot eventually just crashes the system after the CPU's are halted.
      I will probably need to hack the kernel source to do the disk syncing and
    other stuff which shutdown/reboot do.

    Billy

    > On Monday 31 January 2005 15:31, Billy Newsom wrote:
    >
    >>I need to do a cold restart. I've looked through a lot of docs, and I
    >>can't seem to find this out. The computer I am working with seems to no
    >>longer enjoy a warm reboot (like "shutdown -r now" or "reboot") but I'm
    >>pretty sure it will do cold reboots fine. Is there a port, or is the
    >>shutdown command hackable for this, or what?
    >>
    >>I remember many computers in bygone years which had this problem. It was
    >>pretty common back in the 90's it seems like. Computers would reboot and
    >>act weird using CTRL-ALT-DELETE, but work fine when powered off and on.
    >>
    >>The computer I've got actually fails a memory test during the warm reboot.
    >>This freezes it. I have to power cycle the machine. And then, the
    >>computer performs a warm restart, bypassing its memory checks! One more
    >>power cycle laster, it will boot normally. If I don't do this last reboot,
    >>the FreeBSD boot loader or the beginning of the kernel boot crashes very
    >>early. It's stable otherwise on a cold reboot.
    >>
    >>Thanks,
    >>Billy
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Gert Cuykens: "Re: fsck"

    Relevant Pages

    • Re: HP 4100N
      ... Tried restart, reboot, cold reboot etc. ... Try (with power off) removing the EIO card and all of the DIMM's ... power on (you may have no display) and try an engine test. ...
      (microsoft.public.windowsxp.print_fax)
    • Re: How do I do a COLD Reboot on FreeBSD?
      ... that exactly does what a COLD Reboot does. ... I have to power cycle the machine. ... > power cycle laster, it will boot normally. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: System Prob or Virus?
      ... A problem such as you describe is often caused by a heat issue or a problem ... with the PC's power supply. ... > Something strange just started happening to my XP Home system (AMDXP ... > off the power, then cold reboot. ...
      (microsoft.public.windowsxp.basics)
    • Re: How do I do a COLD Reboot on FreeBSD?
      ... > a boot all the way up from a powered off machine as far as I know. ... Windows uses a cold reboot, for example, when you ... FreeBSD does a warm reboot using the ... That is called a power ...
      (freebsd-questions)
    • Re: ata2: SATA link down (SStatus 611 SControl 300)
      ... With the previous patch applied, do cold reboot. ... If possible turn off the master switch on the power ... What ten secs. Boot and see if anything is different. ...
      (Linux-Kernel)