Subject: port-macppc/23287: broken ahc support in -current
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 10/27/2003 18:59:04
>Number:         23287
>Category:       port-macppc
>Synopsis:       broken ahc support in -current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 19:00:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     michael wolfson
>Release:        -current
>Organization:
>Environment:
NetBSD 1.6ZD (GENERIC) #0: Fri Oct 24 13:09:41 UTC 2003
        autobuild@cs20.apochromatic.org:/autobuilder/build/HEAD/macppc/OBJ/autobuilder/build/HEAD/src/sys/arch/macppc/compile/GENERIC

>Description:
Everything used to work fine with a Feb 2003 era kernel.
From a working kernel:
ahc0 at pci0 dev 14 function 0
ahc0: interrupting at irq 24
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target

From -current non-working GENERIC kernel:
ahc0 at pci0 dev 14 function 0: unable to map registers


NetBSD 1.6ZD (GENERIC) #0: Fri Oct 24 13:09:41 UTC 2003
        autobuild@cs20.apochromatic.org:/autobuilder/build/HEAD/macppc/OBJ/autob
uilder/build/HEAD/src/sys/arch/macppc/compile/GENERIC
total memory = 65536 KB
avail memory = 53612 KB
using 844 buffers containing 3376 KB of memory
no active packagemainbus0 (root)
cpu0 at mainbus0: 604 (Revision 3.3), ID 0 (primary)
cpu0: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
ahc0 at pci0 dev 14 function 0: unable to map registers
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:40:74:74:2a
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0 mux 1
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
nvram0 at obio0 offset 0x1d000
bandit1 at mainbus0
pci1 at bandit1 bus 1
pci1: i/o space, memory space enabled
ofb0 at pci1 dev 11 function 0: Apple Computer Control
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 1 lun 0: <IBM, DCAS-32160, S65A> disk fixed
sd0: drive offline
cd0 at scsibus1 target 3 lun 0: <SONY, CD-ROM CDU-8005, 1.0j> cdrom removable

>How-To-Repeat:
Boot macppc system with an Adaptec 2940UW card.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: