Thanks for all the advice in helping me get a Buslink 80GB USB hard
drive working on our Debian 3.0 boxes. Most notably Wayne Spere's
helpful comments and directions. Since it's working I'll post the
important steps (in detail) to help anyone that has a similar problem in
the future.
1) Install the Hotplug scripts, plug in the drive and power it up.
2) cat /proc/bus/usb/devices should display something like the following:
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=067b ProdID=2307 Rev= 2.01
S: Manufacturer=Buslink
S: Product=BUSlink USB-IDE Bridge Controller
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbide
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 7 Ivl= 1ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbide
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
3)Download the usbide module from Enrico Bravin's site:
http://bravin.home.cern.ch/bravin/usbide/usbide.html
4)Follow all the INSTALL instructions with one alteration. Instead of
the following line in the INSTALL file:
[root@localhost linux-2.4]# cp configs/kernel-2.4.7-i686.config .config
cp the kernel-2.4.18-i686.config file from /boot/kernel-2.4.... (I was
ignorant of this fact).
5)Build the module and load it as the INSTALL file instructs.
6)Make the appropriate block-device nodes for this device. Our
distribution didn't have any /dev/pda devices and MAKEDEV didn't know
the pda device. The devices are listed in
/usr/src/linux-2.4/Documentation/devices.txt, but the device major and
minor numbers are listed below.
mknod /dev/pda b 45 0
mknod /dev/pda0 b 45 0 (necessary ???)
mknod /dev/pda1 b 45 1
mkndo /dev/pda2 b 45 2
etc... (if you need it)
7)chown the devices as needed and set the correct permissions (chmod
0664). ls -l /dev/pda* just to check everything.
8)fdisk -l /dev/pda should show the device
Disk /dev/pda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/pda1 1 4864 39070048+ 83 Linux
/dev/pda2 4865 9729 39078112+ 83 Linux
9)Use cfdisk to create the partitions (we made two as you can see above)
and format the partitions using mkfs (this is the step I forgot in my
previous emails)
10)Add line(s) to fstab or mount your device.
Here's the final output from our system after starting to fill the disks
> df -hl
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 16G 15G 1.3G 92% /
/dev/sda1 23M 9.5M 12M 44% /boot
/dev/pda1 37G 8.1G 26G 24% /mnt/BUSB1
/dev/pda2 37G 33M 34G 1% /mnt/BUSB2
I hope this helps anyone else looking for these answers and thanks again
to everyone who helped us.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
