Opened 9 years ago
Closed 9 years ago
#37 closed enhancement (fixed)
Kernel logging implementation
Reported by: | Valery V. Sedletski | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VBox driver |
Component: | Driver | Keywords: | driver logging ring buffer printf |
Cc: |
Description
Implement kernel logging. We need a logging function for all ring0 components.
1) Probably, we'll need a ring buffer like in DaniS506 (we could look in DaniS sources to use Daniela's implementation). Then we can copy it to a file with
copy vboxdrv$ vbox.log
2) OS/4 kernel has KernPrintf KEE call, so we can use it too, as an option. Then use:
copy kernlog$ kernlog.txt
Note that it should not be limited in vboxdrv.sys, but use the single API for all Ring0 components, like *.r0, *.rc, VboxGuest.sys from guest OS's, TAP driver etc.
Change History (4)
comment:1 by , 9 years ago
Component: | Common Tasks → Driver |
---|---|
Keywords: | driver logging ring buffer printf added |
Milestone: | → VBox driver |
Type: | defect → enhancement |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Added r0drv\os2\RTLogWriteDebugger-r0drv-os2.c instead of generic dummy, now I see debug from ring0 components in the buffer.
Heh,
-- it seems that Knut had implemented some functionality related to logging :) But the logger in RTLogWriteDebugger-generic.cpp is still a dummy.