From owner-freebsd-stable Fri Feb 15 6:49:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by hub.freebsd.org (Postfix) with ESMTP id 6AA4137B400 for ; Fri, 15 Feb 2002 06:49:22 -0800 (PST) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.12.1/jtpda-5.4) with ESMTP id g1FEnKYD047992 for ; Fri, 15 Feb 2002 15:49:20 +0100 (CET) Received: from niobe.lpthe.jussieu.fr (mipi3gk8xeqboqsa@niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (8.11.1/jtpda-5.3.1) with ESMTP id g1FEnKj13318 for ; Fri, 15 Feb 2002 15:49:20 +0100 (MET) Received: (from talon@localhost) by niobe.lpthe.jussieu.fr (8.11.6/8.11.6) id g1FEnIo21515 for freebsd-stable@freebsd.org; Fri, 15 Feb 2002 15:49:18 +0100 (CET) (envelope-from talon) Date: Fri, 15 Feb 2002 15:49:17 +0100 From: Michel TALON To: freebsd-stable@freebsd.org Subject: Re: USB Epson printers? Message-ID: <20020215154917.A21504@lpthe.jussieu.fr> Mail-Followup-To: Michel TALON , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I can report that the USB scanner Epson 1650 indeed works under FreeBSD (with the new STABLE kernel or patched RELEASE as indicated in the thread) and very nicely. One of the problems i had that one needs to edit /usr/local/etc/sane.d/epson.conf so that the device is usb /dev/uscanner0 and the other is that i was trying to run xsane as superuser, and this does not work. One neeeds to chmod a+rw /dev/uscanner0 and then run xsane as normal user. By the way, i have discovered still another module related way to crash FreeBSD. With usbd still running i did kldunload uscanner and the machine crashed. Here is the crash dump: I think the cause is clear enough, and similar to the crashes you get when unloading sound modules or fitering modules. Strange that FreeBSD is not protected from such user errors. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01f7d9c stack pointer = 0x10:0xcc416b30 frame pointer = 0x10:0xcc416b38 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 87760 (usbd) interrupt mask = bio trap number = 12 panic: page fault (kgdb) bt #0 0xc013dab6 in dumpsys () #1 0xc013d8cb in boot () #2 0xc013dcac in poweroff_wait () #3 0xc0223ee6 in trap_fatal () #4 0xc0223bb9 in trap_pfault () #5 0xc02237a3 in trap () #6 0xc01f7d9c in strncpy () #7 0xc01f2d9c in usbd_fill_deviceinfo () #8 0xc01f0238 in usbd_add_event () #9 0xc01f3010 in usb_disconnect_port () #10 0xc01f3f85 in uhub_explore () #11 0xc01f00e7 in usb_discover () #12 0xc01efe45 in usbioctl () #13 0xc0175d8a in spec_ioctl () #14 0xc0175ab5 in spec_vnoperate () #15 0xc01de015 in ufs_vnoperatespec () #16 0xc017232f in vn_ioctl () #17 0xc014ca12 in ioctl () #18 0xc0224195 in syscall2 () #19 0xc02183d5 in Xint0x80_syscall () #20 0x8048c71 in ?? () -- Michel TALON To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message