login
Header Space

 
 

Re: lsscsi is broken

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <yhlu.kernel@...>
Cc: <dougg@...>, James Bottomley <James.Bottomley@...>, Greg KH <greg@...>, kernel list <linux-kernel@...>, Linux-Scsi <linux-scsi@...>
Date: Saturday, May 10, 2008 - 5:19 pm

On Sat, May 10, 2008 at 01:06:36PM -0700, Yinghai Lu wrote:

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."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lsscsi is broken, Yinghai Lu, (Fri May 9, 7:38 pm)
Re: lsscsi is broken, Douglas Gilbert, (Sat May 10, 2:34 pm)
Re: lsscsi is broken, Yinghai Lu, (Sat May 10, 4:06 pm)
Re: lsscsi is broken, Matthew Wilcox, (Sat May 10, 5:19 pm)
Re: lsscsi is broken, Yinghai Lu, (Sat May 10, 6:22 pm)
Re: lsscsi is broken, Matthew Wilcox, (Sat May 10, 6:36 pm)
Re: lsscsi is broken, Yinghai Lu, (Sat May 10, 7:01 pm)
Re: lsscsi is broken, Matthew Wilcox, (Sat May 10, 2:45 pm)
speck-geostationary