Commit Graph
570 Commits
Author SHA1 Message Date
okuji bff4f998b4 2002-02-05 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/shared.h (BUILTIN_HIDDEN): Renamed to ...
	(BUILTIN_NO_ECHO): ... this. The old name was too difficult to
	see _what_ was hidden.
2002-02-05 04:15:22 +00:00
okuji 30817e1ce8 2002-02-05 Yoshinori K. Okuji <okuji@enbug.org>
* netboot/misc.c (twiddle): Go back to the bar progress, copied
	from etherboot-5.0.5/src/misc.c. Execute the code only if DEBUG
	is true.
2002-02-04 23:01:38 +00:00
okuji 68ef83eeae 2002-02-05 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/builtins.c (displaymem_func): Use hex digits to display
	for consistency.
2002-02-04 22:47:51 +00:00
jthomas 60ea787e84 Fixed typo in Makefile.am which left out xfs, md5cyrpt, serial support and hercules support 2002-02-04 04:55:48 +00:00
okuji f66b84f480 2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
* util/grub-image.in: Check stage2 instead of stage2.c to
	determine where the script is invoked, because srcdir may not
	be used for the compilation.
2002-01-19 20:27:49 +00:00
okuji 278681dc7b 2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
* grub/asmstub.c (console_putchar): When not using curses,
	ignore a carriage return, because a newline in Unix is only a
	line feed.
2002-01-19 19:05:43 +00:00
kr 4388810ef9 Changes. 2002-01-18 17:17:11 +00:00
okuji f7eda1235f It seems that I forgot to add natsemi.c to the CVS... 2002-01-15 10:32:22 +00:00
okuji 70b173af35 2002-01-15 Yoshinori K. Okuji <okuji@gnu.org>
* docs/grub.texi (Preset Menu): New chapter.
2002-01-15 10:28:18 +00:00
okuji 5ca9541403 2002-01-15 Yoshinori K. Okuji <okuji@gnu.org>
* docs/grub.texi: Added some text about JFS and XFS.
2002-01-15 09:37:15 +00:00
okuji 4ea83d7811 2002-01-08 Yoshinori K. Okuji <okuji@gnu.org>
* grub/main.c (use_preset_menu): New variable.
	(OPT_PRESET_MENU): New macro.
	(longopts): Added an entry for "--preset-menu".
	(usage): Added a description for "--preset-menu". Also, change
	the first character of the description for "--device-map" to
	lower case for consistency.
	(main): Set USE_PRESET_MENU to 1 in the case of OPT_PRESET_MENU.
	* stage2/shared.h (use_preset_menu): Declared.
	* stage2/stage2.c [PRESET_MENU_STRING || SUPPORT_DISKLESS]
	(open_preset_menu) [GRUB_UTIL]: If USE_PRESET_MENU is false,
	return zero immediately.
2002-01-08 03:19:23 +00:00
okuji 843ddd9712 2002-01-08 Yoshinori K. Okuji <okuji@gnu.org>
* stage2/common.c [SUPPORT_DISKLESS]
	(setup_diskless_environment): Removed. The feature is moved to
	the preset menu.
	* stage2/stage2.c [SUPPORT_DISKLESS] (preset_menu): Set to the
	string "bootp\n".
	[SUPPORT_DISKLESS] (preset_menu_offset): Defined, as if
	PRESET_MENU_STRING is defined.
	[SUPPORT_DISKLESS] (open_preset_menu): Likewise.
	[SUPPORT_DISKLESS] (read_from_preset_menu): Likewise.
	[SUPPORT_DISKLESS] (close_preset_menu): Likewise.
