Subject: Re: Beige G3 troubles
To: Michael Lorenz <macallan@netbsd.org>
From: A. P. Kennedy <spamtree@comcast.net>
List: port-macppc
Date: 09/09/2006 22:45:14
>>>>> "M" == Michael Lorenz <macallan@netbsd.org> writes:

 M> -----BEGIN PGP SIGNED MESSAGE-----
 M> Hash: SHA1

 M> Hello,

 M> now that I have a beige G3 to play with I can actually check out some
 M> more PRs.
 M> Things I've noticed so far ( all with -current ):
 M> - - IDE DMA doesn't work at all it seems. With DMA enabled the driver
 M> will complain about lost interrupts and ultimately panic and/or mess
 M> up your disk. Is that just me?

I had DMA panic, but reset pram (nvarm) and reloaded the nvram system
patches, and all is well now.

 M> - - a (broken?) Apple IDE CDROM made the kernel hang when trying to
 M> probe IDE ports, funny enough it probed ide1 first. Unplugging the
 M> drive or replacing it with a bog standard one helped.

My apple cdrom does not work can't comment on that. However, I cannot
boot from cdrom, and this system never has booted a cdrom. 

0 > boot ide1/disk@0:0,ofwboot.xcf bad partition number, using 0
OF_open bootpath=ide/disk@0
read stage 2 blocks: 0. done!
starting stage 2...
DEFAULT CATCH!, code=FFF00300 at   %SRR0: 00E00014   %SRR1: 00003070 
 ok
0 > boot ide1/disk@0:0,ofwboot.xcf bad partition number, using 0CLAIM failed
 ok
0 > boot ide1/disk@0:,ofwboot.xcf bad partition number, using 0CLAIM failed

I tried ide1/disk@0:,ofwboot.xcf and the same error.

 M> - - I'm getting random SIGILL when there's paging activity. Only on
 M> Grackle-equipped machines, I was unable to reproduce it on an iBook G4
 M> or a UMAX S900 while it did happen on a beige G3 and a 1st generation
 M> iMac. Ideas? Can anyone confirm this?

No problem here at all. I have never seen that error message. 

 M> - - bm ethernet is dog slow, even with thorpej's patch applied.

How do you measure this consistently? I can check also.

 M> - - onboard video works fine with both machfb and XFree86

No problem noted. 

 M> - - onboard sound ( obio/davbus ) doesn't work - 'plays' too fast but
 M> no output

Have not checked the sound. 

Hope this helps. 

Alan

Below is my boot log.

0 > boot enet: file: 192.168.100.100,ofwboot.xcfloading XCOFF
tsize=C7A0 dsize=2B4 bsize=25C0 entry=E00000 
SECTIONS:
.text    00E00000 00E00000 0000C7A0 000000E0
.data    00E0D000 00E0D000 000002B4 0000C880
.bss     00E0D2B8 00E0D2B8 000025C0 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
>> (builds@b4.netbsd.org, Sun Sep  3 19:56:44 UTC 2006)
file: 192.168.100.100,ofwboot.xcfnet_open: client addr: 192.168.100.114
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.100.112
net_open: server addr: 192.168.100.100
net_open: server path: /tftpboot
net_open: file name: ofwboot.xcf
Using IP address: 192.168.100.114
root addr=192.168.100.100 path=/tftpboot
4473680+105536=0x45e26c
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.1_RC2 (INSTALL) #0: Sun Sep  3 20:20:59 UTC 2006
        builds@b4.netbsd.org:/home/builds/ab/netbsd-3-1-RC2/macppc/200609031430Z-obj/home/builds/ab/netbsd-3-1-RC2/src/sys/arch/macppc/compile/INSTALL
total memory = 192 MB                                                 
avail memory = 179 MB
no active packagemainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 237.29 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2:1 ratio
grackle0 at mainbus0                                                
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0       
pchb0: vendor 0x1057 product 0x0002 (rev. 0x40)
ohci0 at pci0 dev 13 function 0: vendor 0x1045 product 0xc861 (rev. 0x10)
ohci0: interrupting at irq 23                                            
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0        
uhub0 at usb0                  
uhub0: vendor 0x1045 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered                       
vendor 0x8086 product 0x100e (ethernet network, revision 0x02) at pci0 dev 14 function 0 not configured
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target       
bm0 at obio0 offset 0x11000 irq 42,33: address 00:05:02:3e:91:2d
zsc0 at obio0 offset 0x13000: irq 15,16                         
zstty0 at zsc0 channel 0 (console)     
zstty1 at zsc0 channel 1          
davbus at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured 
nvram0 at obio0 offset 0x60000              
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
atabus0 at wdc0 channel 0                        
wdc1 at obio0 offset 0x21000 irq 14: DMA transfer
atabus1 at wdc1 channel 0                        
adb0 at obio0 offset 0x16000 irq 18: 2 targets
akbd0 at adb0 addr 2: extended keyboard       
wskbd0 at akbd0 mux 1                  
adb0 addr 3: relative positioning device (1) not configured
ofb0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4754
ofb0: 832 x 624, 8bpp                                       
wsdisplay0 at ofb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
md0: internal 2048 KB image area
Kernelized RAIDframe activated  
scsibus0: waiting 2 seconds for devices to settle...
probe(mesh0:0:0:0): max sync rate 10.00Mb/s