Re: Problems supporting multiple LUNs on mass storage device

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Peter Wieland [MSFT] (peterwie_at_online.microsoft.com)
Date: 03/31/04


Date: Wed, 31 Mar 2004 08:34:19 -0800

Oleg,

Are you writing a miniport driver? Or are you writing a component that
replaces the combination of scsiport/miniport?

Could you explain better what you mean by "class request 0xfe"? This isn't
a SCSI-2 opcode so i'm not sure what command you're actually talking about.

Given that you're returning a serial number "string in the device
descriptor" i'm guessing that you're trying to write a port driver. If
that's the case, you need to expose each LUN as a separate device object.
If not you'll need to explain a little more what you're doing now so we can
determine if it should be working or if you should be doing something
different.

-p

"OlegM" <dworkin_om@hotmail.com> wrote in message
news:f094123a.0403310527.16bbbb8f@posting.google.com...
> Hi all !
>
> I am writing a driver for a mass storage device and I encounter a
> problem with supporting more than one LUN . I answer to the class
> request 0xFE with one byte answer of 1 ( to support two LUNs ) and I
> send a seemingly valid SN string in the device descriptor . Still the
> Windows ( both XP and 2K SP4 ) enumerates only LUN0 .
>
> Can someone , please , guide me where to look for the problem ?
>
> 10x a lot
> Oleg



Relevant Pages

  • [PATCH] Fix misspellings collected by members of KJ list.
    ... - * writting a Wavelan ISA driver for the MACH microkernel. ... there are two posibilities reading or writing. ... - * on non x86 architectures, so if you are writting portable code, ...
    (Linux-Kernel)
  • Re: X-CD Roast question again please
    ... Using generic SCSI-3/mmc CD-R driver. ... Disk sub type: Medium Type A, ... ATIP start of lead in: -11318 ... writing 152 KB of pad data. ...
    (RedHat)
  • Re: number of /dev/usb nodes
    ... Hash: SHA1 ... I'm writing ... as a driver you get informed for each new device. ... I never said I was writing a FreeBSD driver... ...
    (freebsd-hackers)
  • How to create base driver setup application as Intels SetupBD.exe
    ... i am writing a setup application based on devcon sample for my ... code similar to cmdInstall, cmdUpdate of devcon. ... If you install the driver using Found new hardware wizard everything ... I have gone through Microsoft "Writing a Device Installation ...
    (microsoft.public.development.device.drivers)
  • Re: Reverse-engineering USB protocol
    ... if you end up writing your own driver, i would also suggest that you use winusb and have your app implement the protocol and let winusb shuttle the bits for you. ... [Usb Sniffer for Windows] ... The last one once saved me from writing some Kernel ... Code for a Device i had no real driver for it,... ...
    (microsoft.public.win32.programmer.kernel)