LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-17-2003, 09:24 AM   #1
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Rep: Reputation: 15
Question How to set "restart after power loss" ?


System:
Yellowdog LinuxPPC 2.1
Blue & White G3 Macintosh

Simple enough question... how, or where do I set the bit to automatically boot the machine in the event of a power loss?

I know this is possible on this particular machine, as when it ran with MacOS8.6, it had a control panel where you set it (and it worked too).

However since the MacOS is LONG GONE on this machine, formatted to be a server now with YDL2.1 ... the machine does not reboot after power loss.

Any ideas gurus o' de machinas?
 
Old 01-17-2003, 09:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well surely that could only ever be in the BIOS somewhere....
 
Old 01-18-2003, 10:40 PM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally posted by acid_kewpie
well surely that could only ever be in the BIOS somewhere....
Just about every INTEL user knows that. In the MAC world, it is slightly different. The setting could be well hiddent in the OS. If there is a way to enter into the BIOS of the MAC then you can try it that way.

Its not good to instantly turn on a system after it had shutdown. The read and write heads can scratch the platters.
 
Old 01-19-2003, 12:51 AM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
Macs have no BIOS (per se), it's a different world, the PRAM needs
to be modified. . .
After a few minutes of googling, this is the best I could do:
http://lists.linuxppc.org/linuxppc-u.../msg01454.html
It may be G4 specific, but it may not be, and there's bound to be
something similar for the G3. You might check out the source code,
look for something in /usr/src/linux/include/asm (which should be a
symlink to your /usr/src/linux/include/asm-arch).
 
Old 01-23-2003, 08:39 AM   #5
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Original Poster
Rep: Reputation: 15
Thanks, but on that post you linked too, I cannot figure out what to do with this command:

"3. I set the Open Firmware variable boot-command to:
begin ['] boot catch 1000 ms cr again"


"begin" is not a known linux command.

So I am lost there. In LinuxPPC YDL2.1 there are no asm files that are referred too in that post as well, so I am not sure if this will work, and I am not about to go trying to set every other bit in the CUDA chip to find out what works and what doesnt =) Hehehe.

Thanks anyhow.
 
Old 01-30-2004, 12:39 PM   #6
Malfredious
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Question Bind 9 lame server resolving

ifm,

You mention you found the problem to your post:

A typical log entry:
Jul 2 00:00:06 xxxxxxxx named[21481]: lame server resolving 'xxxxxxxxxxxxx.com' (in 'xxxxxxxxxxxxxx.COM'?): xxx.xxx.xxx.xxx#53


After searching I've been unsuccessful. Could you share your solution?

We are having certain zones corrupt because the entries are filling our logs and crashing the server.

Thanks,
Malfredious
 
Old 01-30-2004, 03:10 PM   #7
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Better idea:
UPS!
 
Old 01-31-2004, 01:30 AM   #8
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
Quote:
Originally posted by ifm
Thanks, but on that post you linked too, I cannot figure out what to do with this command:

"3. I set the Open Firmware variable boot-command to:
begin ['] boot catch 1000 ms cr again"


"begin" is not a known linux command.
No, begin is a command for the Open Firmware. You can get to the OF by doing something
like:
cmd-option-o-f
You would then enter the above command and continue one. . . I recommend you read the FAQs here:

http://lppcfom.sourceforge.net/fom-serve/cache/1.html


Quote:
So I am lost there. In LinuxPPC YDL2.1 there are no asm files that are referred too in that post as well, so I am not sure if this will work, and I am not about to go trying to set every other bit in the CUDA chip to find out what works and what doesnt =) Hehehe.

Thanks anyhow.
The asm.h file is included with kernel source code, so if that's not installed, you wouldn't have it.

However, you don't really need it, since, assuming you have the same architecture as the guy in the post, you SHOULD be able just to set that bit in the /dev/adb device (using the commands shown on the website) and reboot. You may not even need to mess with the Open Firmware.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "cannot set groups" by using "su -", pls help nelsonyuen Linux - General 14 07-31-2010 01:24 PM
How to set the size of icons for "Starterbar" in "Gdekslets" Blue Jacket Linux - Software 4 11-23-2005 03:42 AM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 01:07 PM
ReiserFS stuck at "Checking transaction log" after power loss zaufe Linux - Hardware 2 06-25-2004 09:44 PM
Gnome 1.4: howto set ATX-shutdown/restart support in the "logout"-dialog? Debianewb Linux - Software 1 11-08-2002 08:36 AM


All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration