Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Please keep me on CC, as I'm not on LKML.]

On Thu, May 03, 2007 at 04:00:57PM -0400, James Smart wrote:
> I doubt it's in the fc transport - it's doing what it always did, which has
> nothing to do with coherency of the sdev's.
>
> We're seeing like problems, and it looks like it's related to the 
> scan_mutex
> being held when some of the entry points are being called via the recent
> async scan code (which also still has a bunch of issues around rmmod).
> We should be sending some patches shortly.

Hi James,

I've recently got a Sun Blade 1000 box with a QLA2200 controller, and 
I'm bumping into exact same problem with 2.6.22:

scsi 0:0:0:0: Attached scsi generic sg1 type -1
scsi 0:0:0:0: Direct-Access     HITACHI  DKR1C-J072FC     D7V5 PQ: 0 
ANSI: 3
kobject_add failed for 0:0:0:0 with -EEXIST, don't try to register 
things with the same name in the same directory.
Call Trace:
 [000000001000ac78] scsi_sysfs_add_sdev+0x2c/0x228 [scsi_mod]
 [0000000010008a68] scsi_probe_and_add_lun+0x97c/0xab8 [scsi_mod]
 [00000000100090d8] __scsi_scan_target+0x90/0x660 [scsi_mod]
 [0000000010009ce8] scsi_scan_target+0x94/0xa4 [scsi_mod]
 [00000000100668bc] fc_scsi_scan_rport+0x68/0x8c [scsi_transport_fc]
 [000000000046de88] run_workqueue+0xac/0x138
 [000000000046e414] worker_thread+0xc4/0xd4
 [0000000000471f24] kthread+0x4c/0x78
 [00000000004277f8] kernel_thread+0x38/0x48
 [0000000000471d84] kthreadd+0xbc/0x160
error 1

After that the device fails to initialize. On rare occasions the 
error does not trigger, and then machine boots fine. The complete boot
log can be found at http://www.wooyd.org/misc/dmesg-blade1000-2.6.22.log
 
I'm willing to test any patches you might have, as well as provide any 
additional debugging information.

Best regards,
-- 
Jurij Smakov                                           [email protected]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux