]> git.proxmox.com Git - grub2.git/log
grub2.git
13 years ago * grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 09:01:11 +0000 (10:01 +0100)]
* grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out
(now unused).
(grub_keyboard_controller_init)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to
read the initial state since controller isn't inited yet.

13 years ago * grub-core/lib/relocator.c (malloc_in_range): Take into account that
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 08:50:58 +0000 (09:50 +0100)]
* grub-core/lib/relocator.c (malloc_in_range): Take into account that
allocate_regbeg may need to create new chunk header.

13 years ago Fix quoting in legacy parser.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 23:33:28 +0000 (00:33 +0100)]
Fix quoting in legacy parser.

* grub-core/lib/legacy_parse.c (grub_legacy_escape): Correctly handle
single quotes.
(grub_legacy_parse): Likewise.
Reported by: Jordan Uggla.
Tested by: Jordan Uggla.

13 years ago Don't add -lgcc on i386 and x86_64.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 22:36:20 +0000 (23:36 +0100)]
Don't add -lgcc on i386 and x86_64.

* configure.ac (LIBS): Don't add -lgcc on i386 and x86_64.
* conf/Makefile.common (LDADD_KERNEL): Likewise.
* grub-core/Makefile.core.def (kernel): Use LDADD_KERNEL.

13 years ago * configure.ac: Add -Wno-trampolines when supported.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 16:13:44 +0000 (17:13 +0100)]
* configure.ac: Add -Wno-trampolines when supported.

13 years ago * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
Modestas Vainius [Sun, 14 Nov 2010 16:09:13 +0000 (17:09 +0100)]
* grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
fakeraid.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 16:03:49 +0000 (17:03 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:58:50 +0000 (16:58 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.

13 years ago Properly handle deleted files on UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:51:45 +0000 (16:51 +0100)]
Properly handle deleted files on UDF.

* grub-core/fs/udf.c (grub_udf_iterate_dir): Skip directory entries
whose "characteristics" field has the bit GRUB_UDF_FID_CHAR_DELETED
set.

13 years ago Support reading files larger than 2 GiB.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:48:17 +0000 (16:48 +0100)]
Support reading files larger than 2 GiB.

* grub-core/fs/udf.c (grub_udf_iterate_dir): Change type of variable
"offset" to grub_off_t.
(grub_udf_read_file): Likewise for parameter "pos".

13 years ago * docs/grub.texi (Changes from GRUB Legacy): Note when save_env is
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 15:25:28 +0000 (16:25 +0100)]
* docs/grub.texi (Changes from GRUB Legacy): Note when save_env is
unavailable.
(Simple configuration): Refer to Changes from GRUB Legacy about
save_env availability.

13 years ago * util/grub-install.in: Ignore empty partition table detection
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 15:15:41 +0000 (16:15 +0100)]
* util/grub-install.in: Ignore empty partition table detection
instead of trying to include part_ module.

13 years ago * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 13:13:11 +0000 (14:13 +0100)]
* grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
LVM on RAID support.

13 years ago Properly define WORDS_BIGENDIAN in wrapped environments.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 12:37:59 +0000 (13:37 +0100)]
Properly define WORDS_BIGENDIAN in wrapped environments.

* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New
definition.
* grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise.

Reported by: Manoel Rebelo Abranches.
Tested by: Manoel Rebelo Abranches.

13 years ago * util/grub-mkconfig.in: Fix quoting.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:27:29 +0000 (16:27 +0100)]
* util/grub-mkconfig.in: Fix quoting.

13 years ago Support big ext2 files.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:11:24 +0000 (16:11 +0100)]
Support big ext2 files.

* grub-core/fs/ext2.c (grub_ext2_inode): Rename dir_acl to size_high.
(grub_ext2_read_block): Support triple indirect blocks.
(grub_ext2_read_file): Use 64-bit types and read size_high.
(grub_ext2_open): Read size_high.
Reported by: Ximin Luo.
Tested by: Manoel Rebelo Abranches.

