Port-macppc archive

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

Re: installing on a g5



On 04/05/2014 11:15 AM, Phileas Fogg wrote:
On 03/20/2014 12:09 AM, Cryo wrote:
There has been success with installing on a g5. You might have to go
back through the archives during 2012.

Sent from my iPod

On Mar 19, 2014, at 16:46, Christian Groessler <chris%groessler.org@localhost>
wrote:

Hi again,

On 03/13/14 00:03, Christian Groessler wrote:
I'm trying to install -current on a dual PowerMac G5 which was
recently given to me.

ofwboot.xcf seems to crash before it starts to load the kernel. I
found a similar problem
in the archives
(http://mail-index.netbsd.org/port-macppc/2009/09/27/msg000876.html)
but there was no response to this message.

I've tried the latest ofwboot.xcf as well as older ones lying around
over here, but I always
get the same crash, which is described in the message cited above.
For the different
ofwboot.xcfs the SRR0 values are slightly different which I
interpret as the crash address.

http://www.netbsd.org/ports/macppc/models.html cites G5 PowerMacs as
being supported,
so what is wrong?

Am I missing a OF setting I need to make or something?


Hmm, no response. Is this list still alive?

I did some research, and ofwboot.xcf crashes in
sys/lib/libsa/loadfile_elf32.c, function loadfile().
It tries to load the kernel to address 0x100000.

I've added a line of code to write something to 0x100000 just before
the READ() call,
with a printf before and after.

The printf before appears, but not the printf after. So it seems that
address 0x100000
is not writable (or present).

dev /openprom
.properties

reports Openfirmware 4.

So it looks like Openfirmware 4 is not supported. Is this correct?

regards,
chris


Hi,

did you check out my previous mails ?
i'll try to get the HEAD boot on my G5 and report back.

regards


Yep, booted a ramdisk image of NetBSD HEAD on my G5 via TFTP :)
And with a ramdisk image you can format your HDD and install NetBSD to it and then boot it from HDD.
You still need my patches though.
I'll post a HOWTO with all my patches shortly.


Here is the dmesg:

# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.40 (POWERMAC_G5_11_2_RD) #1: Sat Apr  1 13:15:44 CEST 2014

