Re: proc_name in sysfs

2005-04-07 Thread Christoph Hellwig
On Wed, Apr 06, 2005 at 01:40:04PM +0200, Frederic TEMPORELLI wrote: > Hello, > > > We are using HBAs modules names from "proc_name" interface in sysfs: > /sys/class/scsi_host/hostX/proc_name. > > But with new Emulex drivers (8.0.21 and +), proc_name is reporting > (previous drivers were repor

Re: proc_name in sysfs

2005-04-07 Thread Patrick Mansfield
On Thu, Apr 07, 2005 at 08:35:16AM +0200, Frederic TEMPORELLI wrote: > Hi, > > > Sorry, no such "driver" directory in /sys/class/scsi_host/hostX/ Doug answered that. > >>Why do you need it? If you answer the above you might get better/other suggestions. -- Patrick Mansfield - To unsubscribe f

Re: proc_name in sysfs

2005-04-07 Thread Patrick Mansfield
On Thu, Apr 07, 2005 at 11:06:03AM +1000, Douglas Gilbert wrote: > Patrick Mansfield wrote: > >On Wed, Apr 06, 2005 at 01:40:04PM +0200, Frederic TEMPORELLI wrote: > > > > > >>2/ now, how can we get the adapter module name from sysfs ? > > > > > >Why do you need it? > Patrick, > lsscsi currently

Re: iomapping a big endian area

2005-04-07 Thread Jesse Barnes
On Monday, April 4, 2005 7:25 am, James Bottomley wrote: > On Mon, 2005-04-04 at 15:16 +0100, Christoph Hellwig wrote: > > The IOC4 device that provides IDE, serial ports and external interrupts > > on Altix systems has a big endian register layour, and the PCI-X bridge > > in those Altix systems c

Re: [SCSI] Driver Broken in 2.6.x (attemp 2)

2005-04-07 Thread |TEcHNO|
Hi, Just wamted to ask if anyone has some will into it, or if this driver shoudl be removed from the kernel as broken. -- pozdrawiam |"Help me master, I felt the burning twilight behind [EMAIL PROTECTED]|those gates of stell..." --Perihelion, Prophecy Sequence - To unsubscribe from this list:

[PATCH] drivers/scsi/sg.c: fix problems when sg_remove is called before sg_release

2005-04-07 Thread Dailey, Nate
This is my first attempt at submitting a patch, so I hope I'm not making any mistakes... This patch fixes two problems I came across in sg, both of which occur when sg_remove is called on a disk which hasn't yet been sg_release'd: 1. I got the following Oops in sg_remove: -- Unable to handle ker

Increasing MAX_SECTORS in blkdev.h

2005-04-07 Thread sai narasimhamurthy
Hi, I wanted to increase the number of sectors that could be requested/Written per SCSI READ(10)/WRITE command , and varying MAX_SECTORS in blkdev.h helped me to do it. However I could not request more than 256 sectors and could not write more than 1024 inspite of changing MAX_SECTORS to higher n

[PATCH] aacraid 2.6: Address sparse warnings

2005-04-07 Thread Mark Haverkamp
This patch addresses the sparse -Wbitwise warnings that Christoph wanted me to eliminate. This mostly consisted of making data structure elements of hardware associated structures the __le* equivalent. Although there were a couple places where there was mixing of cpu and le variable math. These c

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread Jens Axboe
On Thu, Apr 07 2005, James Bottomley wrote: > On Thu, 2005-04-07 at 15:32 +0200, Jens Axboe wrote: > > I think Christophs point is that why add sdev_lock as a pointer, instead > > of just killing it? It's only used in one location, so it's not really > > that confusing (and a comment could fix that

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread James Bottomley
On Thu, 2005-04-07 at 15:32 +0200, Jens Axboe wrote: > I think Christophs point is that why add sdev_lock as a pointer, instead > of just killing it? It's only used in one location, so it's not really > that confusing (and a comment could fix that). Because any use of sdev->request_queue->queue_lo

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread James Bottomley
On Thu, 2005-04-07 at 14:22 +0100, Christoph Hellwig wrote: > Do we really need the sdev_lock pointer? There's just a single place > where we're using it and the code would be much more clear if it had just > one name. Humour me for a while. I don't believe we have any way the lock can be used a

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread Jens Axboe
On Thu, Apr 07 2005, James Bottomley wrote: > On Thu, 2005-04-07 at 14:22 +0100, Christoph Hellwig wrote: > > Do we really need the sdev_lock pointer? There's just a single place > > where we're using it and the code would be much more clear if it had just > > one name. > > Humour me for a while.

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread Jens Axboe
On Thu, Apr 07 2005, James Bottomley wrote: > On Thu, 2005-04-07 at 08:49 +0200, Jens Axboe wrote: > > On Wed, Apr 06 2005, James Bottomley wrote: > > > My proposal is to correct this by moving the data back to the correct > > > object, and make any object using it hold a reference, so this would >

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread Jens Axboe
On Thu, Apr 07 2005, Christoph Hellwig wrote: > On Thu, Apr 07, 2005 at 09:18:38AM -0400, James Bottomley wrote: > > On Thu, 2005-04-07 at 08:49 +0200, Jens Axboe wrote: > > > On Wed, Apr 06 2005, James Bottomley wrote: > > > > My proposal is to correct this by moving the data back to the correct >

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread Christoph Hellwig
On Thu, Apr 07, 2005 at 09:18:38AM -0400, James Bottomley wrote: > On Thu, 2005-04-07 at 08:49 +0200, Jens Axboe wrote: > > On Wed, Apr 06 2005, James Bottomley wrote: > > > My proposal is to correct this by moving the data back to the correct > > > object, and make any object using it hold a refer

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-07 Thread James Bottomley
On Thu, 2005-04-07 at 08:49 +0200, Jens Axboe wrote: > On Wed, Apr 06 2005, James Bottomley wrote: > > My proposal is to correct this by moving the data back to the correct > > object, and make any object using it hold a reference, so this would > > make the provider of the block request_fn hold a

A bug report for Fusion MPT driver for kernel 2.6.11.6

2005-04-07 Thread Zhao, Forrest
First forgive me to change the mail subject to the above. The HBA driver is Fusion_MPT, the log file is filled up by the following lines: Apr 7 19:15:29 tiger43 kernel: mptbase: ioc0: IOCStatus(0x0043): SCSI Device Not

Re: [PATCH] Use proper seq_file api for /proc/scsi/scsi

2005-04-07 Thread Christoph Hellwig
On Thu, Apr 07, 2005 at 01:21:23PM +0200, Hannes Reinecke wrote: > > /proc/scsi/scsi is deprecated and even only compiled in if > > "legacy /proc/scsi/ support" is enabled. Please move over to lssci which > > is using sysfs ASAP. > > > Ah. And that's enough reason for it not to work properly? > D

Re: [PATCH] Use proper seq_file api for /proc/scsi/scsi

2005-04-07 Thread Hannes Reinecke
Christoph Hellwig wrote: > On Thu, Apr 07, 2005 at 11:46:27AM +0200, Hannes Reinecke wrote: >>Hi all, >> >>/proc/scsi/scsi currently has a very dumb implementation of the seq_file >>api which causes 'cat /proc/scsi/scsi' to return with -ENOMEM when a >>large amount of devices are connected. > > /p

Re: [PATCH] Use proper seq_file api for /proc/scsi/scsi

2005-04-07 Thread Christoph Hellwig
On Thu, Apr 07, 2005 at 11:46:27AM +0200, Hannes Reinecke wrote: > Hi all, > > /proc/scsi/scsi currently has a very dumb implementation of the seq_file > api which causes 'cat /proc/scsi/scsi' to return with -ENOMEM when a > large amount of devices are connected. /proc/scsi/scsi is deprecated and

[PATCH] Use proper seq_file api for /proc/scsi/scsi

2005-04-07 Thread Hannes Reinecke
Hi all, /proc/scsi/scsi currently has a very dumb implementation of the seq_file api which causes 'cat /proc/scsi/scsi' to return with -ENOMEM when a large amount of devices are connected. This patch impelements the proper seq_file interface which prints out all devices sequentially. The use of '

Re: proc_name in sysfs

2005-04-07 Thread Douglas Gilbert
Frederic TEMPORELLI wrote: Hi, Sorry, no such "driver" directory in /sys/class/scsi_host/hostX/ (checked: Emulex "lpfc" 8.0.24 and LSI "mptscsih" 3.01.18) I may have missed the point here. Are you talking about Patrick's shell script? It sort of works for me. Example: $ ./scan_hosts.sh /sys/class/s

**VIRUS** Email account utilization warning.

2005-04-07 Thread management
Dear user of Kernel.org, We warn you about some attacks on your e-mail account. Your computer may contain viruses, in order to keep your computer and e-mail account safe, please, follow the instructions. For further details see the attach. Sincerely, The Kernel.org team