On Monday, July 30, 2007 4:32 PM, FUJITA Tomonori wrote: > > On another note, while unloading the driver, and I get an > following opps > > from bsg in the context of scsi_remove_host. This is w/o the "SMP > > passthrough" patch, so why would fusion drivers be linked to bsg? > > Woudn't this break mptspi and mptfc, since they will not be > working with > > bsg. > > > > > > Call Trace: > > [<ffffffff881f519c>] :scsi_transport_sas:sas_bsg_remove+0x27/0x32 > > [<ffffffff881f6349>] :scsi_transport_sas:sas_host_remove+0x30/0x34 > > [<ffffffff80375326>] transport_remove_classdev+0x1d/0x4c > > [<ffffffff80375001>] attribute_container_device_trigger+0x69/0xa7 > > [<ffffffff8803778b>] :scsi_mod:scsi_remove_host+0xcd/0xfa > > [<ffffffff883461ac>] :mptscsih:mptscsih_remove+0x32/0xae > > [<ffffffff8031416d>] pci_device_remove+0x24/0x48 > > [<ffffffff803720ed>] __device_release_driver+0x91/0xb3 > > [<ffffffff80372631>] driver_detach+0xd6/0x115 > > [<ffffffff80371ba3>] bus_remove_driver+0x6d/0x90 > > [<ffffffff803143f4>] pci_unregister_driver+0x17/0x6b > > [<ffffffff88355044>] :mptsas:mptsas_exit+0x10/0x5f > > [<ffffffff80252afb>] sys_delete_module+0x1b1/0x1e0 > > [<ffffffff80307d9c>] __up_write+0x21/0x10d > > [<ffffffff8020bc4e>] system_call+0x7e/0x83 > > This patch fix the problem? > > --- > From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> > Subject: [PATCH] scsi_transport_sas: initialize sas_host_attrs->q > > fix the bug to call bsg_unregister_queue for an uninitialized queue. > > Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> yes it does fix it. I'm not sure if this has already been posted to lsml@, but please apply to scsi-rc-fixes-2.6. Thanks, Eric - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html