[haiku-bugs] Re: [Haiku] #8684: Unhandled page fault panic at boot with rtl81xx driver

  • From: "xyzzy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Jul 2012 19:08:50 -0000

#8684: Unhandled page fault panic at boot with rtl81xx driver
---------------------------------------+----------------------------
   Reporter:  xyzzy                    |      Owner:  nobody
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Drivers/Network/rtl81xx  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  x86
---------------------------------------+----------------------------

Comment (by xyzzy):

 OK, so it's happening only on CD boots (anyboot or ISO image).

 What I've found is that it's seeing that bus_managers/pci/x86/v1 is unused
 in module_init_post_boot_device, but the PCI module image is not unloaded.
 Then when the FreeBSD driver tries to get the x86 PCI module, a new copy
 of the PCI module image gets loaded, and pci_init doesn't get called on
 that copy so gPCI in it will be NULL, hence the NULL access.

 What's strange is why this isn't happening everywhere...

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

Other related posts: