[call for testing] userland debug symbols

2010-11-16 Thread Mark Johnston
Hello all, I've been sitting on my changes for a while, but I think they're ready for testing at this point. They are described here: http://lists.freebsd.org/pipermail/freebsd-hackers/2010-November/033474.html Some minor changes from my last patch: - Changed gdb's default debug-file-directory

Re: [call for testing] userland debug symbols

2010-11-23 Thread Mark Johnston
On Tue, Nov 16, 2010 at 03:57:45PM -0500, Mark Johnston wrote: > Hello all, > > I've been sitting on my changes for a while, but I think they're ready > for testing at this point. They are described here: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2010-No

Re: Deterministic builds, part 2

2010-11-25 Thread Mark Johnston
On Thu, Nov 25, 2010 at 01:08:58PM +0100, Erik Cederstrand wrote: > Kernel modules: > -- > In the ELF section .gnu-debuglink, there is a link to the corresponding > *.ko.symbols file. It seems to be an inode or such rather than a file path > since nothing shows up in strings(1

Re: coretemp(4)/amdtemp(4) and sysctl nodes

2010-12-07 Thread Mark Johnston
On Wed, Dec 08, 2010 at 04:55:47AM +0100, Dag-Erling Sm??rgrav wrote: > I can't speak for amdtemp, but if coretemp used its own context instead > of its parent's context, it would show up as dev.coretemp.X.temperature > instead of dev.cpu.Y.temperature, where X is not necessarily equal to Y. Aren'

Re: fdopendir prototype on 7.3-RELEASE amd64

2011-06-01 Thread Mark Johnston
On Wed, Jun 01, 2011 at 04:27:13PM +0100, Klaus T. Aehlig wrote: > > [Please CC me, as I'm not subscribed to this list] > > Hallo, > > while dealing with PR ports/157274 [1], I found that the following > program cause a segmentation fault on 7.3-RELEASE amd64, even though > my understanding of

Re: Installation of kernel symbols file in a separate directory [Was: Re: Experiences with FreeBSD 9.0-BETA2]

2011-09-28 Thread Mark Johnston
On Wed, Sep 28, 2011 at 05:47:59PM +0300, Kostik Belousov wrote: > On Wed, Sep 28, 2011 at 10:30:06AM -0400, Ryan Stone wrote: > > You might be interested in this PR: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=153157&cat= > > > > This does the same thing for userland .symbols files, and t

Re: cdparanoia stuck in cbwait

2011-11-05 Thread Mark Johnston
On Sat, Nov 05, 2011 at 12:42:12PM -0400, Brandon Falk wrote: > Hello, > > I was got some read errors when I was reading from my disk, which is > fine. But then cdparanoia starting to no longer respond. Now it's > zombied and sitting in cbwait. `kill -9 ` does not take it down, it > seems like it'

Re: cdparanoia stuck in cbwait

2011-11-05 Thread Mark Johnston
On Sat, Nov 05, 2011 at 01:09:40PM -0400, Brandon Falk wrote: > On Sat, Nov 05, 2011 at 12:48:02PM -0400, Mark Johnston wrote: > > On Sat, Nov 05, 2011 at 12:42:12PM -0400, Brandon Falk wrote: > > > Hello, > > > > > > I was got some read errors when I was readi

Re: Broadcom BCM4310 / bwi(4) and interface bwi0 is not showing up

2010-10-24 Thread Mark Johnston
> I have a new laptop Acer Aspire One D250 and I want to install a > 8-CURRENT as of CVS from May 2009 (as I use this on all my laptops). > The laptop comes with as Wifi chip: > > none2 at pci0:1:0:0: class=0x028000 card=0xe01b105b chip=0x431514e4 > rev=0x01 hdr=0x00 > vendor = 'Broad

Generating userland debugging symbols

2010-10-29 Thread Mark Johnston
Hello all, I've been working on some changes to the system build scripts that make it easier to create and install debugging symbols files for the base userland. What we do in the tree at my work (Sandvine) is use a script that invokes strip(1) and objcopy(1) to create a separate file containing t

Re: Generating userland debugging symbols

2010-10-29 Thread Mark Johnston
On Sat, Oct 30, 2010 at 02:39:00AM +0300, Kostik Belousov wrote: > I do think that something like this would be useful. But, shouldn't > the DEBUG_FLAGS be also involved in the patch ? The goal would be > to have debug symbols for userland staff. esp. the libraries, > handled in a similar manner to

Re: Generating userland debugging symbols

2010-10-29 Thread Mark Johnston
On Fri, Oct 29, 2010 at 06:05:08PM -0700, Garrett Cooper wrote: > But having a strip script might be useful. Some companies brand > binaries for their own purposes, so having a hook into a strip script > (it should be no more than a few lines), should suffice. Something > that my old group used

Re: Generating userland debugging symbols

2010-10-29 Thread Mark Johnston
On Fri, Oct 29, 2010 at 07:48:31PM -0700, Garrett Cooper wrote: > On Fri, Oct 29, 2010 at 7:10 PM, Mark Johnston wrote: > > On Fri, Oct 29, 2010 at 06:05:08PM -0700, Garrett Cooper wrote: > > > > That's almost exactly what we're doing. I also think it's easi

Re: Space character in rc.conf variable

2010-10-30 Thread Mark Johnston
On Sun, Oct 31, 2010 at 12:08:28AM +0200, Jilles Tjoelker wrote: > Array support in the shell could make this easier, but not much unless > the rc.conf syntax would be changed as well, like > ifconfig_wlan0=(ssid "SSID WITH SPACE" dhcp) > but then changed some more such that "DHCP" can be used as

Userland debug symbols directory

2010-11-05 Thread Mark Johnston
Hi all, I have some tentative patches which add support for creating a separate directory containing all of the userland debugging symbols. I posted about this a week or so ago: http://lists.freebsd.org/pipermail/freebsd-hackers/2010-October/033437.html Some future work will involve finding out

Re: Userland debug symbols directory

2010-11-05 Thread Mark Johnston
On Fri, Nov 05, 2010 at 10:45:19PM +0200, Gleb Kurtsou wrote: > On (05/11/2010 15:14), Mark Johnston wrote: > > Hi all, > > > > I have some tentative patches which add support for creating a separate > > directory containing all of the userland debugging symbols. >

Re: Userland debug symbols directory

2010-11-06 Thread Mark Johnston
On Sat, Nov 06, 2010 at 02:04:20PM -0400, Ed Maste wrote: > On Sat, Nov 06, 2010 at 07:56:03PM +0200, Kostik Belousov wrote: > > > On Sat, Nov 06, 2010 at 01:36:20PM -0400, Ed Maste wrote: > > > On Fri, Nov 05, 2010 at 10:45:19PM +0200, Gleb Kurtsou wrote: > > > > > > > I like the idea a lot, but

Re: Interactive tool for installing packages

2010-11-09 Thread Mark Johnston
On Tue, Nov 09, 2010 at 09:32:15PM +0200, Marin Atanasov Nikolov wrote: > Hello, > > Some time ago I've started a thread on freebsd-ports@ regarding an > interactive tool for installing packages under FreeBSD - pkg_add_it. > > Now that I got some time to work on the program, I have added a few >

Re: Interactive tool for installing packages

2010-11-09 Thread Mark Johnston
On Tue, Nov 09, 2010 at 11:08:07PM +0200, Marin Atanasov Nikolov wrote: > On Tue, Nov 9, 2010 at 10:59 PM, Mark Johnston wrote: > > On Tue, Nov 09, 2010 at 09:32:15PM +0200, Marin Atanasov Nikolov wrote: > >> Hello, > >> > >> Some time ago I've starte

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Mark Johnston
On Dec 23, 2012 10:55 PM, "Alfred Perlstein" wrote: > > On 12/23/12 7:20 PM, Garrett Cooper wrote: >> >> On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein wrote: >> >> ... >> lfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: >> invalid SHT_GROUP entry >> /usr/obj/usr/home/alfred/freebsd/tmp/u

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Mark Johnston
On Dec 23, 2012 10:18 PM, "Garrett Cooper" wrote: > > On Sat, Dec 22, 2012 at 8:13 PM, Alfred Perlstein wrote: > > On 12/22/12 6:14 PM, Jan Beich wrote: > >> > >> Ed Maste writes: > >> > >>> When this knob is set standalone debug files for shared objects are > >>> built and installed in /usr/lib

Re: Failsafe on kernel panic

2013-01-17 Thread Mark Johnston
On Thu, Jan 17, 2013 at 04:14:21PM +0200, Sami Halabi wrote: > Hi, > Upon panic no auto restart occurs. > How do I know/activate these watchdogs? > Sami You can try starting watchdogd with 'service watchdogd onestart', and have it automatically start during boot by adding 'watchdogd_enable="YES"'

Re: SA-13:02/libc and FreeBSD 6

2013-02-21 Thread Mark Johnston
On Thu, Feb 21, 2013 at 01:53:44PM -0500, Mark Saad wrote: > All > So Xin's patch works so far I see no unexpected issues; can I get a MFC ? > Also on a unrelated MFC request would someone be willing to merge > stable/7/sys/netinet/tcp_input.cr246999 into 6-STABLE . This cleanly > applied and

Re: SA-13:02/libc and FreeBSD 6

2013-02-21 Thread Mark Johnston
On Thu, Feb 21, 2013 at 01:53:44PM -0500, Mark Saad wrote: > All > So Xin's patch works so far I see no unexpected issues; can I get a MFC ? > Also on a unrelated MFC request would someone be willing to merge > stable/7/sys/netinet/tcp_input.cr246999 into 6-STABLE . This cleanly > applied and

Re: UNIVERSE_TARGET doesn't seem to work

2013-06-03 Thread Mark Johnston
On Mon, Jun 03, 2013 at 02:13:38PM -0700, Navdeep Parhar wrote: > On 05/30/13 18:43, Navdeep Parhar wrote: > > I build kernel-toolchain and MAKE_JUST_KERNELS (often with NO_CLEAN, but > > not this time) as part of my pre-commit checklist. It doesn't seem to > > work after the switch to bmake. Wha

Re: openjdk7 dtrace support

2013-10-09 Thread Mark Johnston
On Wed, Oct 09, 2013 at 09:55:51PM +0800, Patrick Dung wrote: > Hello, > > > I would like to know it there is dtrace support in the openjdk7? Not yet on FreeBSD, unless there's something I'm missing. Some work needs to be done on the port in order to get it working. hotspot/make/bsd/makefiles/