[ofw] Bugzilla 1233: machine crashes when adding a new partition.

Leonid Keller leonid at mellanox.co.il
Sun May 24 08:09:02 PDT 2009


We've come accross a fact, that driver crashes after 'part_man add guid
part-ID' execution.
I looked into it and found out that the problem was introduced 16/02 by
1965 openib patch - "added support for creating vendor defined
devices.".
The problem arises from the fact, that port_query_device_id (as well as
port_query_hardware_ids, port_query_compatible_ids et al) takes now the
data for the reply from its PDO and not from a built-in string. PDO, in
turn, gets the data at the start up from the list of statically (in
.inf) configured vendor devices.
The data are saved in pdo.p_pdo_device_info, which is NULL for the
devices added by part_man.
This NULL causes the crash.
 
call stack is:
1: kd> k
Child-SP          RetAddr           Call Site
fffffadf`a6292a38 fffff800`010d673e nt!DbgBreakPointWithStatus
fffffadf`a6292a40 fffff800`010d7d0e nt!KiBugCheckDebugBreak+0x1e
fffffadf`a6292aa0 fffff800`0102ea54 nt!KeBugCheck2+0x640
fffffadf`a62930e0 fffff800`013731b1 nt!KeBugCheckEx+0x104
fffffadf`a6293120 fffff800`010556ab nt!PspSystemThreadStartup+0x270
fffffadf`a6293170 fffff800`010549fd nt!_C_specific_handler+0x9b
fffffadf`a6293200 fffff800`01054f93
nt!RtlpExecuteHandlerForException+0xd
fffffadf`a6293230 fffff800`0100b901 nt!RtlDispatchException+0x2c0
fffffadf`a62938f0 fffff800`0102e76f nt!KiDispatchException+0xd9
fffffadf`a6293ef0 fffff800`0102d5e1 nt!KiExceptionExit
fffffadf`a6294070 fffffadf`a53350dc nt!KiPageFault+0x1e1
fffffadf`a6294200 fffffadf`a534f041 ibbus!port_query_device_id+0x2ec
[s:\builds\4329\trunk\core\bus\kernel\bus_port_mgr.c @ 1598]
fffffadf`a6294250 fffffadf`a53496bd ibbus!__query_id+0x3d1
[s:\builds\4329\trunk\core\complib\kernel\cl_pnp_po.c @ 1053]
fffffadf`a62942b0 fffff800`0133ed04 ibbus!cl_pnp+0x284d
[s:\builds\4329\trunk\core\complib\kernel\cl_pnp_po.c @ 312]
fffffadf`a62943c0 fffff800`0133e621 nt!IopSynchronousCall+0x144
fffffadf`a6294430 fffff800`01331c87 nt!PpQueryDeviceID+0x91
fffffadf`a62944f0 fffff800`0133591b nt!PiProcessNewDeviceNode+0x67
fffffadf`a6294890 fffff800`013376e5 nt!PipProcessDevNodeTree+0x223
fffffadf`a6294c20 fffff800`010cc9d8 nt!PiProcessReenumeration+0x85
fffffadf`a6294c70 fffff800`0103768a nt!PipDeviceActionWorker+0x368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090524/33189251/attachment.html>


More information about the ofw mailing list