Skip to contentSkip to conversation

New: oops when setting up LVM

Bug 48241 [email protected] 3 participants 16 messages Oct 3, 2012 – Nov 19, 2013 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=48241

           Summary: oops when setting up LVM
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.6.0-next-20121003
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

Created an attachment (id=81921)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)
image of oops

see attached image

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 48241] oops when setting up LVM

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #1 from Daniel Santos <[email protected]> 2012-10-03 15:05:37 --- Created an attachment (id=81931)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81931)
output of lshw

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #2 from Daniel Santos <[email protected]> 2012-10-03 15:06:49 --- Created an attachment (id=81941)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81941)
.config

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #3 from Daniel Santos <[email protected]> 2012-10-03 15:13:29 --- Oh, I forgot my compiler:

$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.1/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check
--with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --enable-obsolete
--disable-werror --enable-secureplt --enable-multilib
--with-multilib-list=m32,m64 --enable-libmudflap --disable-libssp
--enable-libgomp
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.1/python
--enable-checking=release --enable-java-awt=gtk --enable-objc-gc
--enable-languages=c,c++,java,objc,obj-c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-targets=all --with-bugurl=http://bugs.gentoo.org/
--with-pkgversion='Gentoo 4.7.1'
Thread model: posix
gcc version 4.7.1 (Gentoo 4.7.1)
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
maintainer
#4 lore raw
In reply to [email protected]
Quoted 18 lines · On Wed, 2012-10-03 at 15:04 +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=48241

           Summary: oops when setting up LVM
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.6.0-next-20121003
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No
Quoted 3 lines

Created an attachment (id=81921)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)
image of oops

The image says the RIP is at kthread_data + 0xb

That implies something went wrong within the workqueue or kthread systems, I've cc'd linux-kernel, but it's a bit of a vague thing to go on and could conceivably be a hardware issue (or some weird thread interaction in linux-next).

The first question would be "does it happen in vanilla 3.6"?

James

#5 lore raw

Re: [Bug 48241] New: oops when setting up LVM (3.6.0-next-20121003)

Quoted 26 lines · James Bottomley
Quoted 18 lines · On Wed, 2012-10-03 at 15:04 +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=48241

           Summary: oops when setting up LVM
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.6.0-next-20121003
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No
Quoted 3 lines

Created an attachment (id=81921)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)
image of oops

The image says the RIP is at kthread_data + 0xb

Quoted 8 lines

That implies something went wrong within the workqueue or kthread systems, I've cc'd linux-kernel, but it's a bit of a vague thing to go on and could conceivably be a hardware issue (or some weird thread interaction in linux-next).

The first question would be "does it happen in vanilla 3.6"?

James

So just to CC LKML, works in vanilla 3.6.0, happens in both -next & -mm, tried compiling with both gcc 4.6.3 & 4.7.1.

Daniel

#6 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #4 from Anonymous Emailer <[email protected]> 2012-10-03 15:23:10 ---
Reply-To: [email protected]

Quoted 18 lines · On Wed, 2012-10-03 at 15:04 +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=48241

           Summary: oops when setting up LVM
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.6.0-next-20121003
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No
Quoted 1 line

Created an attachment (id=81921)

--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)

Quoted 2 lines

--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)
image of oops

The image says the RIP is at kthread_data + 0xb

That implies something went wrong within the workqueue or kthread systems, I've cc'd linux-kernel, but it's a bit of a vague thing to go on and could conceivably be a hardware issue (or some weird thread interaction in linux-next).

The first question would be "does it happen in vanilla 3.6"?

James

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #5 from Daniel Santos <[email protected]> 2012-10-03 15:36:53 ---

Quoted 6 lines

The image says the RIP is at kthread_data + 0xb

That implies something went wrong within the workqueue or kthread systems, I've cc'd linux-kernel, but it's a bit of a vague thing to go on and could conceivably be a hardware issue (or some weird thread interaction in linux-next).

OK, thanks. I was kinda guessing it was from scsi_setup_fs_cmnd when I choose a component, I don't really know that part of the kernel.

Quoted 1 line

The first question would be "does it happen in vanilla 3.6"?

I haven't tried 3.6 yet, but I did just rebuild using gcc 4.6.3 to make sure it wasn't compiler related. After that, I will try 3.6 built with gcc 4.7.1. Also, I got this in -mmotm prior to trying linux-next.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #6 from Daniel Santos <[email protected]> 2012-10-03 16:16:48 --- Created an attachment (id=81951)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81951)
oops of next-20121003 compiled with gcc 4.6.3

So yeah, very similar oops under 4.6.3 (looks like all that changed were addresses & such). I'm running 3.6.0 right now.

uugh, but now that I think about it, I didn't use the same config that I was running earlier since oldconfig was asking me tons of questions that were already answered with a previous config (options removed or moved possibly?). To make this complete, I should use my current 3.6.0 config, rebase to next-20121003 and build that.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #7 from Daniel Santos <[email protected]> 2012-10-03 16:21:22 --- Created an attachment (id=81961)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81961)
Working 3.6.0-vanilla .config

This is the .config from 3.6.0-vanilla that is working

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #8 from Daniel Santos <[email protected]> 2012-10-03 16:45:43 --- Created an attachment (id=81971)
--> (https://bugzilla.kernel.org/attachment.cgi?id=81971)
config-3.6.0-next-20121003 (second)

OK, so I took my .config from 3.6.0-vanilla, ran oldconfig under 3.6.0-next-20121003 (using all default answers) and I have the same oops.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

Daniel Santos <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #81961|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

Daniel Santos <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #81971|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #9 from Anonymous Emailer <[email protected]> 2012-10-04 07:34:55 ---
Reply-To: [email protected]

Quoted 20 lines · James Bottomley
Quoted 18 lines · On Wed, 2012-10-03 at 15:04 +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=48241

           Summary: oops when setting up LVM
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.6.0-next-20121003
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No
Quoted 1 line
Quoted 1 line

Created an attachment (id=81921)

--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)

Quoted 5 lines
Quoted 2 lines

--> (https://bugzilla.kernel.org/attachment.cgi?id=81921)
image of oops

The image says the RIP is at kthread_data + 0xb

Quoted 8 lines

That implies something went wrong within the workqueue or kthread systems, I've cc'd linux-kernel, but it's a bit of a vague thing to go on and could conceivably be a hardware issue (or some weird thread interaction in linux-next).

The first question would be "does it happen in vanilla 3.6"?

James

So just to CC LKML, works in vanilla 3.6.0, happens in both -next & -mm, tried compiling with both gcc 4.6.3 & 4.7.1.

Daniel

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 48241] oops when setting up LVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=48241

--- Comment #10 from Daniel Santos <[email protected]> 2012-10-05 18:38:08 ---
Update: bug not present in Linus today (commit ecefbd94b834fa32559d854646d777c56749ef1c)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.