From owner-freebsd-stable@FreeBSD.ORG Sun Jul 12 20:21:12 2009 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 81C9C106566B; Sun, 12 Jul 2009 20:21:12 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id D5B6A8FC13; Sun, 12 Jul 2009 20:21:11 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: by fxm24 with SMTP id 24so1547347fxm.43 for ; Sun, 12 Jul 2009 13:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rWy0uKbR+/XyT6OKRz5AWpBVFXaWijvedwQDVJZTtR4=; b=ChInjncF4t8tZk6GcP35FHT697qSL3Zt/jub9+ydpI0CcqDPAuMhERBAkkh4YTWJ25 yGJZtrCPZwPzC4qxd3pUFwsraH4VSU7lNC+x1AhttlqXUJ0NyOjwVJJQW/FW2ZFGsf7p gKgnjlMbtOr2j5S5irzlFZqsYbwxnsh4Cal6s= 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=swWlcIF+KPW6zRb0BFuuKQGUJwDk0EfpSHa63RKDoT99LdAezjq55kMThbCZyRf6xg 1Wa9icMSvWCCu/K4EXLmy2dkBf/c3ocTCXNd9HDsb8E+5/Jrx4Vbrc7x9nrteCZu5Wcc 46L1wkT6JSVWR6dZ0qs/seuS/8WH/Yi118aiQ= MIME-Version: 1.0 Received: by 10.103.174.18 with SMTP id b18mr2202941mup.129.1247430070671; Sun, 12 Jul 2009 13:21:10 -0700 (PDT) In-Reply-To: References: <6101e8c40907091755n5aefe289r6eec14cf7f4287dc@mail.gmail.com> <6101e8c40907100517q2d2e5891m62b0b7d57496b10@mail.gmail.com> Date: Sun, 12 Jul 2009 22:21:10 +0200 Message-ID: <6101e8c40907121321v3e307e06l27c318ed3956197@mail.gmail.com> From: Oliver Pinter To: "Robert N. M. Watson" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: smbfs panic when lost connection or unmount --force 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: Sun, 12 Jul 2009 20:21:12 -0000 On 7/12/09, Robert N. M. Watson wrote: > > On 10 Jul 2009, at 13:17, Oliver Pinter wrote: > >> I know, that the bt is useful, but ddb works with usb keyboard? >> At nigth then I send the log. > > Unfortunately, a known issue with FreeBSD 8.0 is that the new USB > stack, while a vast improvement over the previous USB stack in > countless ways, does not support polled access from DDB. You will need > to use a serial port, firewire port, ps/2, or AT keyboard in order to > get interactive DDB support. > it worked with usb keyboard, the pictured and the last log is made with usb keyboard.. > If that's not feasible, or if it's just easier, you may be able to use > the DDB scripting facility + textdumps to run DDB commands > automatically on panic to produce useful debugging output. Take a look > at the textdump(4) man page for details. This can be combined with a > traditional crashdump to capture both DDB output and normal dump data > for use with kgdb. jeah, I readed the man (ddb and textdump), and I used a small script.. > > Robert > thanks for the help >> >> //sorry for bad english >> >> ps.: attached the config >> >> On 7/10/09, Robert Watson wrote: >>> >>> On Fri, 10 Jul 2009, Oliver Pinter wrote: >>> >>>> It is a kernel panic, when force unmount the smbfs volume or lost >>>> the >>>> connection with the samba server. >>> >>> This is a NULL pointer dereference in the kernel. Per Attilio's e- >>> mail, a >>> stack trace should help us track it down. Thanks! >>> >>> Robert N M Watson >>> Computer Laboratory >>> University of Cambridge >>> >>>> >>>> -- >>>> Thes OS is: >>>> >>>> >>>> kern.ostype: FreeBSD >>>> kern.osrelease: 7.2-STABLE >>>> kern.osrevision: 199506 >>>> kern.version: FreeBSD 7.2-STABLE #4: Sat Jun 27 21:44:32 CEST 2009 >>>> root@oliverp:/usr/obj/usr/src/sys/stable >>>> kern.osreldate: 702103 >>>> >>>> -- >>>> make.conf: >>>> >>>> >>>> CPUTYPE?=core2 >>>> CFLAGS= -O2 -fno-strict-aliasing -pipe >>>> MODULES_OVERRIDE=smbfs libiconv libmchain zfs opensolaris drm cd9660 >>>> cd9660_iconv >>>> >>>> -- >>>> panic message: >>>> >>>> Jul 10 01:58:39 oliverp syslogd: kernel boot file is /boot/kernel/ >>>> kernel >>>> Jul 10 01:58:39 oliverp kernel: kernel trap 12 with interrupts >>>> disabled >>>> Jul 10 01:58:39 oliverp kernel: >>>> Jul 10 01:58:39 oliverp kernel: >>>> Jul 10 01:58:39 oliverp kernel: Fatal trap 12: page fault while in >>>> kernel >>>> mode >>>> Jul 10 01:58:39 oliverp kernel: cpuid = 2; apic id = 02 >>>> Jul 10 01:58:39 oliverp kernel: fault virtual address = 0x30 >>>> Jul 10 01:58:39 oliverp kernel: fault code = supervisor read data, >>>> page not present >>>> Jul 10 01:58:39 oliverp kernel: instruction pointer = >>>> 0x8:0xffffffff80327fd0 >>>> Jul 10 01:58:39 oliverp kernel: stack pointer = >>>> 0x10:0xffffff8078360940 >>>> Jul 10 01:58:39 oliverp kernel: frame pointer = >>>> 0x10:0xffffff0004c31390 >>>> Jul 10 01:58:39 oliverp kernel: code segment = base 0x0, limit >>>> 0xfffff, type 0x1b >>>> Jul 10 01:58:39 oliverp kernel: = DPL 0, pres 1, long 1, def32 0, >>>> gran 1 >>>> Jul 10 01:58:39 oliverp kernel: processor eflags = resume, IOPL = 0 >>>> Jul 10 01:58:39 oliverp kernel: current process = 60406 (smbiod0) >>>> Jul 10 01:58:39 oliverp kernel: trap number = 12 >>>> Jul 10 01:58:39 oliverp kernel: panic: page fault >>>> Jul 10 01:58:39 oliverp kernel: cpuid = 2 >>>> Jul 10 01:58:39 oliverp kernel: Uptime: 6h51m16s >>>> Jul 10 01:58:39 oliverp kernel: Physical memory: 4087 MB >>>> Jul 10 01:58:39 oliverp kernel: Dumping 2448 MB:Copyright (c) >>>> 1992-2009 The FreeBSD Project. >>>> _______________________________________________ >>>> freebsd-stable@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org >>>> >>>> " >>>> >>> >> > >