mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 3-Ware Raid driver fails to update GenDisk head
@ 2001-04-23 18:08 Jeff V. Merkey
  2001-04-23 19:47 ` Guest section DW
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff V. Merkey @ 2001-04-23 18:08 UTC (permalink / raw)
  To: linux-kernel



Andre/LKML,

I am still working on this, but would appreciate some help from
whomever owns this driver proper.  I have discovered that the 
3Ware drivers are not updating the gendisk_head with devices
reported and exposed to user space as /dev/sda, sdb, etc.  The 
adapter driver does correctly report devices to user space, but 
is not properly reflecting these devices in the gendisk_head,
which makes it rather hard for kernel level drivers to scan 
and determine which devices are attached to the controller.

I attempted to correct this in the code, but found that these
changes are a very significant effort to get working.  

Please advise.

Jeff


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 18:08 3-Ware Raid driver fails to update GenDisk head Jeff V. Merkey
@ 2001-04-23 19:47 ` Guest section DW
  2001-04-23 19:55   ` Jeff V. Merkey
  0 siblings, 1 reply; 7+ messages in thread
From: Guest section DW @ 2001-04-23 19:47 UTC (permalink / raw)
  To: Jeff V. Merkey, linux-kernel

On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> 
> I am still working on this, but would appreciate some help from
> whomever owns this driver proper.  I have discovered that the 
> 3Ware drivers are not updating the gendisk_head with devices
> reported and exposed to user space as /dev/sda, sdb, etc.

But that is the job of sd.c, not of a driver.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 19:47 ` Guest section DW
@ 2001-04-23 19:55   ` Jeff V. Merkey
  2001-04-23 21:13     ` Guest section DW
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff V. Merkey @ 2001-04-23 19:55 UTC (permalink / raw)
  To: Guest section DW; +Cc: linux-kernel

On Mon, Apr 23, 2001 at 09:47:01PM +0200, Guest section DW wrote:
> On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> > 
> > I am still working on this, but would appreciate some help from
> > whomever owns this driver proper.  I have discovered that the 
> > 3Ware drivers are not updating the gendisk_head with devices
> > reported and exposed to user space as /dev/sda, sdb, etc.
> 
> But that is the job of sd.c, not of a driver.

These drivers are an IDE driver that simulates a SCSI interface.  It 
reported IDE devices as SCSI handles, so there's some holes.  I guess
you were not aware of this, or you would have known that standard sd.c
is not working.

:-)

Jeff


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 19:55   ` Jeff V. Merkey
@ 2001-04-23 21:13     ` Guest section DW
  2001-04-23 22:32       ` Jeff V. Merkey
  0 siblings, 1 reply; 7+ messages in thread
From: Guest section DW @ 2001-04-23 21:13 UTC (permalink / raw)
  To: Jeff V. Merkey; +Cc: linux-kernel

On Mon, Apr 23, 2001 at 01:55:00PM -0600, Jeff V. Merkey wrote:
> On Mon, Apr 23, 2001 at 09:47:01PM +0200, Guest section DW wrote:
> > On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> > > 
> > > I am still working on this, but would appreciate some help from
> > > whomever owns this driver proper.  I have discovered that the 
> > > 3Ware drivers are not updating the gendisk_head with devices
> > > reported and exposed to user space as /dev/sda, sdb, etc.
> > 
> > But that is the job of sd.c, not of a driver.
> 
> These drivers are an IDE driver that simulates a SCSI interface.  It 
> reported IDE devices as SCSI handles, so there's some holes.  I guess
> you were not aware of this, or you would have known that standard sd.c
> is not working.

Just like ide-scsi.c you mean?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 21:13     ` Guest section DW
@ 2001-04-23 22:32       ` Jeff V. Merkey
  2001-04-23 22:45         ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff V. Merkey @ 2001-04-23 22:32 UTC (permalink / raw)
  To: Guest section DW; +Cc: linux-kernel

On Mon, Apr 23, 2001 at 11:13:12PM +0200, Guest section DW wrote:
> On Mon, Apr 23, 2001 at 01:55:00PM -0600, Jeff V. Merkey wrote:
> > On Mon, Apr 23, 2001 at 09:47:01PM +0200, Guest section DW wrote:
> > > On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> > > > 
> > > > I am still working on this, but would appreciate some help from
> > > > whomever owns this driver proper.  I have discovered that the 
> > > > 3Ware drivers are not updating the gendisk_head with devices
> > > > reported and exposed to user space as /dev/sda, sdb, etc.
> > > 
> > > But that is the job of sd.c, not of a driver.
> > 
> > These drivers are an IDE driver that simulates a SCSI interface.  It 
> > reported IDE devices as SCSI handles, so there's some holes.  I guess
> > you were not aware of this, or you would have known that standard sd.c
> > is not working.
> 
> Just like ide-scsi.c you mean?

No.  They're not that clean and well organized, though they are rather 
clever adapters and are pretty cool.

Jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 22:45         ` Jens Axboe
@ 2001-04-23 22:41           ` Jeff V. Merkey
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff V. Merkey @ 2001-04-23 22:41 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Guest section DW, linux-kernel

On Tue, Apr 24, 2001 at 12:45:35AM +0200, Jens Axboe wrote:
> On Mon, Apr 23 2001, Jeff V. Merkey wrote:
> > On Mon, Apr 23, 2001 at 11:13:12PM +0200, Guest section DW wrote:
> > > On Mon, Apr 23, 2001 at 01:55:00PM -0600, Jeff V. Merkey wrote:
> > > > On Mon, Apr 23, 2001 at 09:47:01PM +0200, Guest section DW wrote:
> > > > > On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> > > > > > 
> > > > > > I am still working on this, but would appreciate some help from
> > > > > > whomever owns this driver proper.  I have discovered that the 
> > > > > > 3Ware drivers are not updating the gendisk_head with devices
> > > > > > reported and exposed to user space as /dev/sda, sdb, etc.
> > > > > 
> > > > > But that is the job of sd.c, not of a driver.
> > > > 
> > > > These drivers are an IDE driver that simulates a SCSI interface.  It 
> > > > reported IDE devices as SCSI handles, so there's some holes.  I guess
> > > > you were not aware of this, or you would have known that standard sd.c
> > > > is not working.
> > > 
> > > Just like ide-scsi.c you mean?
> > 
> > No.  They're not that clean and well organized, though they are rather 
> > clever adapters and are pretty cool.
> 
> Come on Jeff, what Andries is saying is that it _works_ like ide-scsi.
> It registers itself as a SCSI hba like a "regular" SCSI card, hence it
> uses the SCSI infrastructure -- alas, disks driven by sd.c

OK, OK.  I get it.  Sorry for the digs ....

:-)

Jeff


> 
> -- 
> Jens Axboe

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 3-Ware Raid driver fails to update GenDisk head
  2001-04-23 22:32       ` Jeff V. Merkey
@ 2001-04-23 22:45         ` Jens Axboe
  2001-04-23 22:41           ` Jeff V. Merkey
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Axboe @ 2001-04-23 22:45 UTC (permalink / raw)
  To: Jeff V. Merkey; +Cc: Guest section DW, linux-kernel

On Mon, Apr 23 2001, Jeff V. Merkey wrote:
> On Mon, Apr 23, 2001 at 11:13:12PM +0200, Guest section DW wrote:
> > On Mon, Apr 23, 2001 at 01:55:00PM -0600, Jeff V. Merkey wrote:
> > > On Mon, Apr 23, 2001 at 09:47:01PM +0200, Guest section DW wrote:
> > > > On Mon, Apr 23, 2001 at 12:08:52PM -0600, Jeff V. Merkey wrote:
> > > > > 
> > > > > I am still working on this, but would appreciate some help from
> > > > > whomever owns this driver proper.  I have discovered that the 
> > > > > 3Ware drivers are not updating the gendisk_head with devices
> > > > > reported and exposed to user space as /dev/sda, sdb, etc.
> > > > 
> > > > But that is the job of sd.c, not of a driver.
> > > 
> > > These drivers are an IDE driver that simulates a SCSI interface.  It 
> > > reported IDE devices as SCSI handles, so there's some holes.  I guess
> > > you were not aware of this, or you would have known that standard sd.c
> > > is not working.
> > 
> > Just like ide-scsi.c you mean?
> 
> No.  They're not that clean and well organized, though they are rather 
> clever adapters and are pretty cool.

Come on Jeff, what Andries is saying is that it _works_ like ide-scsi.
It registers itself as a SCSI hba like a "regular" SCSI card, hence it
uses the SCSI infrastructure -- alas, disks driven by sd.c

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-04-23 22:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23 18:08 3-Ware Raid driver fails to update GenDisk head Jeff V. Merkey
2001-04-23 19:47 ` Guest section DW
2001-04-23 19:55   ` Jeff V. Merkey
2001-04-23 21:13     ` Guest section DW
2001-04-23 22:32       ` Jeff V. Merkey
2001-04-23 22:45         ` Jens Axboe
2001-04-23 22:41           ` Jeff V. Merkey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®