Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Digital Unix 4.0B and Debug
@ 1997-05-17  4:00 Lefteris Tsintjelis
  1997-05-19  4:00 ` Bob Farquharson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lefteris Tsintjelis @ 1997-05-17  4:00 UTC (permalink / raw)



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.
-- 
Lefteris Tsintjelis
Computer Studio Ltd                    Tel.: +30 1 925 1865-8
L. Vouliagmenis 223                    Fax.: +30 1 970 8067
Athens Greece 17237



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
@ 1997-05-19  4:00 ` Bob Farquharson
  1997-05-20  4:00   ` Mark Taylor
  1997-05-19  4:00 ` Malcolm Beattie
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Bob Farquharson @ 1997-05-19  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
  1997-05-19  4:00 ` Bob Farquharson
@ 1997-05-19  4:00 ` Malcolm Beattie
  1997-05-19  4:00 ` Jeff Diewald
  1997-05-20  4:00 ` EMMANUEL CHOQUET
  3 siblings, 0 replies; 7+ messages in thread
From: Malcolm Beattie @ 1997-05-19  4:00 UTC (permalink / raw)



In article <337D68AC.DE6AD04C@csd.hol.gr>,
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.

There's a patch available, I believe, or you can work around it
by taking the
    options KDEBUG
line out of your kernel config file and building a new kernel.

--Malcolm

-- 
Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Oxford University Computing Services
"Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
  1997-05-19  4:00 ` Bob Farquharson
  1997-05-19  4:00 ` Malcolm Beattie
@ 1997-05-19  4:00 ` Jeff Diewald
  1997-05-20  4:00 ` EMMANUEL CHOQUET
  3 siblings, 0 replies; 7+ messages in thread
From: Jeff Diewald @ 1997-05-19  4:00 UTC (permalink / raw)



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.

There's a known problem with 4.0B on certain machines.  From the
Ladebug release notes:

] There is a problem with using any version of ladebug (or dbx) on 
] certain systems that are running Digital UNIX 4.0B. The problem is 
] that some systems will hang or crash when the debugger is used. 
] 
] The machines affected are the newer machines, such as the AlphaStation 
] 500 and 600 series machines. This is not a problem for other machines 
] such as DEC 3000s and DEC 4000s. 
] 
] A kernel patch is required to fix this problem. From the 4.0B patch 
] kit, install the following patch: 
] 
]       NEW PatchID: 91.00 
]       PATCH ID: OSF410-053     SUBSET(s): OSFBIN410
] 
] When using setld to install the 4.0B patch kit, look for the new 
] PatchID in the subset menu display to select the correct patch. 
] The patch description is: "Patch: Kernal Debugger Corrections". 

Without knowing the exact details of your specific situation, I can't
say for sure if this is the solution you need.  Given that this patch
fixes dbx and Ladebug, and that your problem appears in both, it's
very possible.
-----------------------------------------------------------------------
Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
Ladebug group			INTERNET:  diewald@zko.dec.com
Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, I may be able to get you an answer.  You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-19  4:00 ` Bob Farquharson
@ 1997-05-20  4:00   ` Mark Taylor
  1997-05-21  4:00     ` Bob Harris
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Taylor @ 1997-05-20  4:00 UTC (permalink / raw)



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! |
                                                     ------------------------



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
                   ` (2 preceding siblings ...)
  1997-05-19  4:00 ` Jeff Diewald
@ 1997-05-20  4:00 ` EMMANUEL CHOQUET
  3 siblings, 0 replies; 7+ messages in thread
From: EMMANUEL CHOQUET @ 1997-05-20  4:00 UTC (permalink / raw)



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.
> --

rebuild a kernel without Kernel debug option

-- 
Emmanuel Choquet 
Informatique Client/Serveur
& Communication
                _/
                            _/
              _/   _/_/_/  _/   _/_/_/
             _/   _/      _/   _/
            _/   _/      _/   _/_/_/
           _/   _/      _/       _/
          _/   _/_/_/  _/   _/_/_/

ics@cica.fr
c/o Cica      Tel: (33) 4 92.94.23.50 
2229, route des cretes  fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Digital Unix 4.0B and Debug
  1997-05-20  4:00   ` Mark Taylor
@ 1997-05-21  4:00     ` Bob Harris
  0 siblings, 0 replies; 7+ messages in thread
From: Bob Harris @ 1997-05-21  4:00 UTC (permalink / raw)



In article <EAHB9G.7I0@fsa.bris.ac.uk>, chmbt@zeus.bris.ac.uk (Mark Taylor)
wrote:

>On Mon, 19 May 1997 21:11:40 GMT Bob Farquharson (rfarq@global.net) wrote:
>Hm, I tried this but with no success:
>
>  # ladebug -k /vmunix
>  (ladebug) set dba_enable = 0
>  Unable to obtain the kernel threadlist from DPI.

  The symbol is db_enable.

>and
>
>  # dbx /vmunix

    It is "dbx -k /vmunix".  The -k is important.

    And the name is again wrong.  db_enable

    # dbx -l vmunix
    (dbx) print db_enable
    (dbx) assign db_enable=0    # set in memory value
    (dbx) patch db_enable=0     # patch on disk /vmunix file

>I have removed the KDEBUG option from the kernel config file, but
>I'd like to get a fix without requiring a reboot.

    Don't forget to do a rebuild of the kernel and copy the new kernel to
    /vmunix before doing the reboot

        doconfig -c HOSTNAME
        ...
        cp /sys/HOSTNAME/vmunix /vmunix

-- 
                                            Bob Harris

"I don't get to tell me what to do, I only get to tell me how to do it."
Comments expressed here are my own and _NOT_ those of my employer.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-05-21  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
1997-05-19  4:00 ` Bob Farquharson
1997-05-20  4:00   ` Mark Taylor
1997-05-21  4:00     ` Bob Harris
1997-05-19  4:00 ` Malcolm Beattie
1997-05-19  4:00 ` Jeff Diewald
1997-05-20  4:00 ` EMMANUEL CHOQUET

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