Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Useful tool: NKLogReader  (Read 4200 times)

ELN

  • 256 MB
  • *****
  • Posts: 295
  • new to the forums
Useful tool: NKLogReader
« on: May 17, 2017, 02:22:04 AM »

Hi all,

Not much to be said about this. It is a simple app to dump and follow the NanoKernel log. It does not require a custom image. Useful for tinkering.

Cheers,

Elliot
Logged

Daniel

  • 256 MB
  • *****
  • Posts: 302
  • Programmer, Hacker, Thinker
Re: Useful tool: NKLogReader
« Reply #1 on: May 17, 2017, 05:11:47 AM »

Here is the NKLog for a Pismo. I removed the first line from the file because it had your email address in it. I am not going to go around running this on every machine I can unless you ask me to.
Code: [Select]
NKNanoKernelInfo: logi addr 68ffedc0, struct ver 0228, 352 bytes.
NKNanoKernelInfo is within the Kernel Data Page. KDP phys addr 1f7fe000.
NanoKernel log starts after one blank line.

Hello from the builtin multitasking NanoKernel. Version: 0228
Kernel code base at 0x00f10000  Physical RAM size 0x1fffc000 bytes
Created motherboard coherence group. ID 00010001
NKCreateAddressSpaceSub - group at 0x1f7fc1c0 00010001
Created system address space. ID 00030001
 BATs ffc0007f 00c00043   6800001f 00f00043   00000000 00000000   00000000 00000000
Init ready queue 00000000 00000000 000064bd
Init ready queue 00000001 00000000 000325e8
Init ready queue 00000002 00000000 00192f40
Init ready queue 00000003 00000000 00c97a00
System context at 0x1f7ff100  Vector save area at 0x00000000  SDR1 0x1f80003f
Adding blue task 00050001 to the ready queue
Starting timeslicing
Adding idle task 00070001 to the ready queue
NKCreateAddressSpaceSub - group at 0x1f7fc1c0 00010001
Priming the system free list with 81 pages.
VMMaxVirtualPages: 0005fffe VMLogicalPages: 00000000
Interrupt handler kind: 06
Converting PMDTs to areas
 CreateArea [ 00000000 1f7c4fff ] ID 000a0001 placed ... created
 CreateArea [ 5fffe000 5fffefff ] ID 000b0001 placed ... created
 CreateArea [ 64000000 6417ffff ] ID 000c0001 placed ... created
 CreateArea [ 68fef000 68feffff ] ID 000d0001 placed ... created
 CreateArea [ 68ff5000 68ffefff ] ID 000e0001 placed ... created
 CreateArea [ 68fff000 68ffffff ] ID 000f0001 placed ... created
 CreateArea [ 80000000 8005ffff ] ID 00100001 placed ... created
 CreateArea [ 80060000 80060fff ] ID 00110001 placed ... created
 CreateArea [ 80061000 8007ffff ] ID 00120001 placed ... created
 CreateArea [ a0000000 a0000fff ] ID 00130001 placed ... created
 CreateArea [ a0001000 a0001fff ] ID 00140001 placed ... created
 CreateArea [ a0002000 a0002fff ] ID 00150001 placed ... created
 CreateArea [ b0000000 b0003fff ] ID 00160001 placed ... created
 CreateArea [ b0020000 b003ffff ] ID 00170001 placed ... created
 CreateArea [ b4000000 b7ffffff ] ID 00180001 placed ... created
 CreateArea [ f0000000 f4ffffff ] ID 00190001 placed ... created
 CreateArea [ f5000000 f5000fff ] ID 001a0001 placed ... created
 CreateArea [ f5001000 f50fffff ] ID 001b0001 placed ... created
 CreateArea [ f5100000 f51fffff ] ID 001c0001 placed ... created
 CreateArea [ f5200000 f53fffff ] ID 001d0001 placed ... created
 CreateArea [ f5400000 ffffffff ] ID 001e0001 placed ... created
 CreateArea [ 68f16000 68f16fff ] ID 001f0001 placed ... created
 CreateArea [ deadb000 deadbfff ] ID 00200001 placed ... created
Reset system - Into the 68K fire: 0000d032 6806e8c0
ResetSystem trap entered
Kernel code base at 0x00f10000  Physical RAM size 0x1fffc000 bytes
Created motherboard coherence group. ID 00010001
NKCreateAddressSpaceSub - group at 0x1f7fc1c0 00010001
Created system address space. ID 00030001
 BATs ffc0007f 00c00043   6800001f 00f00043   00000000 00000000   00000000 00000000
Init ready queue 00000000 00000000 000064bd
Init ready queue 00000001 00000000 000325e8
Init ready queue 00000002 00000000 00192f40
Init ready queue 00000003 00000000 00c97a00
System context at 0x1f7ff100  Vector save area at 0x00000000  SDR1 0x1f80003f
Adding blue task 00050001 to the ready queue
Starting timeslicing
Adding idle task 00070001 to the ready queue
NKCreateAddressSpaceSub - group at 0x1f7fc1c0 00010001
Priming the system free list with 81 pages.
VMMaxVirtualPages: 0005fffe VMLogicalPages: 0001f7c5
Interrupt handler kind: 06
Converting PMDTs to areas
 CreateArea [ 00000000 1f7c4fff ] ID 000a0001 placed ... created
 CreateArea [ 5fffe000 5fffefff ] ID 000b0001 placed ... created
 CreateArea [ 64000000 6417ffff ] ID 000c0001 placed ... created
 CreateArea [ 68fef000 68feffff ] ID 000d0001 placed ... created
 CreateArea [ 68ff5000 68ffefff ] ID 000e0001 placed ... created
 CreateArea [ 68fff000 68ffffff ] ID 000f0001 placed ... created
 CreateArea [ 80000000 8005ffff ] ID 00100001 placed ... created
 CreateArea [ 80060000 80060fff ] ID 00110001 placed ... created
 CreateArea [ 80061000 8007ffff ] ID 00120001 placed ... created
 CreateArea [ a0000000 a0000fff ] ID 00130001 placed ... created
 CreateArea [ a0001000 a0001fff ] ID 00140001 placed ... created
 CreateArea [ a0002000 a0002fff ] ID 00150001 placed ... created
 CreateArea [ b0000000 b0003fff ] ID 00160001 placed ... created
 CreateArea [ b0020000 b003ffff ] ID 00170001 placed ... created
 CreateArea [ b4000000 b7ffffff ] ID 00180001 placed ... created
 CreateArea [ f0000000 f4ffffff ] ID 00190001 placed ... created
 CreateArea [ f5000000 f5000fff ] ID 001a0001 placed ... created
 CreateArea [ f5001000 f50fffff ] ID 001b0001 placed ... created
 CreateArea [ f5100000 f51fffff ] ID 001c0001 placed ... created
 CreateArea [ f5200000 f53fffff ] ID 001d0001 placed ... created
 CreateArea [ f5400000 ffffffff ] ID 001e0001 placed ... created
 CreateArea [ 68f16000 68f16fff ] ID 001f0001 placed ... created
 CreateArea [ deadb000 deadbfff ] ID 00200001 placed ... created
Reset system - Into the 68K fire: 0002d032 6806c9e8
 VMAllocateMemory - creating area at 0x69000000 00080000
 CreateArea [ 69000000 6907ffff ] ID 00210001 placed ... created
Extend free pool: phys 0x1ffbe000  virt 0x00000000  count: 1
VMMakePageCacheable for I/O 000b0002
VMMakePageCacheable for I/O 000b0003
VMMakePageCacheable for I/O 000b0002
VMMakePageCacheable for I/O 000b0003
 CreateArea [ 90000000 90ffffff ] ID 00600001 placed at or above ... created
CPU plugin registered
Extend free pool: phys 0x1ffbd000  virt 0x00000000  count: 2
Extend free pool: phys 0x1ffbc000  virt 0x00000000  count: 3
Extend free pool: phys 0x1ffbb000  virt 0x00000000  count: 4
Extend free pool: phys 0x1ffba000  virt 0x00000000  count: 5
Extend free pool: phys 0x1ffb9000  virt 0x00000000  count: 6
Extend free pool: phys 0x1ffb8000  virt 0x00000000  count: 7
Extend free pool: phys 0x1ffb7000  virt 0x00000000  count: 8
Extend free pool: phys 0x1ffb6000  virt 0x00000000  count: 9
Legacy VMInit 0003ff00 0056b000
Adjusting area 000a0001 to size 3ff00000
TB drift adjusted to 36332154  ppb ( 7087 / 195050 )
VMMakePageCacheable for I/O 000b0002
VMMakePageCacheable for I/O 000b0003
VMMakePageCacheable for I/O 000b0002
VMMakePageCacheable for I/O 000b0003
Extend free pool: phys 0x1ffb5000  virt 0x00000000  count: 10
Extend free pool: phys 0x1ffb4000  virt 0x00000000  count: 11
TB drift adjusted to -115606  ppb ( -22 / 195050 )
Logged

ELN

  • 256 MB
  • *****
  • Posts: 295
  • new to the forums
Re: Useful tool: NKLogReader
« Reply #2 on: May 18, 2017, 02:09:10 AM »

No worries Daniel -- cheers for the test! And it was very thoughtful of you to keep my email out.
Logged
Pages: [1]   Go Up

Recent Topics