[svlug] USB flashdrive problems
Larry Colen
lrc at red4est.com
Thu Sep 20 16:50:51 PDT 2007
On Thu, Sep 20, 2007 at 04:43:03PM -0700, Jeff Frost wrote:
# On Thu, 20 Sep 2007, Larry Colen wrote:
#
# >On Thu, Sep 20, 2007 at 04:36:55PM -0700, Jeff Frost wrote:
# ># On Thu, 20 Sep 2007, Larry Colen wrote:
# >#
# ># >We have what is effectively an embedded system. We are doing a
# ># >monolithic (no modules) 2.6.9 kernel. If need be, we could go to
# ># >modules, but for the time being we're stuck with 2.6.9. We need to
# ># >mount a USB flash drive as storage.
# >
# >--snippage--
# >
# >#
# ># What does /proc/scsi/scsi contain?
# >
# >It's pretty much empty
# >
# >bash-3.00# cat /proc/scsi/scsi
# >Attached devices:
#
# And how about:
#
# dmesg | grep sd
bash-3.00# dmesg | grep sd
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
# Does that show any sd devices? I'm guessing you aren't getting the device
# to show up as a scsi device.
That seems to be the problem.
If I grep for scsi:
bash-3.00# dmesg | grep -i scsi
SCSI subsystem initialized
usb-storage: Protocol: Transparent SCSI
scsi0 : SCSI emulation for USB Mass Storage devices
On Thu, Sep 20, 2007 at 07:41:54PM -0400, Andrew Wilcox wrote:
# What is the output of "ls /dev | grep ^sd" ?
bash-3.00# ls -l /dev | grep sd
brw-rw-rw- 1 root root 8, 0 Sep 19 20:29 sda
brw-rw-rw- 1 root root 8, 1 Sep 19 20:29 sda1
brw-rw-rw- 1 root root 8, 16 Sep 19 20:29 sdb
brw-rw-rw- 1 root root 8, 17 Sep 19 20:29 sdb1
#
# And you mention that it works on a Live CD. Does it have a different
# kernel than the one you are using? Can you possibly install its
# kernel?
Nope. We've modified the kernel for this system. We're planning an
update in the future, but need this feature now.
--
Boole is well known. True or False?
Larry Colen lrc at red4est.com http://www.red4est.com/lrc
More information about the svlug
mailing list