From: Jurij Smakov <jurij@wooyd.org>
To: James Smart <James.Smart@Emulex.Com>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
Josef Bacik <jwhiter@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Matthew Wilcox <matthew@wil.cx>
Subject: Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)
Date: Sat, 11 Aug 2007 16:04:54 +0100 [thread overview]
Message-ID: <20070811150454.GA5808@droopy.oc.cox.net> (raw)
In-Reply-To: <463A3F79.80809@emulex.com>
[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 jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
next prev parent reply other threads:[~2007-08-11 15:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 13:25 [RFC][PATCH] fix for async scsi scan sysfs problem (resend) Josef Bacik
2007-04-19 14:02 ` James Bottomley
2007-04-19 15:06 ` Josef Bacik
2007-04-21 7:23 ` Andrew Morton
2007-04-21 13:59 ` Josef Bacik
2007-04-23 18:13 ` Josef Bacik
2007-04-23 18:26 ` James Bottomley
2007-05-03 20:00 ` James Smart
2007-08-11 15:04 ` Jurij Smakov [this message]
2007-08-13 0:26 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070811150454.GA5808@droopy.oc.cox.net \
--to=jurij@wooyd.org \
--cc=James.Bottomley@SteelEye.com \
--cc=James.Smart@Emulex.Com \
--cc=akpm@linux-foundation.org \
--cc=jwhiter@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.