[haiku-bugs] Re: [Haiku] #6129: Kernel hang after allocate_commpage_entry

  • From: "andreasf" <trac@xxxxxxxxxxxx>
  • Date: Sun, 06 Jun 2010 23:03:22 -0000

#6129: Kernel hang after allocate_commpage_entry
---------------------------+------------------------------------------------
 Reporter:  andreasf       |       Owner:  axeld         
     Type:  bug            |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |    Platform:  PowerPC       
Blockedby:  5193           |       Patch:  0             
 Blocking:  1048           |  
---------------------------+------------------------------------------------

Comment(by andreasf):

 Interestingly with {{{TRACE_MODULE}}} turned on, I get this instead:
 {{{
 INIT: Add preloaded old-style drivers
 get_module(bus_managers/usb/v3)
 initializing module bus_managers/usb/v3 (at 0x8042c644)...
 ...done (No such device)
 usb_disk: getting module failed 0x80007007
 devfs_add_preloaded_drivers: Failed to add "usb_disk"
 get_module(interrupt_controllers/openpic/device_v1)
 resolving module dependencies...
 get_module(system/device_manager/v1)
 get_module(bus_managers/pci/v1)
 initializing module interrupt_controllers/openpic/device_v1 (at
 0x802ed654)...
 ...done (No error)
 get_module(system/device_manager/v1)
 PANIC: arch_int_init_post_device_manager(): Found no supported PIC!
 Welcome to Kernel Debugging Land...
 Running on CPU 0
 [...]
 <kernel_ppc>:panic
 <kernel_ppc>:arch_int_init_post_device_manager + 0x0324
 <kernel_ppc>:int_init_post_device_mapper + 0x0024
 <kernel_ppc>:_ZL5main2Pv + 0x00f0
 }}}
 This stems from
 [source:haiku/trunk/src/system/kernel/arch/ppc/arch_int.cpp?rev=37020#L540
 arch_int.cpp]. The code looks stubbed out, and I vaguely remember there
 was a discussion about it when the device manager was somehow reorganized.
 Will check the list archives.

 Without {{{TRACE_MODULE}}} I reproducibly get the page fault but couldn't
 spot an obvious cause. The last successful invocation of
 {{{hash_hash_string}}} is "bus_managers/usb/v3", the next string is
 damaged. Adding a NULL check for module->name doesn't help.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6129#comment:9>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: