maros n00b
Joined: 21 Oct 2006 Posts: 1
|
Posted: Sat Oct 21, 2006 12:02 pm Post subject: Bootowanie JavaStation z Gentoo |
|
|
Od dłuższego czasu usiłuję uruchomić Linuxa na maszynie JavaStation (MrCoffee). Mam jednak problem załadowaniem obrazu kernela. PROLL się ładuje, dochodzi do sekwencji "BOOTP: Sending request" i po ustalonym timeoucie (300s) staje.
Niżej podaję wszystkie istotne dane które mogą pomóc w rozwiązaniu problemu.
tcpdump -vi eth1
Code: | tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
13:31:31.394580 rarp who-is mrcofee tell mrcofee
13:31:31.394966 rarp reply mrcofee at mrcofee
13:31:31.396959 IP (tos 0x0, ttl 123, id 1234, offset 0, flags [none], proto: UDP (17), length: 51) mrcofee.11361 > gentoo.tftp: 23 RRQ "C0A80002.SUN4M" octet
13:31:31.404470 arp who-has mrcofee tell gentoo
13:31:31.405748 arp reply mrcofee is-at mrcofee
13:31:31.931163 IP (tos 0x0, ttl 255, id 1, offset 0, flags [none], proto: UDP (17), length: 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from mrcofee, length: 300, xid:0x21b1, flags: [none]
Server IP: 255.255.255.255
Client Ethernet Address: mrcofee [|bootp] |
tail -n 5 /var/log/messages
Code: | Oct 21 13:31:25 blackbox eth1: link up, 10Mbps, half-duplex, lpa 0x0021
Oct 21 13:31:31 blackbox rarpd[6686]: rarp who-is 8:0:20:88:18:ac tell 8:0:20:88:18:ac not found
Oct 21 13:31:31 blackbox rarpd[7362]: rarp who-is 8:0:20:88:18:ac tell 8:0:20:88:18:ac answer 192.168.0.2
Oct 21 13:31:31 blackbox atftpd[7834]: Advanced Trivial FTP server started (0.7)
Oct 21 13:31:31 blackbox atftpd[7836]: Serving C0A80002.SUN4M to 192.168.0.2:11361 |
cat /etc/ethers
Code: | 8:0:20:88:18:ac mrcofee
00:40:F4:73:9C:33 gentoo |
ls -l /tftpboot/
Code: | razem 1598
lrwxrwxrwx 1 root root 12 paź 14 21:22 192.168.0.2 -> /home/jsroot
lrwxrwxrwx 1 root root 13 paź 14 18:17 C0A80002 -> proll.mrcofee
lrwxrwxrwx 1 root root 12 paź 14 18:17 C0A80002.PROL -> vmlinux.aout
lrwxrwxrwx 1 root root 8 paź 14 21:18 C0A80002.SUN4M -> C0A80002
-rw-r--r-- 1 root root 52756 paź 14 16:48 proll.mrcofee
-rw-r--r-- 1 root root 1577056 paź 14 16:55 vmlinux.aout |
cat /etc/xinetd.conf
Code: | defaults
{
only_from = 127.0.0.1
only_from = 192.168.0.0
instances = 60
log_type = FILE /var/log/servicelog
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d |
tail -n 1 /var/log/servicelog
Code: | 06/10/21@13:31:31: START: tftp pid=7834 from=192.168.0.2 |
cat /etc/xinetd.d/tftp-udp
Code: | service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = root
group = root
server = /usr/sbin/in.tftpd
server_args = /tftpboot
only_from = 192.168.0.0
disable = no
} |
cat /etc/dhcp/dhcpd.conf
Code: | subnet 192.168.0.0 netmask 255.255.0.0
{
range 192.168.0.1 192.168.0.255;
}
host mrcofee
{
hardware ethernet 8:0:20:88:18:ac;
filename "C0A80002";
fixed-address mrcofee;
option root-path "/home/jsroot";
} |
Pozdrawiam,
maros |
|