Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 15:49:17 +0100
From:      Michel TALON <talon@lpthe.jussieu.fr>
To:        freebsd-stable@freebsd.org
Subject:   Re: USB Epson printers?
Message-ID:  <20020215154917.A21504@lpthe.jussieu.fr>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215154917.A21504>