0

tài liệu linux lpi

Tài liệu Linux Virtual Server Administration for red hat enterprise linux 5.1 doc

Tài liệu Linux Virtual Server Administration for red hat enterprise linux 5.1 doc

Hệ điều hành

... Enterprise Linux 5, refer to the following resources:• Red Hat Enterprise Linux Installation Guide — Provides information regarding installation ofRed Hat Enterprise Linux 5.• Red Hat Enterprise Linux ... should also beinstalled and running.Web Server Port21 Linux Virtual Server Administration: Linux Virtual Server(LVS) for Red Hat Enterprise Linux 5.1Copyright © You need to override this in your ... configuration and administration of Red Hat Enterprise Linux 5.For more information about Red Hat Cluster Suite for Red Hat Enterprise Linux 5, refer to thefollowing resources:• Red Hat Cluster...
  • 73
  • 680
  • 1
Tài liệu Linux hay GNU/Linux và cấu trúc nhân Linux pptx

Tài liệu Linux hay GNU/Linux và cấu trúc nhân Linux pptx

Hóa học - Dầu khí

... GNU /Linux và cấu trúc nhân Linux I.Tóm tắt lịch sử Linux Linux hay GNU /Linux? Khi thì người ta gọi “hệ điều hành Linux , lúc lại gọi là “hệ điều hành GNU /Linux . Lí do là vì Linux thực ra là phần ... thống con chính của nhân Linux. Hình 3: Các hệ thống con chính của nhân Linux III.1Nhân là gì? Như hình 3, nhân Linux thực ra là bộ quản lý các tài nguyên. Các tài nguyên gồm: các tiến ... giữ dữ liệu trong một thời gian ngắn (hoặc đọc trước sao cho dữ liệu luôn có khi cần). Dưới bộ đệm cache là các driver thiết bị là giao diện của các thiết bị vật lý cụ thể. Linux hay GNU/Linux...
  • 7
  • 647
  • 2
Tài liệu linux-basic doc

Tài liệu linux-basic doc

Hệ điều hành

... Qun tr H thng Linux - C bn 1 TÀI LIU ÀO TO QUN TR H THNG LINUX Tài liu này đc biên son theo tài liu ging dy ca Vin Linux (LPI) HÀ NI ... /etc/fstab cng đc dùng đ tr giúp cho các kt gán tài nguyên thi gian thc. Ví d: Chng trình mount s đc /etc/fstab và quyt đnh tài nguyên (hoc đim kt ni) nào s đc s dng ... thng Linux - C bn 24 DMA (Direct Memory Access channels) Là các kênh truyn d liu cho phép thit b thao tác trc tip lên b nh h thng mà không phi thông qua CPU. Lit kê các tài...
  • 221
  • 377
  • 0
Tài liệu Linux IO Port Programming pptx

Tài liệu Linux IO Port Programming pptx

Quản trị mạng

... about the parallel port IRQ if you don't use it.) Linux I/O port programming mini−HOWTO 4.2 Measuring time 7Table of Contents Linux I/O port programming mini−HOWTO 1Author: Riku Saikkonen ... serial port 97. Hints 98. Troubleshooting 99. Example code 1010. Credits 11 Linux I/O port programming mini−HOWTO i Linux I/O port programming mini−HOWTOAuthor: Riku Saikkonen <Riku.Saikkonen@hut.fi>v3.0, ... design software for Linux, there is a free X11 application calledPcb that should do a nice job, at least if you aren't doing anything very complex. It is included in many Linux distributions,...
  • 13
  • 475
  • 0
Tài liệu Linux Shell Basic pptx

Tài liệu Linux Shell Basic pptx

Kỹ thuật lập trình

... Bất kỳ shell nào cũng đọc lệnh từ người dùng (bàn phím hoặc chuột) và bảo cho Linux Os những gì mà người dùng muốn. Nếu chúng ta cho một lệnh từ bàn phím thì nó được gọi là...
  • 2
  • 422
  • 0
Tài liệu Linux Device Drivers-Chapter 1 :An Introduction to Device Drivers ppt

Tài liệu Linux Device Drivers-Chapter 1 :An Introduction to Device Drivers ppt

Hệ điều hành

... to Device Drivers As the popularity of the Linux system continues to grow, the interest in writing Linux device drivers steadily increases. Most of Linux is independent of the hardware it runs ... places in your system, including the directory /usr/src /linux, as a file called COPYING. Third-party and custom modules are not part of the Linux kernel, and thus you're not forced to license ... you are looking for testers for a new driver. The central gathering point for Linux kernel developers is the linux- kernel mailing list. All major kernel developers, from Linus Torvalds on...
  • 24
  • 454
  • 2
Tài liệu Linux Device Drivers-Chapter 2 : Building and Running Modules pptx

Tài liệu Linux Device Drivers-Chapter 2 : Building and Running Modules pptx

Hệ điều hành