2002-01-08 02:48:44 +00:00
okuji 686f75d678 2002-01-06 Yoshinori K. Okuji <okuji@gnu.org>
The preset menu has a priority over the configuration file.
	Suggested by Christoph Plattner.

	* stage2/stage2.c [PRESET_MENU_STRING] (open_preset_menu):
	Check if PRESET_MENU is not NULL.
	[PRESET_MENU_STRING] (close_preset_menu): Set PRESET_MENU to
	NULL.
	(cmain): New internal function, reset. This function resets
	AUTO_FILL, CONFIG_LEN, MENU_LEN, NUM_ENTRIES, CONFIG_ENTRIES,
	MENU_ENTRIES and call init_config.
	Try to open the preset menu first, and try to open the
	configuration file, only if that failed.
	Even if the preset menu was read, try to open the configuration
	file. This time, opening the preset menu never succeed, because
	close_preset_menu ensures that the preset menu is available at
	most once.
2002-01-05 19:59:29 +00:00
okuji 41e19993b5 2002-01-06 Yoshinori K. Okuji <okuji@gnu.org>
* netboot/misc.c (inet_aton): Don't check if *P is an asterisk,
	if I is 3. Reported by Rick (his real name and address are
	unknown).
2002-01-05 18:41:34 +00:00
okuji a0c6c8b9af Fix a wrong version in ChangeLog and add a new entry to NEWS. 2002-01-02 23:23:32 +00:00
okuji 973e6f4129 2002-01-03 Yoshinori K. Okuji <okuji@gnu.org>
Update the netboot stuff to Etherboot-5.0.5.

	* configure.in (--enable-3c590): Removed. This was a mistake.
	(--enable-davicom): New option.
	(--enable-eepro): Likewise.
	(--enable-natsemi): Likewise.
	(--enable-ni5010): Likewise.
	(--enable-sis900): Likewise.
	(--enable-w89c840): Likewise.
	(--enable-3c509-hack): Removed.
	(--enable-ns8390-force-16bit): Likewise.

	* netboot/Makefile.am (libdrivers_a_SOURCES): Added timer.c and
	timer.h.
	(EXTRA_libdrivers_a_SOURCES): Added davicom.c, eepro.c, fa311.c,
	natsemi.c, ni5010.c, sis900.c, sis900.h, tlan.c and w89c840.c.
	(EXTRA_DIST): Added sis900.txt.
	(3c595_drivers): Remove 3c590.o from this.
	(davicom_drivers): New variable.
	(eepro_drivers): Likewise.
	(natsemi_drivers): Likewise.
	(ni5010_drivers): Likewise.
	(sis900_drivers): Likewise.
	(w89c840_drivers): Likewise.
	(3c590_o_CFLAGS): Removed.
	(davicom_o_CFLAGS): New variable.
	(eepro_o_CFLAGS): Likewise.
	(natsemi_o_CFLAGS): Likewise.
	(ni5010_o_CFLAGS): Likewise.
	(sis900_o_CFLAGS): Likewise.
	(w89c840_o_CFLAGS): Likewise.

	* netboot/davicom.c: New file, from Etherboot-5.0.5.
	* netboot/eepro.c: Likewise.
	* netboot/natsemi.c: Likewise.
	* netboot/ni5010.c: Likewise.
	* netboot/sis900.c: Likewise.
	* netboot/sis900.h: Likewise.
	* netboot/sis900.txt: Likewise.
	* netboot/timer.c: Likewise.
	* netboot/timer.h: Likewise.
	* netboot/w89c840.c: Likewise.
	* netboot/fa311.c: Likewise.
	* netboot/tlan.c: Likewise.

	* netboot/3c509.c: Copied from Etherboot-5.0.5.
	* netboot/3c509.h: Likewise.
	* netboot/3c595.c: Likewise.
	* netboot/3c90x.c: Likewise.
	* netboot/3c90x.txt: Likewise.
	* netboot/cards.h: Likewise.
	* netboot/cs89x0.c: Likewise.
	* netboot/depca.c: Likewise.
	* netboot/eepro100.c: Likewise.
	* netboot/epic100.c: Likewise.
	* netboot/i82586.c: Likewise.
	* netboot/lance.c: Likewise.
	* netboot/linux-asm-string.h: Likewise.
	* netboot/nic.h: Likewise.
	* netboot/ns8390.c: Likewise.
	* netboot/ns8390.h: Likewise.
	* netboot/otulip.c: Likewise.
	* netboot/pci.h: Likewise.
	* netboot/rtl8139.c: Likewise.
	* netboot/sk_g16.c: Likewise.
	* netboot/smc9000.c: Likewise.
	* netboot/tiara.c: Likewise.
	* netboot/tulip.c: Likewise.
	* netboot/via-rhine.c: Likewise.

	* netboot/config.c: Applied a diff between Etherboot-4.6.18 and
	Etherboot-5.0.5 manually.
	* netboot/main.c: Likewise.
	* netboot/pci.c: Likewise.
	* netboot/etherboot.h: Rewritten mostly from scratch, based on
	the same file in Etherboot-5.0.5.
	* netboot/misc.c: Likewise.
	* netboot/osdep.h: Likewise.
	* netboot/fsys_tftp.c (GRUB): Defined.
	(buf_fill): Use rfc2131_sleep_interval instead of rfc951_sleep.

	* stage2/builtins.c [SUPPORT_NETBOOT] (GRUB): Defined.
	(boot_func) [SUPPORT_NETBOOT]: Call cleanup_net.
	* stage2/cmdline.c [SUPPORT_DISKLESS] (GRUB): Defined.
	* stage2/common.c [SUPPORT_DISKLESS] (GRUB): Likewise.
