View previous topic :: View next topic |
Author |
Message |
pschram n00b
Joined: 04 Jan 2003 Posts: 44
|
Posted: Sat Jan 04, 2003 9:17 pm Post subject: usb handydrive mount problems |
|
|
I have a handydrive 64Mb, which I like to get mounted. I emerged hotplug and have
CONFIG_USB=y
CONFIG_USB_STORAGE=m
in the kernel (vanilla-sources 2.4.20). When I hotplug the device the log says:
kernel: hub.c: new USB device 00:07.2-1, assigned address 2
kernel: usb.c: USB device 2 (vend/prod 0xd7d/0x100) is not claimed by any active driver.
/etc/hotplug/usb.agent: Setup usb-storage for USB product d7d/100/100
kernel: Initializing USB Mass Storage driver...
kernel: usb.c: registered new driver usb-storage
kernel: scsi0 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: Apacer Model: HandyDrive Rev: 1.06
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: USB Mass Storage support registered.
This makes me believe I have also enabled usb-scsi emulation in the kernel, although I can't find the option in make menuconfig.
Everything looks okay, but I can't find the drive in devfs. It's not in /dev/discs/discX, nor in /dev/sda (this used to be the place I could find it in Redhat).
Any suggestions to what I'm missing here? |
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Sat Jan 04, 2003 9:25 pm Post subject: |
|
|
try looking at:
/dev/scsi/host0/bus0/target0/lun0/disc
there should be a symlink for /dev/sda to that
sda1 is /dev/scsi/host0/bus0/target0/lun0/part1
etc. _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
pschram n00b
Joined: 04 Jan 2003 Posts: 44
|
Posted: Sat Jan 04, 2003 10:34 pm Post subject: |
|
|
Quote: |
try looking at:
/dev/scsi/host0/bus0/target0/lun0/disc
|
This does not exist. I got /dev/scsi/host0/bus0/target0/lun0
but this dir is empty. I have no part1, so this means also no sda1. Do I need to enter something in /etc/devfsd.conf? |
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Sat Jan 04, 2003 10:38 pm Post subject: |
|
|
is it a new disk with no drive layout or filesystems? if so, you wont have a "part1"
sounds like its finding it ok though _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
pschram n00b
Joined: 04 Jan 2003 Posts: 44
|
Posted: Sat Jan 04, 2003 10:50 pm Post subject: |
|
|
Quote: | is it a new disk with no drive layout or filesystems? if so, you wont have a "part1"
|
No it's not. It has a fat32 filesystem on it so I can trade stuff with my laptop (Win2000). I have mounted it succesfully in the past on Redhat 8 and haven't changed a thing about the filesystem since then.
I also noticed that if I look with the dmesg command I also get a:
WARNING: USB Mass Storage data integrity not assured
Could this be a hint to what's wrong? |
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Sat Jan 04, 2003 11:00 pm Post subject: |
|
|
pschram wrote: | Quote: | is it a new disk with no drive layout or filesystems? if so, you wont have a "part1"
|
No it's not. It has a fat32 filesystem on it so I can trade stuff with my laptop (Win2000). I have mounted it succesfully in the past on Redhat 8 and haven't changed a thing about the filesystem since then.
I also noticed that if I look with the dmesg command I also get a:
WARNING: USB Mass Storage data integrity not assured
Could this be a hint to what's wrong? |
I don't think so, I think its more of a "hey, this might mess up your data!" kind of warning.
I dug throught the forums for something similar to this.. it makes sense that it might be devfs related wackyness...
https://forums.gentoo.org/viewtopic.php?t=9147&highlight=usb+filesystem
the last reply to that thread might contain what you're looking for _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Sun Jan 05, 2003 3:55 am Post subject: |
|
|
I stumbled across some other info.. not where I expected it, but thought of this issue..
https://forums.gentoo.org/viewtopic.php?t=27468
I figure its all in the "figure it out before I buy it" category.. im very interested in diskonchip technology _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
pschram n00b
Joined: 04 Jan 2003 Posts: 44
|
Posted: Sun Jan 05, 2003 11:36 am Post subject: |
|
|
I've seen this post too. However, in /dev/disks/diskx there is no sign of my usb-disk. I'm getting pretty desparate now. I think I'll try to put a ext2 filesystem on it and see if it gets detected then. |
|
Back to top |
|
|
pschram n00b
Joined: 04 Jan 2003 Posts: 44
|
Posted: Wed Jan 08, 2003 9:05 pm Post subject: |
|
|
Found it.
Module scsi_mod and scsi_sd wouldn't get loaded, because of unresolved symbols messages. I read somewhere on the internet that a make mrproper (back up your .config first) would do the trick. A recompile later I can see my disk on /dev/sda1 as well as /dev/scsi/...../lun0/part1 |
|
Back to top |
|
|
h.u.n.t.e.r n00b
Joined: 04 Jun 2003 Posts: 63 Location: Belgium
|
Posted: Wed Jul 09, 2003 10:57 am Post subject: |
|
|
Hey, I also had problems with my apacer handydrive. I can confirm this. You need to enable scsi disc support and mass storage .. options into the kernel to have /dev/sda** devices too.
After that make the /mnt/handydrive folder and add this to /etc/fstab to be able to mount /mnt/handydrive:
Code: | /dev/sda1 /mnt/handydrive auto noauto,user,exec 0 0 |
I needed to autoload two extra modules I had forgotten: usb-storage and
sd_mod . |
|
Back to top |
|
|
|