[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
The following reply was made to PR port-i386/42966; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Anne Bennett <anne%porcupine.montreal.qc.ca@localhost>,
matthew green <mrg%eterna.com.au@localhost>
"David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
Subject: Re: port-i386/42966: kernel built from today's netbsd-5 crashes
Date: Thu, 18 Mar 2010 08:40:14 -0400
On Mar 17, 11:40pm, anne%porcupine.montreal.qc.ca@localhost (Anne Bennett)
-- Subject: 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
See revision 1.2 of that file which explains what is going on. Drochner backed
it out for some reason...
Main Index |
Thread Index |