smbfs panic when lost connection or unmount --force

Oliver Pinter oliver.pntr at gmail.com
Sun Jul 12 20:21:12 UTC 2009


On 7/12/09, Robert N. M. Watson <rwatson at 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 at 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 at 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 at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org
>>>>
>>>> "
>>>>
>>>
>> <kernel_conf.txt>
>
>


More information about the freebsd-stable mailing list