From owner-freebsd-current@FreeBSD.ORG Mon Mar 31 07:48:00 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1939910656C4 for ; Mon, 31 Mar 2008 07:48:00 +0000 (UTC) (envelope-from m.ehinger@ltur.de) Received: from mailx.gateway-inter.net (mailx.gateway-inter.net [213.144.19.80]) by mx1.freebsd.org (Postfix) with ESMTP id 9D43D8FC17 for ; Mon, 31 Mar 2008 07:47:59 +0000 (UTC) (envelope-from m.ehinger@ltur.de) In-Reply-To: <20080328235212.7cb49e4d@lain> To: Tobias Kirschstein MIME-Version: 1.0 From: Maik Ehinger Message-ID: Date: Mon, 31 Mar 2008 09:47:50 +0200 X-Mailman-Approved-At: Mon, 31 Mar 2008 11:22:53 +0000 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Antwort: Re: hdaps (accelerator) driver for thinkpads 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: Mon, 31 Mar 2008 07:48:00 -0000 Hi Tobias, could you try this patch agains thinkpad_ec.c Version 030_04092006. It disables the SMBIOS/DMI stuff. Let me know if that makes a difference. Thanks Maik --------------- CUT ---------------- --- thinkpad_ec.c.orig 2008-03-31 09:40:42.000000000 +0200 +++ thinkpad_ec.c 2008-03-31 09:42:27.000000000 +0200 @@ -471,13 +471,13 @@ /* Don't use softc here */ device_t child; - - if (!check_dmi_for_ec()) { - printf("thinkpad_ec: no ThinkPad embedded controller!\n"); - return; - // return (-ENODEV); - } - +/* + * if (!check_dmi_for_ec()) { + * printf("thinkpad_ec: no ThinkPad embedded controller!\n"); + * return; + * // return (-ENODEV); + * } + */ if (device_find_child(parent, DEVICE_NAME, -1)) { return; } @@ -499,10 +499,10 @@ if (device_get_unit(dev) != 0 ) return (ENXIO); - - if (!check_dmi_for_ec()) - return (ENXIO); - +/* + * if (!check_dmi_for_ec()) + * return (ENXIO); + */ //device_set_desc(dev, "IBM ThinkPad Embedded Controller"); device_set_desc_copy(dev, smbios_values.oem_string); --------------- CUT ---------------- Tobias Kirschstein 28.03.2008 23:52 An Maik Ehinger Kopie freebsd-current@freebsd.org Thema Re: hdaps (accelerator) driver for thinkpads hi maik, > your are the first one who tried this driver except me. So thanks for > testing. sure! im really interested in getting this thing working :) > I only got my T42 for testing so here are some hints what could be > the cause of the crash: > > - dual processor system > - 64bit i think this is the problem, your driver seems to work for i386 only, but at the moment i'm not experienced enough to be able to fix this and maybe there is some more work to do to get it running under amd64. so i would really appreciate it if you or someone else could help me here :) > - SMBIOS/DMI Hack withing thinkpad_ec.c > > I can't test this because the lacking hardware. > This was/is my first driver i programmed/ported, maybe someone with > more experience could have a look at the code. i can test it for you and hopefully i will be able to post some backtraces and debug info if i have set up some solution to my core dumping problem under zfs root. > Do you get any messages before it crashes? surely will follow soon i hope, but this weekend i won't have any time unfortunately. > Sorry i can't help you more. I could do some test on the weekend with > 8.0 Current. that would be great, thx! -- ciao, lev L'TUR Tourismus AG - Europe's No. 1 for Last-Minute-Travel - with 160 Shops in six European countries L'TUR Tourismus AG, Augustaplatz 8, 76530 Baden-Baden, Vorsitzender des Aufsichtsrats: Dr. Volker Boettcher,Vorsitzender des Vorstands: Karlheinz Koegel Vorstand: Markus Faller (Sprecher), Stefan Dapper, Christoph Fuehrer, Kai Klitzke, Thomas Meyer, Markus Orth Registergericht: Amtsgericht Mannheim HRB 201600 *** Legal Disclaimer *** Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail und der darin enthaltenen Informationen sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.