EmbLogic's Blog

Category Archives: Linux Internals and System Programming

static and shared libraries

When a C program is compiled, the compiler generates object code. After generating the object code, the compiler also invokes linker. One of the main tasks for linker is to make code of library functions (eg printf(), scanf(), sqrt(), ..etc) … Continue reading

Posted in Linux Internals and System Programming, Project 00: Linux System / Network Administration | Leave a comment

Understanding The Fork Bomb

The fork bomb is a form of denial-of-service (DoS) attack against a Linux based system. It makes use of the fork operation. the processes recursively fork until a denial of service or a crash occurs Fork bombs count as wabbits … Continue reading

Posted in Linux Internals and System Programming, Uncategorized | Leave a comment

Mutexes provide a high level of safety for mutual exclusion

Unbounded Priority Inversion Problem with using counting or binary semaphores for controlling access to critical resources is called unbounded priority inversion. Priority inversion occurs when a low-priority task owns a semaphore, and a high-priority task is forced to wait on … Continue reading

Posted in Linux Internals and System Programming, Uncategorized | Leave a comment

Project_3 Assignment

1. WAP to convert lowercase latter in uppercase without calling the toupper(). 2. WAP to execute the above program . 3. WAP to obtain the process id and parent id of the process. 4. Duplicate a process using fork() system … Continue reading

Posted in Linux Internals and System Programming, Uncategorized | Tagged | Leave a comment

Excessive kworker entries in process status table when system is idle.

When I list the processes executing on my system it displays many kworker/ processes with interruptible sleep (waiting for an event to complete) , an unknown value of tty and many different pids (even if my system is idle). Also … Continue reading

Posted in Linux Internals and System Programming | Tagged , , , | Leave a comment

IPC: Client Server Project usinf FIFO and Pipe

Dear Friends, I Have Successfully Run 508 Clients in my project without using any SLEEP in server or client , But when I am trying to Run More Clients than this i got an error “multiply: error while loading shared … Continue reading

Posted in Linux Internals and System Programming | Tagged | 4 Comments

PROJECT-1

I have completed the following topics:: Fedora installation Kernel compilation Gcc installation Configure Raid all servers Created Usb media Dual Boot Debiyan installation  

Posted in Linux Internals and System Programming | 1 Comment

E11 : MDC Project.

All E11 trainees, Kindly update the status of Multiple Data Compression and any queries regarding the same should be posted here only.  

Posted in Linux Internals and System Programming | 14 Comments

E12: project: Multiple Data Compression Using Iterative Technique

Dear E12 Trainees, Update the status/issues pertaining  to MDC project on daily basis through this post only.

Posted in Linux Internals and System Programming | 52 Comments

Fork() and Standard Out

Here is the code snippet of a prog ************** START ********************** #include <stdio.h> #include <sys/types.h> #include <stdlib.h> #include <unistd.h> int glob_var = 100; int main(void) { int var; pid_t pid; var = 200; printf(“++Before Fork()\n”); if((pid = fork()) < 0) … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

Information: Regarding Signal Number 32 and 33

Signal              Number           Default Action                  Remarks SIGWAITING        32                    Ignore        Cocurrancy signal used by threads library SIGLWP             33                     Ignore        Inter LWP signal used by thread library Where LWP: light … Continue reading

Posted in Data Structures with C, Linux Internals and System Programming | Leave a comment

Today’s work Status To Pravjot Sir

I have implemented :-  write_operation for single quantum(working on multiple quantums). Implemented Threads

Posted in Character Driver, Linux Internals and System Programming | Leave a comment

kernel compilation error

while compiling kernel 2.6.27.62 following error is generated CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC [M] arch/x86/kvm/svm.o In file included from include/linux/kvm_host.h:21:0, from arch/x86/kvm/svm.c:16: include/linux/kvm.h:240:9: error: duplicate member ‘padding’ make[1]: *** [arch/x86/kvm/svm.o] Error 1 make: *** [arch/x86/kvm] Error … Continue reading

Posted in Linux Internals and System Programming | Tagged | 3 Comments

Today’s Status

Unable to implement Shared Memory……. one process has created Shared Memory and another is using it with same return value…. but problem arises when first and second process attached with the shared memory with different address…………. PLZZZZZZZZZZZZZZ reply soon further … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

Today’s Status

I have done following: – Process Management – 3 (Process Replacing) IPC PIPES Single Client-Server with single PIPE in different terminal ….. working on Multiple Client-Server with single PIPE and FIFO………..

Posted in Linux Internals and System Programming | Leave a comment