Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2009 22:21:10 +0200
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        "Robert N. M. Watson" <rwatson@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: smbfs panic when lost connection or unmount --force
Message-ID:  <6101e8c40907121321v3e307e06l27c318ed3956197@mail.gmail.com>
In-Reply-To: <E68D3F39-5E26-43C3-A2A7-C0425B605309@freebsd.org>
References:  <6101e8c40907091755n5aefe289r6eec14cf7f4287dc@mail.gmail.com> <alpine.BSF.2.00.0907101209350.10745@fledge.watson.org> <6101e8c40907100517q2d2e5891m62b0b7d57496b10@mail.gmail.com> <E68D3F39-5E26-43C3-A2A7-C0425B605309@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/12/09, Robert N. M. Watson <rwatson@freebsd.org> 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 <rwatson@freebsd.org> 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
>>>>
>>>> "
>>>>
>>>
>> <kernel_conf.txt>
>
>



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