From owner-freebsd-stable@FreeBSD.ORG Sun Jan 31 02:05:40 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE84106566B; Sun, 31 Jan 2010 02:05:40 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf14.insightbb.com (mxsf14.insightbb.com [74.128.0.96]) by mx1.freebsd.org (Postfix) with ESMTP id EA90B8FC13; Sun, 31 Jan 2010 02:05:39 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,376,1262581200"; d="scan'208";a="28345812" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.123]) by mxsf14.insightbb.com with ESMTP; 30 Jan 2010 21:05:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtMEAOhzZEvQLicL/2dsb2JhbACBM9cQgkWCAAQ X-IronPort-AV: E=Sophos;i="4.49,376,1262581200"; d="scan'208";a="243416846" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout01.insightbb.com with ESMTP; 30 Jan 2010 21:05:37 -0500 From: Steven Friedrich To: freebsd-stable@freebsd.org Date: Sat, 30 Jan 2010 21:05:30 -0500 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; i386; ; ) References: <1264864993.00213457.1264853403@10.7.7.3> <4B64587F.7050701@FreeBSD.org> In-Reply-To: <4B64587F.7050701@FreeBSD.org> X-Face: i~b2iK'Z*tJ)pO9@6lJG=k7>N, V~YMq":Iwdl!m|A"g, N@)'|zb[{ Cc: Alexander Motin Subject: Re: loading module sdhci causes panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 02:05:40 -0000 On Saturday 30 January 2010 11:04:15 am Alexander Motin wrote: > Steven Friedrich wrote: > > I stopped the boot before the timer expired, after it had loaded modules > > specified in /boot/loader.conf > > > > I loaded mmc, mmcsd, and sdhci. > > > > I continued the boot, and it panic'ed right after apic. > > > > I rebooted everal times, to load each individually, to narrow it down to > > sdhci. > > > > Can anyone verify that sdhci is compatible with FreeBSD 8? > > > > I updated and built today. > > I am using it daily since written it and till present 9-CURRENT. Show > your verbose boot messages and crash information. > I updated source and built world and kernel today. My machine won't complete a dump and reboot. I'll work on that, but the below text is from a successful boot, and I show where the panic occurred. I don't build all modules, but I added mmc, mmcsd, and sdhci to the var in make.conf. When this all began, I had built the modules and loaded them by hand. There was no panic, so I added them to /boot/loader.conf and then it panic'ed. I've also made it panic by stopping the boot and hand-loading the three modules. I haven't built these into a kernel... Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-STABLE #31: Sat Jan 30 16:19:51 EST 2010 admin@laptop2.StevenFriedrich.org:/usr/obj/usr/src/sys/LAPTOP i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100000 TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2094256128 (1997 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0 irqs 0-23 on motherboard Here, it reported a trap 12 page fault while in Kernel mode fault code supervisor read, page not present The next line would have been: video4bsd: /dev/video0..9, /dev/video_daemon0..9 Here's a snip from the original topic and a response: On Friday 29 January 2010 23:14:06 Steven Friedrich wrote: > I'd like to access the digital media slots on my laptop. > > Specifically, I want to read Sony Memory Sticks. > > pciconf -lv shows the devices: > > none2@pci0:11:0:3: class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00 > hdr=0x00 > vendor = 'Texas Instruments (TI)' > device = 'PCIxx11/21 Integrated FlashMedia Controller' > class = mass storage > none3@pci0:11:0:4: class=0x080500 card=0x3082103c chip=0x8034104c rev=0x00 > hdr=0x00 > vendor = 'Texas Instruments (TI)' > device = 'SDA Standard Compliant SD Host Controller (10981734)' > class = base peripheral > subclass = SD host controller Probably supported by sdhci(4). I don't know which of the two controllers supports Sony Memory Sticks, but I figured I'd get the drivers installed and try it.