login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
29
Re: [PATCH RFC] x86: check for and defend against BIOS memory corruption
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeremy Fitzhardinge
Subject:
Re: [PATCH RFC] x86: check for and defend against BIOS memory corruption
Date: Friday, August 29, 2008 - 7:08 am
Hugh Dickins wrote:
quoted text
> Not quite the output we were expecting! I've not got around to trying > it yet, so beware, but I think Jeremy's patch needs the following on top. > Or you may prefer to wait until one of us reports that it is now working > as intended. > > --- a/arch/x86/kernel/setup.c 2008-08-29 11:17:16.000000000 +0100 > +++ b/arch/x86/kernel/setup.c 2008-08-29 11:19:24.000000000 +0100 > @@ -636,11 +636,12 @@ void check_for_bios_corruption(void) > unsigned long *addr = __va(scan_areas[i].addr); > unsigned long size = scan_areas[i].size; > > - for(; size; addr++, size--) { > + for(; size; addr++, size -= sizeof(unsigned long)) { >
Oops, yes.
quoted text
> if (!*addr) > continue; > printk(KERN_ERR "Corrupted low memory at %p (%lx phys) = %08lx\n", > addr, __pa(addr), *addr); > + *addr = 0; >
Good idea.
quoted text
> corruption = 1; > } > }
J --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH RFC] x86: check for and defend against BIOS memory ...
, Jeremy Fitzhardinge
, (Thu Aug 28, 12:52 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Yinghai Lu
, (Thu Aug 28, 6:49 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Thu Aug 28, 8:28 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Thu Aug 28, 11:20 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Ingo Molnar
, (Thu Aug 28, 11:45 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 12:21 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 12:22 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Ingo Molnar
, (Fri Aug 29, 12:30 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 1:02 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Fri Aug 29, 1:14 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Alan Cox
, (Fri Aug 29, 2:25 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Alan Cox
, (Fri Aug 29, 3:06 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Fri Aug 29, 3:13 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Fri Aug 29, 3:24 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Fri Aug 29, 4:54 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Alan Jenkins
, (Fri Aug 29, 5:09 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Fri Aug 29, 6:21 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 7:08 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 7:18 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 7:48 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Fri Aug 29, 9:30 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, H. Peter Anvin
, (Fri Aug 29, 10:02 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, H. Peter Anvin
, (Fri Aug 29, 10:03 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, H. Peter Anvin
, (Fri Aug 29, 10:20 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Fri Aug 29, 10:39 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Kasper Sandberg
, (Fri Aug 29, 1:31 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Fri Aug 29, 6:15 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Rafał Miłecki
, (Thu Sep 4, 12:42 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Thu Sep 4, 1:23 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Thu Sep 4, 4:04 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Ingo Molnar
, (Sat Sep 6, 11:09 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Mon Sep 8, 4:35 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Mon Sep 8, 10:16 am)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Hugh Dickins
, (Mon Sep 8, 12:14 pm)
Re: [PATCH RFC] x86: check for and defend against BIOS mem ...
, Jeremy Fitzhardinge
, (Mon Sep 8, 12:45 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Frederic Weisbecker
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
git
:
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Eli Zaretskii
Re: Switching from CVS to GIT
Matthieu Moy
Re: git pull (Your local changes to ... would be overwritten by merge)
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
openbsd-misc
:
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
ropers
Re: Real men don't attack straw men
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate