[Diskless Linux] 도와 주세요. - Booting Kernel panic......

oeverfreeo의 이미지

안녕하세요..

한참 리눅스 클러스터에 열을 올리고 있는데요,vmware로 테스트중, OS : Fedora Core 7

며칠 전까지는 /[tftp home]/pxelinux.0을 슬레이브 노드에서 찾질 못해서 계속
/[tftp home]/pxelinux.0/default 파일이 없다고 에러가 났었는데,

이제는 위의 문제가 해결이 되었는데요, 오늘은 /[tftp home]/pxelinux.cfg/C0A8EFC9(호스트 아이피 192.168.239.201, default가 아닌 이 C0A8EFC9파일을 읽어 들이는것을 보면 DHCP 아이피 할당은 잘 이루어진것 같구요...) 설정 파일을 잘 읽어 들이는데,
도중에 IP Config : No Network Devices 라고 뜨면서 더이상 nfs도 못찾고 결국은 kernel panic이 떠 버리는데요,

그래서 Kernel Compile 도 다시 해보고, 책에서는 간단히 swap 옵션 빼고, module 옵션 빼고, dhcp 사용, nfs support 사용, root file system - nfs 이것만 체크하라고 했는데 네크워크를 못 찾아서 eeprom추가도 해보고 했는데, 네크워크를 못잡네요.

이런 문제 혹시 경험해 보셨거나 해결 방안 아시는분좀 충고좀 부탁 드릴게요..

/[tftp home]/pxelinux.cfg/C0A8EFc9(호스트 아이피 192.168.239.201)에서,
ip : ::::::

에서 device에 eth0, eth1 어느것을 적용을 해도 못 찾고요,
 
컴파일 할때 Network Bonding support 체크해 주었더니, 부팅 할때 device 이름이 'bond0'으로 뜨네요..
 
해결될 만한 많은 단서들 부탁 드려요...이것 때문에 진도가 안나가요.;;
 
<span>/etc/dhcpd.conf</span>
ddns-update-style none;
ignore client-updates;
 
allow booting;
allow bootp;
 
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.239.255;
 
option routers 192.168.239.2;
 
option domain-name-servers 192.168.239.200;
option domain-name      "master.diskless.cluster.domain";
 
default-lease-time 21600;
max-lease-time 43200;
 
subnet 192.168.239.0 netmask 255.255.255.0 {
        range 192.168.239.202 192.168.239.254;
}
 
group{
        filename "pxelinux.0";
        use-host-decl-names on; 
 
                host node1 {
                        hardware ethernet 00:0c:29:b2:20:73;
                        fixed-address 192.168.239.201;
                        option root-path "192.168.239.200:/tftpboot/192.168.239.201";
                }
 }
 
<span>/tftpboot/pxelinux.cfg/C0A8EF9</span>
PROMPT 0
DEFAULT bzImage
label bzImage
kernel bzImage
 
APPEND nfsroot=192.168.239.200:/tftpboot/192.168.239.201,v3,rsize=32768,wsize=32
768 init=/sbin/init root=/dev/nfs rw ip=192.168.239.201:192.168.239.200:192.168.
239.2:255.255.255.0::eth0:'bootp'
 
:eth0:'bootp' 또는 ::'bootp', ::dhcp 도 안 먹히네요..
 
/dev/nfs 는 없길래 
#] mknod /dev/nfs b 0 255
#] cd /usr/src/linu/arch/i386/boot
#] rdev bzImage /dev/nfs
로 설정을 해주었구요..
 
<span>/etc/exports</span>
/usr                              192.168.239.201(rw,async,nohide,no_root_squash)
/tftpboot                         192.168.239.201(rw,async,nohide,no_root_squash)
/tftpboot/192.168.239.201         192.168.239.201(rw,async,nohide,no_root_squash)
/dev                              192.168.239.201(rw,async,nohide,no_root_squash)
처음에는 'node?'로 설정을 해주 었다가 '192.168.239.201'로 바꾸어 주었습니다.
 
디렉토리 구성은 
/tftpboot/pxelinux.cfg/C0A8EFC9
/tftpboot/pxelinux.cfg/default
/tftpboot/192.168.239.201/boot/bzImage
/tftpboot/192.168.239.201/boot/vmlinuz
/tftpboot/192.168.239.201/boot//initrd.img
/tftpboot/192.168.239.201/etc/fstab
/tftpboot/bzImage
/tftpboot/vmlinuz
/tftpboot/initrd.img
/tftpboot/pxelinux.0
 
<span>Error Message</span>
IP-Config : No network devices available.
Looking up port of RPC 100003/3 ON 192.168.239.200
rpcbind : server 192.168.239.200 not responding time out
ROOT-NFS: Unable to get nfsd port number from server, using default
mount : server 192.168.239.200 not responding, time out
ROOT-NFS: Server returned error -5 while mounting /tftpboot/192.168.239.201
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" of unknown-block(2, 0)
Please append a correct "root=" boot option: here are the available partions
Kernel panic - not syncing: NFS: Unable to mount root fs on unknown-block(2,0)
rlawnsgh3의 이미지

IP-Config : No network devices available.
네트워크장치를 못찾습니다..
모델에 맞는 네트워크를 찾아서 커널 컴파일 다시하세요..
아마 vmware이면 1000m -> intel 1000어쩌고 하는 모델일것입니다.
모듈말고 활성화시켜주세요..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.