> From: Romain Kang [mailto:[EMAIL PROTECTED] > 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) } } _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"