Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: chmbt@zeus.bris.ac.uk (Mark Taylor)
Subject: Re: Digital Unix 4.0B and Debug
Date: 1997/05/20	[thread overview]
Message-ID: <EAHB9G.7I0@fsa.bris.ac.uk> (raw)
In-Reply-To: 3380c109.4715987@news.globalnet.co.uk


On Mon, 19 May 1997 21:11:40 GMT Bob Farquharson (rfarq@global.net) wrote:
>On Sat, 17 May 1997 11:13:32 +0300, Lefteris Tsintjelis
><lefty@csd.hol.gr> wrote:
>
>>Would anyone expirience any core dumps when running any of the debuggers
>>(dbx, ladebug, dxladebug) on a Digital Unix system running 4.0B? It
>>crashes all the time after a 'continue' in any debugger.
>
>The problem is caused by a new kernel parameter for version 4.0 called
>dba_enable. The default for this parameter is 1. This causes the debug
>crashes. Set the value to 0 and the problem will be solved. 
>
>In case you are not sure how to do this, do the following: -
>
>ladebug -k /vmunix
>set dba_enable = 0 # Online, temporary fix that writes into memory.
>
>dbx /vmunix
>patch dba_enable = 0 # Permanent write to disk

Hm, I tried this but with no success:

  # ladebug -k /vmunix
  Welcome to the Ladebug Debugger Version 4.0-23
  ------------------ 
  object file name: /vmunix 
  Reading symbolic information ...can't access active_threads[0]
  can't access pidtab
  done
  (ladebug) set dba_enable = 0
  Unable to obtain the kernel threadlist from DPI.

and

  # dbx /vmunix

  dbx version 3.11.10
  Type 'help' for help.

  main:    Source not available

  warning: Files compiled -g3: parameter values probably wrong
  (dbx) patch dba_enable = 0

  "dba_enable" is not defined or not active


I do have access to *some* symbols, e.g. print vm_perfsum in dbx
gives me values.  I'm running DU 4.0A.  Perhaps I'm doing something
dopey - can you suggest what?
I have removed the KDEBUG option from the kernel config file, but
I'd like to get a fix without requiring a reboot.

Thanks

-----------------------------------------------------------------------
| Mark Beauchamp Taylor  -  physicist trapped in a chemist's body.    | 
| mark.taylor@bris.ac.uk    http://zeus.bris.ac.uk/~chmbt/index.html  |
| Department of Chemistry, University of Bristol, UK                  -------
-----------------------------------------------------| ... It's the future! |
                                                     ------------------------



  reply	other threads:[~1997-05-20  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
1997-05-19  4:00 ` Jeff Diewald
1997-05-19  4:00 ` Bob Farquharson
1997-05-20  4:00   ` Mark Taylor [this message]
1997-05-21  4:00     ` Bob Harris
1997-05-19  4:00 ` Malcolm Beattie
1997-05-20  4:00 ` EMMANUEL CHOQUET
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox