Re: x86_64 panic on latest linux-2.6

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Mariusz Kozlowski <m.kozlowski@...>, <kernel-testers@...>, <linux-kernel@...>, Kay Sievers <kay.sievers@...>, Greg Kroah-Hartman <gregkh@...>
Date: Sunday, May 25, 2008 - 7:35 pm

On Sunday May 25, bunk@kernel.org wrote:

Having decoded the "Code:", what is happening here is that 'dev' is
clearly not embedded inside a 'disk'.
The address of 'dev' is in RBX and is ffff81007f270010.
disk->minors is at and offset of -0x60 from 'dev' (as 'dev' is assumed
to be a structure embeded in a 'struct gendisk' - dev_to_disk uses
container_of to find the gendisk that holds the device).  But 0x60 from RBX
is in a different page, and presumably that memory doesn't exist.

So the question is: how can a 'struct device' which is not part of
a 'struct gendisk' be on 'block_class.devices'.

Unfortunately, I have no idea.

NeilBrown
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: x86_64 panic on latest linux-2.6, Neil Brown, (Sun May 25, 7:35 pm)
Re: x86_64 panic on latest linux-2.6, Mariusz Kozlowski, (Mon May 26, 5:59 pm)