You should "mount /dev/sdd1 /mnt".

On Tue, 5 Aug 2003, Carl Miller wrote:

>
> Getting closer.
>
> OK, I compiled a new 2.4.21 that had the core IDE stuff built-in rather
> than modularized.  Now the usb-storage kernel module loads.  Installed
> hotplug.  /proc/bus/usb/devices now exists.  Here it is:
>
> T:  Bus=02 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.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB OHCI Root Hub
> S:  SerialNumber=f8983000
> 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=   2 Ivl=255ms
> T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=11b0 ProdID=6787 Rev= 0.05
> S:  Manufacturer=Atech Flash.
> S:  Product=PRO-IX
> S:  SerialNumber=915877054547
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB OHCI Root Hub
> S:  SerialNumber=f8981000
> 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=   2 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
> P:  Vendor=07cc ProdID=0004 Rev= 0.01
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> I:  If#= 0 Alt= 1 #EPs=13 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=10ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=88(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=08(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=89(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=09(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=8a(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=0a(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> I:  If#= 0 Alt= 2 #EPs=13 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=10ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=88(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
> E:  Ad=08(O) Atr=01(Isoc) MxPS= 256 Ivl=1ms
> E:  Ad=89(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=09(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=8a(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> E:  Ad=0a(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
>
> The Viking unit is still not recognized.  The usb-storage driver claims
> the Pro-9, and it shows up as four SCSI disks.  I can almost read a CF
> card through it.  To wit:
>
> devastator# fdisk /dev/sdd
>
> Command (m for help): p
>
> Disk /dev/sdd: 32 MB, 32899072 bytes
> 4 heads, 32 sectors/track, 502 cylinders
> Units = cylinders of 128 * 512 = 65536 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/sdd1   *         1       501     32063+   4  FAT16 <32M
>
> Command (m for help): q
>
> devastator# mount -t msdos /dev/sdd /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/sdd,
>        or too many mounted file systems
>
> And as I try the mount, in the syslog I see:
>
> FAT: bogus logical sector size 7950
> VFS: Can't find a valid FAT filesystem on dev 08:30.
>
>
> Any further thoughts now that I've at least got something going?
> Thanks again...
>
>
>                          -----Carl
> On Mon, Aug 04, 2003 at 10:49:22PM -0700, Stephen J. Gowdy wrote:
> > That's a strange error, I've never seen that one. Do you have an upto date
> > modutils installed? Sometimes (but I didn't think so for 2.4.21) you need
> > make sure you have the latest and greatest of modutils when you upgrade
> > your kernel. Check out the FAQ at http://www.linux-usb.org/ for a pointer
> > to hotplug. If you use RH it should come with it. I'm running the RH
> > kernel 2.4.20-19.7 so I've not actually tried 2.4.21. I was recently very
> > pleasantly surprised about how well the usb-storage module is doing. I was
> > at a meeting where we had no network connect but people had brought their
> > talks on USB dongly type devices. 4 our of 4 random devices worked fine.
> >
> > On Mon, 4 Aug 2003, Carl Miller wrote:
> >
> > > > > > > Please cc replies to me, and thanks much for any insights...
> > > > > >
> > > > > > The contents of /proc/bus/usb/devices would be more useful.
> > > > >
> > > > > I'd love to include it, but it doesn't seem to exist....
> > > > >
> > > > > devastator> cat /proc/bus/usb/devices
> > > > > cat: /proc/bus/usb/devices: No such file or directory
> > > > > devastator> ls -la /proc/bus/usb
> > > > > total 0
> > > > > dr-xr-xr-x    2 root     root            0 Aug  4 20:47 .
> > > > > dr-xr-xr-x    4 root     root            0 Aug  4 20:47 ..
> > > > >
> > > > > Is the very fact that /proc/bus/usb is empty troubling or telling?
> > > >
> > > > Do you have hotplug installed?
> > >
> > > Erm, hotplug?  OK, so much for being a relatively with-it Linux guy...
> > > I've got kmod turned on to automatically load kernel modules.  Is there
> > > something else I should have turned on?
> > >
> > > Hmmmm, I never saw any error messages about this in any logs, but now
> > > that I try it manually, it seems there's a problem loading usb-storage.o:
> > >
> > > devastator# modprobe usb-storage
> > > modprobe: Too deep recursion in module dependencies!
> > > modprobe: Circular dependency? ide-iops ide-lib ide usbcore usb-storage
> > > Aborted
> > > devastator# modprobe ide-lib
> > > Warning: loading /lib/modules/2.4.21-1/kernel/drivers/ide/ide-lib.o will taint 
> > > the kernel: no license
> > >   See http://www.tux.org/lkml/#export-tainted for information about tainted 
> > > modules
> > > Module ide-lib loaded, with warnings
> > > devastator# modprobe ide
> > > modprobe: Too deep recursion in module dependencies!
> > > modprobe: Circular dependency? ide-iops ide-lib ide
> > > Aborted
> > > devastator# modprobe ide-iops
> > > modprobe: Too deep recursion in module dependencies!
> > > modprobe: Circular dependency? ide ide-lib ide-iops
> > > Aborted
> > >
> > > Well that's rather annoying.  Maybe both of these readers will be recognized
> > > after I figure out what's going on with these crazy ide modules.  And for
> > > that matter, why ide-lib doesn't appear to have an open-source license in
> > > it.  This should be a completely stock kernel, plus the CryptoAPI and
> > > OpenWall patches.  I'm pretty sure there's been no other tweakage to it.
> > > Certainly nothing in the area of either USB or IDE.
> > >
> > > Ever seen anything like this before?  Thanks again....
> > >
> > >
> > >                          -----Carl
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > > Data Reports, E-commerce, Portals, and Forums are available now.
> > > Download today and enter to win an XBOX or Visual Studio .NET.
> > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > > _______________________________________________
> > > [EMAIL PROTECTED]
> > > To unsubscribe, use the last form field at:
> > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> > >
> >
> > --
> >  /------------------------------------+-------------------------\
> > |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> > |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> > |EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
> >  \------------------------------------+-------------------------/
>

--
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to