From owner-freebsd-current@FreeBSD.ORG Sat Jan 15 20:11:59 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 2A5A8106564A for ; Sat, 15 Jan 2011 20:11:59 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AA4008FC08 for ; Sat, 15 Jan 2011 20:11:58 +0000 (UTC) Received: by fxm16 with SMTP id 16so4377930fxm.13 for ; Sat, 15 Jan 2011 12:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=UfdMudOnLWhKW8Pafy3mZaBzoFVBUFC5MUutoQKqyTA=; b=citHtdusdS9EHNrOxfughl5H0wNdYsMz7AY5ESezrXG6a5t5J1ChueJEH5r45U8X08 ddmLkD3OAV7dWF1EDzBK0BsudyxZV2hkj7W7nf0j8NJhdKAN8jk2/Azd9aMLeAEiGUb3 V08F6b8s/unAxn5XoqA5+x94jyNLK9u2qO98U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=fqi72krlCKLsafkuFKyyqDrBJ7qeOo5ue4V4DRkN3RIckcEsVciGw3jPn8h7Kte9te sAZfllmMYNKDxoriTX1XNOUUcniNhhtnRW7VNbrZcC8UbxCv6qmOo2eY9ADBtoA+R/az oiZCjCb6QyLN6zNfA5y9nijQSKUPbkTYL1WFI= Received: by 10.223.74.11 with SMTP id s11mr2540628faj.2.1295122317520; Sat, 15 Jan 2011 12:11:57 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n26sm991603fam.37.2011.01.15.12.11.55 (version=SSLv3 cipher=RC4-MD5); Sat, 15 Jan 2011 12:11:56 -0800 (PST) Sender: Alexander Motin Message-ID: <4D31FF65.6010000@FreeBSD.org> Date: Sat, 15 Jan 2011 22:11:17 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Marek Salwerowicz References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: current Subject: Re: Soekris net5501-70 problem with loading ATA modules on FreeBSD-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 20:11:59 -0000 Hi. Marek Salwerowicz wrote: > I am unable to dynamically load modules to support ATA disks on soekris > net5501-70. > > I boot via PXE diskless FreeBSD-Current. > In kernel config there are commented out options: > > #device ata #device atadisk > > After boot, I load modules: > > # kldload ata.ko > # kldload atapci.ko > # kldload ataamd > # kldload atadisk > > after that, in dmesg: > > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0 > atapci0: failed to add ata child device > atapci0: failed to add ata child device 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. -- Alexander Motin