Customer is getting a panic from x440 w/ sysfs. May well not be
sysfs's fault ... but it's difficult to tell without knowing
what's meant to happen here ;-) debug is turned on.
Looks like kobject_register is just getting an error from kobject_add,
but as we don't see this:
pr_debug("kobject %s: registering. parent: %s, set: %s\n",
kobj->name, parent ? parent->name : "<NULL>",
kobj->kset ? kobj->kset->kobj.name : "<NULL>" );
presumably we're hitting:
if (!(kobj = kobject_get(kobj)))
return -ENOENT;
But withh no real context on all the kobject stuff it's hard to tell what
that really means ;-)
M.
Type: Processor ANSI SCSI revision: 02
DEV: registering device: ID = '1:0:9:0', name = ZIBM GNHv1 S2 0
kobject 1:0:9:0: registering. parent: 01:03.1, set: devices
bus scsi: add device 1:0:9:0
sysfs_create_link: depth = 3, size = 38
sysfs_create_link: path = '../../../devices/pci1/01:03.1/1:0:9:0'
(scsi1:A:12): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
Vendor: IBM-ESXS Model: ST336607LC F Rev: B258
Type: Direct-Access ANSI SCSI revision: 03
DEV: registering device: ID = '1:0:12:0', name = SIBM-ESXSST336607LC F
3JA0JR
4X000073235STN
kobject 1:0:12:0: registering. parent: 01:03.1, set: devices
bus scsi: add device 1:0:12:0
sysfs_create_link: depth = 3, size = 39
sysfs_create_link: path = '../../../devices/pci1/01:03.1/1:0:12:0'
scsi1:A:12:0: Tagged Queuing enabled. Depth 32
(scsi1:A:13): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
Vendor: IBM-ESXS Model: ST336607LC F Rev: B258
Type: Direct-Access ANSI SCSI revision: 03
DEV: registering device: ID = '1:0:13:0', name = SIBM-ESXSST336607LC F
3JA0J7
EV000073235W9F
kobject 1:0:13:0: registering. parent: 01:03.1, set: devices
bus scsi: add device 1:0:13:0
(scsi1:A:13): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
Vendor: IBM-ESXS Model: ST336607LC F Rev: B258
Type: Direct-Access ANSI SCSI revision: 03
DEV: registering device: ID = '1:0:13:0', name = SIBM-ESXSST336607LC F
3JA0J7
EV000073235W9F
kobject 1:0:13:0: registering. parent: 01:03.1, set: devices
bus scsi: add device 1:0:13:0
sysfs_create_link: depth = 3, size = 39
sysfs_create_link: path = '../../../devices/pci1/01:03.1/1:0:13:0'
scsi1:A:13:0: Tagged Queuing enabled. Depth 32
bus pci: add driver ips
kobject ips: registering. parent: <NULL>, set: drivers
bus pci: add driver ips
kobject ips: registering. parent: <NULL>, set: drivers
Badness in kobject_register at lib/kobject.c:152
Call Trace:
[<c019a47b>] kobject_register+0x3b/0x50
[<c01bf3f5>] bus_add_driver+0x65/0xe0
[<c019cec6>] pci_register_driver+0x46/0x60
[<c0209b8a>] ips_detect+0x8a/0xc0
[<c01e82c6>] __scsi_add_host+0x56/0x70
[<c01e8679>] scsi_register_host+0x39/0x80
[<c01050ae>] init+0x4e/0x1c0
[<c0105060>] init+0x0/0x1c0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:39 EST