Skip to contentSkip to conversation

bad memory and xen

DISCUSSION Jody Belka 2 participants 5 messages Aug 5, 2004 – Aug 6, 2004

lore
Share & tools
lore

Jody Belka

author
#0 lore raw

I've just discovered a couple of bytes of bad memory on one of my systems using memtest86+. now, with a plain linux installation i could use BadRAM to easily work around the issue. i assume, however, that with xen it's not the dom0 that does physical memory allocation, but xen itself, so is there any chance of BadRAM-like functionallity being added to xen?

Signature · 9 lines
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
#1 lore raw

If it's in the lowest 64MB of memory then it would be tricky, as Xen has a fairly rigid memory map in that space during boot. Above 64MB we could add support for resreving bad memory pages so they can't be allocated for use.

-- Keir

Quoted 20 lines

I've just discovered a couple of bytes of bad memory on one of my systems using memtest86+. now, with a plain linux installation i could use BadRAM to easily work around the issue. i assume, however, that with xen it's not the dom0 that does physical memory allocation, but xen itself, so is there any chance of BadRAM-like functionallity being added to xen?

Signature · 13 lines
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

author
#2 lore raw
Quoted 5 lines · Keir Fraser

If it's in the lowest 64MB of memory then it would be tricky, as Xen has a fairly rigid memory map in that space during boot. Above 64MB we could add support for resreving bad memory pages so they can't be allocated for use.

That wouldn't be a problem here. My bad patch is up around the 750meg point :)

Signature · 9 lines
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
#3 lore raw
Quoted 13 lines · Keir Fraser
Quoted 5 lines

If it's in the lowest 64MB of memory then it would be tricky, as Xen has a fairly rigid memory map in that space during boot. Above 64MB we could add support for resreving bad memory pages so they can't be allocated for use.

That wouldn't be a problem here. My bad patch is up around the 750meg point :)

Signature · 2 lines
Jody Belka
knew (at) pimb (dot) org

I'll take a look. It shouldn't be very tricky to add.

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

#4 lore raw
Quoted 7 lines
Quoted 7 lines · Keir Fraser
Quoted 5 lines

If it's in the lowest 64MB of memory then it would be tricky, as Xen has a fairly rigid memory map in that space during boot. Above 64MB we could add support for resreving bad memory pages so they can't be allocated for use.

Quoted 8 lines
Quoted 4 lines

That wouldn't be a problem here. My bad patch is up around the 750meg point :)

Signature · 2 lines
Jody Belka
knew (at) pimb (dot) org

I'll take a look. It shouldn't be very tricky to add.

-- Keir

Okay, I checked in a command-line option for Xen:

badpage=<page number>[,<page number>]*
Specify a list of pages not to be allocated for use because they contain bad bytes. For example, if your memory tester says that byte 0x12345678 is bad, you would place 'badpage=0x12345' on Xen's command line (i.e., the last three digits of the byte address are not included!).

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com