... Linux 2.x kernels have soft real time support; see the manual page for sched_setscheduler(2) for details There is a special kernel that supports hard real time; see http://luz.cs.nmt.edu/~rtlinux/ ... document describes programming hardware I/O ports and waiting for small periods of time in user−mode Linux programs running on the Intel x86 architecture. 1 Introduction 2 Using I/O ports in C programs ... document describes programming hardware I/O ports and waiting for small periods of time in user−mode Linux programs running on the Intel x86 architecture This document is a descendant of the very small
Ngày tải lên: 22/12/2013, 10:15
... include/linux and include/asm inside the kernel sources (usually found in /usr/src/linux) Older distributions (based on libc version 5 or earlier) used to carry symbolic links from /usr/include/linuxand ... article at http://www.linux.it/kerneldocs/kconf that should help you get started root# gcc -c hello.c root# insmod /hello.o Hello, world root# rmmod hello Goodbye cruel world between Linux distributions) ... Moreover, of course, Linux can run on symmetric multiprocessor (SMP) systems, with the result that your driver could be executing concurrently on more than one CPU As a result, Linux kernel code,
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 3: Char Drivers docx
... Anyone can compile and run scull, and scull is portable across the computer architectures on which Linux runs On the other hand, the device doesn't do anything "useful" other than demonstrating ... should be made at driver (module) initialization by calling the following function, defined in <linux/fs.h>: int register_chrdev(unsigned int major, const char *name, struct file_operations ... it tries to access invalid addresses.[17] [17]The word oops is used as both a noun and a verb by Linux enthusiasts When you unload the driver without unregistering the major number, recovery will
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 6 : Flow of Time pptx
... according to the value of HZ, which is an architecture-dependent value defined in <linux/param.h> Current Linux versions define HZ to be 100 for most platforms, but some platforms use 1024, ... available in Linux 2.0, sysdep.h fills the gap Task Queues One feature many drivers need is the ability to schedule execution of some tasks at a later time without resorting to interrupts Linux offers ... value of HZ for those who want systems with a different clock interrupt frequency Some people using Linux for hard real-time tasks have been known to raise the value of HZ to get better response times;
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 7 : Getting Hold of Memory doc
... justifies using a lookaside cache, but there can be exceptions; the USB and ISDN drivers in Linux 2.4 use caches Linux memory caches have a type of kmem_cache_t and are created with Trang 8 void (*constructor)(void ... internal details of memory management in this chapter, but will defer it to "Memory Management in Linux" in Chapter 13, "mmap and DMA" The Real Story of kmalloc The kmalloc allocation ... GFP_ATOMIC, although those two cover most of the needs of device drivers All the flags are defined in <linux/mm.h>: individual flags are prefixed with a double underscore, like GFP_DMA; collections
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 8 :Hardware Management docx
... hardware (or Trang 5to another processor) in a particular order Linux provides four macros to cover all possible ordering needs #include <linux/kernel.h> void barrier(void) This function tells ... picture by showing you how a driver can access I/O ports and I/O memory while being portable across Linux platforms This chapter continues in the tradition of staying as independent of specific hardware ... latter solution is only common within tiny processors meant for embedded use For the same reason, Linux implements the concept of I/O ports on all computer platforms it runs on, even on platforms
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Commands doc
... Định hướng dữ liệu xuất ra file • < Định hướng dữ liệu nhập từ file • >> Định hướng dữ liệu xuất ra cuối file nếu file đã tồn tại • | Định hướng dữ liệu xuất là dữ liệu nhập cho lệnh ... bill Trang 18Quản lý user và group• Xóa tài khoản người dùng – Câu lệnh: deluser hay userdel – Xóa tài khoản thì có thể dùng cách sau: • 1 Xóa bỏ dòng có chứa tài khoản trong tập tin /etc/passwd ... scanner::52:yvonne • Thêm một tài khoản vào nhóm – Mỗi tài khoản trên một dòng trong tập tin /etc/group, được phân cách bởi dấu phẩy – Theo lý thuyết không có hạn chế về số tài khoản trong một nhóm
Ngày tải lên: 19/01/2014, 19:20
Tài liệu Linux Device Drivers-Chapter 11 : kmod and Advanced docx
... loading is the Advanced Linux Sound Architecture (ALSA) sound driver suite, which should (someday) replace the current sound implementation (Open Sound System, or OSS) in the Linux kernel.[42] ALSA ... and to allow the creation of "generic'' kernels that can support a wide variety of hardware, Linux offers support for automatic loading and unloading of modules To exploit this feature, you ... been simplified by not requiring the separate process context To use kmod, you must include <linux/kmod.h> in your driver source To request the loading of a module, call request_module:
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 12 : Loading Block Drivers docx
... of the Linux buffer cache The request structure and the buffer cache The design of the request structure is driven by the Linux memory management scheme Like most Unix-like systems, Linux maintains ... ensuring that all requests get satisfied eventually A Linux I/O request queue is represented by a structure of type request_queue, declared in <linux/blkdev.h> The request_queue structure looks ... registering and unregistering block devices look similar to those for char devices: #include <linux/fs.h> int register_blkdev(unsigned int major, const char *name, Trang 3 struct block_device_operations
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 13 :mmap and DMA pptx
... these techniques require an understanding of how Linux memory management works, so we start with an overview of that subsystem Memory Management in Linux Rather than describing the theory of memory ... systems, this section tries to pinpoint the main features of the Linux implementation of the theory Although you do not need to be a Linux virtual memory guru to implement mmap, a basic overview ... programmer must be careful Trang 3Figure 13-1 Address types used in Linux The following is a list of address types used in Linux Figure 13-1 shows how these address types relate to physical memory
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 14 :Network Drivers ppt
... move on to the fascinating world of networking Network interfaces are the third standard class of Linux devices, and this chapter describes how they interact with the rest of the kernel The role ... looks somewhat different from the interfaces we have seen so far The network subsystem of the Linux kernel is designed to be completely protocol independent This applies to both networking protocols ... from the protocol This chapter describes how the network interfaces fit in with the rest of the Linux kernel and shows a memory-based modularized network interface, which is called (you guessed
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 15 :Overview of Peripheral Buses pdf
... possible for one device to offer both 32-bit regions and 64-bit regions PCI I/O resources in Linux 2.4 In Linux 2.4, the I/O regions of PCI devices have been integrated in the generic resource management ... addresses to which these regions are currently mapped can be read from the configuration space, so the Linux driver can access its devices without probing After reading the configuration registers the ... space by reading and writing registers in the PCI controller At system boot, the firmware (or the Linux kernel, if so configured) performs configuration transactions with every PCI peripheral in
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 16 :Physical Layout of the Kernel Source ppt
... conditional compilation in the code: morgana% grep -c ifdef linux-2.[024]/init/main.c Trang 6linux-2.0/init/main.c:120 linux-2.2/init/main.c:246 linux-2.4/init/main.c:35 Despite the huge addition of ... flexible than ELF For this reason, uClinux[64] developers switched from COFF to ELF while porting their system from 2.0 to 2.4 [64]uClinuxis a version of the Linux kernel that can run on processors ... world, and several M68k and ARM processors have no hardware memory management uClinux stands for microcontroller Linux, since it's meant to run on microcontrollers rather than full-fledged computers
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Shell Scripting Tutorial Ver.1.0 docx
... Trang 1Linux Shell Scripting Tutorial Ver.1.0 Trang 2Linux Shell Scripting Tutorial Ver 1.0Written by Vivek G Gite Trang 3More ... working knowledge of Linux i.e basic commands like how to create, copy, remove files/directories etc or how to use editor like vi or mcedit and login to your system Before Starting Linux Shell Script ... or from a file Linux may use one of the following most popular shells (In MS-DOS, Shell name is COMMAND.COM which is also used for same purpose, but it's not as powerful as our Linux Shells are!)
Ngày tải lên: 24/01/2014, 02:20
Tài liệu Linux for you -jan09 pdf
... Enterprise Linux, SuSE Enterprise Linux Server, Microsoft Windows, Solaris 10 Operating System (OS), Macintosh OS X, Free BSD, HP-UX, IBM AIX, IBM i5/OS and other popular Linux distributions For downloads ... beta will enable Linux (and also Mac) users to download programmes to their desktops Previously, the ability to download programmes was only available to Windows users The new download manager ... dev. mysql.com/downloads BBC iPlayer comes to Linux The British Broadcasting Corporation (BBC) and Adobe Systems have announced the public beta of the new BBC iPlayer Desktop download manager
Ngày tải lên: 24/01/2014, 08:20
tai lieu linux 2 pot
... C Cài đặt Linux lỗi D Tất cả đều sai Answer: A Cau 25 : Dịch vụ ftp sử dụng giao thức gì để truyền nhận dữ liệu? Trang 5A http B https C httpd D ftp Answer: D Cau 26 : Để truy cập linux từ xa ... số Serial để chỉ định sự thay đổi cơ sở đữ liệu trên Master Name Server D Tất cả các câu trên đều sai Answer: B Cau 13: Dịch mail được sử dụng trên linux tên Trang 3A sendmail B mailtable C maildaemon ... Tập tin cấu hình của dịch vụ DNS trên Linux là? A named.conf B dns.conf C services-dns.conf D tất cả đều đúng Answer: A Cau 19 : Để xem tải của hệ thống Linux ta dùng lệnh nào A Lệnh top B Lệnh
Ngày tải lên: 19/06/2014, 17:20
tài liệu linux full tiếng anh
... arm -T kernel -O linux -C none -a 21000000 -e 21000000 -n plinux -d arch/arm/boot/zImage uImage Result: Image Name: plinux Created: Tue Dec 14 19:12:23 2004 Image Type: ARM Linux Kernel Image ... automatically download software packages that are installed and configured automatically Debian can be downloaded free from the internet and the installation is also very easy because you only need to download ... process the bootloader boots the Linux image found in flash memory The Linux image is decompressed to SDRAM At last the root filesystem image is decompressed by Linux and stored in SDRAM You can
Ngày tải lên: 14/11/2014, 09:14
07 phan mem tài liệu linux and oss
... by name, status, size or version – Browse available online documentation related to a package – Download the latest changelog of a package – Lock packages to the current version – Force the installation ... 36View Package InformationTrang 37Remove Automatically Installed Software Trang 38Generate Package Download Script Trang 39Delete Cached Package FilesTrang 40III Quản lý các kho phần mềm• Quản lý
Ngày tải lên: 24/05/2016, 15:47
10 backup tài liệu linux and oss
... máy tính đã có sẵn dữ liệu để phục hồi – Hot: máy tính đã ở trạng thái vận hành Trang 6Sao lưu dữ liệu • Nhiệm vụ – Chép dữ liệu ra một vị trí an toàn – Kiểm tra dữ liệu có thể phục hồi được ... đĩa Trang 3Quá trình sao lưu và phục hồi dữ liệu: Vì sao ? • Hệ thống có thể bị lỗi – Phần cứng, phần mềm, lỗi thao tác do quản trị viên • Dữ liệu có thể bị phá hủy – Lỗi phần cứng, lỗi ... Trang 1Chương 10 Sao lưu Linux và phần mềm mã nguồn mở 2009 Trang 2Nội dung I. Quá trình sao lưu và phục hồi dữ liệu II. Sao lưu thư mục và tệp III. Sao lưu phân vùng
Ngày tải lên: 24/05/2016, 15:48
11 log tài liệu linux and oss
... Trang 1Linux và phần mềm mã nguồn mở 2009 Trang 2Nội dung I. Khái niệm ghi nhật ký trong HĐH Linux II. Nhật ký trong linux III. Tối ưu hóa quá trình ghi nhật ký ... Tùy theo mức độ ứng dụng nhật ký sẽ ghi các thông Wn phù hợp vào nhật ký Trang 6Nội dung I. Khái niệm ghi nhật ký trong HĐH Linux II. Nhật ký trong linux III. Tối ưu hóa quá trình ghi nhật ký Trang 7Các tệp nhật ký Log files Sự kiện ... cron,news.debug /var/log/debug Trang 18Nội dung I. Khái niệm ghi nhật ký trong HĐH Linux II. Nhật ký trong linux III. Tối ưu hóa quá trình ghi nhật ký Trang 21Cấu hình cho một tiến trình
Ngày tải lên: 24/05/2016, 15:48