This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
02.Building, Configuring kernel for Device Driver Development
crash>dis -r 0xffffffffc0fae239
OxFFFffffcofaelee : cmp %rldd,%r13d
OXFFFFffffcofaelfl : jne OXFFffffffcofaelae
by
nirmalpg124
September 27
005 Character Device Drivers Development
permalink
02.Building, Configuring kernel for Device Driver Development
got error of kernel NULL pointer dereference error:
[10562.394012] initFunc: Device Registration Successful. Minor No: 19
[10562.394014] initFunc: End
[10592.557848] Begin :
:, _func_
[10592.557853] Begin:trimDevice
[10592.557…
by
nirmalpg124
September 27
005 Character Device Drivers Development
permalink
What is the difference between semaphore and mutex?
Please answer the query.
by
gaurav133232
September 25
Query
permalink
02.Building, Configuring kernel for Device Driver Development
got error while calling mknod for creating an inode file. This inode file works as an intermediary for the application programs and kernel programs.
error: open : No such file or folder exists.
while calling mknod parameter were used as c (…
by
nirmalpg124
September 25
005 Character Device Drivers Development
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
RCS file: main.c,vWorking file: main.chead: 1.2branch:locks: strict uvais: 1.2access list:symbolic names:keyword substitution: kvtotal revisions: 2; selected revisions: 2description:This is the main source file for the projectmultiple dat…
by
mohammaduvais143
September 20
001 C Programming, Data Structures
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
RCS file: createMasterArray.c,vWorking file: createMasterArray.chead: 1.7branch:locks: strict uvais: 1.7access list:symbolic names:keyword substitution: kvtotal revisions: 7; selected revisions: 7description:declared the createMasterArray…
by
mohammaduvais143
September 20
001 C Programming, Data Structures
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
RCS file: compress5.c,vWorking file: compress5.chead: 1.1branch:locks: strict uvais: 1.1access list:symbolic names:keyword substitution: kvtotal revisions: 1; selected revisions: 1description:this function implement the compression algori…
by
mohammaduvais143
September 20
001 C Programming, Data Structures
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
RCS file: declarations.h,vWorking file: declarations.hhead: 1.6branch:locks: strict uvais: 1.6access list:symbolic names:keyword substitution: kvtotal revisions: 6; selected revisions: 6description:This header file would contain all the f…
by
mohammaduvais143
September 20
001 C Programming, Data Structures
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
file createMasterArray.c findLocation.ccodelength.c createMasterArray.c,v findLocation.c,vcodelength.c,v createMasterArray.o findLocation.ocodelength.o dataStruct.h headers.hCompFile dataStruct.h,v …
by
mohammaduvais143
September 20
001 C Programming, Data Structures
permalink
18-19-Synchronization using Semaphores
Semaphore is a synchronization tool. It is implemented as a kernel data structure.struct semaphore{ semaphore var; two atomic operations; list of waiting processes; spinlock;}
It should be implemented where there is a shared resources are used.
su…
by
mohammaduvais143
September 16
003 Linux System Programming
permalink
Character device driver completed till OPEN(scull_open)
4: Create Device Node
5: Build Application
6: Test Driver with Application
7: Remove Character Driver
0: Exit Script
Please Enter Your choice:
7
rmmod: ERROR: Module mycdd is in use
__MAIN MENU__
1: Build Character Driver
2: Insert Charac…
by
gaurav133232
September 11
005 Character Device Drivers Development
permalink
02.Building, Configuring kernel for Device Driver Development
getting following error:
In file included from /home/nirmal/Documents/Documents_09_09_23/01_open_release/init.c:4:/home/nirmal/Documents/Documents_09_09_23/01_open_release/operations.h:5:18: error: initialization of ‘ssize_t (*)(struct file *, char…
by
nirmalpg124
September 10
005 Character Device Drivers Development
permalink
02.Building, Configuring kernel for Device Driver Development
special error:
make[2]: *** [scripts/Makefile.build:252: /home/nirmal/Documents/Documents_09_08_23/01_open_release/readDevice.o] Error 1make[1]: *** [Makefile:2026: /home/nirmal/Documents/Documents_09_08_23/01_open_release] Error 2make[1]: Leaving …
by
nirmalpg124
September 7
005 Character Device Drivers Development
permalink
02.Building, Configuring kernel for Device Driver Development
/home/nirmal/Documents/Documents_09_08_23/01_open_release/init.c:8:26: error: expected ‘)’ before ‘int’
/home/nirmal/Documents/Documents_09_08_23/01_open_release/init.c:11:1: error: unknown type name ‘dev_t’
11 | dev_t devid, devno;
| ^~…
by
nirmalpg124
September 7
005 Character Device Drivers Development
permalink
02.Building, Configuring kernel for Device Driver Development
getting following error/home/nirmal/Documents/Documents_09_08_23/01_open_release/init.c:6:29: error: expected ‘)’ before ‘int’ 6 | module_param(size_of_device, int, S_IRUGO); | ^~~~ | …
by
nirmalpg124
September 4
005 Character Device Drivers Development
permalink
pointer
Generic pointer is a pointer which is not associated with any data typesIt points to the data location in the memory which means it stores the address of variablewe can type casting according to requirement
by
mohammaduvais143
September 1
001 C Programming, Data Structures
permalink
pointer
Generic pointer is also known as void* pointer the size of void* pointer on 32-bits system is 4 bytes and 64-bits system 8 bytes
by
mohammaduvais143
September 1
001 C Programming, Data Structures
permalink
pointer
Null pointer does not pointing to anything
by
mohammaduvais143
September 1
001 C Programming, Data Structures
permalink
Introduction to C programming
int main(){
char ch = 255; ch = ch+10; printf("%d",ch); return 0;}
when i am compile this program it provide the value of ch is 9.please anybody tell me the logic behind that problem
by
mohammaduvais143
September 1
001 C Programming, Data Structures
permalink
03.Printing Scanning using stdin, stdout and stderr
In c scanf is a function that stands for scanf formatted string.It is used to read data from stdin ( standard input stream such that keyboard).
by
mohammaduvais143
September 1
001 C Programming, Data Structures
permalink
More Results
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership