From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 16:53:24 2010 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 9405B10656A8 for ; Fri, 20 Aug 2010 16:53:24 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id D661E8FC17 for ; Fri, 20 Aug 2010 16:53:23 +0000 (UTC) Received: from [41.154.88.19] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1OmUqI-0002ZO-Ch; Fri, 20 Aug 2010 18:53:22 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OmUqF-0000TQ-Vy; Fri, 20 Aug 2010 18:53:19 +0200 Message-Id: To: Hans Petter Selasky From: Ian FREISLICH In-Reply-To: <201008201823.36022.hselasky@c2i.net> References: <201008201823.36022.hselasky@c2i.net> X-Attribution: BOFH Date: Fri, 20 Aug 2010 18:53:19 +0200 Cc: freebsd-current@freebsd.org Subject: Re: fusefs-kmod broken? 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: Fri, 20 Aug 2010 16:53:24 -0000 Hans Petter Selasky wrote: > Do you have all the drivers you need in the kernel? > > ./uart/uart.h:extern struct uart_class uart_z8530_class __attribute__((weak)) ; > ./uart/uart_bus_scc.c: sc->sc_class = &uart_z8530_class; > ./uart/uart_cpu_powerpc.c: class = &uart_z8530_class; > ./uart/uart_cpu_powerpc.c: class = &uart_z8530_class; > ./uart/uart_cpu_sparc64.c: class = &uart_z8530_class; > ./uart/uart_dev_z8530.c:struct uart_class uart_z8530_class = { > ./uart/uart_subr.c: &uart_z8530_class, What drivers do you sugest? These are what's configured. device ucom device uplcom device uart # 8250, 16[45]50 based serial ports device puc The 2 DS2480 (1-wire bus masters) are on 2 PL2303 usb serial ports. Reading the devices works fine: [brane] /1-wire # ls 10.0ADC53010800 10.AB2D4C010800 26.1D82B5000000 bus.0 structure 10.174637010800 10.BD4437010800 26.2882B5000000 bus.1 system 10.19D24C010800 10.E32C4C010800 29.832903000000 settings uncached 10.4A6237010800 1D.33F00D000000 29.A52A03000000 simultaneous 10.725A4C010800 1D.6A560B000000 alarm statistics [brane] /1-wire # cat 10.0ADC53010800/temperature 22.1875 It's writing to the 29.A52A03000000 or 29.832903000000 PIO registers that results in the panic. [brane] /1-wire # ls 29.A52A03000000 LCD_H PIO.ALL latch.4 r_address sensed.7 LCD_M PIO.BYTE latch.5 r_id sensed.ALL PIO.0 address latch.6 r_locator sensed.BYTE PIO.1 crc8 latch.7 sensed.0 set_alarm PIO.2 family latch.ALL sensed.1 strobe PIO.3 id latch.BYTE sensed.2 type PIO.4 latch.0 locator sensed.3 PIO.5 latch.1 por sensed.4 PIO.6 latch.2 power sensed.5 PIO.7 latch.3 present sensed.6 Ian -- Ian Freislich