Manuale d’uso / di manutenzione del prodotto 91-SR-005-10-7L del fabbricante M-Systems Flash Disk Pioneers
Vai alla pagina 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 punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il M-Systems Flash Disk Pioneers 91-SR-005-10-7L è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del M-Systems Flash Disk Pioneers 91-SR-005-10-7L - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso M-Systems Flash Disk Pioneers 91-SR-005-10-7L imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul M-Systems Flash Disk Pioneers 91-SR-005-10-7L ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il M-Systems Flash Disk Pioneers 91-SR-005-10-7L, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del M-Systems Flash Disk Pioneers 91-SR-005-10-7L.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il M-Systems Flash Disk Pioneers 91-SR-005-10-7L. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo M-Systems Flash Disk Pioneers 91-SR-005-10-7L insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.