From owner-freebsd-stable@FreeBSD.ORG Thu Feb 18 21:41:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6731E1065696 for ; Thu, 18 Feb 2010 21:41:45 +0000 (UTC) (envelope-from scott+lists.freebsd@fishballoon.org) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id E7DC98FC17 for ; Thu, 18 Feb 2010 21:41:44 +0000 (UTC) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100218212648.UUGK4474.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Thu, 18 Feb 2010 21:26:48 +0000 Received: from llama.fishballoon.org ([86.26.7.178]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100218212647.FTYC21638.aamtaout02-winn.ispmail.ntl.com@llama.fishballoon.org>; Thu, 18 Feb 2010 21:26:47 +0000 Received: from phasmid.fishballoon.org ([192.168.0.199]:50801) by llama.fishballoon.org with esmtp (Exim 4.70 (FreeBSD)) (envelope-from ) id 1NiDtS-000EhM-AN; Thu, 18 Feb 2010 21:26:42 +0000 Received: by phasmid.fishballoon.org (Postfix, from userid 1000) id F261B162429F; Thu, 18 Feb 2010 21:26:41 +0000 (GMT) From: Scott Mitchell To: freebsd-stable@freebsd.org Date: Thu, 18 Feb 2010 21:26:41 +0000 User-Agent: KMail/1.9.10 References: <20091208174145.GA14312@mr-happy.com> In-Reply-To: <20091208174145.GA14312@mr-happy.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201002182126.41632.scott+lists.freebsd@fishballoon.org> X-Cloudmark-Analysis: v=1.1 cv=1ggfb5FlKZQUfF3vzm9UBYZ2uTfLsbs/8dSljwg5+mE= c=1 sm=0 a=neHVhDx0SRvTBu1eHFkA:9 a=o6t_yY5Ce0-fwCuPNS4A:7 a=Y7TJE5Z-IrHFrI2Dc6xdgF4hUqQA:4 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Jeff Blank Subject: Re: Dell PowerEdge Virtual Media X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 21:41:45 -0000 On Tuesday 08 December 2009 17:41:45 Jeff Blank wrote: > Hi, > > I'm having a little trouble using the "virtual media" function of > Dell's PowerEdge R-series (R710 in this case) iDRAC6 under FreeBSD > (7.1, 8.0). This is presented as /dev/cd0, a USB/"SCSI" device, I > guess. This is in the dmesg buffer when I boot up the existing 7.1 > installation with the virtual optical drive mapped to the 8.0-RELEASE > amd64 DVD image: > > umass0: > on uhub6 [...] > cd0 at umass-sim0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 40.000MB/s transfers > cd0: cd present [1058105 x 2048 byte records] > GEOM_LABEL: Label for provider cd0 is iso9660/FreeBSD_Install. > > However, > # mount -t cd9660 /dev/cd0 /mnt > mount_cd9660: /dev/cd0: Invalid argument I see exactly the same problem, also on an R710 (very annoying - I had to walk all the way down the corridor to install 8.0 on it :-) Messing around with it a bit more post-install, I did discover one interesting thing: (501) ~ $ sudo mount_cd9660 -v /dev/cd0 /mnt Password: using starting sector 512 mount_cd9660: /dev/cd0: Invalid argument (502) ~ $ sudo mount_cd9660 -s0v /dev/cd0 (503) ~ $ ls /mnt 8.0-RELEASE/ README.TXT dev/ packages/ sys@ COPYRIGHT RELNOTES.HTM docbook.css proc/ tmp/ ERRATA.HTM RELNOTES.TXT etc/ rescue/ usr/ ERRATA.TXT bin/ lib/ root/ var/ HARDWARE.HTM boot/ libexec/ rr_moved/ HARDWARE.TXT boot.catalog media/ sbin/ README.HTM cdrom.inf mnt/ stand@ So it appears to work if I force the starting sector to be zero. I see the same result with an RHEL5 DVD image: (504) ~ $ sudo umount /mnt (505) ~ $ sudo mount_cd9660 -v /dev/cd0 /mnt using starting sector 512 mount_cd9660: /dev/cd0: Invalid argument (506) ~ $ sudo mount_cd9660 -s0 /dev/cd0 /mnt (507) ~ $ ls /mnt Cluster/ RELEASE-NOTES-U2-de.html ClusterStorage/ RELEASE-NOTES-U2-en.html EULA RELEASE-NOTES-U2-es.html GPL RELEASE-NOTES-U2-fr.html README-as.html RELEASE-NOTES-U2-gu.html README-bn.html RELEASE-NOTES-U2-hi.html README-de.html RELEASE-NOTES-U2-it.html README-en RELEASE-NOTES-U2-ja.html [...] RELEASE-NOTES-U1-ta.html Server/ RELEASE-NOTES-U1-te.html TRANS.TBL RELEASE-NOTES-U1-zh_CN.html VT/ RELEASE-NOTES-U1-zh_TW.html eula.en_US RELEASE-NOTES-U2-as.html images/ RELEASE-NOTES-U2-bn.html isolinux/ (508) ~ $ sudo umount /mnt Also the same result with a CD (as opposed to DVD) image. I've no idea if the problem lies in the virtual media driver or in FreeBSD, but maybe someone who understands these things would like to investigate? This machine is going into production in a couple of weeks time. I can run reasonable experiments on it until then, time permitting. Thanks, Scott