Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Netbooting mac mini g4
In article <20180611013320.GC15651%pony.stderr.spb.ru@localhost>,
Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
>-=-=-=-=-=-
>
>I've finally got around to investigate how to netboot mac mini g4 as I
>promised Christos (quite) a while ago.
>
>OFW in that machine *really* wants to talk Apple's BSDP it seems.
>Attached is the sekeleton dhcpd.conf that seems to make it happy.
>There are still two ~15 seconds delays in the process, but that is
>tolerable.
>
>The idea is from
>
> http://brandon.penglase.net/index.php?title=Getting_*nix_to_Netboot_Macs
>
>but expressed properly using dhcpd option defintions instead of bunch
>of hex.
Thanks uwe, I have this working now. I can't get autoboot to work with
netboot, but I have not debugged it yet. In the process I discovered
that the radeon driver is broken (I think we should remove it from generic
until it is fixed; it is bad to supply a generic that does not work).
Also some firmware loading issues:
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.000000] 2018 The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.
[ 1.000000] NetBSD 8.99.19 (GENERIC) #0: Tue Jun 19 22:32:21 UTC 2018
[ 1.000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC
[ 1.000000] total memory = 1024 MB
[ 1.000000] oea_startup: failed to allocate DEAD ZONE: error=12
[ 1.000000] avail memory = 980 MB
[ 1.000000] timecounter: Timecounters tick every 10.000 msec
[ 1.000000] Kernelized RAIDframe activated
[ 1.000000] found openpic PIC at 80040000
[ 1.000000] OpenPIC Version 1.2: Supports 4 CPUs and 64 interrupt sources.
[ 1.000000] bootpath: /pci@f4000000/ethernet@f:0/netbsd
[ 1.000000] mainbus0 (root)
[ 1.000000] cpu0 at mainbus0: 7447A (Revision 1.2), ID 0 (primary)
[ 1.000000] cpu0: HID0 0x84d0c1bc<EMCP,TBEN,HIGH_BAT_EN,NAP,DPM,ICE,DCE,XBSEN,SGE,BTIC,LRSTK,FOLD,BHT>, powersave: 1
[ 1.000000] cpu0: 1416.67 MHz, 512KB L2 cache no parity
[ 1.000000] memory0 at mainbus0: len=128
[ 1.000000] spdmem0 at memory0
[ 1.000000] spdmem0: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
[ 1.000000] spdmem0: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
[ 1.000000] spdmem0: tAA-tRCD-tRP-tRAS: 2-3-3-8
[ 1.000000] spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[ 1.000000] uni_n0 at mainbus0 address 0xf8000000
[ 1.000000] hw-clock at uni_n0 not configured
[ 1.000000] ki2c0 at uni_n0 address 0xf8001000
[ 1.000000] iic0 at ki2c0: I2C bus
[ 1.000000] sgsmix0 at iic0 addr 0xe0: SGS TDA7433 Basic Audio Processor
[ 1.000000] uninorth0 at mainbus0
[ 1.000000] pci0 at uninorth0 bus 0
[ 1.000000] pci0: i/o space, memory space enabled
[ 1.000000] pchb0 at pci0 dev 11 function 0
[ 1.000000] pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
[ 1.000000] genfb0 at pci0 dev 16 function 0: ATI Technologies Radeon 9200 5962 (rev. 0x01)
[ 1.000000] genfb0: framebuffer at 0x9c008000, size 1024x768, depth 8, stride 1024
[ 1.000000] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[ 1.000000] wsmux1: connecting to wsdisplay0
[ 1.000000] drm at genfb0 not configured
[ 1.000000] uninorth1 at mainbus0
[ 1.000000] pci1 at uninorth1 bus 0
[ 1.000000] pci1: i/o space, memory space enabled
[ 1.000000] pchb1 at pci1 dev 11 function 0
[ 1.000000] pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
[ 1.000000] bwi0 at pci1 dev 18 function 0: Broadcom Wireless
[ 1.000000] bwi0: interrupting at irq 52
[ 1.000000] bwi0: BBP id 0x4306, BBP rev 0x3, BBP pkg 0
[ 1.000000] bwi0: MAC: rev 5
[ 1.000000] bwi0: PHY type 2, rev 2, ver 2
[ 1.000000] bwi0: RF manu 0x17f, type 0x2050, rev 2
[ 1.000000] bwi0: autoconfiguration error: invalid antenna gain in sprom
[ 1.000000] bwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 1.000000] bwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 1.000000] obio0 at pci1 dev 23 function 0: addr 0x80000000
[ 1.000000] zsc0 at obio0 irq 22,23
[ 1.000000] zstty0 at zsc0 channel 0
[ 1.000000] zstty1 at zsc0 channel 1
[ 1.000000] snapper0 at obio0 offset 0x10000: irq 30,1,2
[ 1.000000] pmu0 at obio0 offset 0x16000 irq 47: rev. 85
[ 1.000000] pmu0: initializing IIC bus
[ 1.000000] iic1 at pmu0: I2C bus
[ 1.000000] sgsmix1 at iic1 addr 0x48: SGS TDA7433 Basic Audio Processor
[ 1.000000] pmu0: initializing RTC
[ 1.000000] pmu0: power-mgt not configured
[ 1.000000] pmu0: pmu-pwm-fans not configured
[ 1.000000] ki2c1 at obio0
[ 1.000000] iic2 at ki2c1: I2C bus
[ 1.000000] sgsmix2 at iic2 addr 0xe0: SGS TDA7433 Basic Audio Processor
[ 1.000000] wdc0 at obio0 offset 0x20000 irq 24, level triggered: DMA transfer
[ 1.000000] atabus0 at wdc0 channel 0
[ 1.000000] snapper0: software codec
[ 1.000000] audio0 at snapper0: full duplex, playback, capture, mmap
[ 1.000000] snapper0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
[ 1.000000] snapper0: Latency: 256 milliseconds
[ 1.000000] spkr0 at audio0: PC Speaker (synthesized)
[ 1.000000] wsbell at spkr0 not configured
[ 1.000000] ohci0 at pci1 dev 24 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
[ 1.000000] ohci0: autoconfiguration error: memory access is disabled
[ 1.000000] ohci1 at pci1 dev 25 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
[ 1.000000] ohci1: autoconfiguration error: memory access is disabled
[ 1.000000] ohci2 at pci1 dev 26 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
[ 1.000000] ohci2: interrupting at irq 29
[ 1.000000] ohci2: OHCI version 1.0, legacy support
[ 1.000000] usb0 at ohci2: USB revision 1.0
[ 1.000000] ohci3 at pci1 dev 27 function 0: NEC USB Host Controller (rev. 0x43)
[ 1.000000] ohci3: interrupting at irq 63
[ 1.000000] ohci3: OHCI version 1.0
[ 1.000000] usb1 at ohci3: USB revision 1.0
[ 1.000000] ohci4 at pci1 dev 27 function 1: NEC USB Host Controller (rev. 0x43)
[ 1.000000] ohci4: interrupting at irq 63
[ 1.000000] ohci4: OHCI version 1.0
[ 1.000000] usb2 at ohci4: USB revision 1.0
[ 1.000000] ehci0 at pci1 dev 27 function 2: NEC USB2 Host Controller (rev. 0x04)
[ 1.000000] ehci0: interrupting at irq 63
[ 1.000000] ehci0: EHCI version 1.0
[ 1.000000] ehci0: 2 companion controllers, 3 ports each: ohci3 ohci4
[ 1.000000] usb3 at ehci0: USB revision 2.0
[ 1.000000] uninorth2 at mainbus0
[ 1.000000] pci2 at uninorth2 bus 0
[ 1.000000] pci2: i/o space, memory space enabled
[ 1.000000] pchb2 at pci2 dev 11 function 0
[ 1.000000] pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
[ 1.000000] wdc1 at pci2 dev 13 function 0: interrupting at irq 39
[ 1.000000] atabus1 at wdc1 channel 0
[ 1.000000] fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth Firewire (rev. 0x81)
[ 1.000000] fwohci0: interrupting at irq 40
[ 1.000000] fwohci0: OHCI version 1.10 (ROM=0)
[ 1.000000] fwohci0: No. of Isochronous channels is 8.
[ 1.000000] fwohci0: EUI64 00:11:24:ff:fe:c9:bf:f0
[ 1.000000] fwohci0: Phy 1394a available S400, 2 ports.
[ 1.000000] fwohci0: Link S400, max_rec 2048 bytes.
[ 1.000000] ieee1394if0 at fwohci0: IEEE1394 bus
[ 1.000000] fwip0 at ieee1394if0: IP over IEEE1394
[ 1.000000] fwohci0: Initiate bus reset
[ 1.000000] gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
[ 1.000000] gem0: interrupting at irq 41
[ 1.000000] bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 4
[ 1.000000] bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.000000] gem0: Ethernet address 00:11:24:c9:bf:f0, 10KB RX fifo, 4KB TX fifo
[ 1.000000] vmmask 737c0000 schedmask 7ffc0000 highmask 7ffc0000
[ 1.000000] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[ 1.000003] timecounter: Timecounter "mftb" frequency 41620997 Hz quality 100
[ 1.000015] fwohci0: BUS reset
[ 1.000015] fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
[ 1.000015] ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
[ 1.000015] ieee1394if0: bus manager 0
[ 1.089996] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.089996] uhub0: 2 ports with 2 removable, self powered
[ 1.089996] uhub1 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.089996] uhub1: 3 ports with 3 removable, self powered
[ 1.089996] uhub2 at usb2: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.089996] uhub2: 2 ports with 2 removable, self powered
[ 1.089996] uhub3 at usb3: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[ 1.089996] uhub3: 5 ports with 5 removable, self powered
[ 1.089996] IPsec: Initialized Security Association Processing.
[ 1.269995] atapibus0 at atabus1: 2 targets
[ 1.289998] cd0 at atapibus0 drive 1: <MATSHITACD-RW CW-8124, , DACD> cdrom removable
[ 1.289998] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
[ 1.289998] wd0 at atabus1 drive 0
[ 1.289998] wd0: <ST9808210A>
[ 1.289998] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[ 1.289998] wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
[ 1.709995] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[ 1.709995] wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
[ 1.709995] cd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
[ 3.489991] uhidev0 at uhub0 port 1 configuration 1 interface 0
[ 3.489991] uhidev0: Apple Computer (0x5ac) Bluetooth HCI (HID-proxy mode) (0x1000), rev 2.00/15.86, addr 2, iclass 3/1
[ 3.579991] ukbd0 at uhidev0
[ 3.779991] uhidev1 at uhub2 port 1 configuration 1 interface 0
[ 3.779991] uhidev1: Raritan (0x14dd) P2CIM-AUSB (0x1008), rev 1.10/0.00, addr 2, iclass 3/1
[ 3.849997] ukbd1 at uhidev1
[ 3.989990] wskbd0 at ukbd0: console keyboard, using wsdisplay0
[ 3.989990] uhidev2 at uhub0 port 1 configuration 1 interface 1
[ 3.989990] uhidev2: Apple Computer (0x5ac) Bluetooth HCI (HID-proxy mode) (0x1000), rev 2.00/15.86, addr 2, iclass 3/1
[ 4.109990] ums0 at uhidev2: 5 buttons
[ 4.109990] wsmouse0 at ums0 mux 0
[ 4.109990] swwdog0: software watchdog initialized
[ 4.169997] WARNING: 3 errors while detecting hardware; check system log.
[ 4.169997] boot device: gem0
[ 4.169997] root on gem0
[ 4.231301] nfs_boot: trying DHCP/BOOTP
[ 4.769990] wskbd1 at ukbd1 mux 1
[ 4.769990] wskbd1: connecting to wsdisplay0
[ 4.769990] uhidev3 at uhub2 port 1 configuration 1 interface 1
[ 4.769990] uhidev3: Raritan (0x14dd) P2CIM-AUSB (0x1008), rev 1.10/0.00, addr 2, iclass 3/1
[ 4.860000] ums1 at uhidev3: 3 buttons and Z dir
[ 4.860000] wsmouse1 at ums1 mux 0
[ 7.769984] nfs_boot: DHCP next-server: 192.168.2.9
[ 7.769984] nfs_boot: my_name=minime.astron.com
[ 7.769984] nfs_boot: my_domain=astron.com
[ 7.769984] nfs_boot: my_addr=192.168.2.59
[ 7.769984] nfs_boot: my_mask=255.255.255.0
[ 7.769984] nfs_boot: gateway=192.168.2.9
[ 13.879973] nfs server 192.168.2.9:/net/stinky/src-6/root/macppc: not responding
[ 19.769962] nfs server 192.168.2.9:/net/stinky/src-6/root/macppc: is alive again
[ 19.769962] root on 192.168.2.9:/net/stinky/src-6/root/macppc
[ 19.769962] root file system type: nfs
[ 19.769962] kern.module.path=/stand/macppc/8.99.19/modules
[ 24.469960] bwi0: autoconfiguration error: firmware_open failed on v3/ucode5.fw
[ 25.979961] wsdisplay0: screen 1 added (default, vt100 emulation)
[ 25.979961] wsdisplay0: screen 2 added (default, vt100 emulation)
[ 25.979961] wsdisplay0: screen 3 added (default, vt100 emulation)
[ 25.989961] wsdisplay0: screen 4 added (default, vt100 emulation)
[ 2086.302766] 192.168.2.9:/net/stinky/src-6/root/macppc: inaccurate wcc data (mtime) detected, disabling wcc (ctime 1529462340.489232310 1529462340.486572640, mtime 1529462340.489232310 1529464546.982562291)
christos
Home |
Main Index |
Thread Index |
Old Index