From owner-freebsd-current@FreeBSD.ORG Wed Jan 5 11:46:41 2011 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 D7E7010658C2; Wed, 5 Jan 2011 11:46:41 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8898FC08; Wed, 5 Jan 2011 11:46:41 +0000 (UTC) Received: by pvc22 with SMTP id 22so3186499pvc.13 for ; Wed, 05 Jan 2011 03:46:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Lv7DwORDsidIFYpW4ze3L7nT6RWReI5WurZCDaVV1cM=; b=uqn8pLh878FEAcw6QU1FCiGNm8MRe5eyHuMbIIdzR77XGLGaTF2y5/wd+PBSdFRy79 bjOnupJIzT8Zrpl7jjA0uZVkUFxsFBNTGHh4/YLTRPFl7LyJqrXCemuEgqvSPLhCTqqX G8GvGucKeV5bsCavPikOD3QK90yKpRdHnT3Bc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dmfz9hyBjLe2CciyHhwPKQA3eKQfU6UowMQhrzuBewBiJLkJP3rUrWucIefkAtd3Jo ZXsYzeNG/utbcigOaArLbPcD1adpsPFCzEpiRZLmoSDokuMlIdVLbF9JYjdK6zUjKk39 B+av/45lMouuO0zlUoUqfCMHPu6FzmknGVQ7o= MIME-Version: 1.0 Received: by 10.142.48.14 with SMTP id v14mr18731726wfv.157.1294228000959; Wed, 05 Jan 2011 03:46:40 -0800 (PST) Received: by 10.142.230.17 with HTTP; Wed, 5 Jan 2011 03:46:40 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Jan 2011 13:46:40 +0200 Message-ID: From: Oleg Nauman To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: CAM related panic on 8.2-PRERELEASE Was: Re: USB related panic on 8.2-PRERELEASE 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, 05 Jan 2011 11:46:42 -0000 On Tue, Dec 28, 2010 at 9:49 AM, Oleg Nauman wrote: > On Fri, Dec 10, 2010 at 8:15 PM, Hans Petter Selasky w= rote: >> Hi, > > =C2=A0Hello, > >> >> I think this is a known issue which never got fixed. Please try the atta= ched >> patch and report back. >> >> XXX_SAFE !=3D XXX_REAL_SAFE :-) > > =C2=A0My laptop experienced a crash again, this time it seems CAM related= : > > Unread portion of the kernel message buffer: > umass0: at uhub5, port 3, addr 2 (disconnected) > (probe0:umass-sim0:0:0:0): AutoSense failed > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =C2=A0 =3D 0x14 > fault code =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D supervisor= read, page not present > instruction pointer =C2=A0 =C2=A0 =3D 0x20:0xc0736482 > stack pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x28:0xc5225bd4 > frame pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x28:0xc5225bec > code segment =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D base 0x0, limit= 0xfffff, type 0x1b > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D resume, IOPL =3D 0 > current process =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 12 (swi2: cambio) > trap number =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 12 > panic: page fault > cpuid =3D 0 > KDB: stack backtrace: > #0 0xc072ac57 at kdb_backtrace+0x47 > #1 0xc06ffe97 at panic+0x117 > #2 0xc09a31f3 at trap_fatal+0x323 > #3 0xc09a3602 at trap+0x152 > #4 0xc098c87c at calltrap+0x6 > #5 0xc06f25e9 at _mtx_unlock_sleep+0x49 > #6 0xc06f2669 at _mtx_unlock_flags+0x49 > #7 0xc0473bb0 at camisr+0x110 > #8 0xc06de98c at intr_event_execute_handlers+0x14c > #9 0xc06df77e at ithread_loop+0xbe > #10 0xc06dccde at fork_exit+0xee > #11 0xc098c8f4 at fork_trampoline+0x8 > Uptime: 6m55s > Physical memory: 2027 MB > Dumping 121 MB: 106 90 74 58 42 26 10 > > Reading symbols from /boot/modules/bwn_v4_ucode.ko...Reading symbols > from /boot/modules/bwn_v4_ucode.ko.symbols...done. > done. > Loaded symbols for /boot/modules/bwn_v4_ucode.ko > Reading symbols from /boot/modules/cuse4bsd.ko...done. > Loaded symbols for /boot/modules/cuse4bsd.ko > #0 =C2=A0doadump () at pcpu.h:231 > 231 =C2=A0 =C2=A0 pcpu.h: No such file or directory. > =C2=A0 =C2=A0 =C2=A0 =C2=A0in pcpu.h > (kgdb) #0 =C2=A0doadump () at pcpu.h:231 > #1 =C2=A00xc06ffc93 in boot (howto=3D260) at ../../../kern/kern_shutdown.= c:419 > #2 =C2=A00xc06ffed0 in panic (fmt=3DVariable "fmt" is not available. > ) at ../../../kern/kern_shutdown.c:592 > #3 =C2=A00xc09a31f3 in trap_fatal (frame=3D0xc5225b94, eva=3D20) > =C2=A0 =C2=A0at ../../../i386/i386/trap.c:946 > #4 =C2=A00xc09a3602 in trap (frame=3D0xc5225b94) at ../../../i386/i386/tr= ap.c:326 > #5 =C2=A00xc098c87c in calltrap () at ../../../i386/i386/exception.s:166 > #6 =C2=A00xc0736482 in turnstile_broadcast (ts=3D0x0, queue=3D0) > =C2=A0 =C2=A0at ../../../kern/subr_turnstile.c:831 > #7 =C2=A00xc06f25e9 in _mtx_unlock_sleep (m=3D0xc67e170c, opts=3D0, > =C2=A0 =C2=A0file=3D0xc0a04b40 "../../../cam/cam_xpt.c", line=3D4715) > =C2=A0 =C2=A0at ../../../kern/kern_mutex.c:675 > #8 =C2=A00xc06f2669 in _mtx_unlock_flags (m=3D0xc67e170c, opts=3D0, > =C2=A0 =C2=A0file=3D0xc0a04b40 "../../../cam/cam_xpt.c", line=3D4715) > =C2=A0 =C2=A0at ../../../kern/kern_mutex.c:227 > #9 =C2=A00xc0473bb0 in camisr (dummy=3D0x0) at ../../../cam/cam_xpt.c:471= 5 > #10 0xc06de98c in intr_event_execute_handlers (p=3D0xc556f7f8, ie=3D0xc56= a8800) > =C2=A0 =C2=A0at ../../../kern/kern_intr.c:1220 > #11 0xc06df77e in ithread_loop (arg=3D0xc556e2b0) > =C2=A0 =C2=A0at ../../../kern/kern_intr.c:1233 > #12 0xc06dccde in fork_exit (callout=3D0xc06df6c0 , > =C2=A0 =C2=A0arg=3D0xc556e2b0, frame=3D0xc5225d28) at ../../../kern/kern_= fork.c:845 > #13 0xc098c8f4 in fork_trampoline () at ../../../i386/i386/exception.s:27= 3 > (kgdb) Filed PR 153514 for better the things tracking. Is it possible to look into this issue? > > It happens with > device umass > enabled in my kernel config file > >> >> --HPS >> >> On Thursday 09 December 2010 12:02:48 Oleg Nauman wrote: >>> On Wed, Dec 8, 2010 at 7:05 PM, Oleg Nauman wro= te: >>> > =C2=A0Hello Hans, >>> > >>> > On Wed, Dec 8, 2010 at 3:33 PM, Hans Petter Selasky >> wrote: >>> >> On Wednesday 08 December 2010 11:41:28 Oleg Nauman wrote: >>> >>> Hello, >>> >>> >>> >>> Unfortunately my notebook experienced the crash during the attempts= to >>> >>> attach EVDO modem supplied with builtin MicroSD cardreader. >>> >>> Related core.txt file is attached as well as 'usbconfig >>> >>> dump_all_config_desc' output (all_config.txt) >>> >>> USB subsystem reports endless USB_ERR_STALLED events during attempt= s >>> >>> to attach umass device, but attaches it finally ( sometimes it >>> >>> attached after two attempts, sometimes it trying to attach during >>> >>> 15-20 minutes ).MicroSD is inserted there, without any effect =C2= =A0on >>> >>> attachment attempts though. >>> >> >>> >> Hi, >>> >> >>> >> Can you reproduce the panic using a kernel built with INVARIANTS opt= ions >>> >> and DEBUG_MEMGUARD . >>> > >>> > =C2=A0I rebuilt my kernel with options you mentioned ( have added >>> > INVARIANT_SUPPORT required =C2=A0by INVARIANTS though ) >>> > >>> > Waiting on panic.. >>> >>> =C2=A0Got it finally ( core.txt file is attached ) >>> >> >