Shao Miller [Tue, 9 Mar 2010 23:24:41 +0000 (18:24 -0500)]
memdisk: Force 32-bit mBFT "safe hook" pointer field
When mstructs.h is used by MDISKCHK.COM, pointers have
a 16-bit size and thus the mBFT structure sizeof() is
smaller under OpenWatcom. We now union this pointer
member with a uint32_t to force the field to at least
32 bits.
There is another pointer in this header file which is
already unioned with a uint32_t, due to that field's
dual-purpose. That field is fine under OpenWatcom.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 22:57:08 +0000 (17:57 -0500)]
memdisk: Move dpt_t into common structures header
This needs to be in here in order for the header file
to be useful to any C file other than setup.c.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 22:13:26 +0000 (17:13 -0500)]
memdisk: mBFT includes the MDI
Instead of padding the mBFT so its size is correct, we
actually put the MDI struct in there, since the last
commit provided it.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 21:54:17 +0000 (16:54 -0500)]
memdisk: Change patch area to include the entire MDI
Previously, the patch area began after the beginning of
the MDI, but continued past its end. This is difficult
to express with C structures, so we've simply changed
the patch area to include the entire MDI. So it now
includes the MDI size and MEMDISK version info, which
we simply make constant to avoid modifying.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 21:02:39 +0000 (16:02 -0500)]
memdisk: Use MEMDISK header to access "safe hook"
This commit moves the MEMDISK header structure into
the common structures header file.
It also adds the "safe hook" structure to the MEMDISK
header structure, since that matches what's in the hook
binaries. Thus, we access the "safe hook" via the
header pointer, instead of separately.
Tested against a DOS floppy image including an
experimental MDISKCHK.COM and also gainst WinVBlock.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 19:45:12 +0000 (14:45 -0500)]
memdisk: Use real_addr_t for SEG:OFF fields
We used uint32_t in a few places where it's also handy
to refer to those fields' segment and offset components.
Now we can do so via the real_addr_t union type.
Additionally, there are a couple of places where we now
have pointer fields instead of uint32_t fields, because
we know what kind of struct the field is pointing to.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 9 Mar 2010 07:08:36 +0000 (02:08 -0500)]
memdisk: Move common structures into headers
Since MDISKCHK.COM (and possibly COM32 modules) could make use of
structures found in MEMDISK's setup.c, we move these into a new
header file mstructs.h.
Also, since the OpenWatcom compiler uses a structure packing prefix
and GCC uses a structure packing postfix, we accomodate this with
preprocessor definitions around those structures needing to be
packed.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
H. Peter Anvin [Fri, 21 May 2010 03:35:24 +0000 (20:35 -0700)]
isohybrid: use getopt_long_only()
For compatibility with isohybrid.pl, use getopt_long_only() so long
options are accepted with a single dash.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
P. J. Pandit [Fri, 21 May 2010 03:29:52 +0000 (20:29 -0700)]
isohybrid: create a C version
Some Linux distributions have complained about Perl as a prerequisite
for isohybrid, so create a C version.
[ hpa: modified the array generator to put it all in one script ]
H. Peter Anvin [Fri, 21 May 2010 03:12:44 +0000 (20:12 -0700)]
cat.c32: handle multiple files, use argv[0], copy 4K at a time
Loop over multiple files, use argv[0] for the program name, and copy
4K at a time.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Wed, 12 May 2010 21:21:25 +0000 (23:21 +0200)]
CMENU: Fixing login_handler prototype
login_handler have to follow the (t_menusystem * ms, t_menuitem * mi)
prototype defined by t_handler_return
Erwan Velu [Wed, 12 May 2010 20:54:03 +0000 (22:54 +0200)]
com32: Fixing cast in argv to avoid warning
const char * confuse the *argv++ assignation
Casting to char * removes this warning
Erwan Velu [Wed, 12 May 2010 19:49:10 +0000 (21:49 +0200)]
hdt: casting to avoid useless warning
Erwan Velu [Wed, 12 May 2010 19:46:59 +0000 (21:46 +0200)]
hdt: Fixing print_history() prototype
print_history have to follow the exec prototype
Erwan Velu [Wed, 12 May 2010 19:18:09 +0000 (21:18 +0200)]
cpuid: Typo between argv & argc
argv isn't a number ;)
Erwan Velu [Wed, 12 May 2010 19:12:34 +0000 (21:12 +0200)]
cmd: Adding proper include to syslinux_run_command
Erwan Velu [Wed, 12 May 2010 19:10:47 +0000 (21:10 +0200)]
disk: Fixing get_error() call
get_error prototype changed since this module was written
H. Peter Anvin [Tue, 11 May 2010 23:08:20 +0000 (16:08 -0700)]
cat.c32: move from samples to modules; remove debug code
Move cat.c32 from samples to modules, and remove debugging messages.
Real users may want to use this.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Gert Hulselmans [Tue, 4 May 2010 00:07:43 +0000 (17:07 -0700)]
cat.c32: check if filename exists
Don't crash if the file doesn't exist.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 11 May 2010 21:38:57 +0000 (14:38 -0700)]
Merge remote branch 'hdt-pierre/fixes-for-3.86'
H. Peter Anvin [Tue, 11 May 2010 20:55:19 +0000 (13:55 -0700)]
Merge remote branch 'erwan/master'
Erwan Velu [Tue, 11 May 2010 20:52:27 +0000 (22:52 +0200)]
VPD: Fixing base_address
This commit now save properly VPD's address.
H. Peter Anvin [Tue, 11 May 2010 19:12:01 +0000 (12:12 -0700)]
Merge remote branch 'erwan/master'
Erwan Velu [Thu, 6 May 2010 19:24:35 +0000 (21:24 +0200)]
DMI: Increasing processor buffer size
Impact: avoid string truncation
The version field could be bigger than 32 char.
Erwan Velu [Thu, 6 May 2010 19:23:22 +0000 (21:23 +0200)]
DMI: Fixing memory corruption
Impact: avoid memory corruption
Too much usage of strcpy & sprintf was leading to serious memory
corruption. Using snprintf & strncpy is prefered.
Erwan Velu [Thu, 6 May 2010 19:22:46 +0000 (21:22 +0200)]
DMI: removing useless variable
Impact: none
Removing useless variable
H. Peter Anvin [Mon, 3 May 2010 22:11:10 +0000 (15:11 -0700)]
mboot.c32: autodetect Solaris
Autodetect Solaris kernels (based on the ELF header OSABI field) and
use the Solaris workarounds in that case.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Steffen Winterfeldt [Mon, 19 Apr 2010 13:17:57 +0000 (15:17 +0200)]
gfxboot: fix menu label handling
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Fri, 16 Apr 2010 11:18:46 +0000 (13:18 +0200)]
gfxboot: better error handling
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Wed, 14 Apr 2010 15:43:16 +0000 (17:43 +0200)]
gfxboot: fix localboot
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Tue, 13 Apr 2010 15:42:44 +0000 (17:42 +0200)]
gfxboot: turn off graphics before starting kernel
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Tue, 13 Apr 2010 15:42:12 +0000 (17:42 +0200)]
gfxboot: handle IPAPPEND
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Tue, 13 Apr 2010 15:39:46 +0000 (17:39 +0200)]
gfxboot: make config statements case-insensitive
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Steffen Winterfeldt [Tue, 13 Apr 2010 15:38:39 +0000 (17:38 +0200)]
gfxboot: support MENU LABEL statement
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Michal Soltys [Wed, 7 Apr 2010 08:37:25 +0000 (10:37 +0200)]
chain.c32 sethidden option fix
Hidden sectors value was applied at the wrong offset.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 31 Mar 2010 16:24:25 +0000 (09:24 -0700)]
core: make sure we observe EFLAGS_ID only
When looking for CPUID, make sure we only look at EFLAGS_ID and no
other flags that could possibly have changed for extrinsic reasons.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 31 Mar 2010 15:56:12 +0000 (08:56 -0700)]
cpuid.c32: output the correct register names
Output the correct register names in cpuid.c32; fix copy-and-paste
error.
Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 31 Mar 2010 03:16:14 +0000 (20:16 -0700)]
NEWS: document mBFT fix
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Shao Miller [Tue, 9 Mar 2010 06:12:37 +0000 (01:12 -0500)]
memdisk: Calculate mBFT checksum later
We were calculating the mBFT checksum too early; dpt_ptr could
change after checksumming, so we now do it after that possibility.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
H. Peter Anvin [Wed, 31 Mar 2010 00:20:23 +0000 (17:20 -0700)]
core: remove stray debugging statement
Remove a stray debugging printout when running on Xen.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 30 Mar 2010 22:21:16 +0000 (15:21 -0700)]
NEWS: document MEMDISK offset fix
Bodo Stroesser [Tue, 23 Mar 2010 16:56:29 +0000 (17:56 +0100)]
memdisk: MBR not recognized correctly
This fixes a small inaccuracy in memdisk:
get_disk_image_geometry() does not use MBR data to detect disk
geometry, since it checks MBR signature at wrong offset.
This normally does not cause problems, because memdisk guesses a
reasonable value, if no MBR is found.
Signed-off-by: Bodo Stroesser <bstroesser at ts.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 30 Mar 2010 22:18:55 +0000 (15:18 -0700)]
NEWS: update
H. Peter Anvin [Tue, 30 Mar 2010 22:13:58 +0000 (15:13 -0700)]
core: remove do_idle from pollchar
Remove do_idle from pollchar; it is highly inappropriate while, for
example, checking for a keypress during disk activity. Furthermore,
make sure we reset the idle counter on events that indicate actual
disk activity.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 30 Mar 2010 22:05:17 +0000 (15:05 -0700)]
cpuid.c32: very simple low-level CPUID info CLI routine
Add a very simple com32 program to dump a single CPUID leaf.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 30 Mar 2010 22:02:36 +0000 (15:02 -0700)]
core: Workaround for Xen HVM HLT-in-real-mode bug
Xen HVM when used with the "vmxassist" program crashes if HLT is
executed in real mode. Detect a version of Xen old enough to support
"vmxassist", and if it is found, then disable HLT.
See: https://bugzilla.redhat.com/show_bug.cgi?id=570496
Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 30 Mar 2010 20:37:41 +0000 (13:37 -0700)]
Clean up the version/copyright strings reported via the comboot API
Skip leading garbage in the version and copyright strings reported via
the comboot API. Clean up fixes for those, and document the situation.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 29 Mar 2010 23:58:30 +0000 (16:58 -0700)]
com32: export the filename of a com32 module to the module itself
Export the filename of the com32 module to the module itself, setting
argv[0].
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 29 Mar 2010 20:50:45 +0000 (13:50 -0700)]
MCONFIG: update gcc options for embedded and com32
Update the gcc options used for embedded and for com32 and make sure
they match.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 29 Mar 2010 20:22:45 +0000 (13:22 -0700)]
mboot: set boot loader name
Set the boot loader name based on syslinux_version()->version_string.
Based on a prior patch by Sebastian Herbszt <herbszt@gmx.de>.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Sebastian Herbszt [Sun, 21 Mar 2010 20:55:00 +0000 (21:55 +0100)]
gpllib: fix call to CPUID function 4
Only call CPUID function 4 if cpuid_level indicates its availability.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Sebastian Herbszt [Sun, 21 Mar 2010 12:23:17 +0000 (13:23 +0100)]
core: use MY_NAME for syslinux_banner
Use MY_NAME for syslinux_banner in isolinux and pxelinux.
This is already done in ldlinux and extlinux.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Pierre-Alexandre Meyer [Mon, 8 Mar 2010 04:10:18 +0000 (20:10 -0800)]
disk.c32: add disk geometry check
Make sure the CHS geometry is valid before displaying disk
information to avoid showing garbage.
Debugging-info-by: Gert Hulselmans <gerth@zytor.com>
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
H. Peter Anvin [Fri, 5 Mar 2010 19:19:16 +0000 (11:19 -0800)]
NEWS, version: update for 3.86
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 5 Mar 2010 19:13:28 +0000 (11:13 -0800)]
chain.c32: Fix chaining to MBRs
The change to load the bootsector even when loading a bootstrap from a
file broke the handing of chainloading the MBR of a disk. Fix this.
Debugging-info-by: Thomas Mieslinger <thomas.mieslinger@lundl.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 21 Feb 2010 06:26:39 +0000 (22:26 -0800)]
libpci: merge BIOS read and BIOS write
Save a few bytes by merging the very similar BIOS read and BIOS write
functions.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 17 Feb 2010 04:12:57 +0000 (20:12 -0800)]
i915resolution: use libpci to access PCI config space
Use libpci to access PCI config space. This *hopefully* will make it
less likely that some old machine hangs when failing to set the
requested video mode.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 16 Feb 2010 23:11:09 +0000 (15:11 -0800)]
NEWS: document i915resolution merge.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 16 Feb 2010 23:09:31 +0000 (15:09 -0800)]
Merge branch 'i915res'
H. Peter Anvin [Mon, 15 Feb 2010 23:22:24 +0000 (15:22 -0800)]
Makefile: dos/copybs.com now in dosutil
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 15 Feb 2010 23:19:54 +0000 (15:19 -0800)]
dosutil: move copybs here, update Makefile
Move copybs to dosutil, change the Makefile to deal with UPX being
able to compress (e.g. very small files.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 14 Feb 2010 01:09:27 +0000 (17:09 -0800)]
mtools: add MTOOLS_FAT_COMPATIBILITY=1
It's perfectly legitimate to have a bigger FAT area than is needed,
and it is often done for alignment. Tell mtools not to throw a hissy
fit over it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 14 Feb 2010 00:46:22 +0000 (16:46 -0800)]
chain.c: part_info -> partinfo
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 14 Feb 2010 00:45:11 +0000 (16:45 -0800)]
NEWS: update for 3.85 release
H. Peter Anvin [Sat, 13 Feb 2010 22:45:42 +0000 (14:45 -0800)]
chain.c32: add option to set hidden sectors; load boot sector for NTLDR
Add an option to update the in-memory version of FAT/NTFS hidden
sectors (== partition offset); load the boot sector for NTLDR.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 13 Feb 2010 01:02:50 +0000 (17:02 -0800)]
pxelinux: complete but disable debugging code, not for production
Disable some debugging code that was never intended for production
use. The intent is to track down specific memory-clobbering bugs.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 13 Feb 2010 00:49:55 +0000 (16:49 -0800)]
core: document the stack location, use STACK_TOP throughout
The global absolute symbol STACK_TOP defined in layout.inc can be used
by the linker script as well as by anything else that needs to know
where the stack is. Also document why we do it differently for
PXELINUX.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 12 Feb 2010 21:37:20 +0000 (13:37 -0800)]
pxelinux: move the stack to avoid AMI BIOS bug
There is apparently some AMI BIOSes which leave a BEV stack just below
7c00h, which means that they can't return from the PXE NBP. Thus, for
PXELINUX, move the stack down a few kilobytes.
This particularly refers to the "rouilj/ops12" system my private
sysdump archive.
Reported-and-tested-by: John Rouillard <rouilj@renesys.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 22:39:20 +0000 (14:39 -0800)]
Merge branch 'master' into i915res
H. Peter Anvin [Mon, 8 Feb 2010 22:37:48 +0000 (14:37 -0800)]
vesa: for jpg or png images, tile the image across the screen
If we specify a smaller image than the screen size, tile it across the
screen rather than leaving a big black box. This may have to be made
configurable.
Also note that Syslinux currently does not handle the case of an image
bleeding off the end of the screen.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 22:37:20 +0000 (14:37 -0800)]
sysdump: quiet gcc warning
Null change to quiet a gcc warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 17:13:11 +0000 (09:13 -0800)]
memdisk: make "nopass" type-specific, add "nopassany"
Make "nopass" specific to the current drive type. Add new option
"nopassany", which also clobbers the drive counts of both types.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 04:08:46 +0000 (20:08 -0800)]
sysdump: use the same serial receive threshold as the core
Match the core with regards to the serial receive threshold.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 04:06:27 +0000 (20:06 -0800)]
sysdump: make ymodem work even on a serial console
Make it possible to do a ymodem transfer even on the port used for a
serial console. Furthermore, on a serial console, get the parameters
from the serial console information, so port number and speed don't
have to be specified.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 01:17:35 +0000 (17:17 -0800)]
sysdump: don't include final null byte in version file
We don't want the null byte at the end as part of the version file.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 01:05:08 +0000 (17:05 -0800)]
sysdump: ymodem: actually retransmit a block if we get NAK
Incorrectly nested loops, we need to actually retransmit if we get a
NAK reply...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 8 Feb 2010 00:26:40 +0000 (16:26 -0800)]
sysdump: actually make the new backend system work
With these changes, both TFTP and Ymodem seem to actually work.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 23:14:21 +0000 (15:14 -0800)]
sysdump: change to a two-phase generate/output model, buffer in memory
Instead of outputting data as it is generated, buffer it all in memory
and then output it all at once. This not only gives us exact size and
so on before we start, but turns out to be faster at least for TFTP.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 20:14:46 +0000 (12:14 -0800)]
sysdump: serial: add missing header file
Missing header file -> warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 20:14:14 +0000 (12:14 -0800)]
sysdump: be_tftp.c: fix prototype
The init function now takes an additional length argument.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 20:13:34 +0000 (12:13 -0800)]
sysdump: *actually* generate the proper version string
Make the gen-id.sh script actually do the right thing...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 19:56:19 +0000 (11:56 -0800)]
sysdump: handle the case of more than one DMI table
On the offchance a system has more than one valid DMI table, record
them all. Also record the address of the signature structure and of
the table itself.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 19:55:41 +0000 (11:55 -0800)]
sysdump: record the sysdump version used to generate a bundle
Record the sysdump version used to actually generate a data set.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 08:09:31 +0000 (00:09 -0800)]
sysdump: dump CPUID information
Dump CPUID information in as generic of a way as is possible, given
the ugliness in certain places.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 08:08:50 +0000 (00:08 -0800)]
sysdump: remove unused variable
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 07:26:53 +0000 (23:26 -0800)]
sysdump: be more explicit about what we are doing
Print more information on the console about what is going on. That
can help detect problems if we find a machine which hangs on sysdump.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 07:26:32 +0000 (23:26 -0800)]
sysdump: fix the dumping of the e820 memory information
Need to advance the pointer...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 07:26:00 +0000 (23:26 -0800)]
sysdump: fix hacking of the DMI structure address
Fix the hacking of the DMI structure address, for dmidecode's sake.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 07:10:24 +0000 (23:10 -0800)]
sysdump: dump memory map information
Dump the memory map information - e820 et al.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 06:54:06 +0000 (22:54 -0800)]
sysdump: add PCI config space dumping
Dump PCI configuration space.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 06:28:01 +0000 (22:28 -0800)]
sysdump: add support for dumping DMI tables
Add support for dumping DMI tables; hopefully in a way that is
compatible with dmidecode.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 05:55:03 +0000 (21:55 -0800)]
sysdump: add back ymodem support; clean up memory dump structure
Now we just need more front ends (information providers)...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 01:47:15 +0000 (17:47 -0800)]
sysdump: add missing return statement in cpio_writefile()
cpio_writefile() should return the actual return value...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 01:46:21 +0000 (17:46 -0800)]
pxe: add missing prototype for pxe_dns()
All global functions should have a prototype...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 01:43:11 +0000 (17:43 -0800)]
sysdump: dump vesa modes, generate usable timestamps
Dump all the VESA modes; give functional timestamps for the cpio
members.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 00:38:53 +0000 (16:38 -0800)]
sysdump: first working version (can dump lowmem over TFTP)
Most of the infrastructure for sysdump, and enough to make it useful.
Sysdump will produce a gzipped cpio archive containing individual data
members; for now only a memory dump of lowmem.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 00:31:26 +0000 (16:31 -0800)]
com32: add library function for DNS lookup
Add a library function for DNS lookup
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 00:29:41 +0000 (16:29 -0800)]
syslinux/pxe.h use the same type as <com32.h> for a far pointer
<syslinux/pxe.h> was using segoff16_t, <com32.h> was using far_ptr_t
for the same thing -- use the same type so the macros are available
for both.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 7 Feb 2010 00:28:05 +0000 (16:28 -0800)]
pxelinux: give our own IP address in the "derivate info" API call
Add our own IP address to the "get derivative-specific info" API call.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 6 Feb 2010 19:24:24 +0000 (11:24 -0800)]
sysdump: port memdump to com32 with the intent of enhancing it
Port memdump to com32, with the intent of modifying and enhancing it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>