From owner-freebsd-current@FreeBSD.ORG Mon Dec 19 13:20:25 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35BA116A420 for ; Mon, 19 Dec 2005 13:20:25 +0000 (GMT) (envelope-from rmgls@wanadoo.fr) Received: from smtp10.wanadoo.fr (smtp10.wanadoo.fr [193.252.22.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B74D43D60 for ; Mon, 19 Dec 2005 13:20:24 +0000 (GMT) (envelope-from rmgls@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1002.wanadoo.fr (SMTP Server) with ESMTP id 1CB702400053 for ; Mon, 19 Dec 2005 14:20:23 +0100 (CET) Received: from wanadoo.fr (ARouen-251-1-6-252.w83-115.abo.wanadoo.fr [83.115.99.252]) by mwinf1002.wanadoo.fr (SMTP Server) with ESMTP id 091CC240008E for ; Mon, 19 Dec 2005 14:20:23 +0100 (CET) X-ME-UUID: 20051219132023375.091CC240008E@mwinf1002.wanadoo.fr Received: from rmgls by bip.private.music with local (Exim 4.52) id 1EoKw8-0000DI-OP for freebsd-current@freebsd.org; Mon, 19 Dec 2005 14:20:20 +0100 Date: Mon, 19 Dec 2005 14:20:20 +0100 From: rmgls@wanadoo.fr To: freebsd-current@freebsd.org Message-ID: <20051219132020.GA788@wanadoo.fr> References: <20051218214308.GB659@pato.euesrg02.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051218214308.GB659@pato.euesrg02.net> User-Agent: Mutt/1.4.2.1i Subject: Re: no disk found on sony vaio s5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 13:20:25 -0000 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