Steven Chamberlain <steven@pyro.eu.org> writes: > Hello again Stig, > > I still can't reproduce this with kfreebsd-amd64 that has root/boot on > ZFS and the same GRUB2 (1.99-22.1). I even replaced my zpool > executable with something that gives identical output to yours. > > I'd be grateful if you could please install the ktrace package and get > a syscall trace with: > > # ktrace -di -- grub-probe --device /dev/ada1s1 --target=fs_uuid > # kdump -f ktrace.out | gzip > kdump.txt.gz Attached.
Attachment:
kdump.txt.gz
Description: kdump from traced grub-probe
> Or a GDB backtrace of course: > > # gdb $(which grub-probe) > run --device /dev/ada1s1 --target=fs_uuid > <crashes> > bt full > quit Here is one of those, it does not look as helpful, though. Would this look different if a grub-dbg package was available? (or grub was not stripped?) ,---- | root@discordia:~# gdb $(which grub-probe) | GNU gdb (GDB) 7.4.1-debian | Copyright (C) 2012 Free Software Foundation, Inc. | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. Type "show copying" | and "show warranty" for details. | This GDB was configured as "x86_64-kfreebsd-gnu". | For bug reporting instructions, please see: | <http://www.gnu.org/software/gdb/bugs/>... | Reading symbols from /usr/sbin/grub-probe...(no debugging symbols found)...done. | (gdb) run --device /dev/ada1s1 --target=fs_uuid | Starting program: /usr/sbin/grub-probe --device /dev/ada1s1 --target=fs_uuid | | Program received signal SIGSEGV, Segmentation fault. | 0x0000000800ae8401 in strlen () from /lib/x86_64-kfreebsd-gnu/libc.so.0.1 | (gdb) bt full | #0 0x0000000800ae8401 in strlen () from /lib/x86_64-kfreebsd-gnu/libc.so.0.1 | No symbol table info available. | #1 0x000000080086c868 in geom_xml2tree () from /lib/libgeom.so.1 | No symbol table info available. | #2 0x000000080086cae9 in geom_gettree () from /lib/libgeom.so.1 | No symbol table info available. | #3 0x00000000004312fe in ?? () | No symbol table info available. | #4 0x00000000004320b8 in ?? () | No symbol table info available. | #5 0x000000000043211a in ?? () | No symbol table info available. | #6 0x000000000043235e in ?? () | No symbol table info available. | #7 0x00000000004310f9 in ?? () | No symbol table info available. | #8 0x000000000043112e in ?? () | No symbol table info available. | #9 0x000000000040218e in ?? () | No symbol table info available. | #10 0x0000000000401ef2 in ?? () | No symbol table info available. | #11 0x0000000800a8d349 in __libc_start_main () from /lib/x86_64-kfreebsd-gnu/libc.so.0.1 | No symbol table info available. | #12 0x0000000000401fe8 in ?? () | No symbol table info available. | #13 0x00007fffffffd668 in ?? () | No symbol table info available. | #14 0x000000000000001c in ?? () | No symbol table info available. | #15 0x0000000000000000 in ?? () | No symbol table info available. | (gdb) quit | A debugging session is active. | | Inferior 1 [process 284] will be killed. | | Quit anyway? (y or n) y `---- Thanks. :) -- Stig Sandbeck Mathisen <ssm@debian.org>