Bug 173895 - Kernel panic on install on 64BG EM64T
Kernel panic on install on 64BG EM64T
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Geoff Gustafson
Brian Brock
Depends On:
Blocks: 181409 185624 198694
  Show dependency treegraph
Reported: 2005-11-22 05:31 EST by Bastien Nocera
Modified: 2007-11-30 17:07 EST (History)
6 users (show)

See Also:
Fixed In Version: RHSA-2006-0575
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-08-10 17:36:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
swiotlb_init_07.patch (1.83 KB, patch)
2005-11-22 05:32 EST, Bastien Nocera
no flags Details | Diff
x86_64_bootmem_alloc_fix.patch (350 bytes, patch)
2006-04-18 06:11 EDT, Bastien Nocera
no flags Details | Diff
x86_64_bootmem_alloc_fix.patch (350 bytes, patch)
2006-04-18 06:27 EDT, Bastien Nocera
no flags Details | Diff
x86_64_bootmem_alloc_fix.patch (350 bytes, patch)
2006-04-18 06:55 EDT, Bastien Nocera
no flags Details | Diff
x86_64_move_memmap_alloc_end.patch (1.54 KB, patch)
2006-04-18 08:26 EDT, Bastien Nocera
no flags Details | Diff

  None (edit)
Description Bastien Nocera 2005-11-22 05:31:57 EST
Using RHEL4 U2's installer, a 64GB EM64T machine would panic on bootup with:
  Kernel panic - not syncing: map_single: bounce buffer is not DMA'ble 

The problem is because of mem_map using up most of the low memory (because of
64GB physical memory) and kernel is not  able to allocate swiotlb buffer in low
memory. We have verified that things work fine by moving the swiotlb init earlier.

Patch from venkatesh.pallipadi@intel.com attached.
Comment 1 Bastien Nocera 2005-11-22 05:32:03 EST
Created attachment 121337 [details]
Comment 3 Larry Woodman 2005-11-24 11:45:28 EST
This patch will work but another/better solution is to move the mem_map above
the 4GB boundary.  There is no reason that it needs to be at such a low address.
I'll work with Intel on creating a patch that does this.

Larry Woodman
Comment 8 Bob Johnson 2006-04-11 11:53:11 EDT
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 4.4 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 4.4 release.
Comment 9 Bastien Nocera 2006-04-18 06:11:44 EDT
Created attachment 127908 [details]
Comment 10 Bastien Nocera 2006-04-18 06:27:39 EDT
Created attachment 127909 [details]
Comment 11 Bastien Nocera 2006-04-18 06:55:55 EDT
Created attachment 127910 [details]
Comment 12 Bastien Nocera 2006-04-18 08:26:41 EDT
Created attachment 127914 [details]
Comment 13 Bastien Nocera 2006-04-18 08:27:50 EDT
Updated patches attached.
Comment 14 Jason Baron 2006-04-27 11:07:25 EDT
committed in stream U4 build 34.25. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/
Comment 20 Red Hat Bugzilla 2006-08-10 17:36:26 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.