From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 15 18:19:11 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE72B16A417 for ; Sat, 15 Sep 2007 18:19:11 +0000 (UTC) (envelope-from pankov_p@mail.ru) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.freebsd.org (Postfix) with ESMTP id 73BAF13C458 for ; Sat, 15 Sep 2007 18:19:11 +0000 (UTC) (envelope-from pankov_p@mail.ru) Received: from mx33.mail.ru (mx33.mail.ru [194.67.23.194]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id A00264A427 for ; Sat, 15 Sep 2007 18:57:06 +0400 (MSD) Received: from [88.84.200.94] (port=60853 helo=[172.16.1.13]) by mx33.mail.ru with asmtp id 1IWZ4h-000CGR-00; Sat, 15 Sep 2007 18:56:47 +0400 Message-ID: <46EBF2C5.60708@mail.ru> Date: Sat, 15 Sep 2007 18:57:09 +0400 From: Pankov Pavel Organization: MPEI User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: lists@swaggi.com Subject: SD/MMC (ricoh) reader on Thinkpad T61 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 18:19:11 -0000 > I tried "make depend" but got the same results. I thought the driver > would work on -CURRENT, at least that was my impression. Has anyone > else tried it on current? I managed to compile code from sdmmc-20070627.tar.gz on 7-CURRENT with the help of this simple patch: : --- dev/sdmmc/sdshc.c~ 2007-06-25 14:25:52.000000000 +0400 : +++ dev/sdmmc/sdshc.c 2007-09-15 18:14:20.000000000 +0400 : @@ -343,7 +343,7 @@ : */ : LOG(0x10, (dev, "Setup Intr\n")); : error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET|INTR_MPSAFE , : - sdshc_intr, sc, &sc->ih); : + NULL, sdshc_intr, sc, &sc->ih); : if (error != 0) { : MSG((dev, "could not set up interrupt\n")); : goto cleanup; Unfortunately, I can't load the resulting module: : pankbook# kldload -v /boot/modules/sdmmc.ko : kldload: can't load /boot/modules/sdmmc.ko: No such file or directory Such file definitely exists: : pankbook# ls -l /boot/modules/sdmmc.ko : -r-xr-xr-x 1 root wheel 48953 Sep 15 18:41 /boot/modules/sdmmc.ko I think this error is related to non-existent sdmmc.ko.symbols file (every .ko file in my /boot/kernel has corresponding .ko.symbols, but sdmmc doesn't). I'm not familiar with kernel modules, so I don't know how to solve this issue. But I'm ready to test any ideas :)