From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 08:55:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9DCE1065670 for ; Mon, 16 Nov 2009 08:55:25 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65501.mail.ac4.yahoo.com (web65501.mail.ac4.yahoo.com [76.13.9.45]) by mx1.freebsd.org (Postfix) with SMTP id 77DEC8FC08 for ; Mon, 16 Nov 2009 08:55:25 +0000 (UTC) Received: (qmail 39120 invoked by uid 60001); 16 Nov 2009 08:55:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258361724; bh=o0bcoMy+ViMJ8Y7zUk4O7HT0HOBuObkXAq3GXHkTRgQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mnOVBQ3RpxFgn2OLHIr6u4ZOqoWMaDaD0YrvHiiVox5/Dn413c4Y7t/CffMENU3ju4rGR9vGB5B/5pOMbPow5UJtmmHk1/Am7L3gWA20i8KZ9jqXJWnE3gzbjf8kkD13otEPEWPms8tKZxq4yk2xUF5M9HT1xhvqjvdIcmXdC1k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TgvTIYjHRx51QaNFGafncK0IYSwUNdPW5DYTL5BjFuYF9ee22ZZZGL/JOHs5bcDHYlu8VFktRpszaZPEcXqbt2grt8OiYJfJdZh8nDzpG8Na2LiFxGa7q8i+0q2C+OJGody5kayd2YWu38AY2E3j28n2GNcO1Zb/LA8vhM/tnPs=; Message-ID: <620008.37163.qm@web65501.mail.ac4.yahoo.com> X-YMail-OSG: sVs08PEVM1mf3eDy7bDm2cWeEOrjrbvIcDgaC1SE4Yp8CcdjXQXezHfp8aMdEBCmsEfFgz33a0sDqpma_XouYcUopaygq5imhrE0NNwBPBsqfchaUXu6ckaWp6Kk3t22TRo0bm1awTKfR5yZo6JCSM32lKgOAS5FcOfWlQQ.WBA98NWjOWNhPS.IgsB6sliu3R35my49bHAolsSW7Sr1BkNyQpaPzvuiOwIoYU0IGy0udDWAz6DHDw1p37ilIfwrnShubGnIXUKf5.n76mtOyP1eCh0xSp2z_mtssNsj99nf3tnRN1dwzgmoEIMBI4inHTUfW3pSrrvkGVJL._ljD9XKq1YfTTBFYPFT_7IPowTcguJCnk6BVoiDGrTvrfSPzixLsTH83tT8KqNk5Gvm3cRMxmqE3GfhAX0tuyg6QV6AW0pFb9uVtUbYMNFMK4mSxj4sSYlhhJQk1r1g5Vd0Esi.Ab7NFGOCZX4HKlrx.mJvl5_n2BL6A2034jEebXuCBAZidMpLYv6_.QZQUbUaF8DKjLZyF_zX5a1LbBwt6H.KmmZpdsQhrUshsiIyYtp_uLAwfAOmsJBQAMpWMlgtMarSCRO8cIVkV9.1gOu0fD5m7dL1br.mna_TDdLbJtUrnI.oRmrnmR4CqWx5SvORXcQgoThgDYp5Db6kt5M6nU4lWCm38hgfrIsilGl5LE6iog.gs48DQTSjbMyYSNcgd6QOS5STWU_yq5Un9U8KKQOaJy_2eiy9BixeRnBcR2oF8pD2FLd50LNDgU4ORS_NWDUI17ww4GbO.UGwCsjerofvFh2ViO3x Received: from [208.99.137.71] by web65501.mail.ac4.yahoo.com via HTTP; Mon, 16 Nov 2009 00:55:24 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Mon, 16 Nov 2009 00:55:24 -0800 (PST) From: James Phillips To: CyberLeo Kitsana In-Reply-To: <4B008F27.4030903@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [FreeBSD Questions] Filesystem image as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 08:55:25 -0000 =0A=0A--- On Sun, 11/15/09, CyberLeo Kitsana wrote:= =0A> James Phillips wrote:=0A> >> Date: Sat, 14 Nov 2009 20:29:59 -0600=0A>= >> From: CyberLeo Kitsana =0A> >> Subject: [FreeBSD= Questions] Filesystem image as=0A> root=0A> >>=0A> >> The single IDE conne= ctor is accessible via the=0A> legacy ISA=0A> >> ports, and is=0A> >> thus = limited to PIO modes (about 1.6MB/sec max,=0A> even with=0A> >> an actual h= ard=0A> >> drive instead of a CF card).=0A> > =0A> > You are off by an orde= r of magnitude (base 2 or 10):=0A> > Pio mode 0 is ~3.3 MB/s=0A> > Pio mode= 4 is ~16.7 MB/s=0A> > =0A> > http://www.pcguide.com/ref/hdd/if/ide/modesPI= O-c.html=0A> > =0A> > You can probably set PIO mode 4 for with:=0A> > # ata= control mode ad0 PIO4=0A> =0A> If only that were true in this case.=0A> =0A= > (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4=0A> current mode =3D = PIO2=0A> (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4=0A> current mo= de =3D PIO2=0A> (85eef1f3)[root@ss4200 ~]# dd if=3D/dev/ad0 of=3D/dev/null= =0A> bs=3D4096 count=3D4096=0A> 4096+0 records in=0A> 4096+0 records out=0A= > 16777216 bytes transferred in 10.111748 secs (1659181=0A> bytes/sec)=0A> = =0A> Nothing I've tried seems to boost the throughput, hence the=0A> desire= to=0A> use a compressed cached filesystem image.=0A> =0A> Thanks for the s= uggestions, though!=0AOuch!=0A=0AI thought the laptop I was "fixing" last w= eek was bad: running Vista with a 10MB/s transfer rate :P=0A=0AThe drive in= my Pentium 166 gets 11-12MB/s.=0A=0AI actually looked up both the PIO mode= s:=0Ahttp://en.wikipedia.org/wiki/Programmed_input/output=0A=0AAnd the spec= sheet (assuming Tom's hardware was wrong) before composing my original rep= ly:=0AIntel=AE Entry Storage System SS4200-E=0ATechnical product specificat= ion [PDF]=0Ahttp://download.intel.com/support/motherboards/server/ss4200-e/= sb/ss4200e_tps_11.pdf=0A=0AI noted that the ATA port is not listed as a fea= ture, which is not a good sign. It does appear in the block-diagram labeled= :DOM=0AGlossary definition: Disk On Module=0A=0AIf I had to guess: Intel di= d something "weird" or "non-standard" to the port, so the standard BSD driv= er does not work properly.=0AHave you read the ata(4) manual page?=0AThe fo= llowing /boot/device.hints are suggested for ISA:=0Ahint.ata.0.at=3D"isa"= =0Ahint.ata.0.port=3D"0x1f0"=0Ahint.ata.0.irq=3D"14"=0A. . . port '1' proba= bly not needed=0AI had a thought: it could just as easily be "pc98" if they= don't intend for you to touch the "firmware."=0A=0A=0AThe firmware has sou= rce code available under a GPL license.=0AEMCLifeLineOEMSW-1.0-GPLComponent= s.tar.gz=0AVer:1.0=09Date:9/24/2009=09Size:125585 (KB)=0A=0AEMCLifeLineOEMS= W-1.1-GPLComponents.tar.gz=0AVer:1.1=09Date:9/24/2009=09Size:244406 (KB)=0A= =0AIf you are worried about license contamination, you may have to get some= body to look through that and document any changes (to the ATA interface). = Hopefully it is based on a well-know code-base like Linux and the "diff" ut= ility can be used.=0A=0AOf course, the term "components" implies they only = expose a HAL of some kind.=0A=0ARegards,=0A=0AJames Phillips=0A=0APS:"# ata= control mode ad0" will simply print out the current mode.=0A=0A=0A=0A = __________________________________________________________________=0AThe ne= w Internet Explorer=AE 8 - Faster, safer, easier. Optimized for Yahoo! Ge= t it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/