fix a bug in freebsd boot, reformat TODO.

This commit is contained in:
okuji 1999-10-05 16:58:36 +00:00
parent 5f9112c4a8
commit c16ba0eb9d
5 changed files with 47 additions and 38 deletions

2
BUGS
View file

@ -10,7 +10,7 @@ Known problems/bugs:
- Password feature in the config file is a bit primitive, and needs - Password feature in the config file is a bit primitive, and needs
fleshing out/design work to make more intuitive. fleshing out/design work to make more intuitive.
- If an "uppermem=" command was used to tell GRUB it had a different - If an "uppermem" command was used to tell GRUB it had a different
amount of upper memory available, then the user escapes to the menu amount of upper memory available, then the user escapes to the menu
interface, the upper memory displayed there still says the amount interface, the upper memory displayed there still says the amount
set by the user instead of being reset to the default by the escape. set by the user instead of being reset to the default by the escape.

View file

@ -1,3 +1,8 @@
1999-10-04 Pavel Roskin <pavel_roskin@geocities.com>
* stage2/freebsd.h (struct bootinfo): New member, bi_bios_dev.
* stage2/boot.c (bsd_boot): Set BI.BI_BIOS_DEV to SAVED_DRIVE.
1999-10-04 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> 1999-10-04 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
From Pavel Roskin: From Pavel Roskin:

74
TODO
View file

@ -1,39 +1,41 @@
Change partition syntax to correspond with BSD ``slice'' syntax -*- Mode: Outline -*-
(`(hd0,1a)' -> `/dev/hd0s2a').
Add a partition naming syntax that means ``the first partition of this Before working on anything in this file, it's very important that you
type''. We need this for clean Hurd install floppies. make contact with the core GRUB developers. Things herein might be
slightly out of date or otherwise not easy to understand at first
glance. So write to <bug-grub@gnu.org> first.
Add a real scripting language, possibly retaining backward Priorities:
compatibility so that old config files can be used. Reported bugs generally have top priority.
Non-reported and non-encountered bugs (things we know don't work,
but don't really impede things) have lower priority.
Things in this file are ranked with one to three !; the more, the
higher priority.
Add internationalization support, emulating gettext as much as is * Support partition syntax to correspond with BSD ``slice'' syntax
feasible. (`(hd0,1a)' -> `/dev/hd0s2a'). !
? Add a partition naming syntax that means ``the first partition of
Add bootable CDROM support (this probably means we have to support this type''. We need this for clean Hurd install floppies.
ISO-9660 plus maybe even the Rock Ridge extensions... ugh). * Add a real scripting language, possibly retaining backward
compatibility so that old config files can be used.
Make symbolic links work for BSD FFS. * Add internationalization support, emulating gettext as much as is
feasible.
Fix keyboard/gateA20 bug (???? at least look at the code). The * Make symbolic links work for BSD FFS. !
keyboard status bits may be checked wrong. * Fix keyboard/gateA20 bug (???? at least look at the code). The
keyboard status bits may be checked wrong.
Add indirect block support to the BSD FFS filesystem code, so files * Add indirect block support to the BSD FFS filesystem code, so files
larger than 16MB can be read. larger than 16MB can be read. !
? Add command for modifying partition types.
??? Add command for modifying partition types. * Add OpenBSD support. The recent versions cannot be loaded. !!!
* Fix-up FreeBSD, NetBSD (and OpenBSD ?) command-line boot
Add OpenBSD support. The recent versions cannot be loaded. parameters. !!
* Add a new installation command, such as `setup', which should be
Fix-up FreeBSD, NetBSD (and OpenBSD ?) command-line boot parameters easier to use and more automatic than the command `install'. !!!
* Add keyboard layout configuration support. !
Add a new installation command, such as `setup', which should be easier * Clean up and enhance the manuals, especially concept indexes. !!!
to use and more automatic than the command `install'. * Add more filesystems support (XFS, NTFS, etc.)
* Add remote console support (serial, parallel and net).
Add keyboard layout configuration support. * Add RAID support.
* Complete the netboot support. !
Clean up and enhance the manuals, especially concept indexes. * Support CHS and LBA in a single Stage 1. !!
* Add automatic configuration support.
Add more filesystems support (XFS, NTFS, etc.)
Add remote console support (serial, parallel and net).

View file

@ -621,6 +621,7 @@ bsd_boot (kernel_t type, int bootdev, char *arg)
bi.bi_size = sizeof (struct bootinfo); bi.bi_size = sizeof (struct bootinfo);
bi.bi_memsizes_valid = 1; bi.bi_memsizes_valid = 1;
bi.bi_bios_dev = saved_drive;
bi.bi_basemem = mbi.mem_lower; bi.bi_basemem = mbi.mem_lower;
bi.bi_extmem = mbi.mem_upper; bi.bi_extmem = mbi.mem_upper;

View file

@ -83,7 +83,8 @@ struct bootinfo
unsigned long bi_bios_geom[N_BIOS_GEOM]; unsigned long bi_bios_geom[N_BIOS_GEOM];
unsigned int bi_size; unsigned int bi_size;
unsigned char bi_memsizes_valid; unsigned char bi_memsizes_valid;
unsigned char bi_pad[3]; unsigned char bi_bios_dev;
unsigned char bi_pad[2];
unsigned long bi_basemem; unsigned long bi_basemem;
unsigned long bi_extmem; unsigned long bi_extmem;
unsigned long bi_symtab; unsigned long bi_symtab;