From owner-freebsd-small Sat Jun 27 08:48:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24639 for freebsd-small-outgoing; Sat, 27 Jun 1998 08:48:39 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24629 for ; Sat, 27 Jun 1998 08:48:33 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id RAA26060; Sat, 27 Jun 1998 17:50:47 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Sat, 27 Jun 1998 17:50:47 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Dinesh Nair cc: Marc Nicholas , freebsd-small@FreeBSD.ORG Subject: Re: I'm back. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 27 Jun 1998, Dinesh Nair wrote: > > On Fri, 26 Jun 1998, Andrzej Bialecki wrote: > > > What I'd like to do is to be able to access the flash r/w (preferably to > > mount it) from under running FreeBSD system. Are you saying it works? If > > yes, then please tell us what you did to achieve this. > > off the cuff here, but if the drive is presented as an IDE drive (meaning > bios handles the mappings), then why cant freebsd just mount the babies ? Ok, let me make it clear: * I was mistaken as to the type of the inetrface of this particular flash - it is plain IDE, not an ISA card which mimicks as an IDE drive using its own BIOS extension, * FreeBSD currently uses BIOS services only to load the kernel (I shouldn't even say "FreeBSD" but just bootloader). BIOS services are available in real-mode only, while the kernel runs in protected mode of course. * Hence, once the kernel is running, the BIOS extensions that the flash previously loaded are unavailable. It no longer exists as the IDE drive. The solution to this is to write special driver which uses those real-mode BIOS services (through vm86 layer) to transfer the data to/from the flash, and present it as a disk device to the system. Andrzej Bialecki --------------------+--------------------------------------------------------- abial@nask.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") } Research & Academic | "Be open-minded, but don't let your brains to fall out." Network in Poland | All of the above (and more) is just my personal opinion. --------------------+--------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message