Sir, if there is nothing to return or 0 to return from a read_proc function, then it is being involked for one time only.
But if we return some value like 30 or 40 or No_of_bytes written, then read_proc is being involked multiple times.
Why so..??
Sir, if there is nothing to return or 0 to return from a read_proc function, then it is being involked for one time only.
But if we return some value like 30 or 40 or No_of_bytes written, then read_proc is being involked multiple times.
Why so..??
when i write the statement – printf(“hello\r..jackie\n..jp\n”); it gives the o/p
..jackie
..jp
but when i write the statement – printf(“hello\n..jackie\r..jp\n”); it gives the o/p
hello
..jpckie
why????
Implemented create_proc_entry AND create_proc_read_entry successfully.
read_proc successfully mapped and working on opening /proc/my_file…
Also writing into the file. And reading the contents.
devices were not unregisterd but today its done
Running 100 applications in background writing and reading on Device… working absolutely fine.
implemented multiplequantums reading writing.
implemented sculltrim.
actually i want to do it again.so please switch me to e2 batch
not understanding thread implementation ………….
1)completed read and write for multiple quantums
2)trimming also done
3)lseek for linear quantum
reading/writing for mutiple quantum , reading/writing for different application , trimming , mutiple threaded application without using semaphore, lssek for linear quantum, thread semaphores complete
reading/writing for mutiple quantum , reading/writing for different application , trimming , mutiple threaded application without using semaphore, lssek for linear quantum had done
Implemented multiple read and write .
Implemented multiple read and write with 2 different application using semaphores.
Implemented scull_trim .
Implemented multiple read and write using threads.
1.implemented multiple quantam’s read and write
2.implemented read and write with 2 different application using semaphore
3.implemented read and write using thread
4.implemented sculltrim successfully
Following assignments to complete.
1) Implement lkm in which perform reading writting for multiple quantums.
2) Write two different application, one for reading and one for writting. Make a common node. Writer will write and reader will read.
3) Read and deallocate the quantums and qset after reading.
4) Write multithreaded application when there would be a writer thread and reader thread within the same application.
5) Implement llseek operation across the quantums.
6) Implement the non-seekable device by using the non-seekable open call. Create the 2.x version for non-seekable driver under rcs.
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b4)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
01:00.0 Network controller: Intel Corporation Device 0896 (rev 34)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
This The Basic $lspci output of my Samsung Laptop:
For Ethernet Controller :-
Actully Realtek Ethernet controller driver rtl8169 Driver is supported by fedora but here we need r8168 driver do just download the package r8168-8.029.00.tar.bz2
and then go to your Download directory and use commands
#cd r8168
#./autorun.sh
It will rmmod yr rtl8169 driver and then load newly build driver r8168
Now your ethernet Controller will work successfully
//For Wireless
Driver is supported by fedora for the Network Controller : Intel Device 0896(rev 34) but its firmware is missing . So we need to load that firmware in our system .
just download a file name - iwlwifi-6000g2b-5.ucode
and now put these file in /lib/firmware/ directory . and reboot your system
#cp iwlwifi-6000g2b-5.ucode /lib/firmware/
or
you can usr
#yum install iwl6000g2b-firmware.noarch
and then reboot your System
Thts All you need to do