Manuel d'utilisation / d'entretien du produit 91-SR-005-10-7L du fabricant M-Systems Flash Disk Pioneers
Aller à la page of 25
Installation Manual IM - DOC - 021 Using the DiskOnChip ® with Linux OS DEC - 99 91 - SR - 005 - 10 - 7L REV . 2.0.
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.
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 .
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.
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.
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.
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).
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 .
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.
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.
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>.
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.
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.
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.
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).
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.
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.
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.
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.
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_nam.
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 .
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.
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.
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.
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.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté M-Systems Flash Disk Pioneers 91-SR-005-10-7L c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du M-Systems Flash Disk Pioneers 91-SR-005-10-7L - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation M-Systems Flash Disk Pioneers 91-SR-005-10-7L, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le M-Systems Flash Disk Pioneers 91-SR-005-10-7L va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le M-Systems Flash Disk Pioneers 91-SR-005-10-7L, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du M-Systems Flash Disk Pioneers 91-SR-005-10-7L.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le M-Systems Flash Disk Pioneers 91-SR-005-10-7L. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei M-Systems Flash Disk Pioneers 91-SR-005-10-7L ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.