GENERIC-NODEBUG panics, GENERIC does not
Vladimir Zakharov
zakharov.vv at gmail.com
Fri Apr 15 11:40:58 UTC 2016
On Fri, Apr 15, 2016, Vladimir Zakharov wrote:
> $ kgdb /boot/kernel/kernel
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...
> (kgdb) list *lapic_et_start+0x281
> 0xffffffff81099411 is in lapic_et_start (cpufunc.h:408).
> 403 cpufunc.h: No such file or directory.
> in cpufunc.h
The same for GENERIC:
$ kgdb /boot/kernel.GENERIC/kernel
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(kgdb) list *lapic_et_start+0x281
0xffffffff80fdd3b1 is in lapic_et_start (/usr/src/sys/x86/x86/local_apic.c:846).
841 lapic_calibrate_initcount(et, la);
842 et->et_min_period = (0x00000002LLU << 32) / et->et_frequency;
843 et->et_max_period = (0xfffffffeLLU << 32) / et->et_frequency;
844 }
845 if (period != 0) {
846 if (la->la_timer_mode == LAT_MODE_UNDEF)
847 lapic_timer_set_divisor(lapic_timer_divisor);
848 la->la_timer_mode = LAT_MODE_PERIODIC;
849 la->la_timer_period = ((uint32_t)et->et_frequency * period) >>
850 32;
(kgdb)
--
Regards, | "In theory there is no difference between theory
Vladimir Zakharov | and practice. In practice there is."- Yogi Berra
More information about the freebsd-current
mailing list