13 years ago * util/grub-install.in: Handle filenames containing spaces.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:03:29 +0000 (16:03 +0100)]
* util/grub-install.in: Handle filenames containing spaces.
Reported by: Jordan Uggla.
Tested by: Jordan Uggla.

13 years ago * util/grub-mkconfig.in (grub_script_check): New variable.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:00:39 +0000 (16:00 +0100)]
* util/grub-mkconfig.in (grub_script_check): New variable.
Use grub_script_check instead of grub-script-check.
Reported by: Barry Jackson.

13 years ago * docs/grub.texi (menu): Correct the order.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 14:56:23 +0000 (15:56 +0100)]
* docs/grub.texi (menu): Correct the order.
Reported by: D. Hugh Redelmeier.

13 years ago * grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 12 Nov 2010 07:45:16 +0000 (08:45 +0100)]
* grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing
jump.

13 years ago2010-11-08 Manoel Rebelo Abranches <mrabran@br.ibm.com>
Manoel Rebelo Abranches [Mon, 8 Nov 2010 13:14:54 +0000 (11:14 -0200)]
2010-11-08  Manoel Rebelo Abranches <mrabran@br.ibm.com>

        * include/grub/elfload.h (grub_elf32_size): New parameter. All users updated.
        Return maximum segments alignment.
        (grub_elf64_size): Likewise.
        * kern/elf.c (grub_elf32_size): New parameter. All users updated.
        Return maximum segments alignment.
        (grub_elf64_size): Likewise.
        * grub-core/loader/powerpc/ieee1275/linux.c:
        (grub_linux_claimmap_iterate): New function. Uses the "available"property
        in the "memory" node for memory allocation for kernel in the PowerPC loader.
        (grub_linux_load32): Correctly find linux entry point offset.
        (grub_linux_load64): Likewise.

13 years ago2010-11-07 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 7 Nov 2010 15:29:10 +0000 (16:29 +0100)]
2010-11-07  Robert Millan  <rmh@gnu.org>

On mips-yeeloong, build with -march=loongson2f when this flag is
available (GCC >= 4.4).
* conf/Makefile.common [COND_mips_yeeloong] (CFLAGS_PLATFORM): Remove
`-march=mips3'.
* configure.ac: For mips-yeeloong, add -march=loongson2f if available,
or otherwise add -march=mips3.

13 years ago Suppress shell expansion on echo '*' and echo "*" like cases.
BVK Chaitanya [Sun, 7 Nov 2010 14:52:29 +0000 (20:22 +0530)]
Suppress shell expansion on echo '*' and echo "*" like cases.
Reported by: Jordan Uggla.

* grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
string arguments before shell expansion.
* tests/grub_cmd_echo.in: New testcases.

13 years ago2010-11-07 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 7 Nov 2010 14:10:09 +0000 (15:10 +0100)]
2010-11-07  Robert Millan  <rmh@gnu.org>

* conf/mips-qemu-mips.rmk: Remove stale file from previous
transition.

13 years agomerge with mainline
BVK Chaitanya [Sun, 7 Nov 2010 13:01:41 +0000 (18:31 +0530)]
merge with mainline

13 years agoadd changelog entry
BVK Chaitanya [Sun, 7 Nov 2010 10:48:29 +0000 (16:18 +0530)]
add changelog entry

13 years agosuppress shell expansion inside quoted strings
BVK Chaitanya [Sun, 7 Nov 2010 10:43:14 +0000 (16:13 +0530)]
suppress shell expansion inside quoted strings

13 years ago * grub-core/kern/emu/hostdisk.c
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 23:10:49 +0000 (00:10 +0100)]
* grub-core/kern/emu/hostdisk.c
(convert_system_partition_to_system_disk): Handle devices like "sdaa1".

13 years ago * include/grub/emu/misc.h: Don't include grub/util/libzfs.h.
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 22:52:56 +0000 (23:52 +0100)]
* include/grub/emu/misc.h: Don't include grub/util/libzfs.h.
* include/grub/emu/misc.h (grub_get_libzfs_handle): Move from here ...
* include/grub/util/libzfs.h (grub_get_libzfs_handle): ... here.

13 years ago * grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 20:54:24 +0000 (21:54 +0100)]
* grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.

13 years ago * util/grub-install.in: Replace useless recomendation to pass
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 20:37:13 +0000 (21:37 +0100)]
* util/grub-install.in: Replace useless recomendation to pass
--modules with a recomendation to report a bug.

13 years ago Properly register serial terminfo.
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 19:40:08 +0000 (20:40 +0100)]
Properly register serial terminfo.
Reported by: Jordan Uggla

* grub-core/term/serial.c (grub_serial_terminfo_input_template): New
const.
(grub_serial_terminfo_output_template): Likewise.
(grub_cmd_serial): Register "serial" with terminfo.
(GRUB_MOD_INIT(serial)): Fill grub_serial_terminfo_input and
grub_serial_terminfo_output.

13 years ago2010-11-05 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 5 Nov 2010 21:56:14 +0000 (22:56 +0100)]
2010-11-05  Robert Millan  <rmh@gnu.org>

* util/grub-mkconfig.in: Remove gfxterm.mod probe (no longer
needed).

13 years ago2010-11-05 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 5 Nov 2010 18:48:55 +0000 (19:48 +0100)]
2010-11-05  Robert Millan  <rmh@gnu.org>

On Yeeloong, pass machine type information to Linux.

* grub-core/loader/mips/linux.c [GRUB_MACHINE_MIPS_YEELOONG]
(LOONGSON_MACHTYPE): New macro, set to
"machtype=lemote-yeeloong-2f-8.9inches".
[LOONGSON_MACHTYPE] (grub_cmd_linux): Pass LOONGSON_MACHTYPE as
additional argument to Linux.

13 years ago2010-11-04 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 4 Nov 2010 12:58:29 +0000 (13:58 +0100)]
2010-11-04  Robert Millan  <rmh@gnu.org>

* util/deviceiter.c (grub_util_iterate_devices): Increase SCSI
limit to 48 (to cope with Sun Fire X4500), and IDE limit to 96
(its SATA disks are detected as slaveless IDE master drives on
kFreeBSD).
Reported by Carsten Aulbert.

13 years ago* util/bin2h.c (main): Fix spelling error in generated output.
Colin Watson [Tue, 2 Nov 2010 22:51:51 +0000 (22:51 +0000)]
* util/bin2h.c (main): Fix spelling error in generated output.

13 years agoFix an integer overflow.
Grégoire Sutre [Mon, 1 Nov 2010 22:42:53 +0000 (23:42 +0100)]
Fix an integer overflow.

13 years ago * grub-core/loader/i386/linux.c (grub_cmd_linux): Autoload vbe.mod if
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 12:10:51 +0000 (13:10 +0100)]
* grub-core/loader/i386/linux.c (grub_cmd_linux): Autoload vbe.mod if
vga= option is supplied.

13 years ago * util/grub.d/10_hurd.in: Don't call savedefault on recovery entries.
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 11:49:40 +0000 (12:49 +0100)]
* util/grub.d/10_hurd.in: Don't call savedefault on recovery entries.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

13 years ago * grub-core/lib/arg.c (grub_arg_parse): Avoid interpreting direct
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 11:45:51 +0000 (12:45 +0100)]
* grub-core/lib/arg.c (grub_arg_parse): Avoid interpreting direct
argument as an argument to no-argument option.

13 years ago * util/grub.d/10_linux.in: Add missing load_video with explicit
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 11:36:00 +0000 (12:36 +0100)]
* util/grub.d/10_linux.in: Add missing load_video with explicit
GRUB_GFXPAYLOAD_LINUX.

13 years ago * Makefile.am (libgrub.pp): Propagate the libgrub.a split.
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 11:29:20 +0000 (12:29 +0100)]
* Makefile.am (libgrub.pp): Propagate the libgrub.a split.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Do not put
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 09:20:58 +0000 (10:20 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Do not put
elements with invlid index.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
* grub-core/disk/raid.c (insert_array): Automatically reallocate
members.
* include/grub/raid.h (grub_raid_member): New struct.
(grub_raid_array): Transform devices and start_sector into usage of
grub_raid_member. All users updated
(allocated_devs): New member.

13 years ago * docs/man/grub-set-default.h2m: Clarify that only saved default entry
Vladimir 'phcoder' Serbinenko [Mon, 1 Nov 2010 09:11:44 +0000 (10:11 +0100)]
* docs/man/grub-set-default.h2m: Clarify that only saved default entry
is modified

13 years ago NetBSD build fix for getline function conflict from gnulib.
BVK Chaitanya [Fri, 29 Oct 2010 09:56:16 +0000 (15:26 +0530)]
NetBSD build fix for getline function conflict from gnulib.

* Makefile.util.def (libgrubkern.a): New library for grub kernel
components that depend on gnulib headers.
(libgrubmods.a): Renamed from earlier libgrub.a.
* conf/Makefile.common: Remove gnulib from *_LIBRARY flags.

13 years agomerge with mainline
BVK Chaitanya [Fri, 29 Oct 2010 09:49:30 +0000 (15:19 +0530)]
merge with mainline

13 years agorenamed libemu and libgrub to libgrubkern and libgrubmods respectively
BVK Chaitanya [Fri, 29 Oct 2010 09:14:25 +0000 (14:44 +0530)]
renamed libemu and libgrub to libgrubkern and libgrubmods respectively

13 years ago * util/grub-setup.c (setup): Refuse to do a cross-disk embeddingless
Vladimir 'phcoder' Serbinenko [Tue, 26 Oct 2010 10:40:35 +0000 (12:40 +0200)]
* util/grub-setup.c (setup): Refuse to do a cross-disk embeddingless
install rather than creating a broken install.

13 years ago * util/grub-setup.c (argp): Remove misleading example of installing to
Vladimir 'phcoder' Serbinenko [Tue, 26 Oct 2010 10:33:57 +0000 (12:33 +0200)]
* util/grub-setup.c (argp): Remove misleading example of installing to
a partition.

13 years ago * util/grub-setup.c (setup): Clarify the error message.
Vladimir 'phcoder' Serbinenko [Tue, 26 Oct 2010 10:31:26 +0000 (12:31 +0200)]
* util/grub-setup.c (setup): Clarify the error message.

13 years ago * include/grub/types.h (grub_target_off_t): Removed no longer used type.
Vladimir 'phcoder' Serbinenko [Tue, 26 Oct 2010 10:29:12 +0000 (12:29 +0200)]
* include/grub/types.h (grub_target_off_t): Removed no longer used type.

13 years ago * grub-core/kern/emu/misc.c
Vladimir 'phcoder' Serbinenko [Sat, 23 Oct 2010 18:39:08 +0000 (20:39 +0200)]
* grub-core/kern/emu/misc.c
(grub_make_system_path_relative_to_its_root)
[HAVE_LIBZFS && HAVE_LIBNVPAIR]: Fix mountpoint return on ZFS.

13 years ago * grub-core/kern/emu/misc.c
Vladimir 'phcoder' Serbinenko [Sat, 23 Oct 2010 18:34:50 +0000 (20:34 +0200)]
* grub-core/kern/emu/misc.c
(grub_make_system_path_relative_to_its_root): Revert r2882.

13 years ago * grub-core/lib/relocator.c (grub_relocator_subchunk): Remove now
Vladimir 'phcoder' Serbinenko [Fri, 22 Oct 2010 20:49:36 +0000 (22:49 +0200)]
* grub-core/lib/relocator.c (grub_relocator_subchunk): Remove now
useless field head. All users updated.
(free_subchunk): Correct handling of IN_REGION subchunk.

13 years ago* docs/grub.texi (Installing GRUB using grub-install): Proofread.
Colin Watson [Fri, 22 Oct 2010 13:17:33 +0000 (14:17 +0100)]
* docs/grub.texi (Installing GRUB using grub-install): Proofread.
(Supported kernels): Likewise.

13 years agonetbsd fixes
BVK Chaitanya [Tue, 19 Oct 2010 05:14:57 +0000 (10:44 +0530)]
netbsd fixes

13 years agoMake mktemp invocations portable.
Grégoire Sutre [Mon, 18 Oct 2010 20:50:01 +0000 (22:50 +0200)]
Make mktemp invocations portable.

13 years ago * util/grub.d/10_linux.in: Fix built-in initramfs image mode for
BVK Chaitanya [Mon, 18 Oct 2010 10:25:56 +0000 (15:55 +0530)]
* util/grub.d/10_linux.in: Fix built-in initramfs image mode for
Linux kernel, reported by Dennis Schridde.

13 years agoadd change log entry
BVK Chaitanya [Mon, 18 Oct 2010 08:11:00 +0000 (13:41 +0530)]
add change log entry

13 years agofix built-in initramfs case
BVK Chaitanya [Mon, 18 Oct 2010 08:08:42 +0000 (13:38 +0530)]
fix built-in initramfs case

13 years ago * grub-core/normal/auth.c (grub_auth_check_authentication):
Szymon Janc [Sun, 17 Oct 2010 13:41:54 +0000 (15:41 +0200)]
* grub-core/normal/auth.c (grub_auth_check_authentication):
Set-but-not-used variable removed.

13 years ago * docs/grub.texi (GNU/Linux): Document APM unavailability with
Vladimir 'phcoder' Serbinenko [Sun, 17 Oct 2010 00:08:08 +0000 (02:08 +0200)]
* docs/grub.texi (GNU/Linux): Document APM unavailability with
32-bit linux protocol.

13 years ago * grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 23:49:06 +0000 (01:49 +0200)]
* grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
cursor shape for sanity.

13 years ago * docs/grub.texi (Installation): Document buggy BIOS install.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 22:46:39 +0000 (00:46 +0200)]
* docs/grub.texi (Installation): Document buggy BIOS install.

13 years ago * docs/grub.texi (Installation): Indent.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 22:38:57 +0000 (00:38 +0200)]
* docs/grub.texi (Installation): Indent.

13 years ago * util/grub-setup.c (setup): New parameter allow_floppy.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 22:35:14 +0000 (00:35 +0200)]
* util/grub-setup.c (setup): New parameter allow_floppy.
(arguments): New member allow_floppy.
(argp_parser): Handle --allow-floppy.
(main): Pass allow_floppy.
* util/grub-install.in: New option --allow-floppy passed though to
grub-setup.

13 years ago * util/grub-install.in: Handle partitionless disks.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 22:28:19 +0000 (00:28 +0200)]
* util/grub-install.in: Handle partitionless disks.

13 years ago * util/grub-setup.c (setup): Don't clean blocklists before readability
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 22:25:23 +0000 (00:25 +0200)]
* util/grub-setup.c (setup): Don't clean blocklists before readability
verfification.

13 years ago * docs/grub.texi (Installation): Document embedding zone. Remove
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 21:38:30 +0000 (23:38 +0200)]
* docs/grub.texi (Installation): Document embedding zone. Remove
obsolete grub-install example.

13 years ago * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel):
Szymon Janc [Sat, 16 Oct 2010 20:16:52 +0000 (22:16 +0200)]
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel):
Set-but-not-used variable ifdef'ed.
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Likewise.
* grub-core/bus/usb/ohci.c (grub_ohci_pci_iter): Set-but-not-used
variable removed.
* grub-core/disk/lvm.c (grub_lvm_scan_device): Likewise.
* grub-core/fs/jfs.c (grub_jfs_find_file): Likewise.
* grub-core/fs/minix.c (grub_minix_dir): Likewise.
* grub-core/fs/sfs.c (grub_sfs_read_extent): Likewise.
* grub-core/fs/ufs.c (grub_ufs_dir): Likewise.
* grub-core/gfxmenu/gui_list.c (grub_gui_list_new): Likewise.
* grub-core/gfxmenu/view.c (redraw_menu_visit): Likewise.
* grub-core/gfxmenu/widget-box.c (draw): Likewise.
* grub-core/lib/relocator.c (malloc_in_range): Likewise.
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta): Likewise.
* grub-core/loader/i386/bsd_pagetable.c (fill_bsd64_pagetable):
Likewise.

13 years ago * grub-core/commands/acpihalt.c (skip_ext_op): Skip index field op.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 18:01:30 +0000 (20:01 +0200)]
* grub-core/commands/acpihalt.c (skip_ext_op): Skip index field op.
* include/grub/acpi.h (GRUB_ACPI_EXTOPCODE_INDEX_FIELD_OP): New
enum value.

13 years ago * grub-core/commands/acpihalt.c (get_sleep_type): Accept \_S5_ as
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 17:12:18 +0000 (19:12 +0200)]
* grub-core/commands/acpihalt.c (get_sleep_type): Accept \_S5_ as
synonym to _S5_. Needed for some DSDTs.

13 years ago Userspace ACPI parser debugging.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 17:06:55 +0000 (19:06 +0200)]
Userspace ACPI parser debugging.

* grub-core/commands/acpihalt.c [GRUB_DSDT_TEST]: Include userspace
headers and add relevant defines. Don't include standard headers.
(main) [GRUB_DSDT_TEST]: New function.
* include/grub/acpi.h [GRUB_DSDT_TEST]: Don't include standard headers.
Don't declare functions.

13 years ago Remove dead grub_efi_mm_fini.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 15:50:48 +0000 (17:50 +0200)]
Remove dead grub_efi_mm_fini.

* grub-core/kern/efi/mm.c (allocated_page): Removed.
(ALLOCATED_PAGES_SIZE): Likewise.
(MAX_ALLOCATED_PAGES): Likewise.
(allocated_pages): Likewise.
(grub_efi_allocate_pages): Don't record allocated pages.
(grub_efi_free_pages): Likewise.
(grub_efi_mm_init): Likewise.
(grub_efi_mm_fini): Removed.

13 years ago * grub-core/kern/efi/mm.c (BYTES_TO_PAGES): Round up instead of down.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 15:44:35 +0000 (17:44 +0200)]
* grub-core/kern/efi/mm.c (BYTES_TO_PAGES): Round up instead of down.
(grub_efi_mm_init): Take into account the memory map size increase.

13 years ago * grub-core/term/ns8250.c (do_real_config): Set port->broken to 0.
Vladimir 'phcoder' Serbinenko [Sat, 16 Oct 2010 15:29:12 +0000 (17:29 +0200)]
* grub-core/term/ns8250.c (do_real_config): Set port->broken to 0.
(serial_hw_put): Wait based on real time rather than port reads. Don't
roken ports.
* include/grub/serial.h (grub_serial_port): New field broken.

13 years agoMention who reported this bug.
Robert Millan [Sat, 16 Oct 2010 00:34:10 +0000 (02:34 +0200)]
Mention who reported this bug.

13 years ago2010-10-16 Robert Millan <rmh@gnu.org>
Robert Millan [Sat, 16 Oct 2010 00:30:14 +0000 (02:30 +0200)]
2010-10-16  Robert Millan  <rmh@gnu.org>

* grub-core/kern/emu/misc.c
(grub_make_system_path_relative_to_its_root): Fix premature return
when processing non-root ZFS filesystems.

13 years ago2010-10-15 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 15 Oct 2010 10:06:13 +0000 (12:06 +0200)]
2010-10-15  Robert Millan  <rmh@gnu.org>

* util/grub.d/10_linux.in (list): Expand "vmlinu[zx]" instances to
guarantee compressed ones are processed first.

13 years ago * grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from
Vladimir 'phcoder' Serbinenko [Thu, 14 Oct 2010 13:44:04 +0000 (15:44 +0200)]
* grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from
grub_efiemu_autocore.

13 years ago * grub-core/kern/i386/pc/startup.S (bypass_table): Use 0x1b explicitly
Vladimir 'phcoder' Serbinenko [Thu, 14 Oct 2010 13:35:55 +0000 (15:35 +0200)]
* grub-core/kern/i386/pc/startup.S (bypass_table): Use 0x1b explicitly
rather than 0x1b.
(grub_console_getkey): Use correct jae opcode rather than ja.

13 years ago2010-10-12 Robert Millan <rmh@gnu.org>
Robert Millan [Tue, 12 Oct 2010 12:47:04 +0000 (14:47 +0200)]
2010-10-12  Robert Millan  <rmh@gnu.org>

* util/grub-mkconfig.in: Merge `GRUB_DISABLE_LINUX_RECOVERY' and
`GRUB_DISABLE_NETBSD_RECOVERY' into a single `GRUB_DISABLE_RECOVERY'
variable.  All references updated.

