* [Bug 43359] New: LVM volumes not detected
@ 2012-06-09 7:33 bugzilla-daemon
2012-06-09 7:33 ` [Bug 43359] " bugzilla-daemon
` (7 more replies)
0 siblings, 8 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-09 7:33 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
Summary: LVM volumes not detected
Product: IO/Storage
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
AssignedTo: linux-scsi@vger.kernel.org
ReportedBy: francois.valenduc@tvcablenet.be
Regression: No
With kernel 3.5-rc1, LVM volumes are not detected. A bisection leads to the
following commit:
commit 794c10fa0fa4d1781c5651c31e3d4d0b71629128
Author: Jörn Engel <joern@logfs.org>
Date: Thu Apr 12 17:32:48 2012 -0400
[SCSI] sg: remove while (1) non-loop
The while (1) construct isn't actually a loop at all. So let's not
pretent and obfuscate the code.
Signed-off-by: Joern Engel <joern@logfs.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Unfortunately, I cannot revert it on top of 3.5-rc1 or 3.5-rc2 to confirm this.
My harddisk is using the AHCI drivers. Can somebody explains what's happening ?
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
@ 2012-06-09 7:33 ` bugzilla-daemon
2012-06-10 6:12 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-09 7:33 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
François Valenduc <francois.valenduc@tvcablenet.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |3.5-rc1
Regression|No |Yes
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
2012-06-09 7:33 ` [Bug 43359] " bugzilla-daemon
@ 2012-06-10 6:12 ` bugzilla-daemon
[not found] ` <20120610061206.E0E081205DA-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org>
2012-06-13 13:07 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 1 reply; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-10 6:12 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
--- Comment #1 from François Valenduc <francois.valenduc@tvcablenet.be> 2012-06-10 06:12:06 ---
This problem seems impossible to bisect. The first run (794c10fa0fa4d) was the
result of the bisection limited to drivers and fs directories. A second run
where I also added the block directory lead to a commit related to watchdog,
which is impossible since I don't use watchdog on my computer.
A 3rd run on the whole kernel tree leads to this commit:
From 4523e1458566a0e8ecfaff90f380dd23acc44d27 Mon Sep 17 00:00:00 2001
From: Dave Hansen <dave@linux.vnet.ibm.com>
Date: Wed, 30 May 2012 07:51:07 -0700
Subject: [PATCH] mm: fix vma_resv_map() NULL pointer
hugetlb_reserve_pages() can be used for either normal file-backed
hugetlbfs mappings, or MAP_HUGETLB. In the MAP_HUGETLB, semi-anonymous
mode, there is not a VMA around. The new call to resv_map_put() assumed
that there was, and resulted in a NULL pointer dereference:
This is also strange because I don't use hugetlb. I can revert this commit but
it doesn't change anything. Does anybody have an idea on what I could do to
further investigate this problem.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bug 43359] LVM volumes not detected
[not found] ` <20120610061206.E0E081205DA-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org>
@ 2012-06-12 4:56 ` Muthu Kumar
[not found] ` <CAFR8uefjqTqbg545BExg1F_QR7cwyzOgF1x0WA61iH11bbMo5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Muthu Kumar @ 2012-06-12 4:56 UTC (permalink / raw)
To: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
francois.valenduc-bmtTS95sd5BUM80lpFwj4w
Cc: linux-scsi-u79uwXL29TY76Z2rM5mHXA,
initramfs-u79uwXL29TY76Z2rM5mHXA
I am using CentOS 6.x and I hit this bug with 3.5-rc2. I tried to look
in to the boot process and found that the initramfs generated from
3.5.-rc2 is not good for lvm root. It was missing /lib/modules/<uname
-r>/kernel/drivers/md/*". Also /sbin/ doesn't have lvm_scan and was
missing a bunch of other files too.
CCing initramfs folks. Any help?
On Sat, Jun 9, 2012 at 11:12 PM, <bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org> wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=43359
>
>
>
>
>
> --- Comment #1 from François Valenduc <francois.valenduc@tvcablenet.be> 2012-06-10 06:12:06 ---
> This problem seems impossible to bisect. The first run (794c10fa0fa4d) was the
> result of the bisection limited to drivers and fs directories. A second run
> where I also added the block directory lead to a commit related to watchdog,
> which is impossible since I don't use watchdog on my computer.
> A 3rd run on the whole kernel tree leads to this commit:
>
> From 4523e1458566a0e8ecfaff90f380dd23acc44d27 Mon Sep 17 00:00:00 2001
> From: Dave Hansen <dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
> Date: Wed, 30 May 2012 07:51:07 -0700
> Subject: [PATCH] mm: fix vma_resv_map() NULL pointer
>
> hugetlb_reserve_pages() can be used for either normal file-backed
> hugetlbfs mappings, or MAP_HUGETLB. In the MAP_HUGETLB, semi-anonymous
> mode, there is not a VMA around. The new call to resv_map_put() assumed
> that there was, and resulted in a NULL pointer dereference:
>
> This is also strange because I don't use hugetlb. I can revert this commit but
> it doesn't change anything. Does anybody have an idea on what I could do to
> further investigate this problem.
>
> --
> Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.--
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bug 43359] LVM volumes not detected
[not found] ` <CAFR8uefjqTqbg545BExg1F_QR7cwyzOgF1x0WA61iH11bbMo5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-06-13 1:22 ` Muthu Kumar
0 siblings, 0 replies; 11+ messages in thread
From: Muthu Kumar @ 2012-06-13 1:22 UTC (permalink / raw)
To: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
francois.valenduc-bmtTS95sd5BUM80lpFwj4w
Cc: linux-scsi-u79uwXL29TY76Z2rM5mHXA,
initramfs-u79uwXL29TY76Z2rM5mHXA
Thanks to Harald and Bryn, I narrowed it to local changes in my system.
On Mon, Jun 11, 2012 at 9:56 PM, Muthu Kumar <muthu.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I am using CentOS 6.x and I hit this bug with 3.5-rc2. I tried to look
> in to the boot process and found that the initramfs generated from
> 3.5.-rc2 is not good for lvm root. It was missing /lib/modules/<uname
> -r>/kernel/drivers/md/*". Also /sbin/ doesn't have lvm_scan and was
> missing a bunch of other files too.
>
> CCing initramfs folks. Any help?
>
>
>
> On Sat, Jun 9, 2012 at 11:12 PM, <bugzilla-daemon-590EEB7GvNiWaY/ihj7yzA@public.gmane.orgorg> wrote:
>> https://bugzilla.kernel.org/show_bug.cgi?id=43359
>>
>>
>>
>>
>>
>> --- Comment #1 from François Valenduc <francois.valenduc@tvcablenet.be> 2012-06-10 06:12:06 ---
>> This problem seems impossible to bisect. The first run (794c10fa0fa4d) was the
>> result of the bisection limited to drivers and fs directories. A second run
>> where I also added the block directory lead to a commit related to watchdog,
>> which is impossible since I don't use watchdog on my computer.
>> A 3rd run on the whole kernel tree leads to this commit:
>>
>> From 4523e1458566a0e8ecfaff90f380dd23acc44d27 Mon Sep 17 00:00:00 2001
>> From: Dave Hansen <dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
>> Date: Wed, 30 May 2012 07:51:07 -0700
>> Subject: [PATCH] mm: fix vma_resv_map() NULL pointer
>>
>> hugetlb_reserve_pages() can be used for either normal file-backed
>> hugetlbfs mappings, or MAP_HUGETLB. In the MAP_HUGETLB, semi-anonymous
>> mode, there is not a VMA around. The new call to resv_map_put() assumed
>> that there was, and resulted in a NULL pointer dereference:
>>
>> This is also strange because I don't use hugetlb. I can revert this commit but
>> it doesn't change anything. Does anybody have an idea on what I could do to
>> further investigate this problem.
>>
>> --
>> Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You are the assignee for the bug.--
>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
2012-06-09 7:33 ` [Bug 43359] " bugzilla-daemon
2012-06-10 6:12 ` bugzilla-daemon
@ 2012-06-13 13:07 ` bugzilla-daemon
2012-06-14 4:32 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-13 13:07 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan@lxorguk.ukuu.org.uk
--- Comment #2 from Alan <alan@lxorguk.ukuu.org.uk> 2012-06-13 13:07:49 ---
Might be worth attaching a dmesg of both a working and failing boot
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
` (2 preceding siblings ...)
2012-06-13 13:07 ` bugzilla-daemon
@ 2012-06-14 4:32 ` bugzilla-daemon
2012-06-14 8:58 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-14 4:32 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
François Valenduc <francois.valenduc@tvcablenet.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |UNREPRODUCIBLE
--- Comment #3 from François Valenduc <francois.valenduc@tvcablenet.be> 2012-06-14 04:32:27 ---
I don't understand at all what has happened but the problem is gone. I
recompiled my kernel without using ccache and it works correctly. I use ccache
since a very long time and it's the first time I encounter such a problem.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
` (3 preceding siblings ...)
2012-06-14 4:32 ` bugzilla-daemon
@ 2012-06-14 8:58 ` bugzilla-daemon
2012-06-14 16:16 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-14 8:58 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #4 from Alan <alan@lxorguk.ukuu.org.uk> 2012-06-14 08:58:29 ---
Thanks for trying.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
` (4 preceding siblings ...)
2012-06-14 8:58 ` bugzilla-daemon
@ 2012-06-14 16:16 ` bugzilla-daemon
2012-06-14 16:39 ` bugzilla-daemon
2012-06-14 17:01 ` bugzilla-daemon
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-14 16:16 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
--- Comment #5 from Anonymous Emailer <anonymous@kernel-bugs.osdl.org> 2012-06-14 16:16:35 ---
Reply-To: muthu.lkml@gmail.com
I am using CentOS 6.x and I hit this bug with 3.5-rc2. I tried to look
in to the boot process and found that the initramfs generated from
3.5.-rc2 is not good for lvm root. It was missing /lib/modules/<uname
-r>/kernel/drivers/md/*". Also /sbin/ doesn't have lvm_scan and was
missing a bunch of other files too.
CCing initramfs folks. Any help?
On Sat, Jun 9, 2012 at 11:12 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=43359
>
>
>
>
>
> --- Comment #1 from François Valenduc <francois.valenduc@tvcablenet.be> 2012-06-10 06:12:06 ---
> This problem seems impossible to bisect. The first run (794c10fa0fa4d) was the
> result of the bisection limited to drivers and fs directories. A second run
> where I also added the block directory lead to a commit related to watchdog,
> which is impossible since I don't use watchdog on my computer.
> A 3rd run on the whole kernel tree leads to this commit:
>
> From 4523e1458566a0e8ecfaff90f380dd23acc44d27 Mon Sep 17 00:00:00 2001
> From: Dave Hansen <dave@linux.vnet.ibm.com>
> Date: Wed, 30 May 2012 07:51:07 -0700
> Subject: [PATCH] mm: fix vma_resv_map() NULL pointer
>
> hugetlb_reserve_pages() can be used for either normal file-backed
> hugetlbfs mappings, or MAP_HUGETLB. In the MAP_HUGETLB, semi-anonymous
> mode, there is not a VMA around. The new call to resv_map_put() assumed
> that there was, and resulted in a NULL pointer dereference:
>
> This is also strange because I don't use hugetlb. I can revert this commit but
> it doesn't change anything. Does anybody have an idea on what I could do to
> further investigate this problem.
>
> --
> Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.--
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
` (5 preceding siblings ...)
2012-06-14 16:16 ` bugzilla-daemon
@ 2012-06-14 16:39 ` bugzilla-daemon
2012-06-14 17:01 ` bugzilla-daemon
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-14 16:39 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
--- Comment #6 from Alan <alan@lxorguk.ukuu.org.uk> 2012-06-14 16:39:06 ---
Ok so that's a centos initrd bug. Probably best to open a centos bug for it.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 43359] LVM volumes not detected
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
` (6 preceding siblings ...)
2012-06-14 16:39 ` bugzilla-daemon
@ 2012-06-14 17:01 ` bugzilla-daemon
7 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-14 17:01 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=43359
Bryn M. Reeves <bmr@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bmr@redhat.com
--- Comment #7 from Bryn M. Reeves <bmr@redhat.com> 2012-06-14 17:01:48 ---
CentOS 6 dracut doesn't support 3.x kernels (probably easy to persuade it to
but not sure that they'd want a bug on that).
I talked to Muthu off-list and his problem turned out to be with a local blkid
build that was breaking dracut's LVM module check script.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-06-14 17:01 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-09 7:33 [Bug 43359] New: LVM volumes not detected bugzilla-daemon
2012-06-09 7:33 ` [Bug 43359] " bugzilla-daemon
2012-06-10 6:12 ` bugzilla-daemon
[not found] ` <20120610061206.E0E081205DA-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org>
2012-06-12 4:56 ` Muthu Kumar
[not found] ` <CAFR8uefjqTqbg545BExg1F_QR7cwyzOgF1x0WA61iH11bbMo5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-06-13 1:22 ` Muthu Kumar
2012-06-13 13:07 ` bugzilla-daemon
2012-06-14 4:32 ` bugzilla-daemon
2012-06-14 8:58 ` bugzilla-daemon
2012-06-14 16:16 ` bugzilla-daemon
2012-06-14 16:39 ` bugzilla-daemon
2012-06-14 17:01 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).