NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/38425 (savecore confused if getbootfile(3) fails)



The following reply was made to PR misc/38425; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, misc-bug-people%netbsd.org@localhost, 
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
        Simon Burge <simonb%NetBSD.org@localhost>
Cc: 
Subject: Re: misc/38425 (savecore confused if getbootfile(3) fails)
Date: Fri, 20 Mar 2009 14:00:36 -0400

 On Mar 20,  4:20pm, tls%rek.tjls.com@localhost (Thor Lancelot Simon) wrote:
 -- Subject: Re: misc/38425 (savecore confused if getbootfile(3) fails)
 
 | The following reply was made to PR misc/38425; it has been noted by GNATS.
 | 
 | From: Thor Lancelot Simon <tls%rek.tjls.com@localhost>
 | To: Andrew Doran <ad%netbsd.org@localhost>
 | Cc: Simon Burge <simonb%NetBSD.org@localhost>, 
gnats-bugs%NetBSD.org@localhost, tls%netbsd.org@localhost
 | Subject: Re: misc/38425 (savecore confused if getbootfile(3) fails)
 | Date: Fri, 20 Mar 2009 12:19:03 -0400
 | 
 |  On Sun, Feb 22, 2009 at 09:18:18AM +0000, Andrew Doran wrote:
 |  > 
 |  > Making it use /dev/ksyms like Thor proposed would improve the situation..
 |  
 |  Try the below - savecore had a stupid bug (it should probably not feed
 |  a filename to libkvm at all, but it certainly should not feed the wrong
 |  one) and libkvm had all the right code but the wrong default.
 |  
 |  On Christos' suggestion I have not changed getbootfile() as I originally
 |  planned.  I am sorely tempted however to remove it from the system as it
 |  seems to only be used wrong -- literally everywhere it is used, what is
 |  really wanted is "where do I get the kernel symbols", not "what name
 |  was supplied to the boot loader".
 |  
 |  Thor
 
 Is access enough? We don't have devfs :-) What if ksyms is not compiled
 in the kernel and /dev/ksyms exists? I guess this is not an issue for current..
 
 christos
 


Home | Main Index | Thread Index | Old Index