* util/grub.d/10_kfreebsd.in: Support recovery boot entries.

13 years ago Correctly distinguish mdraid flavours.
Vladimir 'phcoder' Serbinenko [Fri, 8 Oct 2010 21:27:27 +0000 (23:27 +0200)]
Correctly distinguish mdraid flavours.

* grub-core/disk/raid.c (grub_raid_getname) [GRUB_UTIL]: New function.
(insert_array): New argument raid.
* include/grub/disk.h (grub_disk_dev) [GRUB_UTIL]: New member raidname.
* include/grub/raid.h (grub_raid_array) [GRUB_UTIL]: New member driver.
* util/grub-probe.c (probe): PRint raidname instead of plainly "mdraid".

13 years ago * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Fix incorrect
Vladimir 'phcoder' Serbinenko [Wed, 6 Oct 2010 17:46:20 +0000 (19:46 +0200)]
* grub-core/kern/i386/pc/startup.S (grub_console_getkey): Fix incorrect
handling of special keys.

13 years agoCorrect 2 last Changelog entries
Vladimir 'phcoder' Serbinenko [Wed, 6 Oct 2010 17:42:51 +0000 (19:42 +0200)]
Correct 2 last Changelog entries

13 years agoSCSI - cache ID bug
starous [Sat, 2 Oct 2010 18:56:12 +0000 (20:56 +0200)]
SCSI - cache ID bug

