All of lore.kernel.org
 help / color / mirror / Atom feed
* grub-probe crashes on a linux softraid 1 with one disk beginning to sync
@ 2008-07-28 23:05 Felix Zielcke
  2008-07-29 20:20 ` [PATCH] show an error instead of segfaulting on grub-probe -t partmap on a unsynced raid Felix Zielcke
  0 siblings, 1 reply; 8+ messages in thread
From: Felix Zielcke @ 2008-07-28 23:05 UTC (permalink / raw)
  To: grub-devel

grub-probe --device-map=/boot/grub/device.map --target=partmap --device /dev/md0
showed pc
and then segfaulted

/dev/md0 is raid1 with 2 disks but the second was just added to it, so
it's syncing
I try to trace this down and maybe provide a patch but probable someone
else here is better and faster on this then me :)
Even as .tar.bz2 the 2 files are too big for the list so you'll find them at [0]
in case you need.


#0  0x00000000004015f9 in probe_partmap (disk=0x0)
at /home/fz/grub/grub2-1.96+20080724/util/grub-probe.c:87
87	  if (disk->partition == NULL)
(gdb) bt full
#0  0x00000000004015f9 in probe_partmap (disk=0x0)
at /home/fz/grub/grub2-1.96+20080724/util/grub-probe.c:87
	name = 0x0
	underscore = 0x7f7916e9ea86 "\203=\233�-"
#1  0x00000000004018ac in probe (path=0x0, device_name=0x7fff1f399a42
"/dev/md0") at /home/fz/grub/grub2-1.96+20080724/util/grub-probe.c:182
	list = (grub_disk_memberlist_t) 0x1f341d0
	tmp = (grub_disk_memberlist_t) 0x1f341d0
	drive_name = 0x1f34080 "md0"
	grub_path = 0x0
	filebuf_via_grub = 0x0
	filebuf_via_sys = 0x0
	abstraction_type = 2
	dev = (grub_device_t) 0x1f34190
	fs = (grub_fs_t) 0x0
#2  0x0000000000401d98 in main (argc=5, argv=0x7fff1f397888)
at /home/fz/grub/grub2-1.96+20080724/util/grub-probe.c:370
	dev_map = 0x1f34010 "/boot/grub/device.map"
	argument = 0x7fff1f399a42 "/dev/md0"

[0] http://rapidshare.com/files/133187302/coredump.tar.bz2.html




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-08-02 19:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 23:05 grub-probe crashes on a linux softraid 1 with one disk beginning to sync Felix Zielcke
2008-07-29 20:20 ` [PATCH] show an error instead of segfaulting on grub-probe -t partmap on a unsynced raid Felix Zielcke
2008-07-30 10:37   ` Robert Millan
2008-07-30 11:39     ` Felix Zielcke
2008-07-30 15:11       ` Felix Zielcke
2008-08-01 13:36         ` Robert Millan
2008-08-01 15:22           ` Felix Zielcke
2008-08-02 19:00             ` Felix Zielcke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.