Date: Fri, 20 Aug 2010 18:53:19 +0200 From: Ian FREISLICH <ianf@clue.co.za> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: fusefs-kmod broken? Message-ID: <E1OmUqF-0000TQ-Vy@clue.co.za> In-Reply-To: <201008201823.36022.hselasky@c2i.net> References: <201008201823.36022.hselasky@c2i.net> <E1OmUBI-0000Oy-J5@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OmUqF-0000TQ-Vy>
