From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 17:18:17 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 157CD106566B for ; Wed, 20 Oct 2010 17:18:17 +0000 (UTC) (envelope-from justin.victoria@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF9178FC19 for ; Wed, 20 Oct 2010 17:18:16 +0000 (UTC) Received: by gxk3 with SMTP id 3so1601884gxk.13 for ; Wed, 20 Oct 2010 10:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type; bh=A/bWBBIW5xxHlXqe8+baguXSiFmYBDSHV4mDeYcfvTQ=; b=RzkjpcEWcrmgiZNgnNrZ6Hk4Y6h3uacVWoFxJMQMEAA5XfYpvjOv3kNtXfnm32UwAp fgBNIzq3EwGWKAfwe4lDMzlRTecRDD9ua9lkjGWznFybY5/9q70wXbu2xl96DmCvZjnq o9GPw2scZUFQ0Vxzl8lM8suBmUdfJi5oYe/ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; b=DAyN2Okp/V9/bZvHXDoZp0WQSJnCtocgzv1bXrXvP7D7clqF99L2yFAKRzEwGJG3kc D8cYGQWMjVFn4B8S+LYfo2fYLw3XfAEezicSMjnTCMm8pJuxoRJyR5AR+zk4/DfT2VII 7UlqVSkjdIA4FJZ9EJ161/zEh2Of9dw9yb5nA= Received: by 10.100.136.7 with SMTP id j7mr5505041and.64.1287594671159; Wed, 20 Oct 2010 10:11:11 -0700 (PDT) Received: from [192.168.1.169] (cpe-67-49-120-184.socal.res.rr.com [67.49.120.184]) by mx.google.com with ESMTPS id w3sm469051anw.25.2010.10.20.10.11.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 10:11:10 -0700 (PDT) Date: Wed, 20 Oct 2010 10:11:04 -0700 (PDT) From: jcv To: Alexander Best In-Reply-To: <20101020153040.GA3184@freebsd.org> Message-ID: References: <20101020153040.GA3184@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: serious issue caused by usb device, stalling almost all operations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 20 Oct 2010 17:18:17 -0000 Sorry, I replied to another message regarding this matter by mistake.. Here is my intended response to the USB issue: Wow, i mounted my phone last nite and nothing that bad happened to my FreeBSD server. The only negative issue that I had was my Phone reset. This definately makes me nervous plugging my phone in now. Is there any other messages in /var/log/messages?? hbca# dmesg | grep da rum0: need multicast update callback da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry (da1:umass-sim0:0:0:1): lost device (da1:umass-sim0:0:0:1): removing device entry da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry (da1:umass-sim0:0:0:1): lost device (da1:umass-sim0:0:0:1): removing device entry hbca# On Wed, 20 Oct 2010, Alexander Best wrote: > hi there, > > i'm running HEAD (r213495; amd64). i stumbled upon this severe problem: > > after attaching my mobile phone, it simply resets without doing mount or > anything. however after letting the device come up again it won't show up in > the console. after detaching it the usb subsystem seemed to have completely > crashed. but that's not all. the following programs now simply hang without > producing any output C-C won't do anything: > > - dmesg > - top > - ps > - killall > - camcontrol devlist > - usbconfig > > i cannot even kill the apps, since top and ps aren't working so there's no way > to find out the PIDs. using 'killall dmesg' e.g. won't work either, since > killall will also stall. > > this is the console output which i could grab with > 'vidcontrol -H -P < /dev/ttyv0' (since dmesg doesn't work anymore): > > ugen3.3: at usbus3 > umass0: on usbus3 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to rea > dy change, medium may have changed) > da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 3777MB (7736320 512 byte sectors: 255H 63S/T 481C) > (da0:umass-sim0:0:0:0): AutoSense failed > ugen3.3: at usbus3 (disconnected) > umass0: at uhub8, port 3, addr 3 (disconnected) > (da0:umass-sim0:0:0:0): AutoSense failed > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): Invalidating pack > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0xa, scsi status == > 0x0 > (da0:umass-sim0:0:0:0): removing device entry > lock order reversal: > 1st 0xffffffff80a37d50 GEOM topology (GEOM topology) @ /usr/src/sys/geom/label/ > g_label.c:320 > 2nd 0xffffffff808387a0 sysctl lock (sysctl lock) @ /usr/src/sys/kern/kern_sysct > l.c:257 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x35 > kdb_backtrace() at kdb_backtrace+0x4e > _witness_debugger() at _witness_debugger+0x29 > witness_checkorder() at witness_checkorder+0xad2 > _sx_xlock() at _sx_xlock+0xae > sysctl_ctx_free() at sysctl_ctx_free+0x2e > dacleanup() at dacleanup+0x65 > camperiphfree() at camperiphfree+0x152 > cam_periph_release_locked() at cam_periph_release_locked+0x84 > cam_periph_release() at cam_periph_release+0x6d > daclose() at daclose+0x223 > g_disk_access() at g_disk_access+0x21c > g_access() at g_access+0x3b7 > g_label_taste() at g_label_taste+0x3be > g_new_provider_event() at g_new_provider_event+0x145 > one_event() at one_event+0x2d5 > g_run_events() at g_run_events+0xe > g_event_procbody() at g_event_procbody+0x8b > fork_exit() at fork_exit+0xfd > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffff800003ecf0, rbp = 0 --- > > cheers. > alex > > -- > a13x > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >