Linux hardware FAQ

Source: Internet
Author: User
Article title: Linux hardware FAQ. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Type: hardware-external storage-floppy disk (Genius)
Q: How do I read files from a floppy disk?
A: There are two methods,
One is to mount a system containing DOS files to a Linux file system and run the mount command. The mount command syntax is as follows:
Mount device mount-point
Device refers to the device to be mounted. if it is a floppy disk, it is usually/dev/fd0 or/dev/fd1, indicating the first or second floppy disk. Mount-point is the directory to be mounted to the file system. this directory must exist before mount and must be empty.
Directory. For example, if you want to mount a floppy disk in the first soft drive to a Linux file system, run the following command:
Xxx@xxx.xxx root> mount/dev/fd0/mnt/floppy
Then you can access the floppy disk through the/mnt/floppy directory. For detailed usage of the mount command, refer to the manual: man mount
The second method is implemented using the mtool provided by Linux. These commands enable you to access the DOS file system without mount. these commands start with m, such as mdir, mformat, and mdel. for details, refer to the manual.
Note: The first method is suitable for all file systems supported by Linux, including optical drives and other devices. you can use-t to specify the desired file system type.
Type: hardware-external storage-optical drive (genius)
Q: Why can't I get out after the optical drive is mounted?
A: Linux is A multi-user operating system, and the mounted file system is shared. for reliability, it cannot be removed at will. You must first umount the file system. if someone is using this file system, it will prompt you. If you are a super user, you can also force the file system to be detached, but data may be lost. The same is true for the file system of the optical drive. after mounting, the file system cannot be removed as needed.
FAQ type: hardware-external storage-IDE optical drive (stupid)
Q: How to manually use insmod isofs to solve the problem of kernel don't support fs type iso9660 after RedHat 5.1 is installed
A: run cat/proc/filesystems first to check if there is any problem with your optical drive. did you buy the acer? (By the way, that word does not read the foundation, Nian Qi) run it again/sbin/modprobe-c | grep iso to see if there is such a line: alias iso9660 if there is isofs, and/lib/modules/preferred/fs/isofs. o, or the optical drive problem. If you don't have the file, do you know how you installed it? If you do not have the line alias, add it in/etc/conf. modules. It's not enough. Compile the core one by yourself.
FAQ type: hardware-external storage-IDE optical drive (Yao Fei)
Q: module
When LINUX is started, the modprobe report is displayed: Can not locate module block-major-22, and then/dev/hdc is not a block device, so the optical drive cannot be mounted. why? Will it be a problem with the optical drive model? I remember Dr. Gong said that the ACER24X optical drive is not easy to use. Can not locate module char-major-10-135 is displayed at startup, but no problem is found during use. what is the problem? When LINUX was started, it showed that some MODULES that were previously installed and later discarded MODULES could not be found (unresolved symbol, such as 3c509. o). how can we prevent LINUX from finding these MODULES?
A: block-major-22 refers to Mitsumi CDROM. if you are using an IDE optical drive, this should not happen. you obviously use the wrong core. If you are using Slackware, it is best to use bare. I. Char-major-10-135 is related to Watch Dog Timer, which is useless at ordinary times. you obviously have misconfigured the core. When re-compiling the core, if a module is in the old configuration but is removed from the new configuration, it is in the/lib/modules Directory. if the o file is not deleted, these problems will occur during depmod. No way. reconfigure the core.
FAQ type: hardware-external storage-SCSI optical drive (Yao Fei)
Q: multi-disc CD-ROM
Two CDROM and one CDR and CDR are installed on my machine, which cannot be identified by the scsicard. there is also a CDROM is CarmATE CD-RA4, this is a can install five disc drive, in WIN95/98 through the software to replace the current CDROM disc, I do not know whether LINUX has to change the disc software?
A: look at/usr/src/linux-2.0.35/Documentation/cdrom, which has A cdchange. c After compilation, you can change the film.
FAQ type: hardware-SCSI system installation (Yao Fei)
Q: How to install Red Hat 4.1?
Red Hat 4.1 does not know my AHA 1542B scsicard. He said he could not find it. the PlexWriter (CDR) on my 1542B won't be able to find it either .:(
A: RH4.1 can definitely recognize AHA 1542B! I have a machine in use. There are the following factors that can cause trouble:
1. your AHA 1542B does not use the 0x300 IO address, or you have a sound card that uses the 0x300 address.
2. the used interrupt 11 conflicts with other devices.
3. the occupied shared memory address space conflicts or does not have the shadow and cache of your BIOS. Most of this will conflict with the SMC/WD Nic.
4. DMA conflicts, most of which may conflict with the SB sound card.
If you can confirm that the BIOS settings are correct and there is no conflict, check the ISA bus speed you set.
AHA-1542B is a very old scsicard, for 386, 486 is very easy to use, but your CPU so fast, if the ISA bus speed exceeds 7.16MHz there will be a lot of cards do not work. I have seen cards with speed problems, including AHA1542 (B, C, CF, CP), and PnP sound card based on ESS-1868.
The rom of the card above the AHA-1542C carries a setup and check program, B card does not seem to have, but you 'd better find the original with disk (like what EZSCSI ), use its own diagnostic program to run on your machine to see if it passes. Our AHA1542C and above cards won't pass self-check on the Kubernetes machine until they are configured with parameters carefully. when DMA is transferred to an address, it will die. When he does not die, he will be angry with you, and the machine will be like a tortoise.
Alas, it is better to replace an NCR53C8xx PCI bus scsicard, which is cheap and easy to use.
By the way, remember, and, if none of the above problems exist, there is another special problem that only RH has. That is, if you have a scsicard and no SCSI disk, the installer will mistakenly think that it cannot find the card. In fact, the card is discovered, but there is no disk, and there is more than the particularity of RH, I don't know what to do if I have a card or no disk. Do I need to use initrd? This is not a problem with Linux, but with RH. Solutions:
1. lazy methods:
When installing a SCSI disk, the installer recognizes your card, but you do not need this disk when partitioning and specifying the file system. After installation, you can simply remove the disk and use your CDR.
2. hard work or there is no SCSI disk available:
Try modprobe aha1542. if it succeeds, add the following to the header of the/etc/conf. modules file:
Alias scsi_hostadapter aha1542. at this time, kerneld should automatically load this module when the same requirement is required.
> Your BIOS settings are correct. your sound card is Creative SB AWE64Gold. DMA1 and 5 are used,
> This scsicard's Addr: 134, IRQ: 11, DMA: 7, and the same peripherals can all be used under WIN98.
> Normal operation (WIN98 in three days to run all the hardware)
> The motherboard I use is made up of microservices. This motherboard manufacturer pays great attention to system compatibility and stability,
> So this 1542B can work under my DOS & 95 & 98.
For 1542x, if W95 can work normally, it cannot be explained that there is no problem. I have encountered self-check but W95/NT can work. The problem with self-check is that the DMA will die when it is transferred to an address. if the double buffer of the driver in W95 does not use this address, it will be okay, however, if the Linux driver uses this address, it will crash. It is recommended that you find the self-check program to confirm, otherwise it will be annoying to have problems in the future.
FAQ: hardware-external storage-hard disk (iMCP)
Q: When installing RH5.0, there is a growable item. AIX also supports growable, but how does it happen?
A: According to "Offical RedHat Installation Manual", the growable option means: if you divide a m partition, and if the remaining disk space is larger than M, the space obtained by this partition may be greater than 100 MB, that is, the remaining space of the hard disk may be allocated to this partition, that is, the space of this partition is "scalable ". For more details, refer to the HTML document in the/doc/Manual directory of the installation disk.
FAQ type: hardware-external storage-hard disk (stupid)
Q: I bought a Seagate ST34342A 4.3G hard drive, but this BIOS has 2.1G restrictions, so I can only use DiscWizard provided by Seagate for installation. for servers with BIOS restrictions, it will add a DDO (Dynamic Drive Overlay) to support large-capacity hard disks. I installed LINUX after WIN95 and wrote LILO in the primary boot area of the first hard disk (original hard disk. But when the machine was started, only LI appeared and LILO died. then I had to CTRL + ALT + DEL. I guess this DDO is written in MBR. if I install LILO on FDISK/MBR, I should be able. But in this way, WIN95 won't be able to access my dashboard. Is there a two-way solution?
A: I want to better solve this problem by partitioning again. I will allocate A 64 m partition to linux at the beginning of the hard disk. in the future, I will use it as the root of linux (64 m is enough), and other partitions will be random.
FAQ: hardware-external storage-hard disk (Jerry Lee)
Q: How much hard disk space does it take to install Linux?
A: It depends on which package distribution (distribution) you want to install Linux and how many applications (in part or all) you want to mount, and whether to install the original code.
If RedHat5.1 is installed, the minimum installation (only the most basic system) requires about 60 M, and the default installation requires about M. if it includes the original code, X-windows, and some common tools, if the application has a certain amount of spool space, it will take about 450 ~ About MB.
I have not installed other packages for distribution, such as Slackware and Debian, but I think they should all be of the same size.
FAQ type: hardware-external storage-hard disk (Jerry Lee)
Q: My QUANTUM hard drive always suffers the following faults. why?
Partition Check:
Hda: status time out
Hda: drive not ready for command unable to read partition table
Kernel Panic: VFS: Unable to mount root fs on
A: One possible reason is that your motherboard supports DMA, but your QT hard drive does not support DMA well. when the lilo prompt appears at the machine startup, type linux hda = noautotune. if it works properly, the downstream append = "hda = noautotune"
Add to your/etc/lilo. in conf, just perform lilo again. some boards need to disable DMA at startup, and use DMA after the system starts up normally. you can use the hdparm command to enable or disable DMA, as shown below:
Hdparm-d1-X34/dev/hda using DMA
Hdparm-d0-X34/dev/hda disabled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.