Opened 9 years ago

Last modified 15 months ago

#6164 assigned bug

ppc: PANIC: arch_int_init_post_device_manager(): Found no supported PIC!

Reported by: andreasf Owned by: mmu_man
Priority: normal Milestone:
Component: Add-Ons Version: R1/Development
Keywords: Cc:
Blocked By: #5193, #6129 Blocking: #1048
Has a Patch: no Platform: PowerPC

Description

In hrev25913 and hrev26967 OpenPIC and its ppc kernel counterpart were hacked to compile.

So with #5193 patches we get a kernel panic:

PANIC: arch_int_init_post_device_manager(): Found no supported PIC!

Attachments (5)

0001-Remove-unused-variable.patch (901 bytes) - added by andreasf 9 years ago.
proposed patch: remove unused variable, leftover from hrev25913
0002-Fix-device-type-check.patch (1.6 KB) - added by andreasf 9 years ago.
proposed patch: fix PIC device type check
0003-Fix-OpenPIC.patch (4.3 KB) - added by andreasf 9 years ago.
draft patch: clean up OpenPIC
pre-patch.jpg (333.3 KB) - added by kallisti5 9 years ago.
pre patch on hrev38534
post-patch.jpg (142.3 KB) - added by kallisti5 9 years ago.
post patch on hrev38534

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by andreasf

proposed patch: remove unused variable, leftover from hrev25913

comment:1 Changed 9 years ago by andreasf

Has a Patch: set

Changed 9 years ago by andreasf

proposed patch: fix PIC device type check

Changed 9 years ago by andreasf

Attachment: 0003-Fix-OpenPIC.patch added

draft patch: clean up OpenPIC

comment:2 Changed 9 years ago by andreasf

Added a draft patch cleaning up the OpenPIC add-on:

  • add device types, IO resources and name when registering
  • clean up retrieval of PCI info in initialization
  • implement stub driver functions where NULL values were marked as "HACK"

These are my first patches touching the device manager, so patch 3 may need careful review.

Changed 9 years ago by kallisti5

Attachment: pre-patch.jpg added

pre patch on hrev38534

Changed 9 years ago by kallisti5

Attachment: post-patch.jpg added

post patch on hrev38534

comment:3 Changed 9 years ago by kallisti5

via haiku.image netboot on PowerPC G3 PowerBook:

pre patches i received the following:

syslog:
Failed to add "usb_disk": Device not accessible

kdl:
PANIC: arch_int_init_post_device_manager(): Found no supported PIC!

post patches the system locks up at pci_init (see screenshots)

comment:4 in reply to:  3 Changed 9 years ago by andreasf

Replying to kallisti5:

post patches the system locks up at pci_init (see screenshots)

What does dev pci at OF prompt say? (especially model and compatible properties)
Might be related to #6247.

Note that the patches only try to restore previous behavior. I have no idea whether that was correct or even worked at the time.

comment:5 Changed 8 years ago by mmadia

Milestone: R1

PPC should not delay R1.

comment:6 Changed 3 years ago by pulkomandy

Owner: changed from nobody to mmu_man
Status: newassigned

comment:7 Changed 15 months ago by pulkomandy

Has a Patch: unset
Note: See TracTickets for help on using tickets.