mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: jim beam <jim_jim33@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: USB mass storage device problem
Date: Tue, 11 Nov 2003 18:15:16 -0800	[thread overview]
Message-ID: <20031111181516.D22248@one-eyed-alien.net> (raw)
In-Reply-To: <BAY8-F125ED2QfgNy3T000559e2@hotmail.com>; from jim_jim33@hotmail.com on Wed, Nov 12, 2003 at 02:03:03AM +0000

[-- Attachment #1: Type: text/plain, Size: 2510 bytes --]

You're talking to the first (and wrong) LUN of a multi-LUN device.

You can:
	(1) Use a SCSI module option to set the number of LUNs higher
	(2) Do an echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi

Matt

On Wed, Nov 12, 2003 at 02:03:03AM +0000, jim beam wrote:
> Hello,
> 
> I am attempting to get a CompactFlash reader to work (Soyo SB-K7VXBP).  The 
> device sits in a 3.5" bay and plugs directly into a USB1 connector on my 
> motherboard.  It also provides two USB ports, which work.
> 
> The CompactFlash reader almost works.  At bootup, I get this message:
> 
> hub 3-0:1.0: new USB device on port 1, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: SOYO      Model: USB Storage-SMC   Rev: 0214
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> 
> The device shows up in /sys/block/sda and in 
> /sys/bus/usb/drivers/usb-storage.  Also, /dev/sda is created as a symlink to 
> /dev/scsi/host0/bus0/target0/lun0/disc (I am using devfs).
> 
> However, when try to mount /dev/sda, I get an error saying "No medium 
> found".  I have tried inserting the card after booting and also before 
> booting, with the same result.  I am using the 2.6.0-test9 kernel, but I 
> have had this device since early 2.4 and it has never worked.  It is not 
> damaged hardware because Windows detects it as a drive.
> 
> Trying to run fdisk on /dev/sda gives the message "Unable to open /dev/sda". 
>   Is there something else I need to do, or any more information I can 
> provide to debug this problem?
> 
> Thanks,
> Jim
> 
> _________________________________________________________________
> Is your computer infected with a virus?  Find out with a FREE computer virus 
> scan from McAfee.  Take the FreeScan now! 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

It's monday.  It must be monday.
					-- Greg
User Friendly, 5/4/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

      reply	other threads:[~2003-11-12  2:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12  2:03 jim beam
2003-11-12  2:15 ` Matthew Dharm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031111181516.D22248@one-eyed-alien.net \
    --to=mdharm-kernel@one-eyed-alien.net \
    --cc=jim_jim33@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome