Date: Sat, 21 Feb 2004 16:50:33 -0500 From: Don Bowman <don@sandvine.com> To: 'Romain Kang' <romain@kzsu.stanford.edu>, hackers@freebsd.org Subject: RE: memtest86 for FreeBSD boot? Message-ID: <FE045D4D9F7AED4CBFF1B3B813C85337045D81D7@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
> From: Romain Kang [mailto:romain@kzsu.stanford.edu] > Has anyone put together a version of memtest86 > (http://www.memtest86.com/) > that can sit in the root directory next to the FreeBSD kernel? > > My lab at work has a several racks of 1U boxes, most of which has > a CD-ROM or floppy installed. If we suspect RAM problem in one of > the machines, we have to unrack the box, open it up and hook up > another drive to run memtest86. I notice that Linux boxes that > boot with GRUB or LILO seem to use HDD-based memtest86 without > problem. It looks like a matter of coming up with a suitable .lds > file to do the same for FreeBSD, and it's probably obvious enough > that someone has done it before... Change the '. =' in the lds file as below. OUTPUT_FORMAT("elf32-i386"); OUTPUT_ARCH(i386); ENTRY(_start); SECTIONS { /* . = 0x10000; */ . = 0xc0120000; _start = . ; .data : { *(.data) } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337045D81D7>