From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 16:52:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EE921065673 for ; Tue, 22 Apr 2008 16:52:38 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id A7A1C8FC23 for ; Tue, 22 Apr 2008 16:52:37 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3MGqZBO071482; Tue, 22 Apr 2008 18:52:36 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 5F18CB829; Tue, 22 Apr 2008 18:52:35 +0200 (CEST) Date: Tue, 22 Apr 2008 18:52:35 +0200 From: Roland Smith To: =?iso-8859-15?Q?S=E9bastien?= Morand Message-ID: <20080422165235.GA38265@slackbox.xs4all.nl> Mail-Followup-To: =?iso-8859-15?Q?S=E9bastien?= Morand , freebsd-questions@freebsd.org References: <480D94E5.4060506@gmail.com> <20080422153442.GB36675@slackbox.xs4all.nl> <16d3abd60804220842t5339f965o1d62a15f001a813f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <16d3abd60804220842t5339f965o1d62a15f001a813f@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Hangup on USB mass device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 16:52:38 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 22, 2008 at 03:42:47PM +0000, S=E9bastien Morand wrote: > Hi, >=20 > thanks for the answer, I'm sorry for the little information I send. In the future, please don't reply on top, but on the bottom of the original. =20 > FreeBSD 7.0-STABLE kernel GENERIC on i386. > I don't see anything in the message, but I'm not sure where to look at > for crashdump. The default location is /var/crash. Look for files named vmcore.N, where N is a number. What kind of USB chip do you have on the motherboard? Try 'dmesg | grep ^usb' and post the output. =20 > My computer is either hanging up for ever, I can't move mouse or use > keyboard anymore, juste reset, or hang up a few seconds and reboot by > it self. It could be a hardware problem, or a bug. Does anything appear in the dmesg output when you try to plug in a USB device? look in /var/log/messages, at the correct time. E.g, the following appears when I plug in a USB flash drive; Apr 22 18:24:45 slackbox kernel: umass0: on uhub4 Apr 22 18:24:45 slackbox kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Apr 22 18:24:45 slackbox kernel: da0: Removab= le Direct Access SCSI-2 device=20 Apr 22 18:24:45 slackbox kernel: da0: 40.000MB/s transfers Apr 22 18:24:45 slackbox kernel: da0: 250MB (512000 512 byte sectors: 64H 3= 2S/T 250C) Seeing which of these lines appear or not makes it easier to track down the bug. Try to read the crashdump with the kernel debugger, as described in =A710.2 of the FreeBSD Developers' Handbook. Obtain a so-called backtrace. (using the 'bt' command in the debugger). Post your question and the information that you've gathered to the -stable mailing list. There are more people there who are familiar with the kernel internals. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgOF9MACgkQEnfvsMMhpyUbGwCcCSdUJQVXon9SYEORgWpDEU1X KfIAnR34phZF4DzsdSTGFtpKZ1J611LV =1/lG -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--