From owner-freebsd-current@FreeBSD.ORG Sat Jan 15 22:57:24 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD5F106564A for ; Sat, 15 Jan 2011 22:57:24 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) by mx1.freebsd.org (Postfix) with ESMTP id 516898FC0A for ; Sat, 15 Jan 2011 22:57:24 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 16478 invoked from network); 15 Jan 2011 23:30:39 +0100 Received: from cwx170.internetdsl.tpnet.pl (HELO marekdesktop) (marek_sal@[83.19.131.170]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 15 Jan 2011 23:30:39 +0100 Message-ID: <0A45D61F328244969D19C8A45A03F92D@marekdesktop> From: "Marek Salwerowicz" To: "Alexander Motin" References: <4D31FF65.6010000@FreeBSD.org> Date: Sat, 15 Jan 2011 23:30:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [kXMX] X-Mailman-Approved-At: Sat, 15 Jan 2011 23:08:52 +0000 Cc: current Subject: Re: Soekris net5501-70 problem with loading ATA modules onFreeBSD-Current 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: Sat, 15 Jan 2011 22:57:24 -0000 > I think these errors caused by devices created for legacy ISA > compatibility via device hints. Go to device.hints and remove all ATA > stuff from there to force ATA to be detected only via PCI. > > Another problem I see here with module load order. Loading atapci before > ataadm will make generic driver attach to controller, not specific one. > Unluckily loading in different order won't help, I think, because ataamd > depends on atapci and will load it automatically. > Hi, we have commented these lines in device.hints: > #hint.ata.0.at="isa" > #hint.ata.0.port="0x1F0" > #hint.ata.0.irq="14" > #hint.ata.1.at="isa" > #hint.ata.1.port="0x170" > #hint.ata.1.irq="15" and now there are no errors in dmesg, but: 1. ataamd doesn't load automatically atapci.ko, so I kept the order. 2. after loading modules and # atacontrol detach ata0 # atacontrol attach ata0 I can't still see my CF connected to net5501. Is it possible to load dynamically modules or do they have to be compiled in kernel... ? -- Marek Salwerowicz