From owner-freebsd-stable@FreeBSD.ORG Sun Jul 12 19:18:19 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 10377106564A for ; Sun, 12 Jul 2009 19:18:19 +0000 (UTC) (envelope-from rwatson@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C05EE8FC0A for ; Sun, 12 Jul 2009 19:18:18 +0000 (UTC) (envelope-from rwatson@freebsd.org) Received: from [192.168.2.101] (host86-145-8-156.range86-145.btcentralplus.com [86.145.8.156]) by cyrus.watson.org (Postfix) with ESMTPSA id B53FC46B64; Sun, 12 Jul 2009 15:18:17 -0400 (EDT) Message-Id: From: "Robert N. M. Watson" To: Oliver Pinter In-Reply-To: <6101e8c40907100517q2d2e5891m62b0b7d57496b10@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 12 Jul 2009 20:18:16 +0100 References: <6101e8c40907091755n5aefe289r6eec14cf7f4287dc@mail.gmail.com> <6101e8c40907100517q2d2e5891m62b0b7d57496b10@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) 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 19:18:19 -0000 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. 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. Robert > > //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 >>> " >>> >> >