moddebug
Parameter
- Description
-
When this parameter is enabled, messages about various steps in the module loading process are displayed.
- Data Type
-
Signed integer
- Default
-
0 (messages off)
- Range
-
Here are the most useful values:
-
0x80000000 – Prints
[un] loading...
message. For every module loaded, messages such as the following appear on the console and in the/var/adm/messages
file:Apr 20 17:18:04 neo genunix: [ID 943528 kern.notice] load 'sched/TS_DPTBL' id 15 loaded @ 0x7be1b2f8/0x19c8380 size 176/2096 Apr 20 17:18:04 neo genunix: [ID 131579 kern.notice] installing TS_DPTBL, module id 15.
-
0x40000000 – Prints detailed error messages. For every module loaded, messages such as the following appear on the console and in the
/var/adm/messages
file:Apr 20 18:30:00 neo unix: Errno = 2 Apr 20 18:30:00 neo unix: kobj_open: vn_open of /platform/sun4v/kernel/exec/sparcv9/intpexec fails Apr 20 18:30:00 neo unix: Errno = 2 Apr 20 18:30:00 neo unix: kobj_open: '/kernel/exec/sparcv9/intpexec' Apr 20 18:30:00 neo unix: vp = 60015777600 Apr 20 18:30:00 neo unix: kobj_close: 0x60015777600 Apr 20 18:30:00 neo unix: kobj_open: vn_open of /platform/SUNW,Sun-Fire-T200/kernel/exec/sparcv9 /intpexec fails, Apr 20 18:30:00 neo unix: Errno = 2 Apr 20 18:30:00 neo unix: kobj_open: vn_open of /platform/sun4v/kernel/exec/sparcv9/intpexec fails
-
0x20000000 - Prints even more detailed messages. This value doesn't print any additional information beyond what the
0x40000000
flag does during system boot. However, this value does print additional information about releasing the module when the module is unloaded.
These values can be added together to set the final value.
-
- Dynamic?
-
Yes
- Validation
-
None
- When to Change
-
When a module is either not loading as expected, or the system seems to hang while loading modules. Note that when
0x40000000
is set, system boot is slowed down considerably by the number of messages written to the console. - Commitment Level
-
Unstable