Opened 14 years ago

Last modified 4 years 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: Unscheduled
Component: Add-Ons Version: R1/Development
Keywords: Cc:
Blocked By: #5193, #6129 Blocking: #1048
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 14 years ago.
proposed patch: remove unused variable, leftover from hrev25913
0002-Fix-device-type-check.patch (1.6 KB ) - added by andreasf 14 years ago.
proposed patch: fix PIC device type check
0003-Fix-OpenPIC.patch (4.3 KB ) - added by andreasf 14 years ago.
draft patch: clean up OpenPIC
pre-patch.jpg (333.3 KB ) - added by kallisti5 14 years ago.
pre patch on hrev38534
post-patch.jpg (142.3 KB ) - added by kallisti5 14 years ago.
post patch on hrev38534

Download all attachments as: .zip

Change History (14)

by andreasf, 14 years ago

proposed patch: remove unused variable, leftover from hrev25913

comment:1 by andreasf, 14 years ago

patch: 01

by andreasf, 14 years ago

proposed patch: fix PIC device type check

by andreasf, 14 years ago

Attachment: 0003-Fix-OpenPIC.patch added

draft patch: clean up OpenPIC

comment:2 by andreasf, 14 years ago

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.

by kallisti5, 14 years ago

Attachment: pre-patch.jpg added

pre patch on hrev38534

by kallisti5, 14 years ago

Attachment: post-patch.jpg added

post patch on hrev38534

comment:3 by kallisti5, 14 years ago

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)

in reply to:  3 comment:4 by andreasf, 14 years ago

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 by mmadia, 14 years ago

Milestone: R1

PPC should not delay R1.

comment:6 by pulkomandy, 9 years ago

Owner: changed from nobody to mmu_man
Status: newassigned

comment:7 by pulkomandy, 7 years ago

patch: 10

comment:9 by pulkomandy, 4 years ago

Milestone: Unscheduled
Note: See TracTickets for help on using tickets.