[patch] extending {amd64|i386} cpu info

2010-02-26 Thread Alexander Best
hi there, i always forget how to decipher model and family from the cpu id. of course there're 3rd party tools to do that for you, but instead i decided to hack the kernel. ;) maybe somebody finds these changes useful. cheers. alex Index: sys/amd64/amd64/identcpu.c ==

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread jhell
On Fri, 26 Feb 2010 05:56, yanefbsd@ wrote: On Fri, Feb 26, 2010 at 2:29 AM, Jonathan McKeown wrote: On Friday 26 February 2010 12:03:42 Garrett Cooper wrote: FreeBSD is a great system; if there are ways that I can possibly make it better by adding smart defaults Be careful about that value

Re: package building failure irritation

2010-02-26 Thread Mark Linimon
fwiw, the canonical way to find out if a port will package up in a clean environment (choort, with dependencies all loaded via package) is on http://pointyhat.freebsd.org/errorlogs/ , e.g., http://pointyhat.freebsd.org/errorlogs/i386-8-full/ . http://portsmon.freebsd.org gives you lots of cross-re

Re: package building failure irritation

2010-02-26 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 xorquew...@googlemail.com wrote: >> cd $port >> make clean >> make deinstall >> make depends # just to be safe >> make install >> make package-recursive > > This apparently didn't solve the problem (same errors). > > I'm stumped. > > xw Can

Re: package building failure irritation

2010-02-26 Thread Stephen Montgomery-Smith
I also build my ports in a "jail" environment (only its not a really a jail, just a chroot). After I have built the ports I want, I create the packages using the following little script. (My mail client will have mangled the script, so take care when you copy and paste it, e.g. it needs to be

Re: package building failure irritation

2010-02-26 Thread xorquewasp
> cd $port > make clean > make deinstall > make depends # just to be safe > make install > make package-recursive This apparently didn't solve the problem (same errors). I'm stumped. xw ___ freebsd-hackers@freebsd.org mailing list http://lists

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread Juergen Lock
On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: > On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > > Hi! > > > > > > Before this gets buried on -hackers in another thead... :) > > > > > > I now have d

Re: debug libraries

