From owner-freebsd-current@FreeBSD.ORG Tue Oct 26 18:25:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 647ED16A4CF for ; Tue, 26 Oct 2004 18:25:21 +0000 (GMT) Received: from slipgate.org (S0106000acd019ad0.du.shawcable.net [24.109.1.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E191243D45 for ; Tue, 26 Oct 2004 18:25:20 +0000 (GMT) (envelope-from ryan@slipgate.org) Received: from ryan.lan (gate.lan [192.168.1.1]) by slipgate.org (8.12.11/8.12.11) with ESMTP id i9QIOZ5J007888 for ; Tue, 26 Oct 2004 11:24:35 -0700 (PDT) Received: from ryan.lan (localhost [127.0.0.1]) by ryan.lan (8.13.1/8.13.1) with ESMTP id i9QIPQU0003825 for ; Tue, 26 Oct 2004 11:25:26 -0700 (PDT) (envelope-from ryan@slipgate.org) Received: (from ryan@localhost) by ryan.lan (8.13.1/8.13.1/Submit) id i9QIPPuI003824 for freebsd-current@freebsd.org; Tue, 26 Oct 2004 11:25:25 -0700 (PDT) (envelope-from ryan@slipgate.org) X-Authentication-Warning: ryan.lan: ryan set sender to ryan@slipgate.org using -f Date: Tue, 26 Oct 2004 11:25:25 -0700 From: Ryan Freeman To: FreeBSD Mailing List Message-ID: <20041026182525.GA3710@slipgate.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: HP PhotoSmart 635 (umass) locks up FreeBSD 5.3-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 26 Oct 2004 18:25:21 -0000 Hi, I've been putting this off for ages unfortunately. My problem is that my digital camera, an HP PhotoSmart 635 model with umass support fails to work correctly on any FreeBSD release I've tried from FreeBSD 5.3-beta5 through to RC1. For starters, I'd like to rule out the camera as the problem, as other systems such as Linux or Windows XP support it without a hitch. The two main problems are that when plugged in, it _is_ detected as follows: umass0: Hewlett-Packard hp photosmart 635, rev 2.00/0.00, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 14MB (28864 512 byte sectors: 64H 32S/T 14C) (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0 at this point, I try to mount -t msdosfs /dev/da0 /mnt which seems to just hang up. ctrl-c doesn't even get me back to the prompt right away. After giving up because of my unmountable camera, I usually unplug the camera which outputs this: umass0: at uhub1 port 2 (addr 3) disconnected (da0:umass-sim0:0:0:0): lost device umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 umass0: detached Unfortunately, rather than being able to go back to my regular tasks, the machine usually locks up. Quite consistantly I might add. Only once have I actually been at the console while it panics, so I only have the one panic message which I copied down by hand: Fatal Trap 12: page fault while in kernel mode fault virtual address = 0x2 fault code = supervisor write, page not present instruction pointer = 0x8:0xc272f864 stack pointer = 0x10:0xdc8e9c69 frame pointer = 0x10:0xdc8e9c94' code segment = base 0x0, limit 0xfffff, type 1x1b = DPL 0, pres 1, def32 1, gren 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 16 (irq5: pcm0 ohci0) trap number = 12 panic: page fault Uptime: 6m14s Now, I've actually tried this on _3_ different motherboards, one ECS k7s5a which has an SiS 735 chipset, unfortunately I don't have the dmesg from that machine. The second motherboard was an ASRock of some sort, rather new, it also had an SiS chipset of a different model but due to a lack of driver support for its agp chipset I returned it and finally bought my present motherboard, an Nforce2. The board works great, but I'm still stuck without being able to access my camera, and its quite a pain. On a final note, I also own a vivitar camera, also a umass device, which seems to work fine. it gets successfully detected without getting that "Synchronize cache failed" message that the HP camera gets. I hope this information can be of use, and I hope I can use my camera when 5.3-Release comes out. Oh, and i'm using SCHED_4BSD, not ULE ;) - ryan dmesg: Copyright (c) 1992-2004 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 5.3-RC1 #7: Wed Oct 20 14:05:42 PDT 2004 ryan@ryan.lan:/usr/obj/usr/src/sys/RYAN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 2400+ (1659.32-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0480000 real memory = 536674304 (511 MB) avail memory = 511320064 (487 MB) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfe900000-0xfe900fff irq 11 at devic e 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfea00000-0xfea00fff irq 11 at devic e 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ehci0: mem 0xfeb00000-0xfeb000ff irq 5 at de vice 2.2 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered ndis0: port 0xeff0-0xeff7 mem 0xfe800000- 0xfe800fff irq 11 at device 4.0 on pci0 ndis0: NDIS API version: 5.0 ndis0: Ethernet address: 00:0e:a6:aa:67:22 pcm0: port 0xec00-0xec7f,0xe800-0xe8ff mem 0xfe700000-0xfe700ff f irq 11 at device 6.0 on pci0 pcm0: [GIANT-LOCKED] pcm0: pcib1: at device 8.0 on pci0 pci1: on pcib1 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pcib2: at device 30.0 on pci0 pci2: on pcib2 nvidia0: mem 0xf3d00000-0xf3d7ffff,0xe8000000-0xefffffff,0xfd 000000-0xfdffffff irq 11 at device 0.0 on pci2 nvidia0: [GIANT-LOCKED] acpi_button0: on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi 0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: at iomem 0xc0000-0xcefff on isa0 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 Timecounter "TSC" frequency 1659318664 Hz quality 800 Timecounters tick every 10.000 msec ad0: 19541MB [39704/16/63] at ata0-master UDMA100 ad1: 39205MB [79656/16/63] at ata0-slave UDMA133 acd0: CDRW at ata1-master UDMA33 acd1: DVDROM at ata1-slave UDMA33 ums0: at uhub1 port 1 (addr 2) disconnected ums0: detached Mounting root from ufs:/dev/ad0s2a ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ndis0: link up stray irq7 stray irq7 stray irq7 stray irq7 too many stray irq 7's: not logging anymore Warning: pid 3125 used static ldt allocation. See the i386_set_ldt man page for more info