📄 changelog
字号:
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-05 Yoshinori K. Okuji <okuji@enbug.org> * stage2/builtins.c (displaymem_func): Use hex digits to display for consistency. 2002-02-04 Jason Thomas <jason@topic.com.ah> From Denis Kitzman <dkitzman@blue.weeg.uiowa.edu>: * stage2/Makefile.am (libgrub_a_CFLAGS): Fixed a typo. FSYS_XFS, USE_MD5_PASSWORDS, SUPPORT_SERIAL, and SUPPORT_HERCULES did not get defined.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-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-18 Klaus Reichl <Klaus.Reichl@alcatel.at> * stage2/fsys_minix.c (minix_dir): Fixed bug getting filenames with MAXNAMELEN right. * stage2/char_io.c (get_cmdline, cl_refresh): If TERMINAL_DUMB section is always 0. Line is only cleared if !TERMINAL_DUMB. * grub/main.c (use_curses): Initialize to 0 if !HAVE_LIBCURSES (main): Check for curses use and set terminal to dumb if we don't use it (helps for --batch and variants of non-curses setup).2002-01-15 Yoshinori K. Okuji <okuji@gnu.org> * configure.in (AM_INIT_AUTOMAKE): The version number is upgraded to 0.91. 2002-01-15 Yoshinori K. Okuji <okuji@gnu.org> * docs/grub.texi (Preset Menu): New chapter. 2002-01-15 Yoshinori K. Okuji <okuji@gnu.org> * docs/grub.texi: Added some text about JFS and XFS. 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 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-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-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-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.4 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 Jeremy Katz <katzj@redhat.com> * util/grub-install.in: Support using mktemp as well as tempfile for secure temporary file creation.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.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 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 Yoshinori K. Okuji <okuji@gnu.org> From John Goerzen <jgoerzen@complete.org>: * util/grub-install.in (convert): Added NetBSD support. 2001-12-30 Yoshinori K. Okuji <okuji@gnu.org> * util/grub-install.in: Set GRUB_PREFIX and BOOTDIR to "/grub" and "${rootdir}" respectively in NetBSD. 2001-12-30 Yoshinori K. Okuji <okuji@gnu.org> * stage2/builtins.c (builtin_geometry): Add extra space characters into the long description. (builtin_kernel): Likewise. (builtin_vbeprobe): Likewise. 2001-12-19 Yoshinori K. Okuji <okuji@gnu.org> From Michael Sullivan <mike@trdlnk.com>: * stage1/stage1.S (real_start): Added a workaround for AST BIOS, because it clobbers %dl with INT 13, AH=41H.2001-12-19 Yoshinori K. Okuji <okuji@gnu.org> * stage2/fsys_fat.c (fat_read): Fix the contradictory comment. Reported by Filip Van Raemdonck <mechanix@digibel.org>. 2001-12-11 Yoshinori K. Okuji <okuji@gnu.org> * stage2/builtins.c (displayapm_func): Don't use multi-line string literals but string concatenation instead, to suppress warnings from gcc-3.0.x. * stage2/cmdline.c (print_cmdline_message): Likewise. * util/mbchk.c (usage): Likewise. * stage2/smp-imps.c (imps_read_config_table): Add a break statement after the label ``default''. * util/mbchk.c: Include <stdlib.h> for the prototype of exit. * stage2/serial.c (serial_port): Initialize with 0 instead of -1, as an invalid value, because SERIAL_PORT is unsigned. This change shouldn't affect anything. (serial_exists): For the above change, check SERIAL_PORT with 0 instead of -1. 2001-12-10 Yoshinori K. Okuji <okuji@gnu.org> * stage2/shared.h (ERR_NO_DISK_SPACE): New constant. * stage2/common.c (err_list): Added an entry for ERR_NO_DISK_SPACE. * docs/grub.texi (Stage2 errors): Added the description. * stage2/builtins.c (embed_func): Use ERR_NO_DISK_SPACE instead of ERR_DEV_VALUES when the spare space is too small. Suggested by Eric Mumpower <nocturne@permabit.com>. 2001-12-10 Yoshinori K. Okuji <okuji@gnu.org> * grub/asmstub.c: Include <signal.h>. (grub_stage2) [HAVE_LIBCURSES]: If USE_CURSES is true, ignore the signal SIGWINCH. Reported by Christian Hudon <chrish@debian.org>.2001-11-29 Yoshinori K. Okuji <okuji@gnu.org> From Jason Thomas: * stage2/disk_io.c (set_partition_hidden_flag): Complete rewrite of this function which now supports logical partitions. 2001-11-12 Yoshinori K. Okuji <okuji@gnu.org> * docs/grub.texi: The copyright of this file is only held by Free Software Foundation, Inc., as Erich Boleyn has assigned his copyright to the FSF. * stage1/stage1.S: Likewise. * stage2/asm.S: Likewise. * stage2/boot.c: Likewise. * stage2/builtins.c: Likewise. * stage2/char_io.c: Likewise. * stage2/cmdline.c: Likewise. * stage2/common.c: Likewise. * stage2/disk_io.c: Likewise. * stage2/fat.h: Likewise. * stage2/filesys.h: Likewise. * stage2/freebsd.h: Likewise. * stage2/fsys_ext2fs.c: Likewise. * stage2/fsys_fat.c: Likewise. * stage2/fsys_ffs.c: Likewise. * stage2/gunzip.c: Likewise. * stage2/i386-elf.h: Likewise. * stage2/mb_header.h: Likewise. * stage2/mb_info.h: Likewise. * stage2/pc_slice.h: Likewise. * stage2/shared.h: Likewise. * stage2/stage1_5.c: Likewise. * stage2/stage2.c: Likewise. * stage2/start.S: Likewise. 2001-11-07 Yoshinori K. Okuji <okuji@gnu.org> * stage2/builtins.c (terminal_func) [!SUPPORT_SERIAL]: Disable the wait code, as it is usable only when serial support is on. Reported by Karl Hammar <karl@kalle.csb.ki.se>. 2001-10-27 Yoshinori K. Okuji <okuji@gnu.org> JFS and XFS support is added. From Serguei Tzukanov <tzukanov@narod.ru>: * configure.in (--disable-jfs): New option. (--disable-xfs): Likewise. * stage2/Makefile.am (noinst_HEADERS): Added jfs.h and xfs.h. (libgrub_a_SOURCES): Added fsys_jfs.c and fsys_xfs.c. (libgrub_a_CFLAGS): Added -DFSYS_JFS=1 and -DFSYS_XFS=1. (pkgdata_DATA): Added jfs_stage1_5 and xfs_stage1_5. (noinst_PROGRAMS): Added jfs_stage1_5.exec and xfs_stage1_5.exec. (pre_stage2_exec_SOURCES): Added fsys_jfs.c and fsys_xfs.c. (jfs_stage1_5_exec_SOURCES): New variable. (jfs_stage1_5_exec_CFLAGS): Likewise. (jfs_stage1_5_exec_ASFLAGS): Likewise. (jfs_stage1_5_exec_LDFLAGS): Likewise. (xfs_stage1_5_exec_SOURCES): Likewise. (xfs_stage1_5_exec_CFLAGS): Likewise. (xfs_stage1_5_exec_ASFLAGS): Likewise. (xfs_stage1_5_exec_LDFLAGS): Likewise. * stage2/builtins.c (setup_func): Add items for JFS and XFS into STAGE1_5_MAP. * stage2/disk_io.c (fsys_table): Added entries for JFS and XFS. * stage2/filesys.h [FSYS_JFS] (FSYS_JFS_NUM): Set to 1. [FSYS_JFS] (jfs_mount): Declared. [FSYS_JFS] (jfs_read): Likewise. [FSYS_JFS] (jfs_dir): Likewise. [FSYS_JFS] (jfs_embed): Likewise. [!FSYS_JFS] (FSYS_JFS_NUM): Set to 0. [FSYS_XFS] (FSYS_XFS_NUM): Set to 1. [FSYS_XFS] (xfs_mount): Declared. [FSYS_XFS] (xfs_read): Likewise. [FSYS_XFS] (xfs_dir): Likewise. (NUM_FSYS): Added FSYS_JFS_NUM and FSYS_XFS_NUM. * stage2/shared.h (STAGE2_ID_JFS_STAGE1_5): New macro. (STAGE2_ID_XFS_STAGE1_5): Likewise. [FSYS_JFS] (STAGE2_ID): Set to STAGE2_ID_JFS_STAGE1_5.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -