LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2003, 05:06 AM   #1
ph0enix
LQ Newbie
 
Registered: Jun 2003
Location: Czech Republic, Prague
Distribution: SuSE
Posts: 3

Rep: Reputation: 0
Question diskless clients restart problems


Hi all,
I'm building linux cluster with diskless nodes having their root at nfs. After first boot node obtain universal image with HW detection routine. Depending to detected values the server prepare special image with required modules and proper kernel for this node and modify DNS and DHCP configuration. When this is done node should reboot and start again properly initialized with it's own configuration. My problem is that node does not reboot after detection Even it looks like problem with init. After manual reset node start only HW detection and no services can't be started.

I'm using selfcompiled kernel 2.4.21 + mosix + i2c + lm_sensors with devfs enabled. The system is based on SuSE Linux 8.2.

The last lines I get from serial console after HW detection are
Code:
DEBUG: list of mounted filesystems...
rootfs on / type rootfs (rw)
/dev/root on / type nfs (rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.168.2.1)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
LCC: Rebooting...
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Boot logging started on /dev/tts/0(/dev/console) at Tue Jul 15 00:13:29 2003
Master Resource Control: previous runlevel: 4, switching to runlevel: 6
INIT: no more processes left in this runlevel
which does fit to executed script
Code:
[...]
  if [ "$RESULT" == "REBOOT" ]; then
    echo "DEBUG: list of mounted filesystems..."
    mount
    echo "LCC: Rebooting..."
    shutdown -r now
    break
  else
[...]
But after it it looks like system was halted(?) instead of rebooting.
 
Old 07-15-2003, 09:28 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: diskless clients restart problems

Quote:
Originally posted by ph0enix
Hi all,
I'm building linux cluster with diskless nodes having their root at nfs. After first boot node obtain universal image with HW detection routine. Depending to detected values the server prepare special image with required modules and proper kernel for this node and modify DNS and DHCP configuration. When this is done node should reboot and start again properly initialized with it's own configuration. My problem is that node does not reboot after detection Even it looks like problem with init. After manual reset node start only HW detection and no services can't be started.

I'm using selfcompiled kernel 2.4.21 + mosix + i2c + lm_sensors with devfs enabled. The system is based on SuSE Linux 8.2.

The last lines I get from serial console after HW detection are
Code:
DEBUG: list of mounted filesystems...
rootfs on / type rootfs (rw)
/dev/root on / type nfs (rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.168.2.1)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
LCC: Rebooting...
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Boot logging started on /dev/tts/0(/dev/console) at Tue Jul 15 00:13:29 2003
Master Resource Control: previous runlevel: 4, switching to runlevel: 6
INIT: no more processes left in this runlevel
which does fit to executed script
Code:
[...]
  if [ "$RESULT" == "REBOOT" ]; then
    echo "DEBUG: list of mounted filesystems..."
    mount
    echo "LCC: Rebooting..."
    shutdown -r now
    break
  else
[...]
But after it it looks like system was halted(?) instead of rebooting.
Well I think that the problem is because of the runlevel that you are in.You are using systemV init, that means that your mounted root(from nfs) should contain the folder <nfs root>/etc/rc6.d and
<nfs root>/etc/init.d as would be specified by the <nfs root>/etc/rc.sysinit or any sysinit file that you use.So I think that you should check the sysinit file first,and check whether any service that would be required are in the relavent directory or not.
 
  


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
how to configure the x server in terminal window in diskless clients novavm Linux - Newbie 1 08-17-2005 10:56 AM
multiboot problems after restart wriggles Linux - General 3 09-03-2004 01:07 PM
problems with network after restart carlosruiz Linux - Networking 1 03-12-2004 09:19 PM
Diskless boot problems - Netboot error 35 (Timeout) Decoy^3 Linux - Networking 5 01-14-2004 01:58 PM
Application Server for Diskless Clients. messer Linux - General 2 09-13-2001 06:17 AM


All times are GMT -5. The time now is 03:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration