From owner-freebsd-stable@FreeBSD.ORG Sat Feb 25 21:25:00 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB5BD16A420 for ; Sat, 25 Feb 2006 21:25:00 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A703B43D46 for ; Sat, 25 Feb 2006 21:24:58 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.1/8.13.1) with ESMTP id k1PLOvjZ066300 for ; Sat, 25 Feb 2006 22:24:57 +0100 (CET) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.1/8.13.1/Submit) id k1PLOvwh066299 for stable@freebsd.org; Sat, 25 Feb 2006 22:24:57 +0100 (CET) (envelope-from hk) Date: Sat, 25 Feb 2006 22:24:57 +0100 From: Holger Kipp To: stable@freebsd.org Message-ID: <20060225212457.GA65987@intserv.int1.b.intern> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: usb/scanimage broken on 6.1-PRERELEASE 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: Sat, 25 Feb 2006 21:25:00 -0000 Hello all, on my (A) FreeBSD 6.1-PRERELEASE #10: Tue Feb 21 04:37:53 CET 2006 I can't access my USB-Scanner Epson 1260 any more. It does work on my older kernels (some 5.4 from last year and a fairly recent (B) FreeBSD 6.1-PRERELEASE #9: Mon Feb 13 15:25:40 CET 2006, though). Dmesg of B and diff between B and A below. Details: root calling sane-find-scanner works (both A and B) root calling scanimage -L works for B, but only once for A (and for A I usually press ctrl-t to find out the state scanimage is in, because it does not return): katrin# time scanimage -L device `plustek:/dev/uscanner0' is a Epson Perfection 1260/Photo USB flatbed scanner load: 0.14 cmd: scanimage 860 [runnable] 0.00u 0.00s 0% 1852k 0.007u 0.000s 0:05.72 0.0% 0+0k 15+0io 5pf+0w katrin# time scanimage -L load: 0.06 cmd: scanimage 861 [runnable] 0.00u 0.00s 0% 1828k No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). 0.000u 0.006s 0:47.45 0.0% 0+0k 0+0io 0pf+0w katrin# ------------------ This is what ps has to say about the status of scanimage during both calls (before pressingt ctrl-t): katrin# ps axwl | grep scanimage 0 841 837 0 0 0 3820 1860 uscnrb S+ p1 0:00.01 scanimage -L katrin# katrin# ps axwl | grep scanimage 0 861 839 0 0 0 3732 1836 uscnrb I+ p1 0:00.01 scanimage -L katrin# Scanning is not possible under A. Help would be really appreciated. Should I file a PR? Or should I first try to upgrade to the latest -STABLE? Regards, Holger Kipp Dmesg B: Copyright (c) 1992-2006 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 6.1-PRERELEASE #9: Mon Feb 13 15:25:40 CET 2006 root@katrin.hkipp.de:/usr/obj/usr/src/sys/KATRIN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 2800+ (2083.11-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400800 real memory = 536543232 (511 MB) avail memory = 515686400 (491 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) atapci0: port 0xec00-0xec07,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc0f,0xd800-0xd8ff irq 20 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 uhci0: port 0xc000-0xc01f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc400-0xc41f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc800-0xc81f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xcc00-0xcc1f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfebff800-0xfebff8ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub5: vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.08, addr 2 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) vr0: port 0xd400-0xd4ff mem 0xfebffc00-0xfebffcff irq 23 at device 18.0 on pci0 miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0b:6a:c0:00:ce acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: vendor 0x1241 product 0x1122, rev 1.00/1.00, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2 Timecounter "TSC" frequency 2083112275 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA100 ad1: 76351MB at ata0-slave UDMA100 acd0: DVDR at ata1-master UDMA33 acd1: CDRW at ata1-slave PIO4 Trying to mount root from ufs:/dev/ad0s1a diff -u dmesgB dmesgA: --- dmesg_kernel_old Sat Feb 25 21:43:41 2006 +++ dmesg_kernel_new Sat Feb 25 21:50:16 2006 @@ -1,7 +1,7 @@ Copyright (c) 1992-2006 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 6.1-PRERELEASE #9: Mon Feb 13 15:25:40 CET 2006 +FreeBSD 6.1-PRERELEASE #10: Tue Feb 21 04:37:53 CET 2006 root@katrin.hkipp.de:/usr/obj/usr/src/sys/KATRIN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 2800+ (2083.11-MHz 686-class CPU) @@ -71,7 +71,9 @@ uhub5: 4 ports with 4 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 -pci0: at device 17.5 (no driver attached) +pcm0: port 0xd000-0xd0ff irq 22 at device 17.5 on pci0 +pcm0: +pcm0: vr0: port 0xd400-0xd4ff mem 0xfebffc00-0xfebffcff irq 23 at device 18.0 on pci0 miibus0: on vr0 ukphy0: on miibus0 @@ -102,7 +104,7 @@ ums0: vendor 0x1241 product 0x1122, rev 1.00/1.00, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2 -Timecounter "TSC" frequency 2083112275 Hz quality 800 +Timecounter "TSC" frequency 2083112413 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA100 ad1: 76351MB at ata0-slave UDMA100