From owner-freebsd-current@FreeBSD.ORG Sat Jan 15 22:33:42 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 0B17C106566C for ; Sat, 15 Jan 2011 22:33:42 +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 8B7278FC08 for ; Sat, 15 Jan 2011 22:33:41 +0000 (UTC) Received: by fxm16 with SMTP id 16so4469090fxm.13 for ; Sat, 15 Jan 2011 14:33:40 -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=aGdHqX/zzb6lyvQ/JuJ1QWIf+1qnR7g75DiaW0CoMrs=; b=ldgM5Gx5eUsgBzHaZ/ThQy1ctuHb7PY+8fjaM8yaTmQ2rHZNTikA38+8G+jZWOF+bH 9pfUkl5GyxX+82aPs/VsuJpX2cz2g+Nzc9QGYlDQGqcj53Jp7qQmRBavA7i1mLn/WUjz IzFV47bZO26eWjXIAdbcgWDRGkPRKqo4Eqayg= 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=d6gGASNChKuCn6GO/P71GZRGH4LceDhC2JB7WubV4D0Uu1im+4ly0XuEjw3+08A2tf Lk+BeeglPgAh/nveJ5FloEUaUqr+N35pHikjNHD2D2VBDr2kUjrg8iktaZtMuFztICFf 6Wfx9IWvGXGlEr7ub+VFe6J+ii77wvAGujM5Q= Received: by 10.223.96.195 with SMTP id i3mr2662205fan.77.1295130819850; Sat, 15 Jan 2011 14:33:39 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id a2sm1027291faw.46.2011.01.15.14.33.38 (version=SSLv3 cipher=RC4-MD5); Sat, 15 Jan 2011 14:33:38 -0800 (PST) Sender: Alexander Motin Message-ID: <4D32209B.3010705@FreeBSD.org> Date: Sun, 16 Jan 2011 00:32:59 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Marek Salwerowicz References: <4D31FF65.6010000@FreeBSD.org> <0A45D61F328244969D19C8A45A03F92D@marekdesktop> In-Reply-To: <0A45D61F328244969D19C8A45A03F92D@marekdesktop> 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 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:33:42 -0000 Marek Salwerowicz wrote: >> 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. It should. > 2. after loading modules and # atacontrol detach ata0 > # atacontrol attach ata0 > > I can't still see my CF connected to net5501. It would be nice if you enabled verbose kernel messages to get more info. > Is it possible to load dynamically modules or do they have to be > compiled in kernel... ? It should, but I haven't used it. What for do you need to load/unload them in run time? -- Alexander Motin