Re: page fault panic in device_get_softc/acpi_pcib_route_interrupt

From: Pawel Worach (pawel.worach_at_telia.com)
Date: 01/07/05

  • Next message: Marcel Moolenaar: "Re: Oracle & linprocfs (was: Re: linux kernel-land)"
    Date: Fri, 07 Jan 2005 00:26:57 +0100
    To: Nate Lawson <nate@root.org>
    
    

    Nate Lawson wrote:
    > A possible fix is to change each reference to LP* in the PICM and APIC
    > packages to be \LPUS, \LP05, etc. Then recompile and load your asl via
    > the instructions for overriding it in acpi(4).
    >
    > I'm still not sure why this is broken though so I think it's a red
    > herring and suspect the asl fix won't help. I suspect the real reason
    > is that \LPUS is not probed/attached before calling pci_add_child() on
    > PCI0. Pawel, can you stick a printf in acpi_pci_link_attach() right
    > before the return (0) like this:
    >
    > printf("pci link attached: %s\n", acpi_name(acpi_get_handle(dev)));
    >
    > I suspect we won't see LPUS there before it panics.
    >

    I do not even see the code enter acpi_pci_link_attach(), even added a dummy
    printf at the top of the method.

    I modified the AML, changed all LP* to \LP* (except for the Device(LP*) ones,
    should I change these too?) the result was a couple of errors during boot.
    I broke something didn't I?

    can't fetch resources for \_SB_.PCI0 - AE_AML_INVALID_RESOURCE_TYPE
    can't fetch resources for \_SB_.PCI0.ISA_.SIOM - AE_AML_NO_RESOURCE_END_TAG
    can't fetch resources for \_SB_.PCI0.ISA_.PS2M - AE_AML_NO_RESOURCE_END_TAG
    can't fetch resources for \_SB_.PCI0.ISA_.FDC0 - AE_AML_NO_RESOURCE_END_TAG
    can't fetch resources for \_SB_.PCI0.ISA_.COM1 - AE_AML_NO_RESOURCE_END_TAG
    can't fetch resources for \_SB_.PCI1 - AE_AML_INVALID_RESOURCE_TYPE
    can't fetch resources for \_SB_.PCI2 - AE_AML_INVALID_RESOURCE_TYPE
    can't fetch resources for \_SB_.PCI3 - AE_AML_INVALID_RESOURCE_TYPE
    can't fetch resources for \_SB_.PCI4 - AE_AML_INVALID_RESOURCE_TYPE
    ..
    Fatal trap 12: page fault while in kernel mode
    [same old story]
    ...

    -- 
    Pawel
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Marcel Moolenaar: "Re: Oracle & linprocfs (was: Re: linux kernel-land)"

    Relevant Pages

    • Re: Unknown use of F9 key
      ... press it the whole desktop goes dim, and only comes back if I press ... another F-key or click with the mouse. ... I also suspect it was set as a key and the action program no ... All I've got is a fix for you. ...
      (Ubuntu)
    • Re: 2.6.24-rc6-mm1
      ... I then tried to "fix" it with this suspect. ... my WARN_ONin skb_morph did not trigger once before ... u32 seq, u32 *off) ...
      (Linux-Kernel)
    • Re: Another apology
      ... powercuts etc. So I suspect that it wasn't TP at ... problems recognising the network devices which i can fix by disconnecting ...
      (uk.religion.christian)
    • Re: Trouble with reading and appending to lines in a file...
      ... > I suspect Michael's answer will fix the ... > immediate problem, ... > Give it a try and see if it reveals ...
      (comp.lang.java.programmer)
    • Re: Quick Launch Toolbar is missing from the taskbar
      ... Follow the instructions! ... THE PARASITE FIGHT QUICK FIX PROTOCOL ... Download, install, run, update and run again; ... Bazooka Adware and Spyware Scanner v1.13 ...
      (microsoft.public.windowsxp.help_and_support)

    Loading