From owner-freebsd-current@FreeBSD.ORG Sun Dec 18 21:43:13 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 22D4F16A41F for ; Sun, 18 Dec 2005 21:43:13 +0000 (GMT) (envelope-from victor@bsdes.net) Received: from alf.dyndns.ws (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0F543D49 for ; Sun, 18 Dec 2005 21:43:11 +0000 (GMT) (envelope-from victor@bsdes.net) Received: from alf.dyndns.ws (pato.euesrg02.net [192.168.0.3]) by alf.dyndns.ws (8.13.1/8.13.1) with ESMTP id jBILh9sx027623 for ; Sun, 18 Dec 2005 22:43:09 +0100 (CET) (envelope-from victor@bsdes.net) Date: Sun, 18 Dec 2005 22:43:09 +0100 From: Victor Balada Diaz To: freebsd-current@freebsd.org Message-ID: <20051218214308.GB659@pato.euesrg02.net> References: <20051218212107.GA720@wanadoo.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20051218212107.GA720@wanadoo.fr> 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: Sun, 18 Dec 2005 21:43:13 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ata.patch" --- /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; --yrj/dFKFPuw6o+aM--