Re: How to access external USB hard drive?
On Tue, 28 Dec 2004 08:34:36 -0600, Matt Zagrabelny <[EMAIL PROTECTED]> wrote: > > > Do I need hotplug installed for the kernel to see the drive? It's > > currently not installed. > > no, you shouldnt (although it is a good package), instead try a > different kernel. (either compile your own from kernel.org or > up/downgrade to either 2.6.7 or 2.6.9) > > -matt zagrabelny I'm not sure what was said above on this thread, as the archives for this are a mess, but I'm guessing you won't need to compile a whole new kernel. If you are using a stock kernel from debian, you can get the source and just compile USB Support (if you do not have it) and the usb-storage.ko (or .o if your on 2.4) module is all you should need to support most usb storage drives on the market. Hope you don't have to compile a new kernel, Jonathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
> Do I need hotplug installed for the kernel to see the drive? It's > currently not installed. no, you shouldnt (although it is a good package), instead try a different kernel. (either compile your own from kernel.org or up/downgrade to either 2.6.7 or 2.6.9) -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
Matt Perry wrote (25-12-2004 08:46): On Sat, 25 Dec 2004, Ron Johnson wrote: Is usbfs in your /etc/fstab? $ cat /etc/mtab | grep usbfs usbfs /proc/bus/usb usbfs rw 0 0 I just found an old firewire card that I had laying around and tried that. The enclosure has firewire so I figured it'd be worth a shot. It worked find with the ohci1394 and sbp2 drivers. I think I'll just stick with this. USB seems to have some problems on this motherboard. I have an Asus M2N laptop and a separate IDE disk enclosure, with the same behaviour. I can access the disk through firewire, but the USB2 interface on the inclosure gives no response whatsoever. -- René Seindal ([EMAIL PROTECTED]) Seindal Consult
Re: How to access external USB hard drive?
On Sat, 25 Dec 2004, Ron Johnson wrote: > Is usbfs in your /etc/fstab? > > $ cat /etc/mtab | grep usbfs > usbfs /proc/bus/usb usbfs rw 0 0 I just found an old firewire card that I had laying around and tried that. The enclosure has firewire so I figured it'd be worth a shot. It worked find with the ohci1394 and sbp2 drivers. I think I'll just stick with this. USB seems to have some problems on this motherboard. Thank you everyone for your help. -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Sat, 25 Dec 2004, Ron Johnson wrote: > > /proc/bus/usb is an empty directory. > > Is usbfs in your /etc/fstab? > > $ cat /etc/mtab | grep usbfs > usbfs /proc/bus/usb usbfs rw 0 0 It's not in /etc/fstab but it is mouted: $ mount /dev/hda1 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/md0 on /mnt/array type ext3 (rw) usbfs on /proc/bus/usb type usbfs (rw) -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 2004-12-24 at 22:07 -0800, Matt Perry wrote: > On Fri, 24 Dec 2004, Eric Gaumer wrote: > > > ]$ cat /proc/bus/usb/devices > > > > should show what's on the usb bus and what drivers are attached to each > > > > device. Post that info and it may help turn up a solution. > > /proc/bus/usb is an empty directory. Is usbfs in your /etc/fstab? $ cat /etc/mtab | grep usbfs usbfs /proc/bus/usb usbfs rw 0 0 -- - Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. "Pacifism can act more effectively against democracy than for it." George Orwell, 1941 signature.asc Description: This is a digitally signed message part
Re: How to access external USB hard drive?
On Fri, 24 Dec 2004, Eric Gaumer wrote: > ]$ cat /proc/bus/usb/devices > > should show what's on the usb bus and what drivers are attached to each > device. Post that info and it may help turn up a solution. /proc/bus/usb is an empty directory. On Fri, 24 Dec 2004, H. S. wrote: > What does /var/log/syslog report when you plug in the USB hard disk > (right after when you plug in the USB disk). It doesn't report anything new. > If there is nothing, then you may need to load prpoper USB modules. Any suggestions on what to load? I have usbcore, usbkbd, usb-storage, scsi_mod, and sd_mod loaded. I've included output from lsmod at the end of this message. > If I were you, I would prefer writing a udev rule (I can help with that > if you wish) and make a mount point something like /media/usb-hd so that > whenever I plug in the hd it gets automatically mounted at /media/usb-hd. What is udev? A link to docs would be fine. I'd welcome any help getting this working. :-) On Fri, 24 Dec 2004, Ron Johnson wrote: > Maybe ehci_hcd isn't loaded? It wasn't loaded. I added it but nothing has changed. > What chipset are you using? Intel 815EP chipset, I believe. I have an ASUS CUSL2-C motherboard but I'm having problems finding the specs on the Asus web site. How can I find this info in /proc? In 2.4 there was /proc/pci but that is missing in 2.6. I found /proc/bus/pci but it has different information. -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 2004-12-24 at 19:12 -0800, Matt Perry wrote: > On Fri, 24 Dec 2004, Darryl Clarke wrote: > > > Maybe? I can not confirm that. All I know is that it manages my usb > > devices and it works for my 4 USB2 HDs. At least it's easy to remove > > if it doesn't work ;) > > > > I can say that they use SCSI emulation, so maybe some scsi modules are > > missing. > > I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded > > Hmm. Still not working. I've never used the USB ports on this > motherboard before so I'm suspecting that I have a hardware problem. > Oh well. Thanks for your help. Looks like I might be upgrading > soon. :-) Maybe ehci_hcd isn't loaded? What chipset are you using? -- - Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. "Python is executable pseudocode; Perl is executable line noise" signature.asc Description: This is a digitally signed message part
Re: How to access external USB hard drive?
Apparently, _Matt Perry_, on 24/12/04 22:12,typed: On Fri, 24 Dec 2004, Darryl Clarke wrote: Maybe? I can not confirm that. All I know is that it manages my usb devices and it works for my 4 USB2 HDs. At least it's easy to remove if it doesn't work ;) I can say that they use SCSI emulation, so maybe some scsi modules are missing. I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded Hmm. Still not working. I've never used the USB ports on this motherboard before so I'm suspecting that I have a hardware problem. Oh well. Thanks for your help. Looks like I might be upgrading soon. :-) What does /var/log/syslog report when you plug in the USB hard disk (right after when you plug in the USB disk). If there is nothing, then you may need to load prpoper USB modules. If I were you, I would prefer writing a udev rule (I can help with that if you wish) and make a mount point something like /media/usb-hd so that whenever I plug in the hd it gets automatically mounted at /media/usb-hd. ->HS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 2004-12-24 at 19:12 -0800, Matt Perry wrote: > On Fri, 24 Dec 2004, Darryl Clarke wrote: > > > Maybe? I can not confirm that. All I know is that it manages my usb > > devices and it works for my 4 USB2 HDs. At least it's easy to remove > > if it doesn't work ;) > > > > I can say that they use SCSI emulation, so maybe some scsi modules are > > missing. > > I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded > > Hmm. Still not working. I've never used the USB ports on this > motherboard before so I'm suspecting that I have a hardware problem. > Oh well. Thanks for your help. Looks like I might be upgrading > soon. :-) > ]$ cat /proc/bus/usb/devices should show what's on the usb bus and what drivers are attached to each device. Post that info and it may help turn up a solution. -- Eric Gaumer <[EMAIL PROTECTED]> signature.asc Description: This is a digitally signed message part
Re: How to access external USB hard drive?
I am doing the old way. Edit /etc/fstab, add an entry of the device. After plug in the usb hd, there won't be automount. I have to do it in command line or click the icon in the gnome/my computer. -Xinjiang Matt Perry wrote: On Fri, 24 Dec 2004, Darryl Clarke wrote: Maybe? I can not confirm that. All I know is that it manages my usb devices and it works for my 4 USB2 HDs. At least it's easy to remove if it doesn't work ;) I can say that they use SCSI emulation, so maybe some scsi modules are missing. I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded Hmm. Still not working. I've never used the USB ports on this motherboard before so I'm suspecting that I have a hardware problem. Oh well. Thanks for your help. Looks like I might be upgrading soon. :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 24 Dec 2004, Darryl Clarke wrote: > Maybe? I can not confirm that. All I know is that it manages my usb > devices and it works for my 4 USB2 HDs. At least it's easy to remove > if it doesn't work ;) > > I can say that they use SCSI emulation, so maybe some scsi modules are > missing. > I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded Hmm. Still not working. I've never used the USB ports on this motherboard before so I'm suspecting that I have a hardware problem. Oh well. Thanks for your help. Looks like I might be upgrading soon. :-) -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 24 Dec 2004 18:45:41 -0800 (PST), Matt Perry <[EMAIL PROTECTED]> wrote: > On Fri, 24 Dec 2004, Darryl Clarke wrote: > [snip] > Do I need hotplug installed for the kernel to see the drive? It's > currently not installed. Maybe? I can not confirm that. All I know is that it manages my usb devices and it works for my 4 USB2 HDs. At least it's easy to remove if it doesn't work ;) I can say that they use SCSI emulation, so maybe some scsi modules are missing. I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded -- Darryl [EMAIL PROTECTED] http://smartssa.com / http://darrylclarke.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 24 Dec 2004, Darryl Clarke wrote: > If you check 'dmesg' output right after you plug it in you should see > something similar to this: [snip] I tried that and there was no new output in dmesg. At the time the usb drivers that are loaded are usbkbd and usbcore. After plugging it in and not seeing anything from dmesg I ran modprobe usb-storage. This was all that was added to dmesg: Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. > It can be very complicated unfortunately. So I would suggest starting > to see if you have hotplug installed... maybe that will lead you. Do I need hotplug installed for the kernel to see the drive? It's currently not installed. -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to access external USB hard drive?
On Fri, 24 Dec 2004 18:19:35 -0800 (PST), Matt Perry <[EMAIL PROTECTED]> wrote: > Hi everyone. I'm running Debian Sarge with kernel 2.6.8-1-686 (from > the deb kernel package). I just bought a USB drive enclosure with a > drive that I wish to mount in Debian. I'm not sure what I need to do > to make this happen. > > I plugged the unit into the USB port but I didn't see anything appear > in the syslog. I also did "modprobe usb-storage" which also appeared > to do nothing. I know the drive and enclosure are good since I was > able to use it on a Windows box. USB is enabled in my BIOS settings. > > Any suggestions on how to get this to work? I'm not sure what I need > to look at next. If you check 'dmesg' output right after you plug it in you should see something similar to this: (this is my compact flash reader, but my harddrives behave the same) usb 2-2: new full speed USB device using address 10 scsi15 : SCSI emulation for USB Mass Storage devices Vendor: Genesys Model: USB to IDE Card Rev: 0113 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdj: 1000945 512-byte hdwr sectors (512 MB) sdj: assuming Write Enabled sdj: assuming drive cache: write through /dev/scsi/host15/bus0/target0/lun0: p1 Attached scsi removable disk sdj at scsi15, channel 0, id 0, lun 0 USB Mass Storage device found at 10 it created a device 'sdj' to represent the card, with a single partition. You need to make sure a handful of modules are installed. modprobe of usb_storage _should_ have loaded the majority of them. In which case you should see a whole bunch of neatstuff in dmesg. You can check and see what modules are loaded by using lsmod or cat /proc/modules I use a stock 2.6.8-1-k7 image and modules. I also have udev and hotplug installed to handle the devices. It can be very complicated unfortunately. So I would suggest starting to see if you have hotplug installed... maybe that will lead you. -- Darryl [EMAIL PROTECTED] http://smartssa.com / http://darrylclarke.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to access external USB hard drive?
Hi everyone. I'm running Debian Sarge with kernel 2.6.8-1-686 (from the deb kernel package). I just bought a USB drive enclosure with a drive that I wish to mount in Debian. I'm not sure what I need to do to make this happen. I plugged the unit into the USB port but I didn't see anything appear in the syslog. I also did "modprobe usb-storage" which also appeared to do nothing. I know the drive and enclosure are good since I was able to use it on a Windows box. USB is enabled in my BIOS settings. Any suggestions on how to get this to work? I'm not sure what I need to look at next. -- Matt Perry | matt at primefactor dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]