[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440805101522l3cec5089he5d077fdee698cea@mail.gmail.com>
Date: Sat, 10 May 2008 15:22:31 -0700
From: "Yinghai Lu" <yhlu.kernel@...il.com>
To: "Matthew Wilcox" <matthew@....cx>
Cc: dougg@...que.net,
"James Bottomley" <James.Bottomley@...senpartnership.com>,
"Greg KH" <greg@...ah.com>,
"kernel list" <linux-kernel@...r.kernel.org>,
Linux-Scsi <linux-scsi@...r.kernel.org>
Subject: Re: lsscsi is broken
On Sat, May 10, 2008 at 2:19 PM, Matthew Wilcox <matthew@....cx> wrote:
> On Sat, May 10, 2008 at 01:06:36PM -0700, Yinghai Lu wrote:
>> On Sat, May 10, 2008 at 11:34 AM, Douglas Gilbert <dougg@...que.net> wrote:
>> > Which version of lsscsi?
>> > [For example what is the output of 'lsscsi --version'.]
>> >
>> > If it is not version 0.20 beta could you try it.
>> > See: http://sg.torque.net/scsi/lsscsi.html
>>
>> it is the one in Opensuse 10.3
>
> OK, can you do:
>
> strace -e trace=file lsscsi
>
> on my system, it looks at:
>
> open("/sys/bus/scsi/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
> open("/sys/bus/scsi/devices/0:0:0:0/type", O_RDONLY) = 3
> open("/sys/bus/scsi/devices/0:0:0:0/vendor", O_RDONLY) = 3
> open("/sys/bus/scsi/devices/0:0:0:0/model", O_RDONLY) = 3
> open("/sys/bus/scsi/devices/0:0:0:0/rev", O_RDONLY) = 3
> open("/sys/bus/scsi/devices/0:0:0:0", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3
> [0:0:0:0] disk Sony MSC-U03 1.00 -
>
> Is it trying to access the same files on your system? How do the
> contents of those files differ between a working and a non-working
> kernel?
>
> --
> Intel are signing my paycheques ... these opinions are still mine
> "Bill, look, we understand that you're interested in selling us this
> operating system, but compare it to ours. We can't possibly take such
> a retrograde step."
>
will look at it monday or later.
don't want to keep on booting my laptop.
or my .config has some setting problem? it could be duplicated on all
my test servers
YH
Download attachment "config.full" of type "application/octet-stream" (48566 bytes)
Powered by blists - more mailing lists