13 years agoSCSI - cache ID bug
starous [Sat, 2 Oct 2010 18:55:10 +0000 (20:55 +0200)]
SCSI - cache ID bug

13 years agousbtrans.c - wrong max packet size for bulk transfer
starous [Sat, 2 Oct 2010 18:50:07 +0000 (20:50 +0200)]
usbtrans.c - wrong max packet size for bulk transfer

13 years agousbtrans.c - wrong max packet size for bulk transfer
starous [Sat, 2 Oct 2010 18:49:05 +0000 (20:49 +0200)]
usbtrans.c - wrong max packet size for bulk transfer

14 years ago Clear out 0x80 color bit on EFI.
Vladimir 'phcoder' Serbinenko [Fri, 1 Oct 2010 14:54:38 +0000 (16:54 +0200)]
Clear out 0x80 color bit on EFI.
Tested by: decoder
Reported by: decoder and meta tech.

* grub-core/term/efi/console.c (grub_console_standard_color): Removed.
(grub_console_setcolorstate): Clear out 0x80 bit.
Use GRUB_TERM_DEFAULT_STANDARD_COLOR.
(grub_console_output): Use GRUB_TERM_DEFAULT_NORMAL_COLOR.
Use GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR.

14 years ago * grub-core/loader/i386/linux.c (DEFAULT_VIDEO_MODE) [GRUB_MACHINE_EFI]:
Vladimir 'phcoder' Serbinenko [Fri, 1 Oct 2010 14:24:43 +0000 (16:24 +0200)]
* grub-core/loader/i386/linux.c (DEFAULT_VIDEO_MODE) [GRUB_MACHINE_EFI]:
Set to "auto".

