NetBSD Problem Report #35061
From emiliano@maq033.imae.fceia.unr.edu.ar Thu Nov 16 16:51:35 2006
Return-Path: <emiliano@maq033.imae.fceia.unr.edu.ar>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id ACB3F63BAFE
for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Nov 2006 16:51:34 +0000 (UTC)
Message-Id: <20061116165114.42315168949@maq033.imae.fceia.unr.edu.ar>
Date: Thu, 16 Nov 2006 13:51:14 -0300 (ART)
From: emiliano@maq033.imae.fceia.unr.edu.ar
Reply-To: egavilan@eie.fceia.unr.edu.ar
To: gnats-bugs@NetBSD.org
Subject: umass failed to attach a digital camera
X-Send-Pr-Version: 3.95
>Number: 35061
>Category: kern
>Synopsis: Umass digital camera doesn't work. Drive offline
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 16 16:55:00 +0000 2006
>Last-Modified: Thu Nov 16 21:00:02 +0000 2006
>Originator: Emiliano Gavilan
>Release: NetBSD 4.0_BETA
>Organization:
>Environment:
System: NetBSD maq033.imae.fceia.unr.edu.ar 4.0_BETA NetBSD 4.0_BETA (GENERIC) #1: Thu Nov 16 13:06:15 ART 2006 emiliano@maq033.imae.fceia.unr.edu.ar:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
My digital camera (Concord Eye-Q 3040) is recognized by the kernel,
but show messages about drive being offline.
The camera used to work with previous version of the branch (3.99.20)
but after upgrade to 4.0_BETA it no longer works.
I think this may be related to the post of Hubert Freyrer on tech-kern
http://mail-index.netbsd.org/tech-kern/2006/09/09/0013.html
if the camera is plugged while turned on
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Concord Eye-Q 3040 AF, rev 1.00/1.00, addr 2
umass0: using ATAPI over Bulk-Only
atapibus2 at umass0: 2 targets
sd0 at atapibus2 drive 0: <CONCORD, DIGITAL CAMERA, 1.00> disk removable
sd0(umass0:0:0): readonly device
sd0: drive offline
unplug the camera
umass0: at uhub0 port 2 (addr 2) disconnected
sd0 detached
atapibus2 detached
umass0 detached
plug the camera while turned off
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Concord Eye-Q 3040 AF, rev 1.00/1.00, addr 2
umass0: using ATAPI over Bulk-Only
atapibus2 at umass0: 2 targets
sd0 at atapibus2 drive 0: <CONCORD, DIGITAL CAMERA, 1.00> disk removable
sd0(umass0:0:0): generic HBA error
sd0: drive offline
>How-To-Repeat:
Plug the camera
>Fix:
Unknown. I try the previuos version of sd.c but it no longer compile
on this system.
>Audit-Trail:
From: Emiliano Gavilan <egavilan@eie.fceia.unr.edu.ar>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/35061: umass failed to attach a digital camera
Date: Thu, 16 Nov 2006 17:59:14 -0300
On Thu, 16 Nov 2006 16:55:00 +0000 (UTC)
gnats-admin@netbsd.org wrote:
added UMASS_DEBUG and umassdebug = 0x7fffffff, recompiled GENERIC.
New output:
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Concord Eye-Q 3040 AF, rev 1.00/1.00, addr 2
umass0: using ATAPI over Bulk-Only
umass0: Get Max Lun
umass0: Get Max Lun not supported
umass0: opening iface 0xc12a03c0 epaddr 2 for BULKOUT
umass0: opening iface 0xc12a03c0 epaddr 130 for BULKIN
umass0: umass_attach_bus: ATAPI
atapibus2 at umass0: 2 targets
umass_atapi_probe_device: atapi=0xc145bd80 target=0
umass_atapi_probe_device: doing inquiry
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=36
umass0: umass_bbb_transfer cmd=0x12
umass0: CBW 42: cmdlen=12 (0x12000000240000000000...), data = 36 bytes, dir = in
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: start xfer buffer=0xcb935000 buflen=36 flags=0x5 timeout=15000
umass0: Handling BBB state 2 (BBB Data), xfer=0xc1448c00, NORMAL_COMPLETION
umass0: BBB_DATA actlen=36
umass0: 0x 008000011f000000434f4e434f524420 buffer=0xcb878970, buflen=36
umass0: 0x 4449474954414c2043414d4552412020
umass0: 0x 312e3030
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 42: sig = 0x53425355 (valid), tag = 42, res = 0, status = 0x00 (good)
umass_atapi_probedev: doing atapi_probedev on 'CONCORD' 'DIGITAL CAMERA' '1.00'
sd0 at atapibus2 drive 0: <CONCORD, DIGITAL CAMERA, 1.00> disk removable
umass_scsi_cmd: async dir=0, cmdlen=12 datalen=0
umass0: umass_bbb_transfer cmd=0x00
umass0: CBW 43: cmdlen=12 (0x00000000000000000000...), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 43: sig = 0x53425355 (valid), tag = 43, res = 0, status = 0x01 (failed)
umass0: Command Failed, res = 0
umass0: umass_bbb_transfer cmd=0x03
umass0: CBW 44: cmdlen=12 (0x03000000200000000000...), data = 32 bytes, dir = in
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: start xfer buffer=0xcb935000 buflen=32 flags=0x5 timeout=15000
umass0: Handling BBB state 2 (BBB Data), xfer=0xc1448c00, NORMAL_COMPLETION
umass0: BBB_DATA actlen=20
umass0: 0x 70000600eeee000a0000000028000000 buffer=0xc1265f64, buflen=32
umass0: 0x 00000000000000000000000000000000
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 44: sig = 0x53425355 (valid), tag = 44, res = 12, status = 0x00 (good)
sd0(umass0:0:0): readonly device
sd0: drive offline
umass_atapi_probe_device: atapi=0xc145bd80 target=1
umass0: Attach finished
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.