Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hunting the ahc boot-time panic



On Thu, 20 Oct 2011, Michael wrote:

Please try the attached patch with an unmodified ahc_pci.c

I see this partially reverts the change from v1.138->v1.139 of pci.c.
That change is what brought on this situation in the first place.

Since I'm using v1.139 (201105101832Z sources) I've applied it manually
to that version (and fixed up pcivar.h to match).

And with those simple patches, I get a kernel that doesn't panic:

[...]
ppb0 at pci1 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x05)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
ahc0 at pci2 dev 2 function 0: Adaptec 2902/04/10/15/20/30C SCSI adapter
genppc_pci_intr_map: pin: 3, line: 52
ahc0: interrupting at irq 52
ahc0: aic7850: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
scsibus0 at ahc0: 8 targets, 8 luns per target
[...]

I'll patch HEAD and build soon, I hope.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index