JustKernel

Ray Of Hope

Uncategorized

software TPM .

swTPM: SWTPM package provides TPM emulators with different front-end interfaces to libtpms. TPM emulators provide socket interfaces (TCP/IP) and the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices. Those can be the targets of multiple QEMU cuse-tpm instances. https://github.com/stefanberger/swtpm, master branch. tpm2 branch for TPM 2.0 implementation. tpm-tools: tpm-tools is an open-source […]

Tags: ,

Posted in Uncategorized | No Comments »

Interpreting MBR and calculation disk and partition sizes

Today, I was debugging a file system filter driver and noted that Windows OS generating reads for disk offsets that that were greater than size of track zero (MBR) and less than start of first partition. I couldn’t figure out what lies in this unknown area. Basically the disk that I report to OS has […]

Tags:

Posted in Uncategorized | No Comments »

security throught TPM

Security Through vTPM What is TPM: A Trusted Platform Module (TPM) is a microchip that is connected to the motherboard of a computer. The intent of a TPM is to create and store cryptographic keys, like RSA keys. One of the main function of the TPM is to measure the components loaded before the operating […]

Posted in Uncategorized | No Comments »

interrupt path xen

interrupt generated by the hardware. based on the static interrupt routing configuration provided by ACPI table at boot time, the corresponding link is selected. Interrupt is delivered to IO-APIC. Most modern days IO-APICs converts interrupt to msi i.e memory writes to specfic address in LAPIC name space . Each interrupt is mapped to a specific […]

Tags:

Posted in Uncategorized, virtualization, Xen | No Comments »

secure Xen throught XSM

XSM (Xen Security Modules) is security frame provided by Xen to secure Xen domains. The implementation of the framework lies within FLASK (Flux Advanced Security Kernel) policies. XSM is the policy definition entity while FLASK is an enforcement engine. Aspects of domain(s) that can be controlled: 1) interaction between domains (domU vs domU / dom0 […]

Tags: ,

Posted in Uncategorized, virtualization, Xen | No Comments »

dynamic scheduler that can self-learn – 2

On thinking further (based on the earlier article: http://www.justkernel.com/Blogs/?p=322), I am not sure whether what I described is just an optimization or learning. I have a data and the prediction confirms to the set of the data that I have. That is just an optimization and not learning. But what I need is some model […]

Posted in Uncategorized | No Comments »

brain-dump: ballooning bug.

For past 3-4 days I have been working on a problem where after a series of ballooning operation involving in the range of 512 MiB to 30 GiB , the guest (Ubunut 16.04 ) crashes. Logs were: [ 193.432063] Freezing remaining freezable tasks … [ 198.032804] ata2.01: qc timeout (cmd 0xa1) [ 198.032815] ata2.01: failed […]

Posted in Uncategorized | No Comments »

Request for Contribution

Hi All, As you are aware I have a site www.justkernel.com which is totally devoted to learning Kernel and device driver development whether on Windows or Linux Platform. Through this site, I have always aimed to share my knowledge and experiences . I want to take an initiative to start a project (of-course related to […]

Posted in Uncategorized | No Comments »

Java Platform Debugging Architecture

JPDA (Java Platform Debugging Architecture) is a multi-tiered debugging architecture that allows tools developers to easily create debugger applications which run probably across platforms, virtual machine(VM ) implementations and JDK versions. JPDA consists of three layers: JVMTI – defines a debugging services a VM provides JDWP – defines the communication between debugee & debugger process.. […]

Posted in Uncategorized | No Comments »

Compiler Phases

A compiler performas following operations  Lexical analysis Pre-Processing Parsing Semantic Analysis Code generation Code optimization FRONT End : The front end analyzes the source code to build an internal representatin of the program, called the intermediate representation or IR. It also manages symbol table, a data structure mapping each symbol in the source code to […]

Tags:

Posted in Uncategorized | No Comments »