From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d9ab08a1d8ff2548 X-Google-Attributes: gidfee84,public From: chmbt@zeus.bris.ac.uk (Mark Taylor) Subject: Re: Digital Unix 4.0B and Debug Date: 1997/05/20 Message-ID: #1/1 X-Deja-AN: 242575078 Sender: usenet@fsa.bris.ac.uk (Usenet) X-Nntp-Posting-Host: zeus.bris.ac.uk References: <337D68AC.DE6AD04C@csd.hol.gr> <3380c109.4715987@news.globalnet.co.uk> Organization: University of Bristol, England Newsgroups: comp.unix.osf.osf1 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 > 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! | ------------------------