14 years ago * grub-core/gettext/gettext.c (grub_gettext_init_ext): Avoid using
Vladimir 'phcoder' Serbinenko [Thu, 30 Sep 2010 19:07:51 +0000 (21:07 +0200)]
* grub-core/gettext/gettext.c (grub_gettext_init_ext): Avoid using
mo_file after freeing.

14 years ago * grub-core/normal/term.c (read_terminal_list): Free in a right order.
Vladimir 'phcoder' Serbinenko [Thu, 30 Sep 2010 19:04:09 +0000 (21:04 +0200)]
* grub-core/normal/term.c (read_terminal_list): Free in a right order.

14 years ago * grub-core/script/execute.c (grub_script_execute_sourcecode): Set
Vladimir 'phcoder' Serbinenko [Thu, 30 Sep 2010 18:59:20 +0000 (20:59 +0200)]
* grub-core/script/execute.c (grub_script_execute_sourcecode): Set
flags.

14 years ago * util/grub-setup.c (main) [GRUB_MACHINE_IEEE1275]: Propagate argp
Vladimir 'phcoder' Serbinenko [Thu, 30 Sep 2010 17:27:28 +0000 (19:27 +0200)]
* util/grub-setup.c (main) [GRUB_MACHINE_IEEE1275]: Propagate argp
usage.

14 years ago Put terminfo into core on ieee1275 and yeeloong (needed for console).
Vladimir 'phcoder' Serbinenko [Thu, 30 Sep 2010 15:50:01 +0000 (17:50 +0200)]
Put terminfo into core on ieee1275 and yeeloong (needed for console).

* gentpl.py: New groups terminfoinkernel and terminfomodule.
* grub-core/Makefile.am (KERNEL_HEADER_FILES): Include extcmd.h, arg.h
and terminfo.h when needed.
* grub-core/Makefile.core.def (kernel): Include term/terminfo.c,
term/tparm.c, commands/extcmd.c, lib/arg.c on terminfokernel.
(terminfo): Enable only on terminfokernel.
(extcmd): Likewise.
* include/grub/extcmd.h: Add missing EXPORT_FUNC.
* include/grub/lib/arg.h: Likewise.
* grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): Fix
incorrect usage of ->.

14 years ago * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi]
Vladimir 'phcoder' Serbinenko [Wed, 29 Sep 2010 21:58:43 +0000 (23:58 +0200)]
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi]
[GRUB_MACHINE_EFI && __i386__]: Fix typo.

14 years ago Fix coreboot compilation.
Vladimir 'phcoder' Serbinenko [Wed, 29 Sep 2010 21:51:12 +0000 (23:51 +0200)]
Fix coreboot compilation.

* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size):
Take VBE info into account even if only text is supported.
(fill_vbe_info): Take into account the case when only VGA text
is supported.
* include/grub/multiboot.h (GRUB_MACHINE_HAS_VBE): Set to zero
on coreboot, multiboot and qemu.

14 years ago * grub-core/lib/relocator.c (malloc_in_range): Trim too verbose
Vladimir 'phcoder' Serbinenko [Wed, 29 Sep 2010 21:19:21 +0000 (23:19 +0200)]
* grub-core/lib/relocator.c (malloc_in_range): Trim too verbose
debug messages.
(grub_relocator_prepare_relocs): Set movers_chunk.srcv.

14 years ago * grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial
Vladimir 'phcoder' Serbinenko [Wed, 29 Sep 2010 20:51:12 +0000 (22:51 +0200)]
* grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial
parameters.