May 22, 2003

RedHat Linux 9 And HUGE USB 2.0 Hard Drives (and tutorial) Part 1

Hey! Enki has moved his blog to Armyofevilrobots.com. Check it out after you are done here. This page is going nowhere though...

Once upon a time a boy had a tape backup, and it was good.

Then the backup failed, and it was bad. This cycle repeated itself many times, and this was also bad.

Then the boy bought a 200gig USB2.0 Hard Drive, and this was good, after it was bad for a while.
This is the story of his quest...

First of all, only recent versions of the Linux kernel (2.4.19 and newer if I remember correctly) will even support fast transfer rates over USB2.0 for hard drives. If you have an earlier kernel, forget it.

Also forget it if you want to run RedHat 9 with SMB mounts in any reliable fashion. There are also some miscellaneous GLIBC related gotchas in this release. (side note: I think that RedHat 9 is probably the most unreliable release since 7.0, although that is just my opinion).

The first thing you need to do is make sure you are running the newest of the new kernels. Check for 2.4.20-8. FreshRPMs is my favourite place to get the newest stuff. Installing apt-rpm for RedHat is a good idea too.
Once this is done, edit your /etc/modules.conf file and change the line
-> alias usb-controller [something]
to read
-> alias usb-controller ehci-hcd

Now, download usbtree and put it in /sbin or something. Reboot, and run usbtree with your snazzy USB2.0 hard drive attached. You should see something like this:


    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-hcd/5p, 480M
    |__ Port 4: Dev 4, If 0, Class=stor., Driver=usb-storage, 480M

Congrats. You have a high speed USB drive. If everything is working properly, you should now be able to mount and/or fdisk it just as though it was your next available SCSI device (ie:/dev/sdb (like on my NAS server):


    Disk /dev/sdb: 240.0 GB, 240066101248 bytes
    255 heads, 63 sectors/track, 29186 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 29186 234436513+ 83 Linux

More information in Part 2

References: this site was exceedingly helpful to me.

Posted by Enki at May 22, 2003 07:10 PM | TrackBack
Comments

Nice site yo got here! I really like it!

Posted by: penis extender at October 13, 2004 05:57 AM

Forgive him, for he believes that the customs of his tribe are the laws
of nature!
-- G.B. Shaw
buy cialis cheap cialisKarl's version of Parkinson's Law: Work expands to exceed the time alloted it.
cialis cialis onlineForgive him, for he believes that the customs of his tribe are the laws
of nature!
-- G.B. Shaw

Posted by: cialis at October 17, 2004 06:34 PM

The real question is not whether machines think but whether men do.

Posted by: fleshlight at October 20, 2004 08:14 AM

By recognizing a favorable opinion of yourself, and taking pleasure in it, you in a measure give yourself and your peace of mind into the keeping of another, of whose attitude you can never be certain.

Posted by: vimax at October 22, 2004 01:16 PM

Universal doubt cancels itself.

Posted by: penis pills at October 23, 2004 04:34 AM

The fundamental sense of freedom is freedom from chains, from imprisonment, from enslavement by others. The rest is extension of this sense, or else metaphor.

Posted by: penis enlargement pills at October 26, 2004 06:43 AM

Happy to read this, that's great guys!

Posted by: gazduire at October 26, 2004 02:50 PM

Money does not pay for anything, never has, never will. It is an economic axiom as old as the hills that goods and services can be paid for only with goods and services.

Posted by: vimax at November 4, 2004 01:01 PM

Thank you for the coments on your website. Can you recomend a good location for me to find cheap medicines? My mama is not well right now. Can you advice? Thank you.

Pablo Villarino

Posted by: Diflucan at November 5, 2004 06:04 AM

Hi - I was looking for some information on weight loss. Do you know a good site to visit?

Thanks for your help
Martin Brown

Posted by: powerful zone diet at November 5, 2004 02:00 PM

xenical
xenical

Posted by: xenical at November 6, 2004 08:21 PM

levitra
cialis
levitra
xenical

Posted by: levitra at November 8, 2004 11:14 PM

Money does not pay for anything, never has, never will. It is an economic axiom as old as the hills that goods and services can be paid for only with goods and services.

Posted by: vimax at November 12, 2004 04:02 AM

A Galileo could no more be elected president of the United States than
he could be elected Pope of Rome. Both high posts are reserved for men
favored by God with an extraordinary genius for swathing the bitter
facts of life in bandages of self-illusion.
-- H. L. Mencken
Home Equity Loan Rate http://www.home-equity-loan-x.com

Posted by: Home Equity Loan Rate at November 16, 2004 11:59 AM
Post a comment









Remember personal info?