Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 18:52:35 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        =?iso-8859-15?Q?S=E9bastien?= Morand <seb.morand@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hangup on USB mass device
Message-ID:  <20080422165235.GA38265@slackbox.xs4all.nl>
In-Reply-To: <16d3abd60804220842t5339f965o1d62a15f001a813f@mail.gmail.com>
References:  <480D94E5.4060506@gmail.com> <20080422153442.GB36675@slackbox.xs4all.nl> <16d3abd60804220842t5339f965o1d62a15f001a813f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <vendor 0x3538 USB Mass Storage De=
vice, class 0/0, rev 2.00/1.00, addr 2> 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: <Generic USB Flash Disk 0.00> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080422165235.GA38265>