Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2005 14:20:20 +0100
From:      rmgls@wanadoo.fr
To:        freebsd-current@freebsd.org
Subject:   Re: no disk found on sony vaio s5
Message-ID:  <20051219132020.GA788@wanadoo.fr>
In-Reply-To: <20051218214308.GB659@pato.euesrg02.net>
References:  <20051218214308.GB659@pato.euesrg02.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 19, 2005 at 07:52:56AM +0000, Victor Balada Diaz wrote:
> On Sun, Dec 18, 2005 at 10:21:07PM +0100, rmgls@wanadoo.fr wrote:
> > hello all,
> > 
> > i try to install FreeBSD 6.0 on a sony vaio s5.
> >  at boot, FreeBSD find the disk 0 with 3 used partitions.
> > in the installer, fdisk does not find any disk.
> > 
> > any idea to help?
 
> FreeBSD 6.0 didn't work on my Vaio S4XP because it wasn't able
> find the disks, but 5.4 works.
 
> Attached is the patch that i used to get 6.0 working on my vaio.
> Try installing FreeBSD 5.4 and then do a source upgrade with this.
> I would like to hear if this solves the issue for you.
 
> To patch your system just go to /usr/src and type:
> 
> # patch -p3 < /path/to/the/ata.patch
> 
> -- 
> La prueba mas fehaciente de que existe vida inteligente en otros
> planetas, es que no han intentado contactar con nosotros. 
> --- /usr/src/sys/dev/ata/ata-chipset.c	Sat Oct 29 20:01:48 2005
> +++ /usr/src.new/sys/dev/ata/ata-chipset.c	Sat Dec  3 02:20:15 2005
> @@ -1647,6 +1647,7 @@
>  	ctlr->r_rid2 = PCIR_BAR(5);
>  	if ((ctlr->r_res2 = bus_alloc_resource_any(dev, ctlr->r_type2,
>  						   &ctlr->r_rid2, RF_ACTIVE))) {
> +	if(0) {
>  	    if (bus_teardown_intr(dev, ctlr->r_irq, ctlr->handle) ||
>  		bus_setup_intr(dev, ctlr->r_irq, ATA_INTR_FLAGS,
>  				ata_ahci_intr, ctlr, &ctlr->handle)) {
> @@ -1671,6 +1672,7 @@
>  	    ctlr->reset = ata_ahci_reset;
>  	    ctlr->dmainit = ata_ahci_dmainit;
>  	    ctlr->allocate = ata_ahci_allocate;
> +	}
>  	}
>  	else {
>  	    ctlr->reset = ata_intel_reset;
Thanks for the trick, i will try it as soon as i have the 5.4 release
(i run current!).

best regard

raoul
rmgls@wanadoo.fr




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