Re: how to invalidate scsi connection to driver module

2001-06-25 Thread Matthew Jacob
Umm- I dunno! Maybe you oughta look at the umass driver for USB as well..? On Mon, 25 Jun 2001, j mckitrick wrote: > > When using PCMCIA SCSI, how is the device destroyed when the card is > unloaded, so that the device can be re-created when the card is re-inserted > and the filesystem re-mou

Re: how to invalidate scsi connection to driver module

2001-06-25 Thread j mckitrick
When using PCMCIA SCSI, how is the device destroyed when the card is unloaded, so that the device can be re-created when the card is re-inserted and the filesystem re-mounted? Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle b

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 08:09:46PM +0100, j mckitrick wrote: > On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: > | > | But the unit numbers can and do recycle. > > So the question is then, how can i get it to do that? If 'camcontrol rescan' would do what you want, then look at ho

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread j mckitrick
On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: | | But the unit numbers can and do recycle. So the question is then, how can i get it to do that? Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. To Un

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
Isn't this what 'camcontrol rescan' is for? G'luck, Peter -- This sentence contains exactly threee erors. On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: > > But the unit numbers can and do recycle. > > On Sat, 23 Jun 2001, Peter Pentchev wrote: > > > On Fri, Jun 22, 2001 at

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Matthew Jacob
But the unit numbers can and do recycle. On Sat, 23 Jun 2001, Peter Pentchev wrote: > On Fri, Jun 22, 2001 at 06:39:09PM +0100, j mckitrick wrote: > > > > Here is the code for a scsi removable media drive. If this is to become a > > module, the cam/scsi attachment must be removed. I have tri

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread j mckitrick
On Sat, Jun 23, 2001 at 02:54:29PM +0300, Peter Pentchev wrote: | On Fri, Jun 22, 2001 at 06:39:09PM +0100, j mckitrick wrote: | > | > Here is the code for a scsi removable media drive. If this is to become a | > module, the cam/scsi attachment must be removed. I have tried calling | > cam_sim_

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Fri, Jun 22, 2001 at 06:39:09PM +0100, j mckitrick wrote: > > Here is the code for a scsi removable media drive. If this is to become a > module, the cam/scsi attachment must be removed. I have tried calling > cam_sim_free() and xpt_bus_deregister() but when the module is reloaded, the > cam

Re: how to invalidate scsi connection to driver module

2001-06-22 Thread Matthew Jacob
"oh" On Fri, 22 Jun 2001, j mckitrick wrote: > On Fri, Jun 22, 2001 at 10:41:09AM -0700, Matthew Jacob wrote: > | > | Wrong list. Send this to -scsi > > Yeah, i figured i would get this response. But at least it's a response. > :-) > The same post to -scsi went unanswered, so i thought i woul

Re: how to invalidate scsi connection to driver module

2001-06-22 Thread j mckitrick
On Fri, Jun 22, 2001 at 10:41:09AM -0700, Matthew Jacob wrote: | | Wrong list. Send this to -scsi Yeah, i figured i would get this response. But at least it's a response. :-) The same post to -scsi went unanswered, so i thought i would try here. Oh, well. To Unsubscribe: send mail to [EMAIL P

Re: how to invalidate scsi connection to driver module

2001-06-22 Thread Matthew Jacob
Wrong list. Send this to -scsi On Fri, 22 Jun 2001, j mckitrick wrote: > > Here is the code for a scsi removable media drive. If this is to become a > module, the cam/scsi attachment must be removed. I have tried calling > cam_sim_free() and xpt_bus_deregister() but when the module is reload

how to invalidate scsi connection to driver module

2001-06-22 Thread j mckitrick
Here is the code for a scsi removable media drive. If this is to become a module, the cam/scsi attachment must be removed. I have tried calling cam_sim_free() and xpt_bus_deregister() but when the module is reloaded, the cam system assigns the next higher minor device number, and then crashes w