2002-01-02 21:56:40 +00:00
okuji daa965eccc 2002-01-02 Jeremy Katz <katzj@redhat.com>
* util/grub-install.in: Support using mktemp as well as tempfile
	for secure temporary file creation.
2002-01-02 18:46:31 +00:00
okuji 6e8c6154fb 2002-01-02 Jeremy Katz <katzj@redhat.com>
* stage2/md5.c (md5_password): Ensure the password exists before
	trying to check against the md5 crypted version.
2002-01-02 17:48:41 +00:00
okuji 59d735d43f 2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>
* stage1/stage1.S: Don't call INT 13, AH=48H, because it is
	difficult to call this function with the workaround implemented
	in the previous change due to the size limit of Stage 1.

	(lba_mode) [NO_BUGGY_BIOS_IN_THE_WORLD]: Don't check the
	geometry explicitly. This shouldn't be harmful, as INT 13,
	AH=42H should take care of it, and if you cannot read Stage 2
	even with LBA because of a geometry problem, you can never read
	it.

	* stage2/start.S (lba_mode) [NO_BUGGY_BIOS_IN_THE_WORLD]:
	Likewise.
2001-12-30 08:23:16 +00:00
okuji 4cd09c4b6a 2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>
* stage2/bios.c (get_diskinfo): Clear out the structure DRP
	before calling get_diskinfo_int13_extensions, because the Ralf
	Brown's Interrupt List says that Dell machines using PhoenixBIOS
	4.0 Release 6.0 fail, if DRP.FLAGS is not zero. Setting the
	entire structure to zero may be overkill, but it should be safe.

	* stage2/char_io.c [STAGE1_5] (grub_memset): Defined.
