From owner-freebsd-drivers@FreeBSD.ORG Wed Mar 1 19:32:37 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96C3816A420 for ; Wed, 1 Mar 2006 19:32:37 +0000 (GMT) (envelope-from mmp9769@cs.rit.edu) Received: from pony-express.cs.rit.edu (pony-express.cs.rit.edu [129.21.30.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016D243D48 for ; Wed, 1 Mar 2006 19:32:36 +0000 (GMT) (envelope-from mmp9769@cs.rit.edu) Received: (qmail 17113 invoked by uid 56003); 1 Mar 2006 19:32:36 -0000 Received: from 129.21.37.65 by pony-express (envelope-from , uid 20003) with qmail-scanner-1.25st (clamdscan: 0.87/1184. spamassassin: 3.0.3. perlscan: 1.25st. Clear:RC:1(129.21.37.65):SA:0(0.0/5.0):. Processed in 0.665942 secs); 01 Mar 2006 19:32:36 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from krypton.cs.rit.edu (HELO krypton) (129.21.37.65) by pony-express.cs.rit.edu with (EDH-RSA-DES-CBC3-SHA encrypted) SMTP; 1 Mar 2006 19:32:35 -0000 Date: Wed, 1 Mar 2006 14:32:34 -0500 (EST) From: "Michael M. Press" To: freebsd-drivers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Intel 82802 Firmware Hub RNG support X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 19:32:37 -0000 Some older Intel boards have 82802AB or 82802AC chips with random number generators built into them. I have a system with one of these chips in it, but FreeBSD doesn't appear to have a driver for it. I think support for this hardware RNG would be great and I am willing to write the driver, but I don't have much knowledge or experience with drivers and will probably not be able to do it on my own. OpenBSD has support for these chips built in to their 'pchb' driver (sys/arch/i386/pci/pchb.c). I edited sys/i386/pci/pci_bus.c on my system and added some code to the legacy_pcib_attach function to attempt to mimic what OpenBSD is doing. After rebuilding and rebooting, my changes seem to have no effect. This doesn't really surprise me, since I have very little idea what I'm doing anyway and I don't even know if I'm tinkering with the correct file. I would greatly appreciate any suggestions anyone can offer that might help me. If anyone who has more experience than me would like to take over and write the driver themselves, they should feel free to do so. Thanks. --Mike From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 2 14:27:24 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2249616A424 for ; Thu, 2 Mar 2006 14:27:23 +0000 (GMT) (envelope-from jonz@cticomtel.com) Received: from smtp07.safesecureweb.com (smtp07.safesecureweb.com [66.241.208.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FA9443D45 for ; Thu, 2 Mar 2006 14:27:22 +0000 (GMT) (envelope-from jonz@cticomtel.com) Received: from mail10.safesecureweb.com (unknown [192.168.2.48]) by smtp07.safesecureweb.com (Spam Firewall) with ESMTP id 8BE721EFD7E for ; Thu, 2 Mar 2006 09:27:21 -0500 (EST) Received: from UnknownHost [64.19.178.66] by mail10.safesecureweb.com with SMTP; Thu, 2 Mar 2006 09:33:26 -0500 From: "Jonz" To: Date: Thu, 2 Mar 2006 09:25:42 -0500 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcY+BS+Jv7ARCU7JSS2m8162d+W6tQ== X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Message-Id: <20060302142721.8BE721EFD7E@smtp07.safesecureweb.com> X-Virus-Scanned: by Barracuda Spam Firewall at safesecureweb.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Free BSD 4.1 Driver for Dell Platform 2850 and 850 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 14:27:24 -0000 My company, Comtel Technologies, works with Dell platforms; 2850 and 850. We have an on-going project, which involves the fulfillment of Dell platforms using FreeBSD 4.1. We need assistance with writing device drivers required for Dell platforms. We would be able to give the specs to these platforms and specify which drivers will be used and which ones need code. Any information you have on this subject would be of great help. John From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 2 16:36:48 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 594FF16A420 for ; Thu, 2 Mar 2006 16:36:48 +0000 (GMT) (envelope-from mark.ackroyd@cencion.com) Received: from cencion.com (mail.cencion.com [213.86.172.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5312543D62 for ; Thu, 2 Mar 2006 16:36:40 +0000 (GMT) (envelope-from mark.ackroyd@cencion.com) Received: from FLUFFY ([10.44.7.16]:3360) by cencion.com with [XMail 1.21 ESMTP Server] id for from ; Thu, 2 Mar 2006 16:36:38 -0000 From: "Mark Ackroyd" To: Date: Thu, 2 Mar 2006 16:35:51 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20060302142721.8BE721EFD7E@smtp07.safesecureweb.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcY+BS+Jv7ARCU7JSS2m8162d+W6tQAEgFYQ Subject: RE: Free BSD 4.1 Driver for Dell Platform 2850 and 850 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 16:36:48 -0000 I run quite a few 2850/850 servers on FreeBSD 6 with no problems at all. Mark > > My company, Comtel Technologies, works with Dell platforms; 2850 and 850. > > We have an on-going project, which involves the fulfillment of Dell > > platforms using FreeBSD 4.1. We need assistance with writing device > > drivers required for Dell platforms. We would be able to give the specs > to > > these platforms and specify which drivers will be used and which ones need > > code. Any information you have on this subject would be of great help. .org" From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 2 22:00:09 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5105716A420 for ; Thu, 2 Mar 2006 22:00:09 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB0843D45 for ; Thu, 2 Mar 2006 22:00:08 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k22M05tW037012; Thu, 2 Mar 2006 17:00:05 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-drivers@freebsd.org Date: Thu, 2 Mar 2006 12:34:14 -0500 User-Agent: KMail/1.9.1 References: <20060302142721.8BE721EFD7E@smtp07.safesecureweb.com> In-Reply-To: <20060302142721.8BE721EFD7E@smtp07.safesecureweb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603021234.15887.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1310/Thu Mar 2 13:01:25 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Jonz Subject: Re: Free BSD 4.1 Driver for Dell Platform 2850 and 850 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 22:00:09 -0000 On Thursday 02 March 2006 09:25, Jonz wrote: > My company, Comtel Technologies, works with Dell platforms; 2850 and 850. > > We have an on-going project, which involves the fulfillment of Dell > > platforms using FreeBSD 4.1. We need assistance with writing device > > drivers required for Dell platforms. We would be able to give the specs to > > these platforms and specify which drivers will be used and which ones need > > code. Any information you have on this subject would be of great help. I think the better approach might be to use 4.11. 4.11 can still run 4.1 applications and has much more up to date device support. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 2 22:26:22 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7367016A420 for ; Thu, 2 Mar 2006 22:26:22 +0000 (GMT) (envelope-from dave@randomparity.com) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855B643D46 for ; Thu, 2 Mar 2006 22:26:16 +0000 (GMT) (envelope-from dave@randomparity.com) Received: from gateway.randomparity.com ([68.4.169.57]) by fed1rmmtao07.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060302222502.YWQL3131.fed1rmmtao07.cox.net@gateway.randomparity.com> for ; Thu, 2 Mar 2006 17:25:02 -0500 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by gateway.randomparity.com (Postfix) with ESMTP id 4FAAE31BC57 for ; Thu, 2 Mar 2006 12:57:22 -0800 (PST) Received: from gateway.randomparity.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (AvMailGate-2.0.2-9) id 22025-346B50A0; Thu, 02 Mar 2006 12:57:21 -0800 Received: by gateway.randomparity.com (Postfix, from userid 429) id B928E31BC5F; Thu, 2 Mar 2006 12:57:21 -0800 (PST) Received: from snoopy.randomparity.com (unknown [10.1.1.4]) by gateway.randomparity.com (Postfix) with ESMTP id CA1DC31BC57 for ; Thu, 2 Mar 2006 20:57:18 +0000 (UTC) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Thu, 2 Mar 2006 14:26:00 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Message-ID: <22C21BFBEB52B340A1F422CB0D88F5872DFC@snoopy.randomparity.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Source/Assembly Listing for Kernel Loadable Modules Thread-Index: AcY+SEiYse2nXHdCTMuljd//m88KlA== From: "David Christensen" To: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gateway.randomparity.com X-Spam-Level: X-Spam-Status: No, score=0.2 required=4.0 tests=AWL autolearn=ham version=3.0.4 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-9; AVE: 6.33.1.3; VDF: 6.33.1.52; host: gateway.randomparity.com) Subject: Source/Assembly Listing for Kernel Loadable Modules X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 22:26:22 -0000 I'm sure this is an easy question but I haven't seen the answer during my Google search. I just want to get a source listing from my module with the assembly code intermixed with the source code. The objdump utility is supposed to be able to do this (objdump --source filename) but when I run it on my kernel module all I get is the assembly output. What step did I miss? I assume there is a change to my Makefile but I don't know what it is. Thanks in advance. David Christensen From owner-freebsd-drivers@FreeBSD.ORG Fri Mar 3 07:06:26 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8A7616A420 for ; Fri, 3 Mar 2006 07:06:26 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C86B43D45 for ; Fri, 3 Mar 2006 07:06:25 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id 191EEBF15F; Fri, 3 Mar 2006 08:06:24 +0100 (CET) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04221-08; Fri, 3 Mar 2006 08:06:19 +0100 (CET) Received: from firewall.demig (p50839496.dip0.t-ipconnect.de [80.131.148.150]) by server.absolute-media.de (Postfix) with ESMTP id 1F2D1A19AC; Fri, 3 Mar 2006 08:06:19 +0100 (CET) Received: from ws-ew-3 (ws-ew-3.demig.intra [192.168.1.72]) by firewall.demig (8.13.5/8.13.5) with SMTP id k2374AVk026277; Fri, 3 Mar 2006 08:04:10 +0100 (CET) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "David Christensen" , Date: Fri, 3 Mar 2006 08:04:10 +0100 Message-ID: <000001c63e90$aba3f6a0$4801a8c0@ws-ew-3.demig.intra> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <22C21BFBEB52B340A1F422CB0D88F5872DFC@snoopy.randomparity.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: Source/Assembly Listing for Kernel Loadable Modules X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 07:06:27 -0000 > I'm sure this is an easy question but I haven't seen the answer during > my Google search. I just want to get a source listing from my module > with the assembly code intermixed with the source code. The objdump > utility is supposed to be able to do this (objdump --source filename) > but when I run it on my kernel module all I get is the assembly output. > What step did I miss? I assume there is a change to my Makefile but > I don't know what it is. Just compile with a debug switch (I am usually using -g3) and objdump -S the .ko file you get after linking. Norbert