Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 20:32:25 +0200
From:      "Karsten W. Rohrbach" <karsten@rohrbach.de>
To:        Warner Losh <imp@village.org>
Cc:        Eric Brunner <brunner@world.std.com>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Sony VAIO and CDROM
Message-ID:  <20000522203225.B6686@rohrbach.de>
In-Reply-To: <200005221817.MAA96739@harmony.village.org>; from imp@village.org on Mon, May 22, 2000 at 12:17:49PM -0600
References:  <20000522201629.A6686@rohrbach.de> <200005182158.RAA29816@world.std.com> <200005192257.QAA04126@harmony.village.org> <20000522201629.A6686@rohrbach.de> <200005221817.MAA96739@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh(imp@village.org)@Mon, May 22, 2000 at 12:17:49PM -0600:
> The ata stuff will dynamically attach after boot now.  I think that as
> part of boot we specifically kill the power on all the pccard slots.
> I may be mistaken about this.  One cannot boot off the cdrom for
> FreeBSD and then mount the root partition from the cdrom.  We don't
> support that for pccard (or usb) at this time.
what the deal is actually about is that the vaio n505x/se/* (celeron/pii
boxes, not the pentiums) have atapi boot support for cdrom on a pc card.
they probe the pcmcia socket at cold boot and attach the ata controller
at ports 0x180 and 0x386 (some black magic, one just has to know). i
have linux installed this way on my n505x by telling the kernel at boot
time to hook up the pccard ide controller as ide2 appending
"ide2=0x180,0x386" to the lilo command line and there you go ;-)
the only time you would need that is for booting the install cd, since
those boxes only got one pc card slot which basically means: cdrom OR
network, there you go... while actually installing the dist from the cd
(which implies booting from the cdrom through the bios floppy emulation
code and loading the ramdisk image from the eltorito image which gets
booted) this just means that the kernel once in his lifetime gets
the address of the controller hardwired one time. after install is done
and you boot you got pccardd which handles the device attachment.

> 
> Other than that, I think that these devices will work with -current
> and -stable.
if it dynamically attaches ata this should not be much of an issue, but
as i mentioned before, installing is ;-) the problem with the little
vaios is, that if you boot it from floppy, everything will be fine until
you swap the disks since bios boot support for the floppy drive is just
for booting. when the kernel wants to read the ramdisk image it gets
confronted with a rather unlikely-to-be-supported-natively usb floppy (y-e
data flashbuster 3.5"). if the kernel would use the realmode bios irq
interface to the floppy to load the ramdisk image it might work to get
all that stuff into the mfs and fetch the dist over the network card
using a standard ftp install.

/k

-- 
> "Dope will get you through times of no money better that money will get
> you through times of no dope." -- Gilbert Shelton
http://www.webmonster.de http://www.apache.de http://www.splatterworld.de
(NIC-HDL KR433/KR11-RIPE) 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000522203225.B6686>