From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753019AbbL2CLq (ORCPT ); Mon, 28 Dec 2015 21:11:46 -0500 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:54860 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbbL2CLo (ORCPT ); Mon, 28 Dec 2015 21:11:44 -0500 Message-ID: <1451355102.2331.11.camel@HansenPartnership.com> Subject: Re: [LKP] [lkp] [ses] 3417c1b5cb: WARNING: CPU: 2 PID: 2013 at fs/xfs/xfs_file.c:772 xfs_file_dio_aio_write+0x2a2/0x320() From: James Bottomley To: "Huang, Ying" Cc: linux-scsi , LKML , "Ewan D.Milne" , Tomas Henzl , Andrea Gelmini , lkp@01.org Date: Mon, 28 Dec 2015 18:11:42 -0800 In-Reply-To: <87bn9b0zjh.fsf@yhuang-dev.intel.com> References: <87ziwv2vrp.fsf@yhuang-dev.intel.com> <1451279958.2283.4.camel@HansenPartnership.com> <87bn9b0zjh.fsf@yhuang-dev.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2015-12-28 at 16:04 +0800, Huang, Ying wrote: > James Bottomley writes: > > > [cc to linux-scsi added] > > On Mon, 2015-12-28 at 09:43 +0800, kernel test robot wrote: > > > FYI, we noticed the below changes on > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi > > > t ma > > > ster > > > commit 3417c1b5cb1fdc10261dbed42b05cc93166a78fd ("ses: Fix > > > problems > > > with simple enclosures") > > > > > > This may be the intended behavior, we found after your commit, > > > the > > > following new message appears in kernel log: > > > > > > [ 40.804515] scsi 8:0:12:0: Wrong diagnostic page; asked for 7 > > > got > > > 0 > > > > > > To reproduce: > > > > > > git clone > > > git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git > > > cd lkp-tests > > > bin/lkp install job.yaml # job file is attached in this > > > email > > > bin/lkp run job.yaml > > > > OK, so what is the enclosure device at host 8? And what happens > > when > > you use sg_ses to ask for page 7? > > We run xfstests on the test machine. You can check the dmesg > (kmsg.xz) > attached in the original reporting email for information about scsi > host > 8. It's not a test failure, it's a problem with your hardware, which looks to be a Promise SAS expander with enclosure services. can you run sg_ses on it followed by sg_ses --page=7 --hex ? To get the sg device run sg_map -i and it should tell you what the mappings are. Thanks, James