... 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 ... replace all of your tools (gcc, ld, etc.) with another set of tools (for example, m68k -linux- gcc, m68k -linux- ld). The prefix to be used is defined as $(CROSS_COMPILE), either in the make command ... load a newer revision of your module. Resource Allocation in Linux 2.4 The current resource allocation mechanism was introduced in Linux 2.3.11 and provides a flexible way of controlling system...
  • 75
  • 560
  • 1
Tài liệu Linux Device Drivers-Chapter 3: Char Drivers docx

Tài liệu Linux Device Drivers-Chapter 3: Char Drivers docx

Hệ điều hành

... file_operations structure to access the driver's functions. The structure, defined in < ;linux/ fs.h>, is an array of function pointers. Each file is associated with its own set of functions ... an object to act on itself. This is the first sign of object-oriented programming we see in the Linux kernel, and we'll see more in later chapters. Conventionally, a file_operations structure ... function, as the list later in this section shows. The file Structure struct file, defined in < ;linux/ fs.h>, is the second most important data structure used in device drivers. Note that a...
  • 90
  • 385
  • 0
Tài liệu Linux Device Drivers-Chapter 4 : Debugging Techniques pptx

Tài liệu Linux Device Drivers-Chapter 4 : Debugging Techniques pptx

Hệ điều hành

... } exit(0); } setconsole uses the special ioctl command TIOCLINUX, which implements Linux- specific functions. To use TIOCLINUX, you pass it an argument that is a pointer to a byte array. ... arg\n",argv[0]); exit(1); } if (ioctl(STDIN_FILENO, TIOCLINUX, bytes)<0) { /* use stdin */ fprintf(stderr,"%s: ioctl(stdin, TIOCLINUX): %s\n", argv[0], strerror(errno)); exit(1); ... returns a list of the currently loaded modules. /proc is heavily used in the Linux system. Many utilities on a modern Linux distribution, such as ps, top, and uptime, get their information from...
  • 66
  • 427
  • 0
Tài liệu Linux Device Drivers-Chapter 5 : Enhanced Char Driver Operations pptx

Tài liệu Linux Device Drivers-Chapter 5 : Enhanced Char Driver Operations pptx

Hệ điều hành

... the O_NONBLOCK flag in filp->f_flags. The flag is defined in < ;linux/ fcntl.h>, which is automatically included by < ;linux/ fs.h>. The flag gets its name from "open-nonblock,'' ... processor issues an exception. Exceptions in kernel code are turned to oops messages by every Linux kernel up through 2.0.x; version 2.1 and later handle the problem more gracefully. In any ... structures involved in wait queues and how they are used by processes. Figure 5-1. Wait queues in Linux 2.4 A quick look through the kernel shows that a great many procedures do their sleeping...
  • 112
  • 324
  • 0
Tài liệu Linux Device Drivers-Chapter 6 : Flow of Time pptx

Tài liệu Linux Device Drivers-Chapter 6 : Flow of Time pptx

Hệ điều hành

... 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, ... Operations": A queue element is described by the following structure, copied directly from < ;linux/ tqueue.h>: struct tq_struct { struct tq_struct *next; /* linked list of active bh's ... driver can use only three of them, described in the following list. The queues are declared in < ;linux/ tqueue.h>, which you should include in your source. The scheduler queue The scheduler...
  • 53
  • 403
  • 0
Tài liệu Linux Device Drivers-Chapter 7 : Getting Hold of Memory doc

Tài liệu Linux Device Drivers-Chapter 7 : Getting Hold of Memory doc

Hệ điều hành

... lookaside cache functions were introduced in Linux 2.1.23, and were simply not available in the 2.0 kernel. Code that must be portable back to Linux 2.0 should stick with kmalloc and kfree. ... 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 a call to kmem_cache_create: ... smaller and easier to deal with. kmalloc and kfree have remained essentially constant between Linux 2.0 and 2.4. Access to high memory, and thus the __GFP_HIGHMEM flag, was added starting...
  • 36
  • 318
  • 1
Tài liệu Linux Device Drivers-Chapter 8 :Hardware Management docx

Tài liệu Linux Device Drivers-Chapter 8 :Hardware Management docx

Hệ điều hành

... /dev/short0 to 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 ... Although playing with scull and similar toys is a good introduction to the software interface of a Linux device driver, implementing a real device requires hardware. The driver is the abstraction ... 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...
  • 50
  • 311
  • 0
Tài liệu Linux Device Drivers-Chapter 9 :Interrupt Handling Although doc

Tài liệu Linux Device Drivers-Chapter 9 :Interrupt Handling Although doc

Hệ điều hành

... hardware device isn't enough; a software handler must be configured in the system. If the Linux kernel hasn't been told to expect your interrupt, it will simply acknowledge and ignore ... share interrupt lines with other drivers, as we will see. The following functions, declared in < ;linux/ sched.h>, implement the interface: int request_irq(unsigned int irq, void (*handler)(int, ... interruptis simply a signal that the hardware can send when it wants the processor's attention. Linux handles interrupts in much the same way that it handles signals in user space. For the most...
  • 86
  • 399
  • 0

Xem thêm