Skip to contentSkip to conversation

2.6.17-rc1: SCSI kobject_add problems

BUG Andrew Morton 3 participants 4 messages Apr 8, 2006 – Apr 24, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Fri, 7 Apr 2006 13:31:05 -0500 (CDT)
From: [email protected] (Bob Tracy)
To: [email protected]
Subject: [BUG] 2.6.17-rc1: SCSI kobject_add problems

System is a DEC Alpha 433au with two SCSI disks. SCSI controller is a QLA1040 supported by the qla1280 driver. Runs 2.6.16 fine. Tried booting 2.6.17-rc1 and got

kobject_add failed for 0:0: with -EEXIST, don't try to register things with the same name in the same directory

and a fairly long trace output when the system attempted to add sdb. Not surprisingly, sdb was inaccessible.

Normally (for 2.6.16 anyway), the following relationship exists:

sd 0:0:0:0 sda
sd 0:0:1:0 sdb

More information *might* be available if needed, but will have to be transcribed by hand. My /usr partition is on sdb, so I don't get very far with 2.6.17-rc1 on Alpha :-). The problem is probably specific to the qla1280 or the Alpha, as I have a x86 Adaptec SCSI-based system with multiple spindles that works fine with 2.6.17-rc1.

Signature · 9 lines
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------
-
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/
#1 lore raw

See my post on 4/21:

	"2.6.17-rc2: kobject_add failed"

	http://marc.theaimsgroup.com/?l=linux-scsi&m=114563629810793&w=2

Perhaps this is related?

http://marc.theaimsgroup.com/?t=114443491400001&r=1&w=2

Mike

Quoted 29 lines · Andrew Morton

Begin forwarded message:

Date: Fri, 7 Apr 2006 13:31:05 -0500 (CDT)
From: [email protected] (Bob Tracy)
To: [email protected]
Subject: [BUG] 2.6.17-rc1: SCSI kobject_add problems

System is a DEC Alpha 433au with two SCSI disks. SCSI controller is a QLA1040 supported by the qla1280 driver. Runs 2.6.16 fine. Tried booting 2.6.17-rc1 and got

kobject_add failed for 0:0: with -EEXIST, don't try to register things with the same name in the same directory

and a fairly long trace output when the system attempted to add sdb. Not surprisingly, sdb was inaccessible.

Normally (for 2.6.16 anyway), the following relationship exists:

sd 0:0:0:0 sda
sd 0:0:1:0 sdb

More information *might* be available if needed, but will have to be transcribed by hand. My /usr partition is on sdb, so I don't get very far with 2.6.17-rc1 on Alpha :-). The problem is probably specific to the qla1280 or the Alpha, as I have a x86 Adaptec SCSI-based system with multiple spindles that works fine with 2.6.17-rc1.

#2 lore raw
Quoted 9 lines · Michael Reed

See my post on 4/21:

	"2.6.17-rc2: kobject_add failed"

	http://marc.theaimsgroup.com/?l=linux-scsi&m=114563629810793&w=2

Perhaps this is related?

http://marc.theaimsgroup.com/?t=114443491400001&r=1&w=2

My "kobject_add failed" issue with 2.6.17-rc1 and -rc2 was a previously undiscovered code error in the Alpha-specific strncpy() routine. See
http://marc.theaimsgroup.com/?t=114555387000005&r=1&w=2
for the gory details. Ivan Kokshaysky provided the fix, which I hope has been captured for inclusion in -rc3.

Signature · 4 lines
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------
#3 lore raw
Quoted 6 lines · [email protected] (Bob Tracy) wrote:

My "kobject_add failed" issue with 2.6.17-rc1 and -rc2 was a previously
undiscovered code error in the Alpha-specific strncpy() routine. See
http://marc.theaimsgroup.com/?t=114555387000005&r=1&w=2
for the gory details. Ivan Kokshaysky provided the fix, which I hope has been captured for inclusion in -rc3.

I don't have Ivan's strncpy() fix and I don't think it's in mainline either.

Ivan, pelase send it over when it's ready?