View previous topic :: View next topic |
Author |
Message |
kalisphoenix Apprentice
Joined: 28 Sep 2003 Posts: 211 Location: Ohio
|
Posted: Mon Feb 23, 2004 1:52 am Post subject: Indy R5K net-boot problems. (RESOLVED -- DOH!) |
|
|
I really tried to solve these problems on my own, but they seem to be beyond my expertise.
Anyway, I am attempting to install Gentoo onto an SGI Indy R5K. I've followed both the MIPS howtos as best as I could.
I have dhcpd installed and apparently working, although it hangs interminably when I "/etc/init.d/dhcp start", which means I can't have it in my default runlevel or the computer simply never finishes booting. Not quite sure why this is. I guess I'll work on that in a bit.
I've installed tftp-hpa, and have configured it as much as I could.
The problems are:
Indy R5K wrote: |
Setting $netaddr to 192.168.0.7 (from server)
Unable to execute bootp(): |
I've tried the following:
bootp():/tftpboot/gentoo-r5k.img root=/dev/ram0
bootp():/gentoo-r5k.img root=/dev/ram0
bootp(): root=/dev/ram0
I've tried using various file entries in the in.tftpd and dhcpd.conf files in combination with each other and the various bootp commands.
tcpdump wrote: |
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 68 bytes
20:52:11.479718 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], length: 328) moloch.bootps > dionysus.bootpc: BOOTP/DHCP, Reply, length: 300, xid:0x3e2b, secs:5, flags: [none] (0x0000)
Client IP: dionysus
Your IP: dionysus
Server IP: moloch [|bootp]
20:52:11.488291 IP (tos 0x0, ttl 255, id 29, offset 0, flags [none], length: 65) dionysus.15916 > moloch.tftp: [no cksum] 37 RRQ "/tftpboot/gentoo-r5k.img" [|tftp]
20:52:11.491761 IP (tos 0x0, ttl 64, id 1372, offset 0, flags [DF], length: 544) moloch.32782 > dionysus.15916: UDP, length: 516
20:52:12.485889 IP (tos 0x0, ttl 64, id 1373, offset 0, flags [DF], length: 544) moloch.32782 > dionysus.15916: UDP, length: 516
20:52:14.484915 IP (tos 0x0, ttl 64, id 1374, offset 0, flags [DF], length: 544) moloch.32782 > dionysus.15916: UDP, length: 516
20:52:16.484808 arp who-has dionysus tell moloch
20:52:16.485147 arp reply dionysus is-at 08:00:69:0a:c7:41
20:52:18.484930 IP (tos 0x0, ttl 64, id 1375, offset 0, flags [DF], length: 544) moloch.32782 > dionysus.15916: UDP, length: 516
20:52:26.484917 IP (tos 0x0, ttl 64, id 1376, offset 0, flags [DF], length: 544) moloch.32782 > dionysus.15916: UDP, length: 516 |
They certainly seem to be talking, if unsuccessfully.
The permissions seem to be fine, as I've exported the relevant directories with NFS and accessed them from the same Indy only minutes previously running IRIX. I changed the gentoo-r5k.img file to an executable and back -- it didn't seem to make a difference.
I'm not sure what any of this means, as I've never successfully net-booted before... I tend to think it's a problem with my tftp, but I'm not sure how to rectify it or even troubleshoot it further.
Hope you can help.
EDIT: dhcpd problem fixed -- remove /var/lib/dhcp/dhcpd.leases (and dhcpcd.leases~) and remove -d option from /etc/dhcp/dhcpd.conf.
The Indy, however, is unimpressed.
Last edited by kalisphoenix on Mon Feb 23, 2004 3:18 am; edited 1 time in total |
|
Back to top |
|
|
kalisphoenix Apprentice
Joined: 28 Sep 2003 Posts: 211 Location: Ohio
|
Posted: Mon Feb 23, 2004 3:05 am Post subject: |
|
|
OMFG.
It was that "echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc" thing. Apparently I didn't do it. I am quite sure I echoed 1 to something very much like it, so I guess I'll just wait and see what breaks.
Folks, never trust yourselves. Echo that effing 1, again and again.
EDIT: Mysteriously, a lot of the special little files in my /proc/ directory became 0's again. Namely, my ip-masquerading, which added another hour onto the time needed to get Gentoo onto the Indy. Anyone else had these problems? I'm not sure what would cause such a thing... |
|
Back to top |
|
|
Kumba Developer
Joined: 16 Jul 2002 Posts: 393 Location: Sigma 957
|
Posted: Wed Feb 25, 2004 9:14 am Post subject: |
|
|
Advice: don't run dhcpd via the /etc/init.d method. Since you only need dhcpd for a short time to netboot, just run it directly from the command line. It'll save you quite a bit of hassle.
--Kumba _________________ "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|