2010-02-26 Thread John Baldwin
On Thursday 25 February 2010 2:09:36 pm Dr. Baud wrote: > > Apologies if this is the wrong list > > Are there prepackaged debug versions of the system libraries available (like 'yum install *-debuginfo' in Fedora and 'apt-get install *-dbg' in Ubuntu)? No, however, you can build a

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread John Baldwin
On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > Hi! > > > > Before this gets buried on -hackers in another thead... :) > > > > I now have disks appear as block devices for Linux processes (there > > already was comm

Re: package building failure irritation

2010-02-26 Thread xorquewasp
'Lo, On 2010-02-26 12:39:26, Greg Larkin wrote: > "make package-recursive" calls "make package-noinstall" for all of the > dependent ports. I'm assuming that means that the dependent packages > all have to be installed first, so I would change your script like so: > > cd $port > make clean > mak

Re: debug libraries

2010-02-26 Thread Giorgos Keramidas
On Thu, 25 Feb 2010 11:09:36 -0800 (PST), "Dr. Baud" wrote: > Apologies if this is the wrong list > > Are there prepackaged debug versions of the system libraries available > (like 'yum install *-debuginfo' in Fedora and 'apt-get install *-dbg' > in Ubuntu)? No, not really. You can always bu

Re: Building FreeBSD on a linux FC11 box.

2010-02-26 Thread Giorgos Keramidas
On Sun, 21 Feb 2010 21:22:51 +0100, Ulrich Spörlein wrote: > On Sat, 20.02.2010 at 13:03:14 -0800, R. Tyler Ballance wrote: >> You might want to ask the Debian GNU/kFreeBSD guys: >> http://www.debian.org/ports/kfreebsd-gnu/ >> >> I bet they've got a good idea :) > > They are using the kernel o

Re: package building failure irritation

2010-02-26 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 xorquew...@googlemail.com wrote: > 'Lo. > > I've come up against an infuriating problem with ports. I don't even > know what causes it, let alone how to solve it. > > Essentially, to stop already-installed software from polluting port > builds, I bui

Re: ddb and dump devices

2010-02-26 Thread Ryan Stone
It's a very simple custom protocol over UDP. You need a special server to listen for the netdump messages. Messing with something as complicated as NFS during a panic is going to increase the chances of a failure while trying to dump core. ___ freebsd-h

Re: package building failure irritation

2010-02-26 Thread Dag-Erling Smørgrav
xorquew...@googlemail.com writes: > tar: share/sgml/docbook/4.2/ChangeLog: Cannot stat: No such file or directory > [...] > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > Creating package /pkg/All/docbook-4.2.tbz > Registering depends: iso8

package building failure irritation

2010-02-26 Thread xorquewasp
'Lo. I've come up against an infuriating problem with ports. I don't even know what causes it, let alone how to solve it. Essentially, to stop already-installed software from polluting port builds, I build ports in a jail. I put a list of ports in a file and use a trivial shell script to build th

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Alexey Shuvaev
On Fri, Feb 26, 2010 at 01:47:11AM -0800, Garrett Cooper wrote: > On Thu, Feb 25, 2010 at 10:27 PM, Doug Barton wrote: > > On Thu, 25 Feb 2010, Garrett Cooper wrote: > > > >> So what I did was I wrote up a patch to be *I know... here it comes* > >> more like GNU coreutils' copy of mktemp. > > > >

RE: ntpd hangs under FBSD 8

2010-02-26 Thread Peter Steele
>So this is arguably a Python bug. Did you contacted anybody who cares about >the Python ? I did not, mainly because this link: http://bugs.python.org/msg61870 seems to imply they are already aware of the problem. I agree it must be a Python bug though. It worked in 2.5.1 but not in 2.5.5 and

Re: ntpd hangs under FBSD 8

2010-02-26 Thread Kostik Belousov
On Thu, Feb 25, 2010 at 04:26:22PM -0600, Peter Steele wrote: > > We'll likely go with this solution instead of downgrading Python and the > > related libraries. > > In fact I came up with another solution. I realized that since the problem > was related to the process signal mask, instead of ca

Re: ddb and dump devices

2010-02-26 Thread Garrett Cooper
On Thu, Feb 25, 2010 at 9:38 PM, Ryan Stone wrote: > I think a better idea would be to dump over the network to another > server.  We do that at $(WORK) for diskless machines and it's quite > effective.  Currently what we have is very rough and only implemented > on 6.1, but if I get some time thi

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Garrett Cooper
On Fri, Feb 26, 2010 at 2:29 AM, Jonathan McKeown wrote: > On Friday 26 February 2010 12:03:42 Garrett Cooper wrote: >> FreeBSD is a great system; if there are ways that I can possibly make >> it better by adding smart defaults > > Be careful about that value judgement. There are certainly ways yo

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Jonathan McKeown
On Friday 26 February 2010 12:03:42 Garrett Cooper wrote: > FreeBSD is a great system; if there are ways that I can possibly make > it better by adding smart defaults Be careful about that value judgement. There are certainly ways you can change it. Not everyone might feel the change is for the b

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Garrett Cooper
On Fri, Feb 26, 2010 at 1:21 AM, Erik Trulsson wrote: > On Thu, Feb 25, 2010 at 10:27:40PM -0800, Doug Barton wrote: >> On Thu, 25 Feb 2010, Garrett Cooper wrote: >> >> > So what I did was I wrote up a patch to be *I know... here it comes* >> > more like GNU coreutils' copy of mktemp. >> >> What's

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Garrett Cooper
On Thu, Feb 25, 2010 at 10:27 PM, Doug Barton wrote: > On Thu, 25 Feb 2010, Garrett Cooper wrote: > >> So what I did was I wrote up a patch to be *I know... here it comes* >> more like GNU coreutils' copy of mktemp. > > What's the motivation for this? Less typing and quirks because every other co

Re: mktemp(1) in /tmp or $PWD?

2010-02-26 Thread Erik Trulsson
On Thu, Feb 25, 2010 at 10:27:40PM -0800, Doug Barton wrote: > On Thu, 25 Feb 2010, Garrett Cooper wrote: > > > So what I did was I wrote up a patch to be *I know... here it comes* > > more like GNU coreutils' copy of mktemp. > > What's the motivation for this? I'm a little confused about why we'