Subject: Re: Testers needed with Beige G3
To: netbsd-macppc <port-macppc@NetBSD.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: port-macppc
Date: 11/05/2006 14:17:53
I haven't played with it much yet, but this kernel Does Not Want(TM)  
my Apple Adjustable keyboard:

adbkbd0 at nadb0: ADB keyboard addr 2adjustable keyboard
wskbd0 at adbkbd0: console keyboard, using wsdisplay0
: ADB relative pointing device: something form address 7:02adbkbd1 at  
nadb0: ADB keyboard addr 15adjustable keypad
wskbd1 at adbkbd1panic: kernel diagnostic assertion  
"wskbd_console_device == NULL" failed: file ".../wscons/wskbd.c" line  
446
Stopped in pid 0.1 (swapper) at 0x2db47c: lwz r0,r1,0x14
db>

Booting with the keypad and mouse disconnected gets me to multiuser.  
I guess you stripped it for size because it said the kernel symbol  
table was missing on boot.


NetBSD 4.99.3 (COINTREAU) #37: Sat Nov  4 08:00:35 EST 2006
	root@cointreau:/wd/build/obj/sys/arch/macppc/compile/COINTREAU
total memory = 256 MB
avail memory = 244 MB
timecounter: Timecounters tick every 10.000 msec
Found Heathrow at 0xf3000000
Handling 64 interrupts
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8290c02c<EMCP,ECLK,DOZE,DPM,ICE,DCE,BTIC,ABE,BHT>,  
powersave: 1
cpu0: 271.19 MHz, no-parity 512KB WT L2 cache (PB SRAM) at 2:1 ratio
grackle0 at mainbus0
reg: 11000000
reg: 110000a0
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
ohci0 at pci0 dev 13 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at irq 23
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 13 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at irq 23
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 13 function 2: NEC USB Host Controller (rev. 0x02)
ehci0: interrupting at irq 23
ehci0: BIOS has given up ownership
ehci0: EHCI version 0.95
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
fwohci0 at pci0 dev 14 function 0: Texas Instruments TSB12LV26 IEEE  
1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 24
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:d0:03:56:xx:xx:xx:xx
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
Intel 82557 Fast Ethernet LAN Controller (ethernet network, revision  
0x05) at pci0 dev 15 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:xx:xx:xx
zsc0 at obio0: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000 Screamer: irq 17,8,9
headphonesawacs0: found 'Whisper' personality card
audio0 at awacs0: full duplex
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
wdc0 at obio0 offset 0x20000 irq 13,2: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x21000 irq 14,3: DMA transfer
atabus1 at wdc1 channel 0
cuda0 at obio0 offset 0x16000
nadb0 at cuda0: Apple Desktop Bus
iic0 at cuda0: I2C bus
sgsmix0 at iic0 addr 0x8a: SGS TDA7433 Basic Audio Processor
machfb0 at pci0 dev 18 function 0: ATI Technologies 3D Rage I/II  
(rev. 0x9a)
machfb0: 16 MB aperture at 0x82000000, 4 KB registers at 0x00000000
machfb0: memctl 003210b7
machfb0: 4096 KB SGRAM 62.778 MHz, maximum RAMDAC clock 170 MHz
gen_cntl: 03000200
mach64_get_mode: 1024 1048 1440 1344 768 771 809 806
machfb0: initial resolution 1024x768 at 8 bpp
wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 16705000 Hz quality 100
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
adbkbd0 at nadb0: ADB Keyboard addr 2adjustable keyboard
wskbd0 at adbkbd0: console keyboard, using wsdisplay0
: something from address 7:02scsibus0: waiting 2 seconds for devices  
to settle...
ehci0: handing over full speed device on port 1 to ohci0
uhub2: port 1, device disappeared after reset
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, 1 lun per target
wd0 at atabus0 drive 0: <Maxtor 31024H1 B>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9768 MB, 19847 cyl, 16 head, 63 sec, 512 bytes/sect x 20005776  
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
conf[0] = 0x211023, cyc = 4 (120 ns), act = 2 (50 ns), inact = 1
conf: 00211023
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITA CR-589, , GA0W> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
conf[0] = 0x211023, cyc = 4 (120 ns), act = 2 (50 ns), inact = 1
conf: 00211023
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
sd0 at scsibus1 target 0 lun 0: <LEXAR, DIGITAL FILM, /W1.> disk  
removable
sd0: 15616 KB, 244 cyl, 4 head, 32 sec, 512 bytes/sect x 31232 sectors
awacs0: using sgsmix0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs



On Nov 3, 2006, at 2:41 PM, Michael Lorenz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> please try this kernel on a Beige G3:
> ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/macppc/netbsd_G3.bz2
>
> It should
> - - get the audio chip working, complete with bass/treble control.  
> Tested only with a Whisper personality card but others /should/  
> work since they use the same external mixer chip.
> - - use a different driver for Cuda - necessary to get access to  
> Cuda's i2c-bus which controls the mixer mentioned above.
> - - use different drivers for ADB devices, so far it only supports  
> keyboards. This implementation is a lot smaller, simpler and it  
> doesn't have many of the problems and weirdnesses the old driver  
> has. For instance it doesn't produce phantom events on caps lock,  
> it can control keyboard LEDs etc.
> - - real time clock and so on should work as before.
> - - IDE DMA should work. I still get one error message about a  
> missed interrupt when starting init but that seems harmless and  
> there are no other errors. Heathrow's IDE controllers seem very  
> sensitive regarding bad cables so if you get errors try different  
> cables first.
>
> Here's some dmesg output:
> awacs0 at obio0 offset 0x14000 Screamer: irq 17,8,9
> awacs0: found 'whisper' personality card
> audio0 at awacs0: full duplex
> ...
> cuda0 at obio0 offset 0x16000
> nadb0 at cuda0: Apple Desktop Bus
> iic0 at cuda0: I2C bus
> sgsmix0 at iic0 addr 0x8a: SGS TDA7433 Basic Audio Processor
> ...
> adbkbd0 at nadb0: ADB Keyboard addr 2 extended keyboard
> wskbd0 at adbkbd0: console keyboard, using wsdisplay0
> ...
> awacs0: using sgsmix0
>
> ~> mixerctl -a
> monitor.output=headphones
> outputs.speaker=209,209
> outputs.headphones=120,120
> record.source=cd
> record.record=224,224
> monitor.bass=160,0
> monitor.treble=160,0
>
> have fun
> Michael
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iQEVAwUBRUubTMpnzkX8Yg2nAQLL4Qf/XzCv0vWiVXVxjelCMrJ0Q5uI0NyoT3bc
> Eli7qQ3ydkkg0lG+zhzZgy3X6V/LymBxP3Aft6dP26PW77+jXccLBuQU8E5j5AZj
> +bjMwmzoxpqleRNOTVmJw10dol7ssmcUCXQ6Pj9jXp/NP9k6iW6euQIqyaSud2uS
> BhRFFIPfXpe9NvJ2qI5du5S9E0rpk752ahg4tbPdn6tO6diZsFJAy2fsLv3v5Gas
> yQIF9dWdZwu7KABWKA8c9l6P+J/sojtC41bH3ox+TlyREFQXtyKpZ/7nhRMLo8MB
> pSCDh/ZMYacIPkDwVKb3iebd+pMfZffdAUju6lbK2IitGF4a2lwiIA==
> =UxKR
> -----END PGP SIGNATURE-----
>
>
> !DSPAM:454b9b5b59871581020584!
>
>
>