.. SPDX-License-Identifier: GPL-2.0 .. include:: ../../../disclaimer-vi.rst :Original: Documentation/admin-guide/blockdev/floppy.rst :Translator: Google Translate (machine translation) :Upstream-at: 8541d8f725c6 .. warning:: Tài liệu này được dịch tự động bằng máy và chưa được review bởi người dịch. Nội dung có thể không chính xác hoặc khó hiểu ở một số chỗ. Khi có sự khác biệt với bản gốc, bản gốc luôn là chuẩn. Bản dịch chất lượng cao (được review) được đặt trong thư mục vi_VN/. ======================== Trình điều khiển đĩa mềm ======================== Danh sách FAQ: ============== Danh sách FAQ có thể được tìm thấy trong gói fdutils (xem bên dưới) và cả tại ,fifo_deep Đặt ngưỡng FIFO. Điều này chủ yếu có liên quan trong DMA chế độ. Nếu giá trị này cao hơn, trình điều khiển đĩa mềm sẽ chịu được nhiều độ trễ ngắt, nhưng nó gây ra nhiều ngắt hơn (tức là nó áp đặt nhiều tải hơn cho phần còn lại của hệ thống). Nếu đây là thấp hơn thì độ trễ ngắt cũng sẽ thấp hơn (nhanh hơn bộ xử lý). Lợi ích của ngưỡng thấp hơn là ít hơn ngắt quãng. Để điều chỉnh ngưỡng fifo, hãy bật tin nhắn chạy quá/chạy chậm sử dụng 'floppycontrol --messages'. Sau đó truy cập vào đĩa mềm đĩa. Nếu bạn nhận được số lượng lớn "Over/Underrun - đang thử lại" tin nhắn thì ngưỡng fifo quá thấp. Hãy thử với một giá trị cao hơn, cho đến khi bạn chỉ thỉnh thoảng nhận được Vượt/Thiếu. Bạn nên biên dịch trình điều khiển đĩa mềm thành một mô-đun khi thực hiện điều chỉnh này. Thật vậy, nó cho phép thử các cách khác nhau giá trị fifo mà không cần khởi động lại máy cho mỗi lần kiểm tra. Lưu ý rằng bạn cần thực hiện 'floppycontrol --messages' mỗi khi bạn chèn lại mô-đun. Thông thường, không cần điều chỉnh ngưỡng fifo, vì mặc định (0xa) là hợp lý. đĩa mềm=<ổ>,,cmos Đặt loại CMOS của thành . Điều này là bắt buộc nếu bạn có nhiều hơn hai ổ đĩa mềm (chỉ có thể có hai ổ đĩa được mô tả trong CMOS vật lý) hoặc nếu BIOS của bạn sử dụng các loại CMOS không chuẩn. Các loại CMOS là: ======================================= 0 Sử dụng giá trị của CMOS vật lý 1 5 1/4 đ 2 5 1/4 HD 3 3 1/2 đ 4 3 1/2HD 5 3 1/2 ED 6 3 1/2 ED 16 không rõ hoặc chưa được cài đặt ======================================= (Note: there are two valid types for ED drives. This is because 5 was initially chosen to represent floppy *tapes*, and 6 for ED drives. AMI ignored this, and used 5 for ED drives. That's why the floppy driver handles both.) floppy=unexpected_interrupts Print a warning message when an unexpected interrupt is received. (default) floppy=no_unexpected_interrupts / floppy=L40SX Don't print a message when an unexpected interrupt is received. This is needed on IBM L40SX laptops in certain video modes. (There seems to be an interaction between video and floppy. The unexpected interrupts affect only performance, and can be safely ignored.) floppy=broken_dcl Don't use the disk change line, but assume that the disk was changed whenever the device node is reopened. Needed on some boxes where the disk change line is broken or unsupported. This should be regarded as a stopgap measure, indeed it makes floppy operation less efficient due to unneeded cache flushings, and slightly more unreliable. Please verify your cable, connection and jumper settings if you have any DCL problems. However, some older drives, and also some laptops are known not to have a DCL. floppy=debug Print debugging messages. floppy=messages Print informational messages for some operations (disk change notifications, warnings about over and underruns, and about autodetection). floppy=silent_dcl_clear Uses a less noisy way to clear the disk change line (which doesn't involve seeks). Implied by 'daring' option. floppy=,irq Sets the floppy IRQ to instead of 6. floppy=,dma Sets the floppy DMA channel to instead of 2. floppy=slow Use PS/2 stepping rate:: PS/2 floppies have much slower step rates than regular floppies. It's been recommended that take about 1/4 of the default speed in some more extreme cases. Supporting utilities and additional documentation: ================================================== Additional parameters of the floppy driver can be configured at runtime. Utilities which do this can be found in the fdutils package. This package also contains a new version of mtools which allows to access high capacity disks (up to 1992K on a high density 3 1/2 disk!). It also contains additional documentation about the floppy driver. The latest version can be found at fdutils homepage: https://fdutils.linux.lu The fdutils releases can be found at: https://fdutils.linux.lu/download.html http://www.tux.org/pub/knaff/fdutils/ ftp://metalab.unc.edu/pub/Linux/utils/disk-management/ Reporting problems about the floppy driver ========================================== If you have a question or a bug report about the floppy driver, mail me at Alain.Knaff@poboxes.com . If you post to Usenet, preferably use comp.os.linux.hardware. As the volume in these groups is rather high, be sure to include the word "floppy" (or "FLOPPY") in the subject line. If the reported problem happens when mounting floppy disks, be sure to mention also the type of the filesystem in the subject line. Be sure to read the FAQ before mailing/posting any bug reports! Alain Changelog ========= 10-30-2004 : Cleanup, updating, add reference to module configuration. James Nelson 6-3-2000 : Original Document