Date: Tue, 17 Aug 2010 15:20:03 GMT From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: freebsd-geom@FreeBSD.org Subject: Re: bin/149215: [panic] gpart(8): Delete linux's slice via Gpart - get kernel panic Message-ID: <201008171520.o7HFK3nK056558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/149215; it has been noted by GNATS. From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: bug-followup@FreeBSD.org, universite@ukr.net Cc: Andrew Thompson <thompsa@FreeBSD.org> Subject: Re: bin/149215: [panic] gpart(8): Delete linux's slice via Gpart - get kernel panic Date: Tue, 17 Aug 2010 19:12:46 +0400 Hi, As I see from `gpart show ad4` output and from screenshot ad4 disk was part of software raid (partition type '253') and also it was part of Linux LVM. Also, last messages before panic are: GEOM_LINUX_LVM: Disk ad4s3 removed from pv0. GEOM_LINUX_LVM: I think panic occurs in this code from g_linux_lvm.c: g_llvm_remove_disk(struct g_llvm_vg *vg, struct g_consumer *cp) .... if (found) { G_LLVM_DEBUG(0, "Device %s removed.", lv->lv_gprov->name); ^^^^^^^^^^^^^^^^^^^^^^^^ - NULL-pointer dereference here g_orphan_provider(lv->lv_gprov, ENXIO); lv->lv_gprov = NULL; } -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008171520.o7HFK3nK056558>