El Friday 09 May 2008 16:26:28 Pavel Roskin escribió: > On Fri, 2008-05-09 at 12:13 -0430, Isaac M. Marcos wrote: > > > Neither could I :-( > > > > It does not happen in other two AMD64 machines here!! > > Only on this one. > > That confirms my suspicion that the problem is not related to any x86_64 > issues. > > I checked the bug history more carefully, and I think that rlocn->offset > may be correct. 92672 is 0x16a00, which is a nice rounded number. > > If q is out of bounds, it probably means that mda_size was less than > 0x16a00. Could you please print mda_size in the debugger?
Program received signal SIGSEGV, Segmentation fault. 0x0000000000421b7c in grub_lvm_scan_device (name=0x638210 "hd1,5") at /home/immf/grub2-1.96+20080429/disk/lvm.c:305 305 /home/immf/grub2-1.96+20080429/disk/lvm.c: No such file or directory. in /home/immf/grub2-1.96+20080429/disk/lvm.c (gdb) print mda_size $1 = 192512 not what you though :-( > > Also, pvck should display the metadata size. Please run this: > > pvck /dev/sda6 $ sudo pvck /dev/sda6 Device /dev/sda6 not found (or ignored by filtering). But fdisk reports the disks: $ sudo fdisk -l Disco /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cilindros of 16065 * 512 = 8225280 bytes Disk identifier: 0x680c4421 Disposit. Inicio Comienzo Fin Bloques Id Sistema /dev/sda1 * 1 26 208813+ 83 Linux /dev/sda2 27 153 1020127+ 83 Linux /dev/sda3 154 231 626535 82 Linux swap / Solaris /dev/sda4 232 14593 115362765 5 Extendida /dev/sda5 232 3396 25422831 fd Linux raid autodetect /dev/sda6 3397 6561 25422831 fd Linux raid autodetect /dev/sda7 6562 9726 25422831 fd Linux raid autodetect /dev/sda8 9727 14593 39094146 8e Linux LVM [ some other disks ....] > What's the metadata size? It is the same as mda_size should by gdb? It does not seem so!! ------------------ with cvs version ------------------------------- > That's how to check out GRUB from CVS: > cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/grub co grub2 done > To build it, use: > ./configure > make done OK, /_____________________________________ # ./grub-probe -t device / Violación de segmento # gdb ./grub-probe GNU gdb 6.7.1-debian Copyright (C) 2007 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-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -t device / Starting program: /home/immf/DescargaFirefox/grub-cvs/grub2/grub-probe -t device / Program received signal SIGSEGV, Segmentation fault. grub_lvm_scan_device (name=0x62d1f0 "hd1,5") at disk/lvm.c:305 305 while (*q != ' ') (gdb) print q $1 = 0x780000 <Address 0x780000 out of bounds> (gdb) print metadatabuf $2 = <value optimized out> (gdb) print rlocn->offset No symbol "rlocn" in current context. (gdb) print mda_size $3 = <value optimized out> (gdb) _____________________________________________/ cvs version does not contain debug symbols? Is this a useful "line of work"? -- Isaac M. Marcos GPG key 0xC9045C1B 5633 ECAF 44B1 8A5D 9371 DCDA 4620 A016 C904 5C1B The only place success comes before work is in the dictionary. VINCE LOMBARDI _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel