[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 8e9800 Fast Data Access MMU Miss




Regardless ... I will keep poking at this with a stick and see what I
  can come up with.

Sorry, I'm a little late but was quite occupied by other things recently.


Sounds like everyone I know :-\

I'm using GRUB2 for netbooting my UltraSPARC and NewWorld PowerPC gear since a while

I'm curious about the ppc64 gear there but will come back to that.

and also already started to document the process to get it going. But for netbooting it can get quite elaborate if you want to write an all-in-one how-to (incl. all needed or useful services, e.g. RARP, DNS, DHCP, TFTP and NFS) so one easily gets carried away and rambles on. :-/


Feel free to ramble.  It is a ramble. It it a collection of network
services all working to do one task : ignore the absent dvd drive.

But as the GRUB2 part alone is already useful for people that are familiar with the supporting service infrastructure, I just finished up this part and put it into the Debian wiki. I will add more information later if need be - I have to check the available information about network services first.

The methods described on [1] work for me to network boot my UltraSPARC gear, but you need kernel and initramfs as separate files.

I will go take a look at that.  Perhaps even separate the NFS and TFTP
services into two machines just because I can.  I don't think that there
is any need to worry about the RARP and IP address bits for now as that
all seems to happen in three quick packets from the forth firmware on
most sparc units with a "net boot" command.  Note that the tftp request
does not require a suffix ".SUN4U" on the filename.

I will have to check a sun4v system to see if that is consistent.


Dennis Clarke


ps: issue plain jane "net boot" with no parameters at the ok prompt

ETHER:  ----- Ether Header -----
ETHER:
ETHER:  Packet 1 arrived at 19:21:46.76395
ETHER:  Packet size = 64 bytes
ETHER:  Destination = ff:ff:ff:ff:ff:ff, (broadcast)
ETHER:  Source      = 0:3:ba:a:1b:2,
ETHER:  Ethertype = 8035 (RARP)
ETHER:
ARP:  ----- ARP/RARP Frame -----
ARP:
ARP:  Hardware type = 1 (Ethernet (10Mb))
ARP:  Protocol type = 0800 (IP)
ARP:  Length of hardware address = 6 bytes
ARP:  Length of protocol address = 4 bytes
ARP:  Opcode 3 (REVARP Request)
ARP:  Sender's hardware address = 0:3:ba:a:1b:2
ARP:  Sender's protocol address = 0.0.0.0, OLD-BROADCAST
ARP:  Target hardware address = 0:3:ba:a:1b:2
ARP:  Target protocol address = ?
ARP:


 0: ffff ffff ffff 0003 ba0a 1b02 8035 0001    .............5..
16: 0800 0604 0003 0003 ba0a 1b02 0000 0000    ................
32: 0003 ba0a 1b02 ffff ffff fefd fbf7 efdf    ................
48: bf7f 55aa 0102 0408 1020 4080 dada dada    ..UM-*..... @.....


Almost exactly 3 seconds later this response arrives with an
ip address for the requestor.


ETHER:  ----- Ether Header -----
ETHER:
ETHER:  Packet 2 arrived at 19:21:49.76808
ETHER:  Packet size = 42 bytes
ETHER:  Destination = 0:3:ba:a:1b:2,
ETHER:  Source      = 0:3:ba:5:cf:1b,
ETHER:  Ethertype = 8035 (RARP)
ETHER:
ARP:  ----- ARP/RARP Frame -----
ARP:
ARP:  Hardware type = 1 (Ethernet (10Mb))
ARP:  Protocol type = 0800 (IP)
ARP:  Length of hardware address = 6 bytes
ARP:  Length of protocol address = 4 bytes
ARP:  Opcode 4 (REVARP Reply)
ARP:  Sender's hardware address = 0:3:ba:5:cf:1b
ARP:  Sender's protocol address = 192.168.35.223, 192.168.35.223
ARP:  Target hardware address = 0:3:ba:a:1b:2
ARP:  Target protocol address = 192.168.35.249, 192.168.35.249
ARP:


 0: 0003 ba0a 1b02 0003 ba05 cf1b 8035 0001    .............5..
16: 0800 0604 0004 0003 ba05 cf1b c0a8 23df    .............M-(#.
32: 0003 ba0a 1b02 c0a8 23f9                   .......M-(#.


That ip 192.168.35.249 is instantly accepted and a TFTP request
is issued for a filename which is just the ip address in capital
hex chars "C0A823F9" and there is no suffix ".SUN4U" required.


ETHER:  ----- Ether Header -----
ETHER:
ETHER:  Packet 3 arrived at 19:21:49.76847
ETHER:  Packet size = 64 bytes
ETHER:  Destination = 0:3:ba:5:cf:1b,
ETHER:  Source      = 0:3:ba:a:1b:2,
ETHER:  Ethertype = 0800 (IP)
ETHER:
IP:   ----- IP Header -----
IP:
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:         .... ..0. = not ECN capable transport
IP:         .... ...0 = no ECN congestion experienced
IP:   Total length = 45 bytes
IP:   Identification = 0
IP:   Flags = 0x0
IP:         .0.. .... = may fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 64 seconds/hops
IP:   Protocol = 17 (UDP)
IP:   Header checksum = b197
IP:   Source address = 192.168.35.249, 192.168.35.249
IP:   Destination address = 192.168.35.223, 192.168.35.223
IP:   No options
IP:
UDP:  ----- UDP Header -----
UDP:
UDP:  Source port = 6683
UDP:  Destination port = 69 (TFTP)
UDP:  Length = 25
UDP:  Checksum = 0000 (no checksum)
UDP:
TFTP:  ----- Trivial File Transfer Protocol -----
TFTP:
TFTP:  Opcode = 1 (read request)
TFTP:  File name = "C0A823F9"
TFTP:  Transfer mode = octet


 0: 0003 ba05 cf1b 0003 ba0a 1b02 0800 4500    ..............E.
16: 002d 0000 0000 4011 b197 c0a8 23f9 c0a8 .-....@....M-(#..M-(
32: 23df 1a1b 0045 0019 0000 0001 4330 4138    #....E......C0A8
48: 3233 4639 006f 6374 6574 0080 dada dada    23F9.octet......


However I had no file to issue so Opcode = 5 (error) .. my mistake.


ETHER:  ----- Ether Header -----
ETHER:
ETHER:  Packet 4 arrived at 19:21:52.87172
ETHER:  Packet size = 64 bytes
ETHER:  Destination = 0:3:ba:a:1b:2,
ETHER:  Source      = 0:3:ba:5:cf:1b,
ETHER:  Ethertype = 0800 (IP)
ETHER:
IP:   ----- IP Header -----
IP:
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:         .... ..0. = not ECN capable transport
IP:         .... ...0 = no ECN congestion experienced
IP:   Total length = 50 bytes
IP:   Identification = 2412
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 60 seconds/hops
IP:   Protocol = 17 (UDP)
IP:   Header checksum = 6c26
IP:   Source address = 192.168.35.223, 192.168.35.223
IP:   Destination address = 192.168.35.249, 192.168.35.249
IP:   No options
IP:
UDP:  ----- UDP Header -----
UDP:
UDP:  Source port = 33363
UDP:  Destination port = 6683
UDP:  Length = 30
UDP:  Checksum = A7B8
UDP:
TFTP:  ----- Trivial File Transfer Protocol -----
TFTP:
TFTP:  Opcode = 5 (error)
TFTP:  Error = 2 (access violation)
TFTP:  Error string = "Access violation"


 0: 0003 ba0a 1b02 0003 ba05 cf1b 0800 4500    ..............E.
16: 0032 096c 4000 3c11 6c26 c0a8 23df c0a8 .2.l@.<.l&.M-(#..M-(
32: 23f9 8253 1a1b 001e a7b8 0005 0002 4163    #..S..........Ac
48: 6365 7373 2076 696f 6c61 7469 6f6e 0000    cess violation..






Reply to: