Success on G4 XServe

Kevin Day toasty at dragondata.com
Sun Jan 20 08:51:42 PST 2008


I gave 7.0-RC1 a try on a dual 1.3GHz G4/7455 Xserve. Overall success,  
with a few hangups:

1) Very strange, very rare but specific problems with the USB  
keyboard. Certain sequences of keystrokes come out wrong. If I type  
"reboot" it will always show up as "rebeoot". As soon as I press "b"  
an extra "e" comes out, but only if the preceding keys were "r" then  
"e". I can type "boot", "unboot", "noboot", "meboot" fine, but  
"reboot" always gets entered wrong. If I press r e (backspace) e b o o  
t it's fine. I'm positively stumped. The same keyboard works fine in  
OS X and in the OF console. This also happens with the word "divert"  
getting converted to "divertr".

2) Some acd errors get spit out on boot, but the cd still works fine:

acd0: CDRW <QSI CD-ROM TCR-241/WL11> at ata0-master BIOSPIO
ad0: 57241MB <Seagate ST360015A 3.31> at ata2-master UDMA133
ad1: 57241MB <Seagate ST360015A 3.31> at ata3-master UDMA133
ad2: 57241MB <Seagate ST360015A 3.31> at ata4-master UDMA133
ad3: 57241MB <Seagate ST360015A 3.31> at ata5-master UDMA133
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/CDROM.
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00

3) The onboard "gem" ethernet interface doesn't seem to work right. I  
can dhcp an address, but connecting to anything doesn't seem to work.  
I haven't been able to troubleshoot any further. A bge interface on a  
PCI card works fine.

gem0: <Apple UniNorth2 GMAC Ethernet> mem 0xf5200000-0xf53fffff irq 41  
at device 15.0 on pci4
miibus1: <MII bus> on gem0
brgphy1: <BCM5754 10/100/1000baseTX PHY> PHY 0 on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:0a:95:75:6e:d0
gem0: [ITHREAD]


4) ZFS doesn't seem to be getting built... Is it x86 only?

5) No SMP support yet, but I can't complain too much. :)

6) Running bison on here seems to produce incorrect output when  
building mysql's parser.

mysql> select 1+1;
+-----+
| 1+1 |
+-----+
|   2 |
+-----+
1 row in set (0.01 sec)


mysql> select (1+1);
ERROR 1064 (42000): You have an error in your SQL syntax; check the  
manual that corresponds to your MySQL server version for the right  
syntax to use near ')' at line 1

The bison output of the parser built on a ppc system doesn't match  
what's built on x86. Copying the final parser files from an x86 over  
to here and rebuilding mysql makes it work fine. I haven't narrowed  
down the problem yet though.


Sorry for the vagueness in some of this, I only had an hour to play on  
here and I wanted to post my results so far before I forget. :)


Full dmesg posted below for those who care.

-- Kevin


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights  
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RC1 #0: Fri Dec 28 11:35:24 UTC 2007
     root at marcel-osx.englab.juniper.net:/usr/obj/usr/src/sys/GENERIC
cpu0: Motorola PowerPC 7455 revision 3.3, 1333.34 MHz
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
real memory  = 1332215808 (1270 MB)
avail memory = 1286868992 (1227 MB)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
unin0: <Apple UniNorth System Controller> on nexus0
unin0: Version 36
pcib0: <Apple UniNorth Host-PCI bridge> on nexus0
pci0: <PCI bus> on pcib0
bge0: <Broadcom BCM5703 A2, ASIC rev. 0x1002> mem  
0xa0000000-0xa000ffff irq 48 at device 16.0 on pci0
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto
bge0: Ethernet address: 00:03:93:f4:4d:62
bge0: [ITHREAD]
pcib1: <Apple UniNorth Host-PCI bridge> on nexus0
pci1: <PCI bus> on pcib1
pcib2: <Open Firmware PCI-PCI bridge> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
macio0: <KeyLargo I/O Controller> mem 0x80000000-0x8007ffff at device  
7.0 on pci2
openpic0: <OpenPIC Interrupt Controller> mem 0x40000-0x7ffff on macio0
scc0: <Zilog Z8530 dual channel SCC> mem 0x13000-0x13fff,0x8400-0x84ff, 
0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,23 on macio0
scc0: [FILTER]
scc0: [FILTER]
uart0: <z8530, channel A> on scc0
uart0: [FILTER]
uart1: <z8530, channel B> on scc0
uart1: [FILTER]
ata0 mem 0x1f000-0x1ffff,0x8a00-0x8aff irq 19 on macio0
ata0: [ITHREAD]
ohci0: <Apple KeyLargo USB controller> mem 0x80081000-0x80081fff irq  
27 at device 8.0 on pci2
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0
usb0: <Apple KeyLargo USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <Apple KeyLargo USB controller> mem 0x80080000-0x80080fff irq  
28 at device 9.0 on pci2
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1: <Apple KeyLargo USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
pcib3: <Open Firmware PCI-PCI bridge> at device 17.0 on pci1
pci3: <PCI bus> on pcib3
pcib1: failed to reserve resource for (null)
vgapci0: <VGA-compatible display> port 0x1000-0x10ff mem  
0x88000000-0x8fffffff,0x80100000-0x8010ffff irq 52 at device 2.0 on pci3
atapci0: <Promise PDC20271 UDMA133 controller> port  
0x1090-0x1097,0x1080-0x1083,0x1070-0x1077,0x1060-0x1063,0x1050-0x105f  
mem 0x90030000-0x9003ffff irq 58 at device 21.0 on pci1
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
atapci1: <Promise PDC20271 UDMA133 controller> port  
0x1040-0x1047,0x1030-0x1033,0x1020-0x1027,0x1010-0x1013,0x1000-0x100f  
mem 0x90010000-0x9001ffff irq 63 at device 27.0 on pci1
atapci1: [ITHREAD]
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci1
ata5: [ITHREAD]
pcib4: <Apple UniNorth Host-PCI bridge> on nexus0
pci4: <PCI bus> on pcib4
ata1: <Uninorth2 Kauai ATA Controller> mem 0xf5004000-0xf5007fff irq  
39 at device 13.0 on pci4
ata1: [ITHREAD]
fwohci0: <Apple UniNorth> mem 0xf5000000-0xf5000fff irq 40 at device  
14.0 on pci4
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:0a:95:ff:fe:75:6e:d0
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0a:95:75:6e:d0
fwe0: Ethernet address: 02:0a:95:75:6e:d0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
gem0: <Apple UniNorth2 GMAC Ethernet> mem 0xf5200000-0xf53fffff irq 41  
at device 15.0 on pci4
miibus1: <MII bus> on gem0
brgphy1: <BCM5754 10/100/1000baseTX PHY> PHY 0 on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:0a:95:75:6e:d0
gem0: [ITHREAD]
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
ukbd0: <CHICONY USB Keyboard, class 0/0, rev 1.10/1.03, addr 2> on uhub0
kbd1 at ukbd0
ums0: <CHICONY USB Keyboard, class 0/0, rev 1.10/1.03, addr 2> on uhub0
ums0: 3 buttons and Z dir.
Timecounter "decrementer" frequency 41537897 Hz quality 0
Timecounters tick every 10.000 msec
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
acd0: CDRW <QSI CD-ROM TCR-241/WL11> at ata0-master BIOSPIO
ad0: 57241MB <Seagate ST360015A 3.31> at ata2-master UDMA133
ad1: 57241MB <Seagate ST360015A 3.31> at ata3-master UDMA133
ad2: 57241MB <Seagate ST360015A 3.31> at ata4-master UDMA133
ad3: 57241MB <Seagate ST360015A 3.31> at ata5-master UDMA133
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/CDROM.
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00
Trying to mount root from ufs:/dev/ad0s3


More information about the freebsd-ppc mailing list