[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Ladebug debugger |
|
Moderator: | TLE::LUCIA |
|
Created: | Fri Feb 28 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 969 |
Total number of notes: | 3959 |
796.0. "Ladebug 4.0-25 causing panic on Unix 4.0b" by KERNEL::BIRKINSHAW (Press Enter to Exit) Wed Jan 29 1997 05:51
Hi a customer has found that without exception since
upgrading to the above versions all attempts to use
ladebug cause the machine to crash. They merely set
a breakpoint at main and run to cause it. I haven't
seen any mention of this before so I assume it's not
a general fault. The panic information is included here.
Has anyone got any ideas why this might be happening?
Thanks
Simon
From: DECUK::"[email protected]" "29-Jan-1997 0944" 29-JAN-1997
09:55:45.13
To: [email protected]
CC:
Subj: Problems with ladebug
Simon,
Here's the crash data as promised, the problem is repeatable
and crash data produced seems the same each time.
tessa
#
# Crash Data Collection (Version 1.4)
#
_crash_data_collection_time: Tue Jan 28 10:19:32 GMT 1997
_current_directory: /
_crash_kernel: /var/adm/crash/vmunix.5
_crash_core: /var/adm/crash/vmcore.5
_crash_arch: alpha
_crash_os: Digital UNIX
@(#)msb V2.2
_host_version: Digital UNIX V4.0B (Rev. 564); Sat Jan 18 17:20:21 GMT 1997
@(#)msb V2.2 96/06/17 BL4-12(Rev. 82)
_crash_version: Digital UNIX V4.0B (Rev. 564); Sat Jan 18 17:20:21 GMT 1997
@(#)msb V2.2 96/06/17 BL4-12(Rev. 82)
_crashtime: struct {
tv_sec = 854446447
tv_usec = 969632
}
_boottime: struct {
tv_sec = 854446169
tv_usec = 868564
}
_config: struct {
sysname = "OSF1"
nodename = "scafell.servalan.benhall.gchq"
release = "V4.0"
version = "564"
machine = "alpha"
}
_cpu: 37
_system_string: 0xffffffffff8009e8 = "AlphaStation 255/233"
_ncpus: 1
_avail_cpus: 1
_partial_dump: 1
_physmem(MBytes): 95
_panic_string: 0xfffffc00005c8fc8 = "trap: illegal instruction"
_paniccpu: 0
_panic_thread: 0xfffffc00038e3b80
_preserved_message_buffer_begin:
struct {
msg_magic = 0x63061
msg_bufx = 0x740
msg_bufr = 0x610
msg_bufc = "Alpha boot: available memory from 0xd68000 to 0x5ffe000
Digital UNIX V4.0B (Rev. 564); Sat Jan 18 17:20:21 GMT 1997
physical memory = 96.00 megabytes.
available memory = 82.60 megabytes.
using 361 buffers containing 2.82 megabytes of memory
AlphaStation 255/233 system
DECchip 21071
82378IB (SIO) PCI/ISA Bridge
Firmware revision: 6.3
PALcode: OSF version 1.46
pci0 at nexus
psiop0 at pci0 slot 6
Loading SIOP: script 800000, reg 82020000, data 80dff0
scsi0 at psiop0 slot 0
rz0 at scsi0 target 0 lun 0 (LID=0) (DEC RZ26F (C) DEC 630J)
rz1 at scsi0 target 1 lun 0 (LID=1) (DEC RZ26F (C) DEC 630J)
rz4 at scsi0 target 4 lun 0 (LID=2) (DEC RRD45 (C) DEC 0436)
isa0 at pci0
gpc0 at isa0
ace0 at isa0
ace1 at isa0
lp0 at isa0
fdi0 at isa0
msb0 at isa0
fta0 DEC DEFPA FDDI Module, Hardware Revision 1
fta0 at pci0 slot 11
fta0: DMA Available.
fta0: DEC DEFPA (PDQ) FDDI Interface, Hardware address: 00-00-F8-4A-87-96
fta0: Firmware rev: 2.46
tga0 at pci0 slot 12
tga0: depth 8, map size 2MB, 1280x1024
tga0: ZLXp2-E, Revision: 34
tga1 at pci0 slot 13
tga1: depth 8, map size 2MB, 1280x1024
tga1: ZLXp2-E, Revision: 34
tu0: DECchip 21040-AA: Revision: 2.4
tu0 at pci0 slot 14
tu0: DEC TULIP Ethernet Interface, hardware address: 00-00-F8-22-D1-67
tu0: console mode: selecting 10BaseT (UTP) port: half duplex: no link
kernel console: tga0
dli: configured
ADVFS: using 859 buffers containing 6.71 megabytes of memory
fta0: Link Unavailable.
fta0: Link Available.
SuperLAT. Copyright 1994 Meridian Technology Corp. All rights reserved.
kernel inst fault=opdec, ps=0x0, pc=0xfffffc0003788948
panic (cpu 0): trap: illegal instruction
syncing disks... done
device string for dump = SCSI 0 6 0 0 0 0 0.
DUMP.prom: dev SCSI 0 6 0 0 0 0 0, block 163840
device string for dump = SCSI 0 6 0 0 0 0 0.
DUMP.prom: dev SCSI 0 6 0 0 0 0 0, block 163840
"
}
_preserved_message_buffer_end:
_kernel_process_status_begin:
PID COMM
00000 kernel idle
00001 init
00003 kloadsrv
00022 update
00095 syslogd
00097 binlogd
00134 gated
00186 rwhod
00289 portmap
00297 ypbind
00304 nfsiod
00307 rpc.statd
00309 rpc.lockd
00365 sendmail
00384 xntpd
00413 pmgrd
00432 os_mibs
00433 snmpd
00449 advfsd
00460 inetd
00493 cron
00519 lpd
00546 mmeserver
00562 dtlogin
00570 getty
00574 Xdec
00586 dtlogin
00648 dtsession
00700 ttsession
00701 rpc.ttdbserverd
00711 dtwm
00712 sh
00714 dxconsole
00715 dtterm
00716 dtterm
00717 dtterm
00718 dtterm
00719 dtterm
00720 mxrn
00721 dtterm
00722 dtterm
00723 dtterm
00724 dtterm
00725 rlogin
00726 csh
00732 csh
00740 csh
00753 rlogin
00756 csh
00757 rlogin
00761 csh
00768 rlogin
00789 rlogin
00790 rlogin
00791 rlogin
00792 rlogin
00855 daemon
00856 ladebug
00860 client
_kernel_process_status_end:
_current_pid: 860
_current_tid: 0xfffffc00038e3b80
_proc_thread_list_begin:
thread 0xfffffc00038e3b80 stopped at [boot:2466 ,0xfffffc0000477c08] Source
not available
_proc_thread_list_end:
_dump_begin:
> 0 boot(0x0, 0xfffffc00038e3b80, 0x2c0000002c, 0x36, 0xa000000000001)
["../../../../src/kernel/arch/alpha/machdep.c":2466, 0xfffffc0000477c08]
1 panic(s = 0xfffffc00005c8fc8 = "trap: illegal instruction")
["../../../../src/kernel/bsd/subr_prf.c":791, 0xfffffc000027a80c]
pcpu = 0x8
i = 6285280
mycpu = 0
spl = 0
2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1171,
0xfffffc000047e97c]
t = 0xfffffc00038e3b80
pcb = 0xffffffff8669ba38
task = 0xfffffc0000fc8000
p = 0xfffffc0000fc8220
syst = struct {
tv_sec = -16772096
tv_usec = -3
}
nofault_save = 0
exc_type = 0
exc_code = 18446739675669259432
exc_subcode = 0
s = 0
gen_sig = 6066072
stime_enter = struct {
seconds = 79912960
microseconds = -4398042064076
}
stime_exit = struct {
seconds = -4398005117696
microseconds = 5368905728
}
utime = struct {
seconds = 3
microseconds = -4398041706660
}
stime_enter_valid = 18446744065102844928
ast = 6066072
cursig = 6066072
instfault_types = {
[0] 0xfffffc00005ee420 = "bpt"
[1] 0xfffffc00005ee428 = "bugchk"
[2] 0xfffffc00005ee430 = "gentrap"
[3] 0xfffffc00005ee438 = "fen"
[4] 0xfffffc00005ee440 = "opdec"
[5] 0xfffffc00005ee448 = "5"
[6] 0xfffffc00005ee450 = "6"
[7] 0xfffffc00005ee458 = "7"
}
result = 7
sta = struct {
trap_a0 = 0
trap_a1 = 0
trap_a2 = 0
}
uframe = {
[0] 1
[1] 147456
[2] 3
[3] 1
[4] 3
[5] -4398015997472
[6] 5368905728
[7] 147456
[8] -4398019869888
[9] 12884901888
[10] -4398015997664
[11] -4398046511104
[12] -2039892584
[13] -4398015997408
[14] -2039892584
[15] -2039892744
[16] -2039892680
[17] -4398019869928
[18] -4398041941496
[19] -4398013700032
[20] 0
[21] 3
[22] 0
[23] -4398013699984
[24] -4398015997472
[25] -4398015997400
[26] -4398046511102
[27] 16777216
[28] 16777216
[29] -4398020941824
[30] -4394338174449
[31] -4398042456212
[32] -4397989271184
}
sta = struct {
trap_a0 = 18446739675667484652
trap_a1 = 18446739675693554208
trap_a2 = 0
}
sta = struct {
trap_a0 = 0
trap_a1 = 0
trap_a2 = 18446739675730414240
}
siginfo = struct {
si_signo = 4512460
si_errno = -1024
si_code = 30513440
si_kflags = -1024
_sifields = union {
_sigproc = struct {
_pid = 147456
_pinfo = union {
_kill = struct {
_uid = 0
_pidgen = 4551624
}
_sigchld = struct {
_status = 0
_utime = 4551624
_stime = -1024
}
_sigtimer = struct {
_timer1 = 0
_timer2 = 4551624
}
}
_sigrt = struct {
_sigval = union {
sival_int = 22601456
sival_ptr = 0xfffffc000158def0
}
}
}
_sigfault = struct {
_addr = 0x24000l1 address 0x24000 not mapped, pte 0x0
}
_sigpoll = struct {
_band = 147456
_fd = 4551624
}
_siganon = struct {
_siganon = union {
sival_int = 147456
sival_ptr = 0x24000
}
}
}
}
signal = 0
ux_code = 4552276
inst = union {
word = 6066072
byte = "\"
common = struct {
6066072
opcode = 0
}
m_format = struct {
memory_displacement = 36760
rb = 28
ra = 2
opcode = 0
}
b_format = struct {
branch_displacement = 1871768
ra = 2
opcode = 0
}
o_format = struct {
rc = 24
function = 124
form = 0
4
rb = 28
ra = 2
opcode = 0
}
l_format = struct {
rc = 24
function = 124
form = 0
literal = 228
ra = 2
opcode = 0
}
f_format = struct {
fc = 24
function = 1148
fb = 28
fa = 2
opcode = 0
}
pal_format = struct {
function = 6066072
opcode = 0
}
j_format = struct {
hint = 3992
function = 2
rb = 28
ra = 2
opcode = 0
}
}
3 _XentIF(0x0, 0xfffffc000378894c, 0xfffffc00005ee7e0, 0xfffffc00043c1ad8,
0x0) ["../../../../src/kernel/arch/alpha/locore.s":790, 0xfffffc0000473640]
_dump_end:
warning: Files compiled -g3: parameter values probably wrong
_kernel_thread_list_begin:
thread 0xfffffc0005fb22c0 stopped at [thread_run:2469 ,0xfffffc00002a86d8]
Source not available
thread 0xfffffc0005fb2580 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb2840 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb2b00 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb2dc0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb3080 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb3340 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb3600 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb38c0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005fb3b80 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb0000 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb02c0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb0580 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb0840 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb0b00 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb0dc0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb1080 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb1600 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb18c0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000eb1b80 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005656000 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc00056562c0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005656580 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005656840 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0005656b00 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e68b00 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e69080 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e69340 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e69600 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e698c0 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0000e69b80 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
thread 0xfffffc0004eb0000 stopped at [thread_block:2097 ,0xfffffc00002a7f10]
Source not available
_kernel_thread_list_end:
_savedefp: (nil)
_kernel_memory_fault_data_begin:
struct {
fault_va = 0x0
fault_pc = 0x0
fault_ra = 0x0
fault_sp = 0x0
access = 0x0
status = 0x0
cpunum = 0x0
count = 0x0
pcb = (nil)
thread = (nil)
task = (nil)
proc = (nil)
}
_kernel_memory_fault_data_end:
_uptime: .07 hours
paniccpu: 0x0
machine_slot[paniccpu]: struct {
is_cpu = 0x1
cpu_type = 0xf
cpu_subtype = 0xd
running = 0x1
cpu_ticks = {
[0] 0xe6f1
[1] 0x0
[2] 0xe490
[3] 0x27b5f
[4] 0x42ab
}
clock_freq = 0x400
error_restart = 0x0
cpu_panicstr = 0xfffffc00005c8fc8 = "trap: illegal instruction"
cpu_panic_thread = 0xfffffc00038e3b80
}
tset machine_slot[paniccpu].cpu_panic_thread:
Begin Trace for machine_slot[paniccpu].cpu_panic_thread:
> 0 boot(0x0, 0xfffffc00038e3b80, 0x2c0000002c, 0x36, 0xa000000000001)
["../../../../src/kernel/arch/alpha/machdep.c":2466, 0xfffffc0000477c08]
1 panic(s = 0xfffffc00005c8fc8 = "trap: illegal instruction")
["../../../../src/kernel/bsd/subr_prf.c":791, 0xfffffc000027a80c]
2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1171,
0xfffffc000047e97c]
3 _XentIF(0x0, 0xfffffc000378894c, 0xfffffc00005ee7e0, 0xfffffc00043c1ad8,
0x0) ["../../../../src/kernel/arch/alpha/locore.s":790, 0xfffffc0000473640]
End Trace for machine_slot[paniccpu].cpu_panic_thread:
"cpu_data" is not an array
_stack_trace[0]_begin:
> 0 boot(0x0, 0xfffffc00038e3b80, 0x2c0000002c, 0x36, 0xa000000000001)
["../../../../src/kernel/arch/alpha/machdep.c":2466, 0xfffffc0000477c08]
1 panic(s = 0xfffffc00005c8fc8 = "trap: illegal instruction")
["../../../../src/kernel/bsd/subr_prf.c":791, 0xfffffc000027a80c]
2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1171,
0xfffffc000047e97c]
3 _XentIF(0x0, 0xfffffc000378894c, 0xfffffc00005ee7e0, 0xfffffc00043c1ad8,
0x0) ["../../../../src/kernel/arch/alpha/locore.s":790, 0xfffffc0000473640]
_stack_trace[0]_end:
_kdbx_sum_start:
Hostname : scafell.servalan.benhall.gchq
cpu: AlphaStation 255/233 avail: 1
Boot-time: Tue Jan 28 10:09:29 1997
Time: Tue Jan 28 10:14:07 1997
Kernel : OSF1 release V4.0 version 564 (alpha)
_kdbx_sum_end:
_kdbx_swap_start:
Swap device name Size In Use Free
-------------------------------- ---------- ---------- ----------
/dev/rz0b 229376k 7584k 221792k
28672p 948p 27724p
-------------------------------- ---------- ---------- ----------
Total swap partitions: 1 229376k 7584k 221792k
28672p 948p 27724p
_kdbx_swap_end:
_kdbx_proc_start:
Addr PID PPID PGRP UID NICE SIGCATCH P_SIG Event Flags
=========== ===== ===== ===== ===== ==== ======== ======== ===========
============
k0x05faeca0 0 0 0 0 0 00000000 00000000 NULL in sys
k0x05e6aca0 1 0 1 0 0 307a62ff 00000000 NULL in
contign pagv
k0x05752220 3 1 3 0 0 00004000 00000000 NULL in pagv
k0x05753720 22 1 22 0 0 00002000 00002000 NULL in pagv
k0x0584e220 95 1 95 0 0 60086001 00000000 NULL in pagv
k0x0584f720 97 1 97 0 0 00004001 00000000 NULL in pagv
k0x00e6a220 134 1 0 0 0 60084003 00000000 NULL in pagv
k0x00e6aca0 186 1 186 0 0 00002001 00000000 NULL in pagv
k0x00e6b720 289 1 289 0 0 00080628 00000000 NULL in pagv
k0x01a6b720 297 1 0 0 0 00086efe 00000000 NULL in pagv
k0x01a6a220 304 1 304 0 0 00000000 00000000 NULL in pagv
k0x01a6aca0 307 1 0 0 0 00002000 00000000 NULL in pagv
ctty
k0x0587c220 309 1 309 0 0 00002000 00000000 NULL in pagv
k0x0587d720 365 1 365 0 0 20086001 00000000 NULL in pagv
k0x0584eca0 384 1 384 0 -12 60486007 00000000 NULL in pagv
k0x059a0220 413 1 413 0 -1 00004002 00000000 NULL in pagv
k0x014c4220 432 1 432 0 0 00004002 00000000 NULL in pagv
k0x014c4ca0 433 1 433 0 0 20004002 00000000 NULL in pagv
k0x059a0ca0 449 1 70 0 -1 60027eff 00000000 NULL in pagv
ctty
k0x010b8220 460 1 460 0 0 40082001 00000000 NULL in pagv
k0x010b9720 493 1 493 0 0 00002000 00000000 NULL in pagv
k0x014c5720 519 1 519 0 0 00084007 00000000 NULL in pagv
k0x04f84ca0 546 1 546 0 0 00004efb 00000000 NULL in pagv
k0x052b8220 562 1 562 0 0 20084003 00000000 NULL in pagv
k0x05e6b720 570 1 570 0 0 00000000 00000000 NULL in pagv
ctty
k0x052b9720 574 562 574 0 -2 00004003 00000000 NULL in pagv
k0x03ab4ca0 586 562 586 0 0 20006002 00000000 NULL in pagv
k0x052b8ca0 648 586 648 9080 0 00084000 00000000 NULL in pagv
k0x04f85720 700 1 648 9080 0 60085003 00000000 NULL in pagv
k0x010b8ca0 701 460 701 0 0 60081000 00000000 NULL in pagv
k0x04f84220 711 648 711 9080 0 00084e8f 00000000 NULL in pagv
k0x0587cca0 712 648 648 9080 0 00000000 00000000 NULL in pagv
k0x03ab5720 714 712 648 9080 0 00000000 00000000 NULL in pagv
k0x03ab4220 715 648 715 9080 0 60087006 00000000 NULL in pagv
k0x0279eca0 716 648 716 9080 0 60087006 00000000 NULL in pagv
k0x0279f720 717 648 717 9080 0 60087006 00000000 NULL in pagv
k0x02cec220 718 648 718 9080 0 60087006 00000000 NULL in pagv
k0x02cecca0 719 648 719 9080 0 60087006 00000000 NULL in pagv
k0x02ced720 720 648 720 9080 0 00006eff 00000000 NULL in pagv
k0x00e62220 721 648 721 9080 0 60087006 00000000 NULL in pagv
k0x00e62ca0 722 648 722 9080 0 60087006 00000000 NULL in pagv
k0x00e63720 723 648 723 9080 0 60087006 00000000 NULL in pagv
k0x00e5c220 724 648 724 9080 0 60087006 00000000 NULL in pagv
k0x0279e220 725 717 725 9080 0 28089005 00000000 NULL in pagv
ctty xonly
k0x00e5cca0 726 716 726 9080 0 00082002 00000000 NULL in pagv
ctty
k0x03598ca0 732 715 732 9080 0 00082002 00000000 NULL in pagv
ctty
k0x00e5d720 740 722 740 9080 0 00082002 00000000 NULL in pagv
ctty
k0x03599720 753 721 753 9080 0 28089005 00000000 NULL in pagv
ctty xonly
k0x00fde220 756 719 756 9080 0 00082002 00000000 NULL in pagv
ctty
k0x00fdeca0 757 718 757 9080 0 28089005 00000000 NULL in pagv
ctty xonly
k0x03598220 761 723 761 9080 0 00082002 00000000 NULL in pagv
ctty
k0x038da220 768 724 768 9080 0 28089005 00000000 NULL in pagv
ctty xonly
k0x00fdf720 789 725 725 9080 0 20009005 00000000 NULL in pagv
ctty xonly
k0x038daca0 790 753 753 9080 0 20009005 00000000 NULL in pagv
ctty xonly
k0x038db720 791 757 757 9080 0 20009005 00000000 NULL in pagv
ctty xonly
k0x01d46220 792 768 768 9080 0 20009005 00000000 NULL in pagv
ctty xonly
k0x01d46ca0 855 761 855 9080 0 00004002 00000000 NULL in pagv
ctty
k0x01d47720 856 732 856 9080 0 67c07efe 00000000 NULL in pagv
ctty
_kdbx_proc_end:
Audit subsystem disabled
No audit data to be saved
#
_crash_data_collection_finished:
T.R | Title | User | Personal Name | Date | Lines |
---|
796.1 | You can work around it... | SMURF::PETERT | rigidly defined areas of doubt and uncertainty | Wed Jan 29 1997 08:35 | 47 |
| This is a known kernel problem. It's not just ladebug. Dbx, and
I would assume gdb and aardvark can probably crash the system
too. There is a new kernel variable, db_enable, that is
causing the problem when it is set to 1. Currently, the only way
to set it to 1 is to build the kernel with KDEBUG configured.
The workaround is to set db_enable to zero.
Become superuser
ladebug -k /vmunix
assign db_eanble = 0
q
You can check the value of db_enable first if you're curious.
This will fix the running copy of the kernel, but you will
need to change the disk copy so you get this upon reboot.
For this you'll have to use dbx, unless I missed something.
I tried this with ladebug but it failed. I'll post the
failure below in case the ladebug folks don't know about it,
and they can deal with it.
dbx /vmunix // note NO -k, you want the disk copy
patch db_enable = 0
q
This will resolve the crashes.
Now as for ladebug. When I tried it to patch the disk copy of
the kernel, I got the following:
# ladebug /vmunix
Welcome to the Ladebug Debugger Version 4.0-28
------------------
object file name: /vmunix
Reading symbolic information ...ladebug: Data section too big.
Error: could not start debuggee
Could not start process for /vmunix
No image loaded ... Recovering ...
(ladebug) patch db_enable = 0
The "patch" command has failed because no program has been loaded.
(ladebug)
Perhaps the failure here is that ladebug is trying to START the
kernel. That could get pretty messy.
PeterT
|