My RedHat9.0 USB mounting Summary

Source: Internet
Author: User
My RedHat9.0 Mount USB summary, try according to the first three articles received below: 1. In the/usr/src/linux-2.4.20-8/drivers/usb/storage directory, open the file unusual_devs.h, find the following section: UNUSUAL_DEV (0x05e3, 0x0702,0 x random, 0x0001, "EagleTec", "ExternalHardDis

My RedHat 9.0 USB mounting summary, try the following according to the first three documents received:

1. open the file in the/usr/src/linux-2.4.20-8/drivers/usb/storage directory

Unusual_devs.h, find the following section:

UNUSUAL_DEV (0x05e3, 0x0702, 0x0000, 0x0001,

"EagleTec ",

"External Hard Disk ",

US_ SC _SCSI, US_PR_BULK, NULL,

US_FL_FIX_INQUIRY ),

In the following format:

UNUSUAL_DEV (0x05e3, 0x0702, 0x0000, 0x9999,

"Genesys ",

"Usb disk ",

US_ SC _SCSI, US_PR_BULK, NULL,

US_FL_FIX_INQUIRY | US_FL_MODE_XLATE | US_FL_START_STOP ),

2. Then re-compile the kernel module:

Then re-compile the kernel module:

Cp/boot/config-2.4.20-8/usr/src/linux-2.4/. config (Note: My/usr/src has a linux-2.4 and a linux-2.4.20-8. I paste all the config-2.4.20-8 to these two directories (Save the. config in this directory before posting so that the recovery may not be good ))

Make oldconfig (no error)

Make dep (no error)

Make modules (this step is not correct anyway)

3. Copy the compiled modules to the system:

Cp/usr/src/linux-2.4/drivers/usb/storage/usb-storage.o/lib/modules/2.4.18-14/kernel/drivers/usb/storage/

(It is to look at other people's methods, but my/usr/... there is no usb-storage.o under, but/lib/... there is a usb-storage.o under

4. Lsmod

There is usb-storage, but there is no Used by. The value is 0 (check other posts. If the third step is done, the usb-storage status should be unused)

5. modprobe-r usb-storage

Modprobe usb-storage

The usb-storage status should be unused

Related Article

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.