phileas@fogg:/home/phileas/netbsd/current/src/sys/arch/macppc/compile/obj/POWERMAC_G5_11_2_RD
total memory = 2048 MB
oea_startup: failed to allocate DEAD ZONE: error=12
avail memory = 1940 MB
timecounter: Timecounters tick every 10.000 msec
found U3/U4 HT PIC at f8040000
OpenPIC Version 1.2: Supports 4 CPUs and 124 interrupt sources.
bootpath:
mainbus0 (root)
cpu0 at mainbus0: 970MP (Revision 1.0), ID 0 (primary)
cpu0: HID0 , powersave: -1
cpu1 at mainbus0: ID 1
cpu1: processor off-line; multiprocessor support not present in kernel
uninorth0 at mainbus0
pci0 at uninorth0 bus 10
pci0: i/o space, memory space enabled
genfb0 at pci0 dev 0 function 0found EDID property...
: NVIDIA GeForce 6600 (rev. 0xa2)
genfb0: framebuffer at 0x98020000, size 1280x1024, depth 8, stride 1536
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at genfb0 not configured
ibmcpc0 at mainbus0
Mapping in config space @ pa 0xf2000000, size: 0x02800000
pci1 at ibmcpc0 bus 4
pci1: i/o space, memory space enabled
pci2 at ibmcpc0 bus 5
pci2: i/o space, memory space enabled
bge0 at pci2 dev 4 function 0: Broadcom BCM5780 Gigabit Ethernet
genppc_pci_intr_map: pin: 1, line: 66
bge0: interrupting at irq 66
bge0: HW config 00000015, 00000015, 00000000, 00000000
bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
genppc_pci_intr_map: pin: 2, line: 67
bge1: interrupting at irq 67
bge1: NVRAM lock timedout!
bge1: HW config 00000014, 00000014, 00000000, 00000000
bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
bge1: setting short Tx thresholds
brgphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface, rev. 0
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pci3 at ibmcpc0 bus 6
pci3: i/o space, memory space enabled
pci4 at ibmcpc0 bus 7
pci4: i/o space, memory space enabled
pci5 at ibmcpc0 bus 8
pci5: i/o space, memory space enabled
pci6 at ibmcpc0 bus 9
pci6: i/o space, memory space enabled
pci7 at ibmcpc0 bus 2
pci7: i/o space, memory space enabled
Apple Computer Shasta GMAC (ethernet network) at pci7 dev 15 function 0 not configured
pci8 at ibmcpc0 bus 1
pci8: i/o space, memory space enabled
obio0 at pci8 dev 7 function 0: addr 0x80000000
i2s at obio0 offset 0x0 not configured
ohci0 at pci8 dev 11 function 0: NEC USB Host Controller (rev. 0x43)
csr: 02100002
genppc_pci_intr_map: pin: 1, line: 70
ohci0: interrupting at irq 70
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci8 dev 11 function 1: NEC USB Host Controller (rev. 0x43)
csr: 02100002
genppc_pci_intr_map: pin: 2, line: 70
ohci1: interrupting at irq 70
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci8 dev 11 function 2: NEC USB2 Host Controller (rev. 0x04)
genppc_pci_intr_map: pin: 3, line: 70
ehci0: interrupting at irq 70
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
pci9 at ibmcpc0 bus 3
pci9: i/o space, memory space enabled
svwsata0 at pci9 dev 12 function 0: ServerWorks K2 SATA Controller (rev. 0x00)
svwsata0: bus-master DMA support present
genppc_pci_intr_map: pin: 1, line: 10
svwsata0: using irq 10 for native-PCI interrupt
svwsata0: primary channel wired to native-PCI mode
atabus0 at svwsata0 channel 0
svwsata0: secondary channel wired to native-PCI mode
atabus1 at svwsata0 channel 1
svwsata0: secondary channel wired to compatibility mode
atabus2 at svwsata0 channel 2
svwsata0: secondary channel configured to compatibility mode
atabus3 at svwsata0 channel 3
Apple Computer Shasta ATA (undefined, subclass 0x00) at pci9 dev 13 function 0 not configured Apple Computer Shasta Firewire (Firewire serial bus, interface 0x10) at pci9 dev 14 function 0 not configured smu0 at mainbus0 mbox 0x860c gpio 0x62 irq 53smuiic0 at smu0iic0 at smuiic0: I2C bus
smusat0 at smuiic0
system-clock at smuiic0 address 0xd4 not configured

smuiic1 at smu0iic1 at smuiic1: I2C bus


vmmask 6c000000 schedmask 7c000000 highmask 7c000000
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
uhub0 at usb0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
svwsata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD1600JS-41MVB1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
ehci0: handing over low speed device on port 2 to ohci0
svwsata0 port 1: PHY offline
boot device: cpu0
md0: internal 25000 KB image area
root on md0a dumps on md0b
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
warning: no /dev/console
init: copying out path `/sbin/init' 11
WARNING: module error: vfs load failed for `usbverbose', error 78
WARNING: module error: vfs load failed for `usbverbose', error 78
uhidev0 at uhub1 port 1 configuration 1 interface 0
WARNING: module error: vfs load failed for `usbverbose', error 78
WARNING: module error: vfs load failed for `usbverbose', error 78
uhidev0: vendor 0x046a product 0x0011, rev 2.00/1.00, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
bge0: link state UP (was UNKNOWN)
bge0: link state DOWN (was UP)
bge1: link state DOWN (was UNKNOWN)
bge0: link state UP (was DOWN)
#



regards


Home | Main Index | Thread Index | Old Index