Re: [Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM



On Thu, 25 Sep 2008, Jesse Barnes wrote:

Yes, I think that xorg/xorg i915 driver/libdrm/GEM/whatever are the
biggest suspect currently, according to the data that has been
gathered so far.
We have confirmation that this isn't GEM related; according to the
Novell bug at https://bugzilla.novell.com/show_bug.cgi?id=425480 people
have hit the problem with kernels w/o GEM.

But the xorg intel driver shipped with xorg 7.4 already has support for
GEM, right? So there could still be some bug in the GEM-aware driver
running on non-GEM kernel, can't it?

That doesn't rule out i915 (though I don't think any changes have gone
in since 2.6.26 that would have caused this) or xf86-video-intel. It's
possible that X is getting confused about BAR mappings somehow,
resulting in a clobbered e1000e NVRAM, but why would the kernel version
matter in that case? The only thing that comes to mind would be PAT...

Yes, booting with 'nopat' is on my list to try immediately after we are
able to recover the corrupted EEPROM.

Recent versions of the X drivers (using recent libpciaccess code) will
try to map the resourceN_wc file in sysfs. It's possible that the map
size we end up using is wrong, leading to the situation Dave described
earlier where we map too much MMIO space.

This we could catch easily even with strace, right?

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Two FC7 questions
    ... or to never remove an old kernel. ... display for the motor home. ... map so the direction your moving is up, ... I have used roadnav with a smaller display when when using a GPS, ...
    (Fedora)
  • Re: [crash] Re: Latest brk patchset
    ... leaves the space under the kernel avaliable for allocating pagetable ... make sure we map enough to fit linear map pagetables ... that mm/init.c can allocate space from the e820 allocator ... for the linear map of low memory. ...
    (Linux-Kernel)
  • Re: 2.6.29 pat issue
    ... linear pfn map. ... Indeed, it's crucial to keep the mappings consistent, but failure to do so is a kernel driver bug, it should never be the result of invalid user data. ...
    (Linux-Kernel)
  • Re: MmGetSystemAddressForMdlSafe
    ... The only reason why I mentioned MmGetPhysicalAddress + MmMapIoSpace is ... Both MmGetSystemAddressForMdlSafeand MmMapIoSpace() map pages to ... allocate new pages of memory once we just map the existing ones into ... free kernel VA PTEs with which the pages can be mapped. ...
    (microsoft.public.win32.programmer.kernel)
  • new friend of sys/queue.h and sys/tree.h
    ... Hash table are basic data structure, it is good to have it in kernel, but i did not see some easy to use framework like sys/queue.h in our kernel. ... This file contain basic data structures. ... A multi map structure is headed by MMAP_HEAD macro to reduce lines of code ...
    (freebsd-arch)