Re: no disk found on sony vaio s5

From: <rmgls_at_wanadoo.fr>
Date: Mon, 19 Dec 2005 14:20:20 +0100
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_at_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
> _at__at_ -1647,6 +1647,7 _at__at_
>  	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)) {
> _at__at_ -1671,6 +1672,7 _at__at_
>  	    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_at_wanadoo.fr
Received on Mon Dec 19 2005 - 12:20:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC