M-Systems Flash Disk Pioneers 91-SR-005-10-7L manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of M-Systems Flash Disk Pioneers 91-SR-005-10-7L, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of M-Systems Flash Disk Pioneers 91-SR-005-10-7L one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of M-Systems Flash Disk Pioneers 91-SR-005-10-7L. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of M-Systems Flash Disk Pioneers 91-SR-005-10-7L should contain:
- informations concerning technical data of M-Systems Flash Disk Pioneers 91-SR-005-10-7L
- name of the manufacturer and a year of construction of the M-Systems Flash Disk Pioneers 91-SR-005-10-7L item
- rules of operation, control and maintenance of the M-Systems Flash Disk Pioneers 91-SR-005-10-7L item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of M-Systems Flash Disk Pioneers 91-SR-005-10-7L alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of M-Systems Flash Disk Pioneers 91-SR-005-10-7L, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the M-Systems Flash Disk Pioneers service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of M-Systems Flash Disk Pioneers 91-SR-005-10-7L.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the M-Systems Flash Disk Pioneers 91-SR-005-10-7L item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Installation Manual IM - DOC - 021 Using the DiskOnChip ® with Linux OS DEC - 99 91 - SR - 005 - 10 - 7L REV . 2.0[...]

  • Page 2

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 2 LIMITED WARRANTY (a) M - Systems warrants that the Licensed Software — prior to modification and adaptation by Licensee — will conform to the documentati on provided by M - Systems. M - Systems does not warrant that the Licensed Software will meet the needs of the Licensee or[...]

  • Page 3

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 3 Contents 1 Introduction ................................................................................................................................... 4 2 Hardware Requirements for the Disk OnChip .......................................................................... 4 3[...]

  • Page 4

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 4 1 Introduction M - Systems’ DiskOnChip  is a family of flash disks. It contains built - in firmware that provides full hard disk emulation and allows the DiskOnChip to operate as a boot device. When used under Li nux, the DiskOnChip is managed by a device driver, based on M [...]

  • Page 5

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 5 DiskOnChip 1 2 3 29 28 4 25 23 26 27 5 6 A12 A11 A10 A9 A8 A7 A6 7 8 9 A5 A4 A3 10 11 12 A2 A1 A0 NC NC (A16) NC (A15) NC (A14) NC (A13) 13 14 15 17 D0 D1 D2 D3 18 19 20 21 D4 D5 D6 D7 24 31 22 16 GND 32 VCC SA11 SA10 SA9 SA8 SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 SD0 SD1 SD2 SD3 SD4 SD[...]

  • Page 6

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 6 dformat DiskOnChip formatting utility dupdate Utility for updating DiskOnChip firmware docpmap Utility to retrieve information about the DiskOnChip doc121.ex b DiskOnChip firmware image. “121” is the firmware version, the actual diskette might contain higher versions of the f[...]

  • Page 7

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 7 4 Installing the DiskOnChip as an Addit ional Drive Before the DiskOnChip can be used as the boot disk for Linux (see Chapter 5), it first needs to be installed as an additional disk in the system (Linux is booted from a HDD). This chapter describes how to prepare the DiskOnChip [...]

  • Page 8

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 8 1. The floppy drive must be active. Verify this by typing: # mount If the /dev/fd0 doesn’t appear in the first column, type: # mount/dev/fd0 /mnt From this point, it is assumed that the diskette that c ontains the TrueFFS driver for Linux is mounted at /mnt . 2. The kernel sour[...]

  • Page 9

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 9 5. Configure the kernel as follows: # cd /usr/src/linux # make menuconfig or # make config if the last command doesn’t work. Define your system by marking the correct devices. If you aren’t sure what the purpose of the device is, then leave it as it is. Mak e sure that you ma[...]

  • Page 10

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 10 Make[1]:Leaving directory ‘/usr/src/ linux-2.0.32/arch/i386/boot’ If there are any compilation errors, refer to Chapter 6 “Troubleshooting”. 4 . 2 . 3 Booting the Compiled Kernel from HDD The new compiled kernel needs to be booted from the HDD. The following steps need t[...]

  • Page 11

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 11 7. When the Lilo prompt is displayed, press <Ctrl> or <Alt> or <Tab>. The screen will show : Lilo boot: 8. Load the recompiled kernel: Lilo boot:doc2000 4 . 2 . 4 Creating a Linux Partition on the DiskOnChip To create a Linux partition on the DiskOnChip, all th[...]

  • Page 12

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 12 7. Recheck the partition table: Command (m for help): p Disk /dev/fla: 16 heads, 9 sectors, 1002 Cylinder units = cylinders of 144 * 512 bytes Device boot begin Start End Blocks Id System /dev/fla1 * 1 1 1002 72139+ 83 Linux native 8. Save the new partition table (disregard any [...]

  • Page 13

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 13 5 Booting Linux from the DiskOnChip Being able to boot Linux from the DiskOnChip makes it possible to use the DiskOnChip as the only disk in the system, holding th e OS itself in addition to all other applications and files. In order to make a block device bootable on Linux, the[...]

  • Page 14

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 14 5 . 1 . 2 Overview A root file system must contain everything that is needed to support a full Linux system. To achieve this, the disk must include the mini mum requirements for a Linux system: • Basic file system structure • Minimum set of directories: /dev, /proc, /bin, /e[...]

  • Page 15

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 15 Press <ESC>, ‘:’, ‘w’, ‘q’ to save the file. It is possible to add more devices here (for more information, refer to the man pages). 6. For RedHat and Caldera it is also necessary to copy the configuration file for the pam library (responsible for making authen[...]

  • Page 16

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 16 # cp /tmp/doc-driver/boot.b /diskonchip/boot # cp /tmp/doc-driver/lilo.conf /diskonchip/etc # /diskonchip/sbin/plilo -C /diskonchip/etc/lilo.conf -i /diskonchip/boot/boot.b -m /diskonchip/boot/map 2. Verify that after the last command, the device doc2000 is listed on the screen.[...]

  • Page 17

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 17 VFS: Unable to mount -. Most likely, you forgot to do: # rdev /diskonchip/boot/doc2000 /dev/fla1 • If the DiskOnChip boots and the kernel is loading, b ut it gets stuck after: VFS: Mounted root (ext 2 filesystem) readonly. Most likely, the init program or some if its configura[...]

  • Page 18

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 18 7 Additional Information and Tools Additional information about the DiskOnChip, incl uding Application Notes, can be found at http://www.m - sys.com . Additional tools and documents are listed in the following table: Document/Tool Description AP - DOC - 10 Designing with the Dis[...]

  • Page 19

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 19 Appendix I: Making a Root File System To create your own root file system, perform the following steps: 1. Make the following directories: # cd /diskonchip # mkdir bin dev etc lib mnt proc sbin tmp usr var 2. Create devices in the /dev direc tory. You can either do this manually[...]

  • Page 20

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 20 not listed below are considered optional. Copy these programs to the directories /bin or /sbin as follows: # cp /bin/{program_name} /diskonchip/bin/{program_name} /bin directory: cat echo mount chmod hostname mv chown kill ps cp Ln rm cut logi n rmdir dd Ls sh df mkdir su dircol[...]

  • Page 21

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 21 For example: # ldd /sbin/mke2fs libext2fs.so.2 /lib/libext2fs.so.2 libcom_err.so.2 /lib/libcom_err.so.2 libuuid.so.1 lib/libuuid.so.1 libc.so.5 /lib/libc.so.5 This will show which libraries are needed for the program mke2fs . In this example, it is necessary to copy the followin[...]

  • Page 22

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 22 Appendix II: Booting from a HDD when the DiskOnChip Firmware is Active Since Lilo and the DiskOnChip firmware (i.e. doc121.exb) share the same area in RAM, the system will hang during boot when using an unpatched Lilo. Updating Lilo solves this problem. The existing boot loader [...]

  • Page 23

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 23 Appendix III: Applying a Patch Manually There are two ways to integrate the Tr ueFFS driver into the kernel: manually or with a patch utility. The TrueFFS driver for kernel versions 2.0.## contains patch files for kernel versions 2.0.29 - 2.0.35 ( /tmp/doc-driver/doc-patch-2.0.#[...]

  • Page 24

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 24 In the above example, the file /usr/src/linux/include/linux/major.h is patched. The two lines that start with the ‘+’ mark are added to the current source code, and the lines that start with the ‘ - ‘ mark are removed from the source code. Repeat this process for all fiv[...]

  • Page 25

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 25 How to Contact Us Internet: http://www.m - sys.com E - mail: info@m - sys.com USA Office: M - Systems Inc. 8371 Central Ave, Suite A Newark CA 94560, U.S.A Phone: 1 - 510 - 494 - 2090 Fax: 1 - 510 - 494 - 5545 Taiwan Office: M - System Asia Ltd. 11 F - 2, No. 81,Sec.2, Chang Teh[...]