From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in5.apple.com (mail-out5.apple.com [17.151.62.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9551721A02F31 for ; Mon, 22 May 2017 08:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1495468336; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ULhI93acTJYp1uhrczCBbJW7Q9INBgkVpsIaWIprn70=; b=Jjl/3dUHYpNIDOMeb/KUby4bMTV9L3A8lJ7KFrnm7Gk6MTsnDrKFW3wZikGL7OaC xaDX1+lpixTiWzB8mlJD2qbkxQiqhmuvMiaXnsVd36NowIt3Gb5QRhzJfuaVKwTm iqkpTm32sAgC24ewhKyGjciuDIBF4WH3mz/N+brA1XpraWS8j3kGJtvZU3sZUYoQ QEHUNITAPlRprrDOgQNsKCszeVsrofg3lgjOVOHoH0F0v05jtwd5TOMVM1zxcyg/ TAiJUM1fiavzU3UyWyT3gPzeFTcPda/NKFMXYxmmSxdjxIa3kF03JX70iGDLPrZe 1tg87NOMVCBdzOLLbXAwug==; Received: from relay7.apple.com (relay7.apple.com [17.128.113.101]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in5.apple.com (Apple Secure Mail Relay) with SMTP id B8.D4.01595.03903295; Mon, 22 May 2017 08:52:16 -0700 (PDT) X-AuditID: 11973e13-caa429a00000063b-0a-592309306ed0 Received: from nwk-phonehomebzp-sz01 (nwk-phonehomebzp-sz01.apple.com [17.151.62.64]) by relay7.apple.com (Apple SCV relay) with SMTP id 3F.A7.18088.F2903295; Mon, 22 May 2017 08:52:16 -0700 (PDT) MIME-version: 1.0 Received: from [192.168.0.31] (c-67-168-187-39.hsd1.wa.comcast.net [67.168.187.39]) by nwk-phonehomebzp-sz01.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0OQD00L362R37X70@nwk-phonehomebzp-sz01.apple.com>; Mon, 22 May 2017 08:52:15 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish X-Mailer: iPhone Mail (14F89) In-reply-to: Date: Mon, 22 May 2017 08:52:15 -0700 Cc: "edk2-devel@lists.sourceforge.net" , "edk2-devel@lists.01.org" , "edk2-devel@lists.01.org" Message-id: <2862566E-A7BE-4A07-823D-FA4219840C22@apple.com> References: To: GN Keshava X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsUi2FCYqmvAqRxpsLZb0GLPoaPMFn///Ge2 WLfnG7tF+5cWVgcWj52z7rJ7dM/+x+Kxe8FnJo9JFx4zB7BEcdmkpOZklqUW6dslcGVMn9TJ XnCYp2LeobesDYw9XF2MHBwSAiYS35uCuxi5OIQE1jBJrJx8ma2LkRMsvnPqVnaIxDFGiR2N W1hAErwCghI/Jt9jAWlmFpCXOHheFiTMLKAl8f1RKwtE/T4mibaNu9lBEsIC4hLvzmxihrBt JNrmTmICsdkElCVWzP/ADrFMVuLkynYwm1MgWGLyhQtgNouAqsTUGZ1sIEOZBbYxSlyeOgvq CBuJqUu3ghUJCQRInJo8HexqEaCG9z83MEEMPcImcXW52QRG4VlI7p6FcPcsJHcvYGRexSiU m5iZo5uZZ6qXWFCQk6qXnJ+7iREUAdPthHcwnl5ldYhRgINRiYdX47FSpBBrYllxZe4hRmkO FiVx3rksypFCAumJJanZqakFqUXxRaU5qcWHGJk4OKUaGDWjrzasSTE+712od+TFG4G1b9QO uQWm3tqzeekd/2/PopOXrWV9+OvhXtmTl5eY2ebUhcxO/+z4TuBw2omUa22RDl/1Pe6v1K04 KLhQdPJHu5aeV9XyVbULJ986tXjblHfyz6r91//pnbn0x/m/la9Cfk1smT+lXnDGlItrTojJ J9luCFV9I2OhxFKckWioxVxUnAgAyNxIpmECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEIsWRmVeSWpSXmKPExsUiON3OQdeAUznS4PorXos9h44yW/z985/Z Yt2eb+wW7V9aWB1YPHbOusvu0T37H4vH7gWfmTwmXXjMHMASxWWTkpqTWZZapG+XwJUxfVIn e8Fhnop5h96yNjD2cHUxcnJICJhI7Jy6lb2LkYtDSOAYo8SOxi0sIAleAUGJH5PvAdkcHMwC 8hIHz8uChJkFtCS+P2plgajfxyTRtnE3O0hCWEBc4t2ZTcwQto1E29xJTCA2m4CyxIr5H9gh lslKnFzZDmZzCgRLTL5wAcxmEVCVmDqjkw1kKLPANkaJy1NnQR1hIzF16VawIiGBAIlTk6ez gdgiQA3vf25gmsAoMAvJrbMQbp2F5NYFjMyrGAWKUnMSK831EgsKclL1kvNzNzGCgrahMHUH Y+Nyq0OMAhyMSjy8Go+VIoVYE8uKK3MPMUpwMCuJ8OaxK0cK8aYkVlalFuXHF5XmpBYfYqwC Onois5Rocj4wovJK4g1NTAxMjI3NjI3NTcypIqwkzjuPBWizQHpiSWp2ampBahHMciYOTqkG RtbuuPD7UZx61ZdfMN7TW9l8cvr0CxuZFefLbM2a2r38yvWW21KhfWl3vKZKsc2RzRLUSJj3 RMbUlGeH//mr2tZtr7M6ljCaLVg+ZaLJ/HVTpXQMwxpqHj77NUdgXv9Vba/AdMbrfybPrnQq ncjKFc/hfLL8rYNBeZxN2+4T7+R/8u01PZ6+QImlOCPRUIu5qDgRAGp9eI+1AgAA Subject: Re: Strange issue in USB mass storage device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 15:52:16 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Your device path difference is based on having a partitioning scheme (MBR or GPT) or not. The partition driver will produce block io protocols for all the partitions. The file system driver goes after fixed block offsets. > On May 22, 2017, at 1:37 AM, GN Keshava wrote: > > Hi all, > > I'm testing a USB mass storage device (A linux CDC gadget, which has serial > and mass storage with FAT32 filesystem) which works fine with Windows. > > I'm booting to UEFI shell using another mass storage device (a thumb drive). > My device under test (A linux CDC gadget, which has serial and mass > storage) detects as file system (fsx: ) only if its device path is lesser > than the thumb drive. Thumb drive detects always. > Example: > case 1: > Thumb drive: PCI.../.../USB(*2,0*)/HD(MBR... > Device under test: PCI.../.../USB(*6,2*) > > Result: Device under test doesn't mount. But it's just shown as Removable > block device. Even if I use mount command, its not mounted. I cant access > files. > > case 2: > Thumb drive: PCI.../.../USB(*6,0*)/HD(MBR... > Device under test: PCI.../.../USB(*2,2*) > > Result: Device under test mounts properly as fs2: . I can access files. > > Also, it can be noted that thumb drive is shown as "HD(MBR...)" whereas my > DUT does not show this part. > > Any pointers would be much appreciated. > > Thanks and regards, > Keshava > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel