From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 23:16:07 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E3B106566C for ; Wed, 23 Apr 2008 23:16:07 +0000 (UTC) (envelope-from seb.morand@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 762FE8FC1D for ; Wed, 23 Apr 2008 23:16:06 +0000 (UTC) (envelope-from seb.morand@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so2627403mue.3 for ; Wed, 23 Apr 2008 16:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type; bh=WSm7gHgBQlJGkQRdWCUZs8mA+u3GhQpaRiWWAscSfyQ=; b=YMKoX7IZzioMUaeG7LJh8NkcbgNbKbkUrTA/ChGuVnaHNZG2+T1kjk1SyBahR+UiPlCnm2JyQxWzwCcHXn36zKkGB7xbEoG38TbMlfkkI98Jdzue4rawp+nch5vwOKflSVNtBJvACdwn5ZR2NiOGuDVzr1/BTTLdxCxjxPVQvZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type; b=uC0XFgI8RHyrcyrxNFXBqdI7QXo+to5c7xR3b1hktijoVXsuKm7L+qXopvJEf8uHOKu/j9zrJaJ2Pg++F9kYz7IN2jDAsBQ/+Ym9dx/zK6jci3cFFK46vXc83bv99fuVjjOBYA1vhcT9uno+2IZflghL+KoOd9N+viN6Ucf4oqk= Received: by 10.78.134.7 with SMTP id h7mr2065095hud.76.1208991121163; Wed, 23 Apr 2008 15:52:01 -0700 (PDT) Received: from mellba.mayaseb ( [41.208.161.77]) by mx.google.com with ESMTPS id d24sm6347149nfh.25.2008.04.23.15.51.58 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Apr 2008 15:52:00 -0700 (PDT) Message-ID: <480FBDB1.5060806@gmail.com> Date: Wed, 23 Apr 2008 22:52:33 +0000 From: =?ISO-8859-1?Q?S=E9bastien_Morand?= User-Agent: Thunderbird 2.0.0.12 (X11/20080406) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------000201090703080505030200" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem with usb mass storage devices : system hang up 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: Wed, 23 Apr 2008 23:16:07 -0000 This is a multi-part message in MIME format. --------------000201090703080505030200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit :Hi, Two of my usb devices make my system hang up for a few seconds and then my system reboot when I plug them. Here is my configuration: $ uname -a FreeBSD mellba.mayaseb 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $ dmesg | grep usb usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 usb1: waiting for BIOS to give up control usb1: timed out waiting for BIOS usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 Dmesg about the two devices working fine: $ dmesg | grep ^da da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim1 bus 1 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim2 bus 2 target 0 lun 0 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 3840MB (7864320 512 byte sectors: 255H 63S/T 489C) by the way, I'm not sure what da1 and da2 are, actually I have two card reader in the front of the pc, I think it's what they are, but I never really bothered with them. dmesg at the hang-up time: Apr 23 22:17:48 mellba root: Unknown USB device: vendor 0x07b4 product 0x0105 bus uhub0 Apr 23 22:17:48 mellba kernel: umass2: on uhub0 Apr 23 22:19:53 mellba syslogd: kernel boot file is /boot/kernel/kernel Apr 23 22:19:53 mellba kernel: Copyright (c) 1992-2008 The FreeBSD Project. Apr 23 22:19:53 mellba kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Apr 23 22:19:53 mellba kernel: The Regents of the University of California. All rights reserved. Apr 23 22:19:53 mellba kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Apr 23 22:19:53 mellba kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 Note : 22:19:53 is the time of the next boot time I got a /var/crash/vmcore.N file but I can't use it doing what is specified in freebsd developper handbook: I can't do that. It required a built kernel, didn't it? The handbook said to launch: # cd /usr/obj/usr/src/sys/GENERIC No such file or directory # kgdb kernel.debug /var/crash/vmcore.0 I try to compile kernel to get information from vmcore but I failed: === [23/04/2008 22:09:14] root@mellba:/usr/src # make buildkernel KERNCONF=GENERIC "Makefile.inc1", line 1034: Malformed conditional (${MK_LIBTHR} != "no"&& ${MK_LIBKSE} != "no") "Makefile.inc1", line 1036: if-less elif "Makefile.inc1", line 1038: if-less elif "Makefile.inc1", line 1040: if-less endif make: fatal errors encountered -- cannot continue So I have no more idea to find out the problem, hope some will be able to help me. Sebastien --------------000201090703080505030200--