2001-12-30 07:33:23 +00:00
okuji aaccdfc4ba Add NetBSD support into grub-install. 2001-12-29 18:53:30 +00:00
okuji f70e5d2409 Use /boot/grub in NetBSD. 2001-12-29 18:33:39 +00:00
okuji 6ff5668ee4 Add extra space characters into help messages. 2001-12-29 18:10:50 +00:00
okuji 728d26ca30 Add a workaround for AST BIOS. 2001-12-19 11:37:17 +00:00
okuji f9e7ef1b41 Fix a wrong comment. 2001-12-19 11:17:06 +00:00
okuji 3c17445bfd Fix warnings from gcc-3.0.x. Not very serious. 2001-12-11 07:49:17 +00:00
okuji f51d8ce561 Change the error message from the command "embed" to "No spare sectors on
the disk".
2001-12-09 21:11:38 +00:00
okuji 4232395f9f Ignore the signal SIGWINCH in the grub shell. 2001-12-09 20:55:56 +00:00
okuji 502a79c799 hide and unhide support logical partitions. 2001-11-28 18:43:56 +00:00
okuji 3a150c2b37 Reorganize the file `AUTHOR', according to the current status of copyright
assignments received by the FSF.

Jason Thomas was added.
Erich Stefan Boleyn was moved into those who assigned their copyrights.
Gordon Matzigkeit was moved into the others, because he still wasn't listed
in fencepost.gnu.org:/gd/gnuorg/copyright.list.

The remaining problem is that we haven't had copyright assignments of
VaX#8, Heiko Schroeder and Gordon Matzigkeit. As for the first two, Erich
is now trying to contact them by proxy. So I'm just waiting.

As for Gordon.... oh, what are you doing, Gordon?! Hurry up, please!
2001-11-12 06:57:29 +00:00
okuji d05b7706ed Fix a compilation bug when disabling serial support. 2001-11-06 16:42:02 +00:00
okuji d619861976 JFS and XFS support is added. 2001-10-27 16:04:25 +00:00
okuji 36fd6bd0fa 2001-10-27 Yoshinori K. Okuji <okuji@gnu.org>
* stage2/apm.S: Always disconnect from APM. Written by Erich
	Stefan Boleyn.

	* util/Makefile.am (noinst_DATA): Removed.
	(EXTRA_DIST): Likewise.
2001-10-27 14:48:39 +00:00
gord e5fd53e574 Update to Automake 1.5 2001-10-15 04:49:50 +00:00
okuji 902ee9ccaf Fix a bug in tftp_read, which may appear when seeking back. 2001-10-13 13:07:40 +00:00
okuji 3785f597a0 Don\'t use get_diskinfo_floppy. 2001-10-13 12:28:37 +00:00
okuji 61928d1323 Ensure that a serial port is set up before used. 2001-10-13 12:02:30 +00:00
okuji a8ac7eb3f9 add support for DAC960. 2001-10-13 04:20:05 +00:00
jochen 3793b1777b * stage2/fsys_reiserfs.c (reiserfs_super_block): Updated
to better match recent reiserfs versions.
(reiserfs_mount): Handle cases where journal can't be found,
e.g. journal on another disk or unexpected journal parameters.
In that case the journal isn't used.
2001-10-11 11:14:29 +00:00
jochen 62e7ed8b60 * stage2/fsys_reiserfs.c (reiserfs_mount): Don't look at
the superblock field s_journal_block_count anymore.  It used
to contain 0, it never contained a valid value, and now I
have a report that it can contain an invalid value.
2001-10-10 09:23:57 +00:00
jochen 49312f5981 * stage2/fsys_reiserfs.c (reiserfs_dir): Set errnum to
ERR_FSYS_CORRUPT if a symlink can't be read for some reason,
but no error is set by read.
2001-09-24 08:43:38 +00:00
okuji e9d94149ef Set the level of APM support to 1.1, before turning off the power state. 2001-08-08 08:00:01 +00:00
okuji 044d8501b5 Fix minor bugs in grub-md5-crypt. 2001-08-08 05:17:21 +00:00
gord 9e195f47c2 Ignore zero-length memory ranges. 2001-08-02 20:05:54 +00:00
jochen cd403b1f05 * stage2/Makefile.am (libgrub_a_CFLAGS): Enable USE_MD5_PASSWORDS
for libgrub.  Previously that was implicitly done by configure.in
until the patch from 2001-07-04, which moved that flag from CFLAGS
to FSYS_CFLAGS.  Reported by YAMAGUCHI Shingo
<shingo@kip.iis.toyama-u.ac.jp>
2001-07-26 13:24:15 +00:00
okuji cfbf950f5d Fix a problem when you specify a Linux devfs floppy device name to grub-install. 2001-07-13 11:51:24 +00:00
okuji 40c293d41e Merge changes in 0.90. 2001-07-13 08:02:04 +00:00
okuji 62cba90d65 Add a missing file and increase the version number. 2001-07-05 11:29:56 +00:00
okuji cd93e2f5f9 Update the manual (not complete). 2001-07-05 11:14:21 +00:00
okuji f2ca2f3ea2 Don't decompress an initrd automatically. 2001-07-05 10:52:59 +00:00