[bug #56264] 2.04-rc1 -- typo?

2019-05-03 Thread Kostya Berger
URL: Summary: 2.04-rc1 -- typo? Project: GNU GRUB Submitted by: bergerkos Submitted on: Fri 03 May 2019 10:22:29 PM UTC Category: Compilation Severity: Major

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-29 Thread Kostya Berger
Follow-up Comment #18, bug #46986 (project grub): Sorry, I mean binutils-2.25.1. ___ Reply to this item at: ___ Message sent via/by Savannah http://sa

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-29 Thread Kostya Berger
Follow-up Comment #17, bug #46986 (project grub): OK, my version of strip is part of elftoolchain which is used in FreeBSD for license-related reasons. I've tried using strip from binutils-6.25 and it builds ok. So, as a local workaround I'm using a patch for grub-core/genmod.sh.in to replace "@

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #15, bug #46986 (project grub): Here's objdump output for all_video.mod that builds with strip section removed in genmod.sh (for this particular module): LC_ALL=C objdump -x all_video.mod all_video.mod: file format elf32-i386-freebsd all_video.mod architecture: i386, flags

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #14, bug #46986 (project grub): Sorry, distorted output here. ___ Reply to this item at: ___ Message sent via/by Savannah http://sav

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #13, bug #46986 (project grub): Well, when I disable strip command in genmod.sh for all_video.mod it contains these symbols (same as all_video.module): SYMBOL TABLE: ld .text .text ld .data .data ld .module_license

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #11, bug #46986 (project grub): Don't know if it matters as I'm not a programmer... but genmod.sh has changed in the version that fails compared to the previous one. The strip command in the failing revision is: strip --strip-unneeded -K grub_mod_init -K grub_mod_fini -K _grub_m

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #10, bug #46986 (project grub): Doesn't build either. And here strip is GNU strip 2.17.50 ___ Reply to this item at: ___ Message sent

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #9, bug #46986 (project grub): Sorry, I'm not a programmer, that's why. strip -V: strip (elftoolchain r3223M) objcopy -V: GNU objcopy 2.17.50 [FreeBSD] 2007-07-03 Interestingly, in FreeBSD 10.2 man strip it says "GNU strip...". Here on CURRENT it doesn't mention GNU... Know w

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #7, bug #46986 (project grub): Here is the debug output of the command you suggested: TARGET_OBJ2ELF= sh -x genmod.sh moddep.lst all_video.module build-grub-module-verifier all_video.mod + set -e + moddep=moddep.lst + infile=all_video.module + outfile=all_video.mod + tmpfile=al

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #5, bug #46986 (project grub): Here, configure output, too. (file #36185) ___ Additional Item Attachment: File name: configure.output.txt Size:31 KB ___

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #4, bug #46986 (project grub): Here you are. (file #36182, file #36183, file #36184) ___ Additional Item Attachment: File name: all_video.module Size:5 KB File name: config.log Size:676 K

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-27 Thread Kostya Berger
Follow-up Comment #2, bug #46986 (project grub): For which build? For the last or for the first bad (i.e. a7cf8b1e235fbbc8a460510615c7ff85f21c2d05) ? ___ Reply to this item at: _

[bug #46986] Fails to build on FreeBSD CURRENT amd64

2016-01-26 Thread Kostya Berger
URL: Summary: Fails to build on FreeBSD CURRENT amd64 Project: GNU GRUB Submitted by: bergerkos Submitted on: Wed 27 Jan 2016 01:19:24 AM GMT Category: Compilation Seve

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-14 Thread Kostya Berger
Follow-up Comment #42, bug #8 (project grub): Thank you and everyone who helped. ___ Reply to this item at: ___ Message sent via/by Savannah http:

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-13 Thread Kostya Berger
Follow-up Comment #40, bug #8 (project grub): Will you commit this now? Or should other tests be done? ___ Reply to this item at: ___ Message sent v

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-13 Thread Kostya Berger
Follow-up Comment #39, bug #8 (project grub): Yes, it does. Thank you very much for assistance. ___ Reply to this item at: ___ Message sent via/by S

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-13 Thread Kostya Berger
Follow-up Comment #37, bug #8 (project grub): Tested, not showing the file yet. Here's the log. (file #33998) ___ Additional Item Attachment: File name: grub-fstest.logSize:18 KB __

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-12 Thread Kostya Berger
Follow-up Comment #35, bug #8 (project grub): Well, I don't know how to check the overflow of any variables, sorry. I can only state that reverting this small change in gurb-core/fs/zfs/zfs.c in the latest git code makes everything work again. And for the information, /boot/kernel directory i

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-12 Thread Kostya Berger
Follow-up Comment #33, bug #8 (project grub): So, here is my result: 87a04adb6541c4bf169644bb2f84036a7c8558dd is the first bad commit commit 87a04adb6541c4bf169644bb2f84036a7c8558dd Author: Vladimir Serbinenko Date: Sat Feb 21 16:22:01 2015 +0100 zfs/mzap_lookup: Fix argument types :

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-12 Thread Kostya Berger
Follow-up Comment #32, bug #8 (project grub): OK got it. ___ Reply to this item at: ___ Message sent via/by Savannah http://savannah.gnu.org/ __

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-12 Thread Kostya Berger
Follow-up Comment #31, bug #8 (project grub): Th problem with git bisect command is that it doesn't recognize the version of 2.02~beta2: fatal: Needed a single revision Bad rev input: 2.02~beta2 ___ Reply to this item at:

[bug #45021] grub install error in zfs raw-disk installation

2015-05-12 Thread Kostya Berger
Follow-up Comment #11, bug #45021 (project grub): Yes, I confirm this. Somehow my disk's partition table had partition #4 set as FreeBSD and active. I've destroyed all zfs filesystem and then set the partition "unused" with "fdisk -u /dev/ada0" manual command. After that recreated raw-disk zpool e

[bug #45021] grub install error in zfs raw-disk installation

2015-05-08 Thread Kostya Berger
Follow-up Comment #10, bug #45021 (project grub): Thank you for your information, I have no idea how that msdos label came to be there. I definitely didn't create it. Anyway, I'll try clearing the disk once more and repeat the installation sequence.

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-07 Thread Kostya Berger
Follow-up Comment #30, bug #8 (project grub): arvidjaar: Thanks for your detailed recommendation on git bisect. I'll try as soon as I have time. ___ Reply to this item at: __

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-07 Thread Kostya Berger
Follow-up Comment #28, bug #8 (project grub): OK, attached the output of the command: grub-fstest -d zfs /dev/ada0 ls /ROOT/default@/boot/kernel > debug.txt 2>&1 (file #33952) ___ Additional Item Attachment: File name: debug.txt.bz2

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-07 Thread Kostya Berger
Follow-up Comment #26, bug #8 (project grub): I've emailed you the zfs.c. As to your version of events, I'll tell you how I created this installation. I deleted all partitions from the disk, then created a ZFS pool all over the disk (raw-disk pool). Then sent a snapshot from my existing inst

[bug #45021] grub install error in zfs raw-disk installation

2015-05-07 Thread Kostya Berger
Follow-up Comment #8, bug #45021 (project grub): On this particular machine it's 10.1-RELEASE. But on my other machine, where the installation was successful with earlier version of grub and feature-disabled zpool, it's 10.1-STABLE. ___ Rep

[bug #45021] grub install error in zfs raw-disk installation

2015-05-06 Thread Kostya Berger
Follow-up Comment #5, bug #45021 (project grub): Here it is. BTW, this is taken from the zfsboot man page about the bootloader installation into the whole-disk zfs pool. May be helpful: --- zfsboot is used on BIOS-based computers to boot from a filesystem in a ZFS pool. zfsboot i

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-06 Thread Kostya Berger
Follow-up Comment #23, bug #8 (project grub): No. It works for my other pool, which doesn't have these features enabled. Toomas Soome:No, the actual command was grub-fstest /dev/ada0 ls /ROOT/goot/kernel/zfs.ko I start from the start, with the 'ls' command for root: grub-fstest /dev/ada0 ls

[bug #45021] grub install error in zfs raw-disk installation

2015-05-06 Thread Kostya Berger
Follow-up Comment #3, bug #45021 (project grub): No, it doesn't. Raw-disk installation means a ZFS pool that occupies full disk -- no partitions at all. 'gpart show' shows nothing accordingly. I didn't know from the start how grub would handle that, but it seems it handles it like MBR disk or som

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #20, bug #8 (project grub): Yes, please, post it in git format or something. Copy pasting causes line breaking sometimes, so there appear "lines" that aren't present in the code. ___ Reply to this item at:

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #18, bug #8 (project grub): Sorry, there was a typo in the command ("goot" instead of "boot"). With the typo corrected the output is like this: grub-core/fs/zfs/zfs.c:1192: label ok 0 grub-core/fs/zfs/zfs.c:1007: check 2 passed grub-core/fs/zfs/zfs.c:1018: check 3 passed gru

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #17, bug #8 (project grub): Yes, I applied some parts manually. Here's the output: grub-core/fs/zfs/zfs.c:1192: label ok 0 grub-core/fs/zfs/zfs.c:1007: check 2 passed grub-core/fs/zfs/zfs.c:1018: check 3 passed grub-core/fs/zfs/zfs.c:1025: check 4 passed grub-core/fs/zfs/zfs

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #15, bug #8 (project grub): Sorry, the patch doesn't help. BTW, the patch as you've posted it is malformed. Must be a copy-pasting error... Still, as i mentioned: when I copy the problematic files into a separate directory /boot/custom, they're loaded by grub and everything

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #13, bug #8 (project grub): OK, this time things are "better": I can copy the files linux.ko, opensolaris.ko, zfs.ko (along with the corresponsing *.symbols files) over to a small custom directory, THEN grub2 can see and load these modules. At the time of the original bug rep

[bug #45021] grub install error in zfs raw-disk installation

2015-05-05 Thread Kostya Berger
Follow-up Comment #1, bug #45021 (project grub): ##Here is the grub-install debug output: grub-install --debug --modules=zfs --boot-directory=/boot /dev/ada0 Installing for i386-pc platform. /home/kostya/GRUB-2/sbin/grub-install: info: cannot open `/boot/grub/device.map': No such file or directory

[bug #45021] grub install error in zfs raw-disk installation

2015-05-05 Thread Kostya Berger
URL: Summary: grub install error in zfs raw-disk installation Project: GNU GRUB Submitted by: bergerkos Submitted on: Tue 05 May 2015 11:26:55 AM GMT Category: Disk & Partition

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-05-05 Thread Kostya Berger
Follow-up Comment #11, bug #8 (project grub): Here is my log with grub-fstest -d zfs (for the problematic file): grub-core/fs/zfs/zfs.c:1190: label ok 0 grub-core/fs/zfs/zfs.c:1005: check 2 passed grub-core/fs/zfs/zfs.c:1016: check 3 passed grub-core/fs/zfs/zfs.c:1023: check 4 passed grub-core

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-03-08 Thread Kostya Berger
Follow-up Comment #7, bug #8 (project grub): Hm, in case I run it like (gdb) run /dev/ada1p2 ls /ROOT/kernel/kernel (a file that's recognized by "ls -l" command) it DOES stop at the given breakpoint. But if specify the path to a "not found" file (i.e. /ROOT/working/freebsd@/boot/kernel/zfs.

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-03-08 Thread Kostya Berger
Follow-up Comment #6, bug #8 (project grub): Well, here it beats me. I'm not (yet) a C programmer, so while I can figure out how to set breakpoints in gdb, I don't know how to add "top level printf" in a C program. And without that gdb only outputs multiple "no debugging symbols found" statem

[bug #44454] grub-mkconfig output not very useful -- patches

2015-03-06 Thread Kostya Berger
Follow-up Comment #5, bug #44454 (project grub): A! So GRUB2 can do even that?? Load a kernel from one disk, then switch to another root and load modules from there? Thanks for the general idea, it was worth knowing. Is this known to work? _

[bug #44454] grub-mkconfig output not very useful -- patches

2015-03-06 Thread Kostya Berger
Follow-up Comment #3, bug #44454 (project grub): Here are both "good" and "buggy" configs. 1. Buggy: the construction if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root 46464c03259a8cb0 else search --no-floppy --fs-uuid --set=root

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-03-06 Thread Kostya Berger
Follow-up Comment #4, bug #8 (project grub): What special options for debug output could I use with grub-fstest? Because I use (same as in my grub.cfg): grub-fstest /dev/ada0p2 ls /ROOT/working/freebsd@/boot/kernel/zfs.ko which behaves the same as in grub boot prompt.

[bug #44454] grub-mkconfig output not very useful -- patches

2015-03-06 Thread Kostya Berger
Follow-up Comment #1, bug #44454 (project grub): OK, on linux this doesn't hurt either. ___ Reply to this item at: ___ Message sent via/by Savannah ht

[bug #44454] grub-mkconfig output not very useful -- patches

2015-03-06 Thread Kostya Berger
ration Severity: Major Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Kostya Berger Originator Email: Open/Closed

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-03-06 Thread Kostya Berger
Follow-up Comment #2, bug #8 (project grub): As of today, it is the current GIT muster. It says:"up-to-date with origin/master". ___ Reply to this item at: _

[bug #44448] grub refuses to load (or recognize) a freebsd module -- "file not found"

2015-03-06 Thread Kostya Berger
Category: Terminal Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Kostya Berger Originat