JustKernel

Ray Of Hope

Device Driver

Tiny Usermode FileSystem

While reading the below code, please try to find answers to the questions that I had posted in my previous post. It will help to build your understanding.. Here is the simple C code.. #include <stdio.h> #include <stdlib.h> #define MAX_FILES (3) #define DISK_SIZE (1<<20) #define FILE_NOT_FOUND -5 #define FILE_COUNT_EXCEED -3 struct fs_metadata { int isfile; […]

Tags:

Posted in Device Driver | No Comments »

Tiny UserMode FileSystem

Ever wondered writing a file system driver and then dropped the idea because its way to complex.. It has happened to me. Every time I tried to write a simple file system driver I need to leave in between , because its way to complex and may be because my basic concepts regarding file system […]

Tags:

Posted in Device Driver | No Comments »

USBOIP – The Underlying USB architecture

For USBOIP project , I need to <strong>implement virtual host controller driver</strong>. Why we need this driver and what will be its functionality What will be the architecture / high level design for this approach Answers to all these queries will be there in the series of articles on USBOIP. The primary hardware and software […]

Tags:

Posted in Device Driver, USBOIP | No Comments »

USB Over IP – Requirement Document

 USB Over IP (USBOIP) 1) Requirements &amp; Scope: The basic requirement of this project arises from a common need of sharing the USB device over a LAN. It’s a common constraint that USB device connected to one system in LAN can be used only on the system with which it is connected. With this project […]

Tags: ,

Posted in Device Driver | No Comments »

Life Of Packet – Ingres in the system

Packet Receiving process:  3 stages:  Packet is transferred from tnetwork interface card (NIC) to the ring buffer. The NIC and device driver manage and controls this process. Packet is transferred from ring buffer to a socket receive buffer, driver by  a software interrupt request (softirq). The kernel protocol stack handles this stage. Packet data is […]

Tags: ,

Posted in Device Driver | No Comments »