Subject: Breakage in -current?
To: port-macppc <port-macppc@NetBSD.ORG>
From: Bob Nestor <rnestor@augustmail.com>
List: port-macppc
Date: 12/21/2003 17:11:30
Thanks to Christmas Break I finally found time to dust off my old PPC 
mac.  The last working kernel I had on it was 1.6K installed about this 
time last year.  I built a new GENERIC kernel from last nite's sources 
(1.6ZG) and tired it today.  The USB keyboard doesn't work and all 
access to disk and CD get interrupt timeout errors.  All this works 
with the 1.6K kernel.  The demsg diff output is attached.  Are these 
known problems with -current, or have I stumbled onto something new?

Thanks,
-bob

% diff 1.6K 1.6ZG
1,2c1,2
< NetBSD 1.6K (GENERIC) #0: Sat Dec 14 12:23:25 CST 2002
<     root@bandit:/usr/obj/sys/arch/macppc/compile/GENERIC
---
 > NetBSD 1.6ZG (GENERIC) #0: Sun Dec 21 12:45:36 CST 2003
 >       
root@bandit:/usr/pub/build/obj/macppc/sys/arch/macppc/compile/GENERIC
4c4
< avail memory = 109 MB
---
 > avail memory = 110 MB
5a6
 > sysctl_createv: sysctl_create(cacheinfo) returned 17
9,10c10
< cpu0: 400.00 MHz
< cpu0: 1MB write-through Pipelined synchronous burst SRAM backside 
cache
---
 > cpu0: 400.00 MHz, no-parity 1MB WT L2 cache (PB SRAM) at 2:1 ratio
20,34c20,28
< pciide0 at pci1 dev 1 function 0: CMD Technology PCI0646 (rev. 0x05)
< pciide0: bus-master DMA support present
< pciide0: primary channel configured to native-PCI mode
< pciide0: using irq 26 for native-PCI interrupt
< wd0 at pciide0 channel 0 drive 0: <Maxtor 92041U4>
< wd0: drive supports 16-sector PIO transfers, LBA addressing
< wd0: 19541 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 40020624 
sectors
< wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 
(Ultra/66)
< wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) 
(using DMA data transfers)
< pciide0: secondary channel configured to native-PCI mode
< pciide0: secondary channel ignored (disabled)
< ahc0 at pci1 dev 2 function 0
< ahc0: interrupting at irq 23
< ahc0: aic7850 Single Channel A, SCSI Id=7, 3/255 SCBs
< scsibus0 at ahc0: 8 targets, 8 luns per target
---
 > cmdide0 at pci1 dev 1 function 0
 > cmdide0: CMD Technology PCI0646 (rev. 0x05)
 > cmdide0: bus-master DMA support present
 > cmdide0: primary channel configured to native-PCI mode
 > cmdide0: using irq 14 for native-PCI interrupt
 > atabus0 at cmdide0 channel 0
 > cmdide0: secondary channel configured to native-PCI mode
 > cmdide0: secondary channel ignored (disabled)
 > ahc0 at pci1 dev 2 function 0: unable to map registers
37c31
< scsibus1 at mesh0: 8 targets, 8 luns per target
---
 > scsibus0 at mesh0: 8 targets, 8 luns per target
46,49c40
< atapibus0 at wdc0 channel 0: 2 targets
< cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8583, , D54A> cdrom 
removable
< cd0: drive supports PIO mode 4, DMA mode 2
< cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
---
 > atabus1 at wdc0 channel 0
55,60c46,47
< ohci0: interrupting at irq 28
< ohci0: OHCI version 1.0, legacy support
< usb0 at ohci0: USB revision 1.0
< uhub0 at usb0
< uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
< uhub0: 2 ports with 2 removable, self powered
---
 > pci_intr_map: no mapping for pin C
 > ohci0: couldn't map interrupt
66,83c53,77
< uhub1 at uhub0 port 1
< uhub1: Macally Macally iKey, class 9/0, rev 1.10/0.01, addr 2
< uhub1: 3 ports with 2 removable, bus powered
< uhidev0 at uhub1 port 1 configuration 1 interface 0
< uhidev0: Macally Macally iKey, rev 1.10/0.01, addr 3, iclass 3/1
< ukbd0 at uhidev0: 8 modifier keys, 6 key codes
< wskbd1 at ukbd0: console keyboard, using wsdisplay0
< uhidev1 at uhub1 port 1 configuration 1 interface 1
< uhidev1: Macally Macally iKey, rev 1.10/0.01, addr 3, iclass 3/0
< uhidev1: 3 report ids
< uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
< uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
< uhid2 at uhidev1 reportid 3: input=3, output=1, feature=0
< scsibus1: waiting 2 seconds for devices to settle...
< uhidev2 at uhub1 port 2 configuration 1 interface 0
< uhidev2: Fujitsu Component Apple Optical USB Mouse, rev 1.10/1.00, 
addr 4, iclass 3/1
< ums0 at uhidev2: 1 button
< wsmouse1 at ums0 mux 0
---
 > wd0 at atabus0 drive 0cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 512 tc_skip: 0
 > : <Maxtor 92041U4>
 > wd0: drive supports 16-sector PIO transfers, LBA addressing
 > wd0: 19541 MB, 39703 cyl, 16 head, 63 sec, 512 bytes/sect x 40020624 
sectors
 > cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 512 tc_skip: 0
 > cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 512 tc_skip: 0
 > cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 0 tc_skip: 0
 > wd0: drive supports PIO mode 4cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 0 tc_skip: 0
 > , DMA mode 2cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 0 tc_skip: 0
 > , Ultra-DMA mode 4 (Ultra/66)cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 0 tc_skip: 0
 > cmdide0:0:0: lost interrupt
 >       type: ata tc_bcount: 0 tc_skip: 0
 >
 > wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) 
(using DMA data transfers)
 > atapibus0 at atabus1: 2 targets
 > cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8583, , D54A> cdrom 
removable
 > cd0: drive supports PIO mode 4, DMA mode 2
 > cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
94a89
 > bm0: device timeout