NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/42966: kernel built from today's netbsd-5 crashes


Thanks for looking into this.

> it comes from this call in i915_dma.c:
>       drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE, 0xffffffff);
> and the final argument is passed as the boundary.  notice how it is
> not a power of two?  it really wants to be 0x1.0000.0000.
> anne, david, can one of you try changing this to 0?  or if you have
> 2GB of ram or less, try 0x80000000...

Kernel says:
  total memory = 2038 MB
  avail memory = 1991 MB

Any preference as to whether I try 0x80000000 or 0x0 (to replace
0xffffffff, I assume)?  Which one are you hoping to patch to in
the end?

Meanwhile, I have two files "i915_dma.c" with different contents:
   (1) /usr/src/sys/dev/pci/drm/i915_dma.c
   (2) /usr/src/sys/external/bsd/drm/dist/shared-core/i915_dma.c

and both have statements like the one above:

        /* Program Hardware Status Page */
        dev_priv->status_page_dmah = drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE,

        /* Program Hardware Status Page */
        dev_priv->status_page_dmah =
                drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE, 0xffffffff);

... do I change both?

Ms. Anne Bennett, as a private citizen:
Also reachable more officially at work:

Home | Main Index | Thread Index | Old Index