[ previous ] [ next ] [ threads ]
 
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Ganbold <ganbold at micom dot mng dot net>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] Keyboard reset and boot hangs 15sec
 Date:  Thu, 23 Sep 2004 10:04:15 +0200
On 23.09.2004 09:43 +0900, Ganbold wrote:

> I'll try that. How about this ATAPCI problem?
> 
> in the middle of the boot it says following and hangs around
> 15-20sec:
> 
> Aug 15 17:57:11 firewall /kernel: atapci0: <Intel PIIX3 ATA
> controller> > port> 0xf000-0xf00f at device 7.1 on pci0>
> Aug 15 17:57:11 firewall /kernel: ata0: at 0x1f0 irq 14 on atapci0

The WRAP doesn't have a secondary IDE controller, that's why it
hangs.  The attached patch helps.

- Manuel
--- sys/dev/ata/ata-pci.c.orig	Sat May 29 12:56:20 2004
+++ sys/dev/ata/ata-pci.c	Sat May 29 16:35:05 2004
@@ -569,8 +569,8 @@
 
     ata_pci_add_child(dev, 0);
 
-    if (ATA_MASTERDEV(dev) || pci_read_config(dev, 0x18, 4) & IOMASK)
-	ata_pci_add_child(dev, 1);
+    /*if (ATA_MASTERDEV(dev) || pci_read_config(dev, 0x18, 4) & IOMASK)
+	ata_pci_add_child(dev, 1);*/
 
     return bus_generic_attach(dev);
 }