kernel BUG at pageattr:107
Hi,
I am getting the following error message as part of stack trace. I have a system with > 4G mem with RHEL4 x86_64. I installed the OS and when I did the reboot, the system failed with a stack trace with errors as follows:
Intializing hardware.....
kernel BUG at pageattr:107
Invalid operand:0000 [1] SMP
Modules linked in: hw_random tg3 floppy sd_mod aic79xx(U) scsi_mod
dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod
pid: 1217,comm:modprobe....
..............
................
...............
RIP ...{__change_page_attr+1039}/etc/rc.d/rc.sysinit: line 167: 1217 Segmentation fault modprobe $1
Quoted 1 line
/dev/null2>&1
I wanted to know if aic79xx driver is having some problems or is it kernel/scsi subsystem. I don't see the stack trace pointing to aic79xx driver at all.
Also, the above issue is only for > 4G mem.
Thanks in advance for the help.
with regards,
Anil
This was fixed a few days ago in a recent patch, titled:
x86_64: Don't look up struct page pointer of physical address in iounmap
It's only a one-line change:
tree b5d1e3e603823d798b77a91641f63f10a0a733b1
parent 1f5ee8da005f50d9f46ae5a7edba9a9c2d37b32e
author Andi Kleen <[email protected]> Tue, 17 May 2005 11:53:24 -0700 committer Linus Torvalds <[email protected]> Tue, 17 May 2005 21:59:14 -0700
[PATCH] x86_64: Don't look up struct page pointer of physical address in iounmap
It could be in a memory hole not mapped in mem_map and that causes the hash lookup to go off to nirvana.
arch/x86_64/mm/ioremap.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86_64/mm/ioremap.c (mode:100644 sha1:c6fb0cb69992bbf14a2f42d4ddde10b298cd9316) renamed from arch/x86_64/mm/ioremap.c (mode:100644 sha1:74ec8554b195de6c5a9b87ce5d39f08d9c5da544) +1 -1
@@ -272,7 +272,7 @@ void iounmap(volatile void __iomem *addr if ((p->flags >> 20) && p->phys_addr + p->size - 1 < virt_to_phys(high_memory)) { /* p->size includes the guard page, but cpa doesn't like that */ - change_page_attr(virt_to_page(__va(p->phys_addr)), + change_page_attr_addr((unsigned long)__va(p->phys_addr), p->size >> PAGE_SHIFT, PAGE_KERNEL); global_flush_tlb();
Quoted 37 lines · Anil Kumar
Hi,
I am getting the following error message as part of stack trace. I have a system with > 4G mem with RHEL4
x86_64. I installed the OS and when I did the reboot, the system failed with a stack trace with
errors as follows:Intializing hardware.....
kernel BUG at pageattr:107
Invalid operand:0000 [1] SMPModules linked in: hw_random tg3 floppy sd_mod aic79xx(U) scsi_mod
dm_snapshotdm_zerodm_mirrorext3 jbddm_mod
pid: 1217,comm:modprobe....
..............
................
...............
RIP ...{__change_page_attr+1039}/etc/rc.d/rc.sysinit: line 167: 1217 Segmentation fault modprobe $1Quoted 1 line
/dev/null2>&1I wanted to know if aic79xx driver is having some problems or is it kernel/scsi subsystem. I don't see the stack trace pointing to aic79xx driver at all.
Also, the above issue is only for > 4G mem.
Thanks in advance for the help.
with regards,
Anil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 7 lines
Timur Tabi Staff Software Engineer [email protected] One thing a Southern boy will never say is, "I don't think duct tape will fix it." -- Ed Smylie, NASA engineer for Apollo 13
Quoted 7 lines · Anil Kumar
I am getting the following error message as part of stack trace. I have a system with > 4G mem with RHEL4
x86_64. I installed the OS and when I did the reboot, the system failed with a stack trace with errors as follows:Intializing hardware.....
kernel BUG at pageattr:107
Anil,
Please try the kernels here:
http://people.redhat.com/linville/kernels/rhel4/
They contain a patch that I believe applies to your situation. Please let me know the results of using those kernels.
Thanks,
John
Signature · 2 lines
John W. Linville [email protected]