Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Sun Jun 24, 2018 6:54 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: kuro-initscripts
PostPosted: Sat Mar 04, 2006 11:27 pm 
Offline

Joined: Fri Feb 17, 2006 10:14 pm
Posts: 40
Yay! I finally have a proper kuro-initscripts put together. This allows proper shutdown/reboot and the system now pays attention to the power button. if you press the power button twice quickly the machine will reboot, if you hold the button in long it will shutdown.

A lot of the actual work was lifted from the Gentoo scripts but it needed to be packaged differently for Fedora.

This is the one package available via the kuro yum repo. To install it please install the following rpm:

Code:
rpm -ivh http://kurobox.com/fedora/4/ppc/RPMS.kuro/kuro-release-4-0.kuro.2.noarch.rpm


After you have the kuro yum repo you can use yum to install kuro-initscripts:

Code:
yum install kuro-initscripts


Its late now.. I only tested reboot, I didn't test shutdown. If anybody finds any issues please let me know.

Thanks!


Top
   
 Post subject: Work Great
PostPosted: Tue Mar 07, 2006 10:49 am 
Offline

Joined: Fri Mar 03, 2006 6:55 am
Posts: 19
I have installed these on my Kuro, and the shutdown works flawlessly.
After about 5-7 seconds, it starts the poweroff sequence. Excellent work!
Thanks.

_________________
----------------------------------------------
Brand new Kuro still in the box!


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 6:33 am 
Offline

Joined: Thu Dec 29, 2005 9:31 pm
Posts: 12
Awesome. It works.

Pressing the button will generate these in syslog
Mar 11 07:29:49 localhost kuroevtd[1303]: power button down

Press it down for ~5-6 secs, you will see
Mar 11 07:29:53 localhost kuroevtd[1303]: power button press
Mar 11 07:29:53 localhost shutdown: shutting down for system halt
Mar 11 07:29:53 localhost init: Switching to runlevel: 0

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fat 300GB drive Kuro running everything I need


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 9:03 am 
Offline

Joined: Fri Feb 17, 2006 10:14 pm
Posts: 40
btw - last night I updated the rpms to allow the reset button into EM to work. Now if you hold the back reset button for about 6 secs it will reboot into EM. I like to do a full tar from EM of my system. Makes sure everything is in a good state for backup. :-)

of course those who have the kuro-release file installed should just be able to yum upgrade to get the update..

working on making the kernel a kuro-kernel package which obsoletes kernel. Should make upgardes easier and will keep us from installing the fedora kernel when its not needed.


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 9:44 am 
Offline

Joined: Sun Jan 29, 2006 9:24 am
Posts: 8
Location: NH
Good morning...

I must have missed something. I installed the updated RPM, and found that it installs the "write_ng" and "write_ok" scripts, which in turn appear to rely on mtdblock3. I assume that this is identical to /dev/fl3? If so, are the major/minor block numbers the same?


Eliot

_________________
Lack Of planning on your part does not constitute an Emergency on my part


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 9:57 am 
Offline

Joined: Fri Feb 17, 2006 10:14 pm
Posts: 40
elebsack wrote:
Good morning...

I must have missed something. I installed the updated RPM, and found that it installs the "write_ng" and "write_ok" scripts, which in turn appear to rely on mtdblock3. I assume that this is identical to /dev/fl3? If so, are the major/minor block numbers the same?


Eliot


uh oh.. I have a feeling that this may require the newer kernel that I'm running. I'll try and get that packaged soon.


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 10:42 am 
Offline

Joined: Sun Jan 29, 2006 9:24 am
Posts: 8
Location: NH
Actually, what kernel are you using? Obviously not the one that bconoboy put into the FC4 image, or even the one at

http://www.swcp.com/~synk/hglan/fc4/ker ... -1.tar.bz2

Or, even better, can you post a .config of the kernel along with the version?

Regards,

Eliot

_________________
Lack Of planning on your part does not constitute an Emergency on my part


Top
   
 Post subject:
PostPosted: Sat Mar 11, 2006 11:03 am 
Offline

Joined: Fri Feb 17, 2006 10:14 pm
Posts: 40
kernel = 2.6.15.4
javascouts latest patch = http://webpages.charter.net/trevorpowdrell/kurobox-patch-2-6-15.tar.bz2
.config = http://pecknet.com/kernel-2.6.15-ppc-kuro-hg.config


Top
   
 Post subject:
PostPosted: Mon Apr 03, 2006 12:35 pm 
Offline

Joined: Thu Oct 28, 2004 5:29 pm
Posts: 55
Shutdown with power button works fine on fc4, kernel 2.6.16-1.

Does yum have issues? Keeps segfaulting/spurious errors.
Works when i try it again.
Updating RPM didn't help.

Also: any suggested alternatives to webmin?
Or as it is mostly perl etc (noarch), is there a trick to installing it?

_________________
I believe teenage girls should be playing video games that will help them develop useful skills for the upcoming decades.
I was thinking of something like... Counterstrike:Source


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited