iMac bootp/tftp?
Howdy!
I'm curious - has anyone ever tried to bootp/tftp an install image?
I got an iMac - MPC750 w/Open Firmware 3.0.b2 (9/17/98), and a Rev B iMac.
bootp/tftp server is a FreeBSD 2.2-ish box at 192.168.1.8; it also
is hooked up to the net (with a second, routable IP, of course). it's nightfall.catbert.org. my iMac is imac.catbert.org, at 192.168.1.12.
Nothing special. If I run bootpd by hand, I see that it succeeded...
the mac sends a broadcast message querying info, nightfall responds with the Ethernet MAC->IP address, file to load, etc, and then sets up an ARP entry for imac.
At this point, when I'm in the multiboot menu... the 'Network disk'
icon pops up, so it saw that. I then click on it, and select the boot option.
However, I don't see a single TFTP request. In fact, I see a single
very strange packet, and that's absolutely it. I'm hoping someone might be able to suggest if it's due to any (obvious) misconfiguration on my part, lack of support code in Open Firmware, or something else.
The tcpdump output:
[0:0:0:0:0:0 is the iMac]
04:06:08.841268 0:0:0:0:0:0 > 0:0:0:0:0:0 null I (s=0,r=0,C) len=46
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000
04:06:09.536236 0:0:0:0:0:0 > 0:0:0:0:0:0 null I (s=0,r=0,C) len=46
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 000004:06:09.537299 arp who-has nightfall.catbert.org tell 0.0.0.0
04:06:09.537674 arp reply nightfall.catbert.org is-at 0:10:4b:2f:ed:d3
04:06:09.537951 0.0.0.0.1234 > nightfall.catbert.org.bootps: (request) xid:0x1026a S:nightfall.catbert.org [|bootp] 04:06:09.542643 nightfall.catbert.org.bootps > imac.catbert.org.bootpc: xid:0x1026a Y:imac.catbert.org S:nightfall.catbert.org [|bootp] 04:06:09.542885 arp who-has imac.catbert.org tell imac.catbert.org
04:06:11.542339 arp who-has nightfall.catbert.org tell imac.catbert.org
04:06:11.542393 arp reply nightfall.catbert.org is-at 0:10:4b:2f:ed:d3
04:06:11.542528 arp who-has nightfall.catbert.org tell imac.catbert.org
04:06:11.542547 arp reply nightfall.catbert.org is-at 0:10:4b:2f:ed:d3
[now nightfall appears in the menu list to boot off. next line is where I click 'boot' or whatever it was]
04:06:27.714395 0:0:0:0:0:0 > 0:0:0:0:0:0 null I (s=0,r=0,C) len=46
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000no further packets.
It seems kind of odd to me because by now it should know its IP address and MAC address. If anything else would be relevant, please let me know. I'm also more than willing to do any kind of poking around under the hood (so to speak...ie in OF, whatever) as necessary.
Not to mention I've already defined client/server IPs in OF settings...
I'm just immensely curious because I see /packages/obp-tftp method, and I think I once heard someone said they saw bootp/tftp packets ok on an iMac but then failed to load the image for whatever reason. So I figure it has to be doable, or at least, somehow possible to make it work.
-Dan
OF settings:
Partition: common
Signature: 0x70
little-endian? false
real-mode? false
auto-boot? true
diag-switch? false
fcode-debug? false
oem-banner? false
oem-logo? false
use-nvramrc? false
use-generic? true
default-mac-address? false
real-base -1
real-size -1
load-base 0x800000
virt-base -1
virt-size -1
screen-#columns 100
screen-#rows 40
selftest-#megs 0
boot-device /pci@800000000/mac-io@10/ide@20000/@0:5,\\:tbxi
boot-file
diag-device floppy
diag-file diags
input-device keyboard
output-device screen
mouse-device mouse
oem-banner
oem-logo
nvramrc
boot-command
forced-boot
fw-scsicfg
fw-boot-path
default-client-ip 192.168.1.12
default-server-ip 192.168.1.8
default-gateway-ip 192.168.1.8
boot-script
ASVP 0110??00463;
0 > dev / lsff833b70: /cpusff833da0: /PowerPC, 750@0ff834098: /l2-cacheff8347b8: /chosenff834908: /memory@0ff834ab8: /openpromff834bb8: /client-servicesff835cf0: /rom@ff8000000ff835e78: /boot-rom@fff00000ff835f88: /macosff835fe8: /optionsff836048: /aliasesff836588: /packagesff8365f0: /deblockerff836e58: /disk-labelff8376c0: /obp-tftpff83ce40: /mac-partsff83dc68: /mac-filesff83ff70: /hfs-plus-filesff8443b0: /fat-filesff8460e0: /iso-9660-filesff846ce8: /bootinfo-loaderff848708: /xcoff-loaderff849120: /pe-loaderff849af8: /elf-loaderff84b128: /usb-hid-classff84cd00: /ata-diskff84dd58: /atapi-diskff84ed80: /bootpath-searchff852a58: /terminal-emulatorff852af0: /pseudo-hidff852b78: /keyboardff852f80: /mouseff8531c8: /multibootff861408: /rtasff861608: /pci@800000000ff8625a8: /mac-io@10ff862e80: /interrupt-controller@10ff862fe8: /scsi@10000ff8653d0: /diskff866300: /tapeff867620: /escc-legacy@12000ff867820: /ch-a@12002ff867998: /ch-b@12000ff867b10: /escc@13000ff867d18: /ch-a@13020ff868640: /ch-b@13000ff868f68: /davbus@14000ff869150: /soundff86c380: /fdc@15000ff86d5c0: /disk@0ff86dcd0: /via-cuda@16000ff86f1d8: /rtcff86f438: /adbff86f550: /keyboard@2ff870140: /mouse@3ff870460: /programmer-switch@0ff870580: /ide@20000ff8721e0: /diskff872798: /ide@21000ff8743f8: /diskff8749b0: /ethernet@11000ff8778c8: /nvram@60000ff878c00: /ATY,RagePro_C@12ff87e0b0: /usb@14ff882e00: /hub@1ff882f70: /keyboard@1ff883290: /mouse@2
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]