Project

General

Profile

Actions

Bug #325

closed

Unable to compile SMP kernel without debug

Added by rauf about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I tried to compile kernel without debug and with SMP on 1.6.1 and got:

linking kernel.nodebug
kern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'
  • Error code 1
Stop in /usr/obj/usr/src/sys/TEST.
  • Error code 1
Stop in /usr/src.
  • Error code 1

Stop in /usr/src.

Kernel config here: www.kuliyev.com/TEST

Rauf


Files

kern_spinlock.patch (363 Bytes) kern_spinlock.patch rauf, 09/22/2006 02:51 AM
Actions #1

Updated by elekktretterr about 15 years ago

Ive had the same problem on my server. I didnt report it, because in the
end I came to believe its good to have debugger in, in case something
funny happens.

Petr

Rauf Kuliyev wrote:

I tried to compile kernel without debug and with SMP on 1.6.1 and got:

linking kernel.nodebug
kern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'
  • Error code 1
Stop in /usr/obj/usr/src/sys/TEST.
  • Error code 1
Stop in /usr/src.
  • Error code 1

Stop in /usr/src.

Kernel config here: www.kuliyev.com/TEST

Rauf

Actions #2

Updated by rauf about 15 years ago

I found the possible problem (looks like typo, but I can be wrong),
and patch is attached.

On 9/22/06, Petr Janda <> wrote:

Ive had the same problem on my server. I didnt report it, because in the
end I came to believe its good to have debugger in, in case something
funny happens.

Petr

Rauf Kuliyev wrote:

I tried to compile kernel without debug and with SMP on 1.6.1 and got:

linking kernel.nodebug
kern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'
  • Error code 1
Stop in /usr/obj/usr/src/sys/TEST.
  • Error code 1
Stop in /usr/src.
  • Error code 1

Stop in /usr/src.

Kernel config here: www.kuliyev.com/TEST

Rauf

Actions #3

Updated by dillon about 15 years ago

:I found the possible problem (looks like typo, but I can be wrong),
:and patch is attached.

That will almost do it, but you just put the ++bo->nsec inside the
conditional and it has to be outside the conditional.
I'll commit a fix in a moment.
-Matt
Actions

Also available in: Atom PDF