no disk found on sony vaio s5

Victor Balada Diaz victor at bsdes.net
Sun Dec 18 13:43:13 PST 2005


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. 
-------------- next part --------------
--- /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;


More information about the freebsd-current mailing list