public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* driver removal problems with mptsas?
@ 2006-05-25 19:17 Scott O'Connor
  2006-05-25 21:04 ` Alexis Bruemmer
  0 siblings, 1 reply; 2+ messages in thread
From: Scott O'Connor @ 2006-05-25 19:17 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org

Hello,

I have noticed that if I 'rmmod mptsas', the scsi_eh_<n> kernel
thread is not stopped.  If I 'modprobe mptsas' a new scsi_eh_<n>
is started.  If I put the above in a loop, a new scsi_eh_<n>
is started for each modprobe of mptsas.

I also believe that mptsas is not cleaning up properly
when removed.  I have a 1068 and during probe, sas_phy_alloc()
is called for each of the 8 phys.  During mptsas_remove() I
would expect to see those 8 allocated sas_phy structures
freed by calls to sas_phy_delete()/sas_phy_free().  Or are they
removed elsewhere?

I'm running 2.6.16.18 and using LSISAS1068 card.

-Scott.


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

* Re: driver removal problems with mptsas?
  2006-05-25 19:17 driver removal problems with mptsas? Scott O'Connor
@ 2006-05-25 21:04 ` Alexis Bruemmer
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis Bruemmer @ 2006-05-25 21:04 UTC (permalink / raw)
  To: Scott O'Connor; +Cc: linux-scsi@vger.kernel.org

Hi Scott,

Your right this was a problem, but was addressed with a recent patch
in scsi-misc:
http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commitdiff;h=92aab6464be735139f9ea38fd039c3b84c722630

--Alexis


On Thu, 2006-05-25 at 15:17 -0400, Scott O'Connor wrote:
> Hello,
> 
> I have noticed that if I 'rmmod mptsas', the scsi_eh_<n> kernel
> thread is not stopped.  If I 'modprobe mptsas' a new scsi_eh_<n>
> is started.  If I put the above in a loop, a new scsi_eh_<n>
> is started for each modprobe of mptsas.
> 
> I also believe that mptsas is not cleaning up properly
> when removed.  I have a 1068 and during probe, sas_phy_alloc()
> is called for each of the 8 phys.  During mptsas_remove() I
> would expect to see those 8 allocated sas_phy structures
> freed by calls to sas_phy_delete()/sas_phy_free().  Or are they
> removed elsewhere?
> 
> I'm running 2.6.16.18 and using LSISAS1068 card.
> 
> -Scott.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

end of thread, other threads:[~2006-05-25 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 19:17 driver removal problems with mptsas? Scott O'Connor
2006-05-25 21:04 ` Alexis Bruemmer

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