Re: tgamma function in math library

2010-01-01 Thread Simon 'corecode' Schubert

Karthik Subramanian wrote:

Perhaps you could write a wrapper called gamma() that does something like this:

=
structutsname *ub;

/* malloc, etc. */

if(uname(ub)) {
die();
}

if (strcmp(ub-sysname, Linux) {
   tgamma();
} else {
   gamma();
}


That's wont work - you can't call the wrapper gamma as well.

Either use configure, or hardcode it:

#ifdef __GLIBC__
#define gamma(x) tgamma(x)
#endif

and then use gamma() normally.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: libthr and libgcc_s

2009-11-17 Thread Simon 'corecode' Schubert

Pierre Abbat wrote:
I'd like to run Seventeen or Bust on my laptop. I downloaded the FreeBSD 
version and tried to run it. I need libthr and libgcc_s (preferably versions 
3 and 1). What packages are these in?


We don't have them.  You won't be able to run FreeBSD-5+ binaries.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: vkernel installation problem

2009-11-17 Thread Simon 'corecode' Schubert

Siju George wrote:

Hi,

I was following the instructions

http://www.dragonflybsd.org/docs/user/vKernelSetup/

and I got the following error.


dfly-bkpsrv# cd /etc/

cd /usr/src/etc


dfly-bkpsrv# make distribution DESTDIR=/Backup1/Data/mnt
make: don't know how to make distribution. Stop
dfly-bkpsrv#

how do I fix it?

Thanks

--Siju



--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: [Fwd: avalon pkgsrc DragonFly 2.5.1/i386 2009-11-05 02:34]

2009-11-15 Thread Simon 'corecode' Schubert

jus...@shiningsilence.com wrote:

Another pkgsrc 2009Q3 build for i386 completed - build reports for anyone
who wants to fix packages are at:

http://avalon.dragonflybsd.org/reports//20091105.0234/

I could use a system for 2.4.x builds - anyone have a machine with root
access and OK upstream bandwidth available?


Can't we build it on avalon?

cheers
  simon


Re: git: Revert rename amd64 architecture to x86_64

2009-11-07 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

On Fri, 6 Nov 2009, Jordan Gordeev wrote:


commit 3f3709c349e3585274c0e23e09a87f8f75c8ce7d
Author: Jordan Gordeev jgord...@dir.bg
Date:   Sat Nov 7 09:30:29 2009 +0200

Revert rename amd64 architecture to x86_64

This reverts commit c1543a890188d397acca9fe7f76bcd982481a763.



Hi:

Anybody knows why the checkin was reverted ?

i pulled in changes after Simon's checkin and then successful
built world+kernel.

Currently my AMD64X2 box is running 
DragonFly v2.5.1.187.gc1543-DEVELOPMENT


i have successfully built packages from pkgsrc for X86_64
 . make
 . libtool
 . gettext
 . lua

Any pointers/observations as to what issue caused the checkin to
be reverted ?


Rogue committer.  Bad social and development skills.  This revert makes 
life for everybody who has updated just much more difficult, so I pushed 
it back in, including a fix for nrelease.


Thanks for testing!

cheers
  simon


Re: Makefile upgrade: target for x86_64

2009-11-07 Thread Simon 'corecode' Schubert

YONETANI Tomokazu wrote:

On Fri, Nov 06, 2009 at 09:56:44PM +0530, Saifi Khan wrote:

On Sat, 7 Nov 2009, YONETANI Tomokazu wrote:

On Fri, Nov 06, 2009 at 08:06:56PM +0530, Saifi Khan wrote:

Running the Makefile in debug mode, shows that the following
variables are still set to amd64

MACHINE_ARCH
MACHINE

Please see the highlighted lines (line 751 and 752) at
http://dragonflybsd.pastebin.com/m7e5b6eca

How do i set these variables to x86_64 in the Makefile ?

By setting environment variables with the same name, or specify them
on the command line.  Otherwise they're taken from sysctl variables
(look at InitVariables() function in make's source code).  

Yonetani Tomokazu thank you for your reply.

i wrote a small shell script that i 'source' so that the
environment variables are set.


If you're  performing the `approved method of upgrading your
system', you're still running old kernel, which should return
amd64.  


I've just upgraded my amd64 machine as described at the end of build(7)
with a little arrangement:

env - PATH=/sbin:/bin:/usr/sbin:/usr/bin __MAKE_CONF=/dev/null sh -c '
make buildworld
make buildkernel KERNCONF=FOO
make installkernel KERNCONF=FOO
make installworld
MACHINE_ARCH=x86_64 make upgrade
'

(the first line is to get rid of extra env variables or /etc/make.conf)
then rebooted, and now make command reports these variables correctly:
$ cd
$ env - PATH=$PATH make -V MACHINE_ARCH -V MACHINE -V MACHINE_PLATFORM
x86_64
x86_64
pc64


correct.  just reboot and then perform the make upgrade.

cheers
  simon


Re: remote branches

2009-11-04 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

Subsequent to a fresh DragonFly BSD 2.4.1 installation on AMD64
X2 box, i did the following steps to pull in the source code as
i did not want to use the Makefile.

# cd /usr
# mkdir src
# cd src
# git init
# git remote add origin git://git.dragonflybsd.org/dragonfly.git
# git pull origin HEAD

Is this the recommended approach ?


No.  Just use git clone git://... src


Additionally, when i try to view the 'remote' branches
# git branch -r
there are none seen.


Yes, because you only pulled master.


Is this something to be worried about ?


run a git remote update to get all.


On another laptop, i pulled in the code (couple of months ago)
using
# git clone -o chlamydia git://chlamydia.fs.ei.tum.de/dragonfly.git

followed by periodic
# git pull

When, i try to view the remote branches, Git shows it as,
# git branch -r

  origin/DragonFly_RELEASE_1_10

[..]


What could i be missing here ?


where?


--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: make, bmake and gmake

2009-10-27 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

Would you like to suggest a link, from where i can download the script ?


Sorry, the whole thing was quite messy and I didn't find the time yet to change 
it.

Maybe you can make sense of these:

to do the runs and get the data:
for nice in 0; do for run in $(seq 1 5); do for j in $(seq 1 10); do echo building with nice=$nice, j=$j, run=$run 
 timelog; /usr/bin/time -a -p -o timelog nice -n $nice make buildworld buildkernel -j $j /dev/null 21; [ $? 
-ne 0 ]  echo fail  timelog; done; done; done

ruby -ne 'BEGIN{$a=Hash.new{|h,k|h[k]=Hash.new{|h,k|h[k]=[]}}};if $_ =~ /nice=(\d+).*j=(\d+).*run=(\d+)/; 
$nice,$j=$1.to_i,$2.to_i; end; next if $nice != 0; if /^(real|user|sys)[[:space:]]+([\d.]+)/; $a[$j][$1]  $2.to_f; 
end;END{print # ;$a[$a.keys[0]].keys.sort.each{|t| print \t#{t[0...3]} min\t#{t[0...3]} max\t#{t[0...3]} 
med};puts;$a.keys.sort.each{|j| h=$a[j]; print #{j}; h.keys.sort.each{|t| a=h[t].sort; print 
\t#{a[0]}\t#{a[-1]}\t#{a[a.length/2]}}; puts}}'  timelog |tee ~/tmp/make-j-runtimes

the gnuplot script for generating the graph is attached.  you use it by running 
gnuplot and then:
set terminal png
set output 'make-j-runtimes.png'
load 'make-j-runtimes.plt'
quit

I think you'll want to change the $(seq 1 10) to $(seq 1 5) if you're testing 
this on a 2-way machine, and to $(seq 1 3) on an UP machine.

Let me know if you have any questions.

cheers
 simon

#!/usr/pkg/bin/gnuplot -persist
#
#
#   G N U P L O T
#   Version 4.2 patchlevel 5 
#   last modified Mar 2009
#   System: DragonFly 2.5.0-DEVELOPMENT
#
#   Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
#   Thomas Williams, Colin Kelley and many others
#
#   Type `help` to access the on-line reference manual.
#   The gnuplot FAQ is available from http://www.gnuplot.info/faq/
#
#   Send bug reports and suggestions to 
http://sourceforge.net/projects/gnuplot
#
# set terminal x11 
# set output
unset clip points
set clip one
unset clip two
set bar 1.00
set border 31 front linetype -1 linewidth 1.000
set xdata
set ydata
set zdata
set x2data
set y2data
set timefmt x %d/%m/%y,%H:%M
set timefmt y %d/%m/%y,%H:%M
set timefmt z %d/%m/%y,%H:%M
set timefmt x2 %d/%m/%y,%H:%M
set timefmt y2 %d/%m/%y,%H:%M
set timefmt cb %d/%m/%y,%H:%M
set boxwidth
set style fill  empty border
set style rectangle back fc lt -3 fillstyle  solid 1.00 border -1
set dummy x,y
set format x % g
set format y % g
set format x2 % g
set format y2 % g
set format z % g
set format cb % g
set angles radians
unset grid
set key title 
set key inside right top vertical Right noreverse enhanced autotitles nobox
set key noinvert samplen 4 spacing 1 width 0 height 0 
unset label
unset arrow
set style increment default
unset style line
unset style arrow
set style histogram clustered gap 2 title  offset character 0, 0, 0
unset logscale
set offsets 0, 0, 0, 0
set pointsize 1
set encoding default
unset polar
unset parametric
unset decimalsign
set view 60, 30, 1, 1
set view 
set samples 100, 100
set isosamples 10, 10
set surface
unset contour
set clabel '%8.3g'
set mapping cartesian
set datafile separator whitespace
unset hidden3d
set cntrparam order 4
set cntrparam linear
set cntrparam levels auto 5
set cntrparam points 5
set size ratio 0 1,1
set origin 0,0
set style data points
set style function lines
set xzeroaxis linetype -2 linewidth 1.000
set yzeroaxis linetype -2 linewidth 1.000
set zzeroaxis linetype -2 linewidth 1.000
set x2zeroaxis linetype -2 linewidth 1.000
set y2zeroaxis linetype -2 linewidth 1.000
set ticslevel 0.5
set mxtics default
set mytics default
set mztics default
set mx2tics default
set my2tics default
set mcbtics default
set xtics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0
set xtics autofreq  norangelimit
set ytics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0
set ytics autofreq  norangelimit
set ztics border in scale 1,0.5 nomirror norotate  offset character 0, 0, 0
set ztics autofreq  norangelimit
set nox2tics
set noy2tics
set cbtics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0
set cbtics autofreq  norangelimit
set title buildworld + buildkernel duration over make -j level\n(Intel(R) 
Core(TM)2 Quad CPUQ9550  @ 2.83GHz\navail memory = 2063409152 (2015048K 
bytes)) 
set title  offset character 0, 0, 0 font  norotate
set timestamp bottom 
set timestamp  
set timestamp  offset character 0, 0, 0 font  norotate
set rrange [ * : * ] noreverse nowriteback  # (currently [0.0:10.] )
set trange [ * : * ] noreverse nowriteback  # (currently [-5.0:5.0] )
set urange [ * : * ] noreverse nowriteback  # (currently [-5.0:5.0] )
set vrange [ * : * ] noreverse nowriteback  # (currently [-5.0:5.0] )
set xlabel make -j level 
set xlabel  offset character 0, 0, 0 font  textcolor lt -1 norotate
set x2label  
set x2label  offset character 0, 0, 0 font  textcolor lt -1 norotate
set xrange [ * : * ] noreverse nowriteback  # 

Re: DragonFly ppl (+ Apartment) at CCC Congress 2009

2009-10-22 Thread Simon 'corecode' Schubert

Sascha Wildner wrote:

Matthias Schmidt schrieb:

Hi,

as you might know a lot of DragonFly users and developers meet annually
at the Chaos Computer Club (CCC) Congress [1].  The Congress is in
Berlin, Germany starting form Dec, 27 to Dec, 30.

This year we might want to rent an apartment for all DragonFly people
who want to join us.  The apps usually can host from 8 to 10 people and
cost about 20-30 EUR per person/night (depending on the size and the
number of ppl).

So if you intent to come to the CCC, please reply.  And if you want to
come and to join us, please also reply :)

Cheers

Matthias

[1] http://events.ccc.de/congress/2009/wiki/index.php/Welcome


I'll be there for sure.


Already booked my flight.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: make, bmake and gmake

2009-10-21 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

Is there a difference between 'make' and 'bmake' on DragonFly
BSD 2.4.1 ?


make is our make utility which belongs to our base. It's the very
same make utility that is used to build world and kernel or to
checkout the git src repository when you type 'make src-checkout'
inside /usr. make(1) can only parse our own Makefiles.



One more query i have is that, the 'make' referred to in the
parallism analysis posted by Simon Shubert is the native
DragonFly BSD make, is that correct ? 


Yes.  Standard buildworld/buildkernel procedure.


i would like to run the tests on my AMD64 dual core box and
hopefully can contribute some data for Simon Shubert's analysis.


if I find the time I'll commit a small script which will do all the 
processing.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: [Fwd: pkgbox64 pkgsrc DragonFly 2.5.1/x86_64 2009-10-16 21:12]

2009-10-21 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

These should work for all amd64 versions, via pkgin or pkg_radd or manual
download.  The report didn't upload because of a permissions problem,
which I've fixed and the next run (already started) should have an
up-to-date report to accompany it.


Do you think you can push the report still or is it too late?

Are you performing incremental builds?

cheers
 simon


Re: how to apply patches on a system that doesnot have functional network device ?

2009-10-21 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

Hi:

Here is a situation that i'm facing on a Compaq C301TU laptop.

The NIC card (Realtek)   does not work due to driver issue.
The WLAN card (Broadcom) does not work due to driver issue.

Currently, i review the possible patch visually on an identical
laptop (running FreeBSD-8) and then type out the code on the
other laptop in sys/dev/netif/rl/if_rl.c file.

Is there a better way to apply patches on a system that doesnot
have functional network devices ?


You could transfer the sources via a USB pen drive, that's what I'd try.

cheers
 simon


Re: [Fwd: pkgbox64 pkgsrc DragonFly 2.5.1/x86_64 2009-10-16 21:12]

2009-10-21 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

On Wed, October 21, 2009 12:36 pm, Simon 'corecode' Schubert wrote:

Justin C. Sherrill wrote:

These should work for all amd64 versions, via pkgin or pkg_radd or
manual
download.  The report didn't upload because of a permissions problem,
which I've fixed and the next run (already started) should have an
up-to-date report to accompany it.

Do you think you can push the report still or is it too late?

Are you performing incremental builds?


Too late - it already has 3,500 packages since my post this morning, so I
figured a delay of a day wouldn't hurt.  Some of the broken packages match
the existing i386 results, so these are not necessarily amd64-specific
problems.

The builds are incremental.  This and the others took so long because it
was the first 2009Q3 build.


sweeet!


Re: [Fwd: pkgbox64 pkgsrc DragonFly 2.5.1/x86_64 2009-10-21 14:07]

2009-10-21 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

lang/ruby18-base 269 t...@netbsd.org


Ruby breaks because it installs files into 
lib/ruby/1.8/x86_64-dragonfly/, whereas pkgsrc expects them to be in 
lib/ruby/1.8/amd64-dragonfly/.  This is because configure automatically 
converts amd64 to x86_64, and netbsd calls the platform (and 
architecture) x86_64.  I think we should bite the bullet now and call it 
x86_64 in uname, instead of trying to hack around this in pkgsrc.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: http://www.dragonflybsd.org/ is hacked??

2009-10-19 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

On Mon, 19 Oct 2009, lhmwzy wrote:


http://www.dragonflybsd.org/

DragonFly BSD


Thanks for the notice!


No i don't think so !

if i understand correctly (iiuc) then it's a wiki and somebody
may have spammed the front page.

In the IRC log, it appears that corecode|polachok observed this
and fixed the front page.


It was a defacement through an exploit in ikiwiki, because the markup 
had not been changed.  We're looking into it.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: http://www.dragonflybsd.org/ is hacked??

2009-10-19 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

In most cases the wiki software does not need to run as root.


It is not running as root.

You mention the possibility of an exploit, the stuff documented at 
http://ikiwiki.info/security/ talks about a 'pending git backend audit'.


Seems polachok raced me with restoring the site, so I had the impression 
that the html had been changed, but not the mkdn.  Seems that was not 
the case, so no exploit.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Comparison of PgSQL Performance on HAMMER and UFS

2009-10-14 Thread Simon 'corecode' Schubert

jan.lent...@web.de wrote:

those following IRC might know what this is about. For the rest: I did
some performance testing of PostgreSQL on DF with HAMMER and UFS and
the attached document is the (preliminary) result of that.
Any comments/proposals are welcome. Especially if someone could
comment on the technical background (HAMMER internals) that support or
contradict my findings.


Jan,

thanks for taking the time to run a solid benchmark run.  I think this shows 
clearly where HAMMER needs improvements.

cheers
 simon


Re: xulrunner ?

2009-10-13 Thread Simon 'corecode' Schubert

Agnelo wrote:

Agnelo wrote:


Doesn't work at all.
Is there a way to compile it ? I read it was a threads issue, tried to
remove --with-pthreads before recompiling, didn't help.


DragonFly 2.4.1 i386 - 2009Q3 (same with 2009Q2 updated)


I've committed a fix to 2.5.1 to check.  It seems that it's working fine, so I 
will MFC it to 2.4.1.  You'll have to update your sources and do the 
buildworld/buildkernel/upgrade cycle.

cheers
 simon


Re: addressing data on Very large disks

2009-10-08 Thread Simon 'corecode' Schubert

Siju George wrote:

How are data blocks on a very large disk addressed in hammer. I guess
double-indirect blocks wont be sufficient?


There is no indirect blocks, everything is address via extents.

cheers
 simon



Re: Which graphics card for dual display?

2009-10-02 Thread Simon 'corecode' Schubert

elekktrett...@exemail.com.au wrote:

Ok, but does the nvidia driver work with devfs?

petr



you asked this before. yes.

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Which graphics card for dual display?

2009-10-02 Thread Simon 'corecode' Schubert

elekktrett...@exemail.com.au wrote:

Is the current git repo still at: git://ww2.fs.ei.tum.de/~corecode/nvidia.git

I looked at the doco and it still says to create static devs for nvidia.


No, I will remove that.  The correct repo is at

http://gitweb.dragonflybsd.org/~corecode/nvidia.git
or
git://gitweb.dragonflybsd.org/~corecode/nvidia.git

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: DragonFly 2.4.1 Released!

2009-10-01 Thread Simon 'corecode' Schubert

Erik Wikström wrote:

Of course this is more or less what you are already doing, except for a
change of names, X.Y.0 - X.Y.0 RC, X.Y.1 - X.Y.0. The only difference
is that it will make casual users more aware of the fact that some
problems are to be expected.


I completely agree.

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: Update to the state of the pkgsrc

2009-09-29 Thread Simon 'corecode' Schubert

Hasso Tepper wrote:
- Official (signed?) regular pbulk builds. The current situation really 
  isn't acceptable. I'd never use packages from random source updated 
  randomly (no security updates). Really.
- Public logs from all pbulk builds. The logs are there for reason. I 
  don't see any in the avalon at the moment. How people should fix 
  anything even if they care?


I could not agree more.  Possibly even a mail when a new build+upload 
has finished.


Has the build stalled again?  I keep seeing these -upload directories 
since weeks, without any packages actually trickling in.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: mv: rename insn-attrtab.c.tmp to insn-attrtab.c: Socket is not connected

2009-09-24 Thread Simon 'corecode' Schubert

Siju George wrote:

Hi,

On my second disk I get the following error while compiling /usr/src

---
sh /usr/src/gnu/usr.bin/cc44/cc_tools/tools/..//../../../../contrib/gcc-4.4/move
-if-change insn-attrtab.c.tmp insn-attrtab.c
mv: rename insn-attrtab.c.tmp to insn-attrtab.c: Socket is not connected


That happens if you execute a program in a directory that was deleted 
before.  Did you maybe run two builds in parallel?


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: 'struct function' has no member named 'va_list_fpr_size'

2009-09-24 Thread Simon 'corecode' Schubert

Siju George wrote:

Can you post the command line that triggered the error?  Also, do you use
some special CFLAGS in make.conf?


The command line of the compiler invocation, i.e. the command that make 
printed before the errors.


I believe that this is some sort of pilot error.

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: 2.0 packages being removed from avalon

2009-09-23 Thread Simon 'corecode' Schubert

Vincent Stemen wrote:

On Tue, 22 Sep 2009 09:05:40 -0400 (EDT), Justin C. Sherrill wrote:

Since 2.4 is out, and we'll have binary pkgsrc packages for it soon, the
2.0 packages are due to be removed.  If this will cause you trouble,
please speak up.

The plan is to keep packages for the current release (2.4) and the
previous release (2.2), which gives us a binary package retention
schedule of about a year.


If possible, I would recommend (and request) keeping packages available
for at least two previous releases rather than just one.


It is really bad to keep around packages we don't build anymore, because 
they get outdated and accumulate security problems.  And we don't have 
the resources to keep building packages.


I think we should keep around what we can build for at the moment, and 
not a bit more.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: 2.0 packages being removed from avalon

2009-09-22 Thread Simon 'corecode' Schubert

Jordan Gordeev wrote:

Justin C. Sherrill wrote:


Since 2.4 is out, and we'll have binary pkgsrc packages for it soon, the
2.0 packages are due to be removed.  If this will cause you trouble,
please speak up.

The plan is to keep packages for the current release (2.4) and the
previous release (2.2), which gives us a binary package retention 
schedule

of about a year.

(The 2.3.1 packages on avalon.dragonflybsd.org currently work for 2.4, 
and

the directories are symlinked in until a 2.4 build is finished.)

 


Who is gonna be hurt if 2.0 packages remain available?


Disk space, confused people, unfixed security issues...



Re: Which graphics card for dual display?

2009-09-22 Thread Simon 'corecode' Schubert

elekktrett...@exemail.com.au wrote:

Im going to be setting up a new workstation with 2x 19inch LCD displays
using DVI. Which graphics card should I get that would work well in DF,
any ideas?


nvidia, the binary driver works quite well.  I do have problems when using more 
than 2GB of RAM though, but it seems that this also happens on FreeBSD.

cheers
 simon


Re: Which graphics card for dual display?

2009-09-22 Thread Simon 'corecode' Schubert

elekktrett...@exemail.com.au wrote:

Is the nvidia wrapper up to date with the devfs work?


It is not a wrapper, it is a port.  Works on my office PC (some Nvidia 
quadro in there).


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: hammer crash on cleanups

2009-09-14 Thread Simon 'corecode' Schubert

Redirecting to bugs@

Eugene wrote:

Hello All.
I've got a time-to-time reproducible panic while running cleanups on a 
mirror built with hammer mirror-stream.
I'm running a system built on -DEVELOPMENT sources from August, 9th 
(uses SILI device) and a following system layout:


/dev/da0s1a  /  ufs rw  1  1
/dev/da0s2b  none   swapsw  0  0
/dev/da0s2h  /HAMMER0   hammer  rw  2  2
/HAMMER0/pfs/var /var   nullrw  2  2
/dev/da1s1a  /mirrorufs rw  1  1 # not used
/dev/da1s2b  none   swapsw  0  0
/dev/da1s2h  /HAMMER1   hammer  rw  2  2
/HAMMER1/pfs/var /mirrorvar nullrw  2  2
proc /proc  procfs  rw  0  0

A kernel panic occurs on running daily cleanups on a slave part of 
mirror and I managed to reproduce it manually while executing %hammer 
reblock and %hammer rebalance commands on a slave pfs after a day or two 
of uptime.
When running %hammer cleanup immediately after system boot-up, it always 
runs fine and resumes with no error.
I've attached a screenshot of a latest panic I've got while running 
cleanup.


If there can be any solution for this problem?


Which kernel version are you running?  Please post a uname -a output.

Also, please configure a dumpdev and capture a crash dump.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: pkgsrc in git?

2009-09-12 Thread Simon 'corecode' Schubert

McLone wrote:

I second on maintaining git mirror of pkgsrc,
but i don't know the amount of work (and traffic) involved.
I'll ponder it; then, if time/resources permit,
i will mirror pkgsrc and pkgsrc-wip here in Ukraine,
at least in cvs (tired of downtime, that is)


I'd suggest creating one git repo per package and using git submodules 
to glue it all together.  I didn't try that yet, but it seems like a 
sensible setup (better than everything in a big repo).


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Various laptop questions

2009-09-11 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

We used bittorrent on previous releases; I don't think there's any active
right now, but it certainly can't hurt.


It turned out that there are enough mirrors to sustain the ISO downloads 
without problems - so serving torrents is just more complexity.  Also 
there are not enough active concurrent downloaders.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: git: libiconv: we can now link mount_cd9660 and mount_msdos statically.

2009-09-06 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

Excellent!  I'm glad a solution was found that did not involve
making /bin and /sbin dynamic.


Yep, thanks to Alexander for putting that much effort in it!

cheers
  simon


Re: Fedora developer interested in DMA; query about build process

2009-09-03 Thread Simon 'corecode' Schubert

Michel Alexandre Salim wrote:

On Tue, Sep 1, 2009 at 11:42 PM, Matthew
Dillondil...@apollo.backplane.com wrote:

   I like the concept of throwing together an export hierarchy,
   but it might be too much maintainance to physically separate
   the git components out within the primary repo.


Using git submodules, the maintenance required should be almost zero,
I should think:

  http://progit.org/book/ch6-6.html

The only change needed is at first clone, and I guess at every update:
one would need to check the list of submodules currently available,
and initialize any that has not been initialized yet.


I don't want to use submodules, because they change the work flow in the main 
repo.

My question to you is:  would you like to see a broken out repo, or would a 
tarball good enough for you?

cheers
 simon



Re: Fedora developer interested in DMA; query about build process

2009-09-02 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

I like the concept of throwing together an export hierarchy,
but it might be too much maintainance to physically separate
the git components out within the primary repo.


I agree.


Can we create a secondary repo that extracts just the bits
of the hierarchy which we want to officially maintain as 
exports?  And then, say, have a 5-minute cron job to keep it

synchronized with the master repo (for those sub-projects)?


Yes, that should be easily possible.  I'm looking into it.  But then we 
could as well just export tarballs.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Fedora developer interested in DMA; query about build process

2009-09-02 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

Well, not tarballs.  The idea is to keep it in git so third parties can
track and merge it trivially.


The problem with creating another repo is that *we* can't merge trivially from 
it.  I think tarballs are the best option.

cheers
 simon


Re: Fedora developer interested in DMA; query about build process

2009-09-01 Thread Simon 'corecode' Schubert

Michel Alexandre Salim wrote:

I saw DMA mentioned recently at the DfBSD Digest, and it just so
happened that there was a recent discussion in fedora-devel about
removing sendmail from the base install. An overriding concern was
that it would break reporting by tools like cron, even though most
desktop users will not see the reports anyway; but it looks like DMA
would fit the bill perfectly as a local-delivery MTA.


That sounds great.  dma will actually also deliver to remote servers 
(including TLS + LOGIN and MD5 authentication).



I have question about the build process, though. I've patched some
files to take care of BSD-isms -- having to define __DECONST in dma.h
and removing the reference to st.st_mtimespec in dma.c -- but I'm
stuck building.

I'm using bmake, and get the following:


I think the best would be if you'd write a generic non-BSD makefile.  It 
is a simple enough build process.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: how should I build a pam_krb5 module?

2009-09-01 Thread Simon 'corecode' Schubert

Ed Berger wrote:
I wanted to enable kerberos login in dragonfly-development, since 
kerberos is used at my work place, so I uncommented the krb5 related 
lines in the /etc/pam.d config files and found out the hard way that the 
pam_krb5.so module was missing...


Yes, I noticed that as well.  The sources are there, though.  You could 
try building it yourself, by doing the following steps.  However first 
make sure you have heimdal installed from pkgsrc.


cd /usr/src/lib/pam_module/pam_krb5
env CFLAGS='-O -g -pipe '-I/usr/pkg/include/krb5 \
LDFLAGS=-L/usr/pkg/lib' -rpath /usr/pkg/lib' make
make install

If this pam then works, we then should find a way to enable it in 
conjunction with pkgsrc kerberos.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Question about FSHammer getting full

2009-08-27 Thread Simon 'corecode' Schubert

Sdävtaker wrote:

Hi,
I got  a hammer FS running 59 days (today was 60, recopy is scheduled every
30, maybe a coincidence, maybe not)
The thing is the Hd got full today, i destroyed some old PFSs to make some
space (6GBS) and 5 minutes after it was full again, im guessing something is
filling it real fast, but dont know where to look at :-/
It does mirror copy  from other mahcines every 30 minutes, but stopped that
before remove the 6GB.
Any ideas, suggestions?
If i found it, and i stop it, is there a way to remove the full story from
all snapshots of those specific files consuming all?


If you don't need the snapshots, run a hammer prune-everything.  If your 
file system is subject to massive changes every day, you will build up 
60 days of voluminous history.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: DragonflyBSD partition ID ?

2009-08-27 Thread Simon 'corecode' Schubert

Saifi Khan wrote:

Hi:

Does anybody know what is the partition ID to be specified for
DragonflyBSD ?

i've been using the entire disk for DragonflyBSD and this just
stumped me as i tried to help another friend setup DragonflyBSD
on a 40GB partition.

The Linux fdisk does not seem to any entry for DragonflyBSD
partition type. Any pointers ?


Use the one for FreeBSD.

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: A better way to upgrade packages

2009-08-27 Thread Simon 'corecode' Schubert

Siju George wrote:

HI,

Can somebody update

http://www.dragonflybsd.org/docs/handbook/handbook-pkgsrc-sourcetree-using/

to show that they can replace package one by one using

http://pkgsrc.se/pkgtools/pkg_rolling-replace

The problem with

# pkg_chk -g # make initial list of installed packages
# pkg_chk -r  # remove all packages that are not up to date and
packages that depend on them
# pkg_chk -a  # install all missing packages (use binary packages,
this is the default
# pkg_chk -as # install all missing packages (build from source)

is that the packages are deleted at once and one has to wait a long
time ( according to the order of updates ) to get some packages
updated.

For example I run samba and once the samba package is removed by -r
the users have to wait a long time till it is updated :-(


I usually run the pkg_chk -as (or pbulk) in a chroot to create packages 
and then install the packages in my real system.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: gcc mm_malloc.h

2009-08-27 Thread Simon 'corecode' Schubert

Francois Tigeot wrote:

As far as I know, mm_malloc.h is part of gcc-4.1. Is there any reason it is not
installed in a DragonFly-2.3.2 system ?


I have a patch for this, will commit in the morning.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: amd64 - invitation to test

2009-08-18 Thread Simon 'corecode' Schubert

Jordan Gordeev wrote:

Now, that GSoC is over, I have some spare time to say thanks.
I'd like to thank all the people who have tested the amd64 port, namely 
Matthew Dillon and Antonio Huete Jimenez. Thanks for all the bugs you've 
found and fixed.


Thanks to you for your great work!  If every SoC works out as well as your last 
two did, we'd be very happy.

cheers
 simon



Re: Updated to latest master and have a problem

2009-08-16 Thread Simon 'corecode' Schubert

elekktrett...@exemail.com.au wrote:

Futher updates. I have found this is a problem with the nvidia-driver
wrapper.

Simon: Is this something you have to update in the wrapper or can I do it
on my own? Xorg is complaining that /dev/nvidiactl is missing and it
failed to load the nvidia driver.


You'll have to update the wrapper.


Question about sound: is it now possible to be playing multiple sounds at
one time without having to give each application a different /dev/dsp*
device?


Yes, I'm working on a patch for that.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Hitting Inode Limits

2009-08-14 Thread Simon 'corecode' Schubert

Siju George wrote:

Should I have increased the no. of inodes during the hammerfs or pfs creation?
Or does hammer handle inodes differrently that FFS?


hammer does not have an inode limit.  as long as there is storage space, you 
can create more files.

also, you won't have to use hardlinks anymore, but instead use hammer's history 
feature.  basically copy all data over, then create a hammer snapshot.

cheers
 simon



Re: Lost all Data

2009-08-11 Thread Simon 'corecode' Schubert

Siju George wrote:

Hi,

I dont Know when this actually happened today or yesterday.
After the Update I found that the pfss on my Master and Slave mirror
are completely missing.
I cannot point out to anything except upgrade because nothing happens
on the system except upgrade that is of administration status.

mount -a gives

 mount -a
hammer: No such file or directory
hammer: No such file or directory
mount: /Backup1/Data: No such file or directory

My master pfs was /Backup1/pfs/Data mounted using

/Backup1/pfs/Data  /Backup1/Datanullrw  0   0

And Slave pfs was /Backup2/pfs/Data
Both pfs folders are missing.


# cd /Backup1
# undo -i pfs
pfs: ITERATE ENTIRE HISTORY: Unknown error: 0


undo does not work on directories, try hammer history


Any Idea how to get the data back?


it doesn't seem that /Backup1 or /Backup2 are mounted.  Did maybe your device 
numbers change and mount can not find the file systems?  What happens if you 
try to mount them manually?

cheers
 simon


Re: Lost all Data

2009-08-11 Thread Simon 'corecode' Schubert

Siju George wrote:

  h:  955801585   20971520unused#  466699.993MB


^^ this is flagged unused.  change it to read HAMMER.  do that by running 
disklabel -e


  h:  955801585   20971520unused#  466699.993MB


same here.

cheers
 simon


Re: Lost all Data

2009-08-11 Thread Simon 'corecode' Schubert

Siju George wrote:

On Tue, Aug 11, 2009 at 8:03 PM, Simon 'corecode'
Schubertcorec...@fs.ei.tum.de wrote:

Siju George wrote:

 h:  955801585   20971520unused#  466699.993MB

^^ this is flagged unused.  change it to read HAMMER.  do that by running
disklabel -e


 h:  955801585   20971520unused#  466699.993MB

same here.



Initially when I put hammer there it didnt mount so I put unused there
so that it will mount.
I seem to miss /dev/ad4s1h and /dev/ad6s1h in my /dev.
Shouldn't i make them?


that's my point.  give the slices a proper type in disklabel, then they will 
appear (devfs).

cheers
 simon



Re: Lost all Data

2009-08-11 Thread Simon 'corecode' Schubert

Siju George wrote:

On Tue, Aug 11, 2009 at 8:14 PM, Simon 'corecode'
Schubertcorec...@fs.ei.tum.de wrote:

that's my point.  give the slices a proper type in disklabel, then they will
appear (devfs).



disklabel says

line 29: Warning, unknown filesystem type hammer


as i wrote before, use HAMMER (yes, not intuitive.)

cheers
 simon


Re: hi can someone make a usb image for me on the latest devel?

2009-08-09 Thread Simon 'corecode' Schubert

daniel wrote:

hi can someone make a usb image for me on the latest devel?

So i can try if i can boot with that on my eeepc900? i have tried the 
latest on dragonflybsd, but it doesn't work i just came too a mountroot: 
so i tried ufs:da0s1a,da1s1a and so on but is not mounting it. so maybe 
it will work with a newer usb image?


USB sticks now attach as da8 and above (IIRC)

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: mount usb drive

2009-08-04 Thread Simon 'corecode' Schubert

Steve O'Hara-Smith wrote:

On Tue, 04 Aug 2009 09:46:23 -0400
Jim Chapman jim.chap...@sympatico.ca wrote:

I need to mount a usb flash drive. I am using DragonFly 2.2.2 and a 
GENERIC kernel.


The commands
  mount -t msdos /dev/da1 /mnt
  mount -t msdos /dev/da1s1 /mnt
  mount -t msdos /dev/da1s1a /mnt
all return
  Device not configured


Are you sure it's showing up as /dev/da1 - what does dmesg
(or /var/log/messages) say about it ?


Recent master probes removable usb devices on da8 and higher.  This 
might change again with the committed devfs.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: some questions on new gcc

2009-08-04 Thread Simon 'corecode' Schubert

Ed Berger wrote:
I see a newer version of gcc has been committed, but I'm not sure how to 
use it in place of the older version.


After a buildworld/buildkernel/installkernel/installworld process I find 
gcc --version still says 4.1.2)


You will have to set the environment variable CCVER to gcc44 to get gcc 
4.4, i.e. env CCVER=gcc44 cc --version


I was also wondering if it is possible and how to build gcc 4.4 with 
gfortran?


We don't support fortran in base anymore, but I think pkgsrc-wip has 
gcc-4.4, which might build gfortran.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Call for testers: acpica-unix-20090521 importing

2009-07-28 Thread Simon 'corecode' Schubert

Sepherosa Ziehau wrote:

On Sun, Jul 26, 2009 at 4:22 PM, Simon 'corecode'
Schubertcorec...@fs.ei.tum.de wrote:

Sepherosa Ziehau wrote:

I have merged part of Polakov's acpica-unix-20090521 work:

http://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/acpi
(The top most two commits)

Just a git handling issue:  acpica should be imported into INTEL_ACPICA, not
just committed in the main repo.  If you or Alexander need assistance, let
me know.


Would it be nice that the exact procedure could be documented in
manpage, e.g. development(7)?


Yes, I will take a go at that.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Call for testers: acpica-unix-20090521 importing

2009-07-26 Thread Simon 'corecode' Schubert

Sepherosa Ziehau wrote:

I have merged part of Polakov's acpica-unix-20090521 work:
http://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/acpi
(The top most two commits)


Just a git handling issue:  acpica should be imported into INTEL_ACPICA, 
not just committed in the main repo.  If you or Alexander need 
assistance, let me know.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Grub boot-loading HAMMER

2009-07-22 Thread Simon 'corecode' Schubert

rektide wrote:

After these install procedures, I tried using grub to load the slice.
I tried chainloader'ing it, as well as specifying a kernel
/boot/loader.  The first gave me an Error 13: invalid or unsupported
execution format and the second an Error 17: unable to mount
partition error.

Does anyone have suggestions for getting Grub to dual-boot a HAMMER
DragonflyBSD?  If this is hopeless, what can I do to place the
absolute minimum amount of code on a bootable non-HAMMER area, and the
dominant part of DBSD in Hammer?


Hopeless.  You'll at least need a /boot UFS partition.  Also you'll 
probably have to modify grub to read DragonFly disklabels (although I 
have a setup here booting with grub, so I don't know how I managed that 
:).  Oh yes, you'd need a disklabel32, not a disklabel64 to have the 
slightest chance of making grub work.


Or try a /boot in ext2, then also grub should be able to read it :D

Alternatively you could try using a chainloader in grub.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: required/suggested devfs userland tool functionality

2009-07-06 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

:2) let the userland tool load a whole set of rules (for each devfs
:mount point) into the kernel. In turn the kernel applies the set of
:rules every time a device is attached. This has several advantages:
:- userland wouldn't have to be asked for every device attach
:- rules would continue to be applied even if the userland tool isn't running
:- for that same reason, userland tool wouldn't have to be a daemon.
:
:While I prefer the second approach, I would like to hear your thoughts
:about this before making a final decision on which one to use. I'd
:also welcome suggestions of other things you think the userland devfs
:tool should be able to do.
:
:Cheers,
:Alex Hornung

I like the second approach.   Particularly since you already have a
a VOP interface so loading the rules into devd could be as simple as
doing a write() to a special node in devd.


But do you really want to perform regexp/glob matching in the kernel?  Or 
do you want to restrict the users to prefix matching?


I think we basically need to deal with multiple things here:

1. no race conditions when creating device nodes
2. give the user enough flexibility
3. allow the user to use chmod/chown?

I don't have an opinion yet what is better, but maybe we should assess 
which kind of rules a user is expected to write (which rules do we want to 
ship per default?), and then we can decide whether it is worthwhile to put 
the rules management in the kernel, or whether it better goes into userland.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: Speed comparison

2009-06-16 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:


The only differences are that snapshots are still on (though infrequent)
on df.12.su and avalon is running that one program eating up CPU.  So,
either the snapshots are affecting the run a lot more than that CPU-eating
program, or there's some other factor I missed.


Maybe the cpu-bound process makes the pkgsrc build go faster, because of 
scheduling and cache locality? :)


anyways, interesting numbers!

cheers
  simon


Re: Instant crash with Linux OpenOffice

2009-06-02 Thread Simon 'corecode' Schubert

Francois Tigeot wrote:

I have recently upgraded the root fs to Hammer on one of my machines. Since
then, I have been unable to run any version of OpenOffice.


I'll add my crashes (HAMMER, 2.3.1):
% soffice
javaldx: Could not find a Java Runtime Environment!
/etc/host.conf: line 4: bad command `hosts'
/etc/host.conf: line 6: bad command `bind'
Fontconfig error: conf.d, line 1: no element found

Same thing, splash appears, then aborts.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: pkg_dry on DragonFlyBSD

2009-05-08 Thread Simon 'corecode' Schubert

Johannes Hofmann wrote:

Matthew Dillon dil...@apollo.backplane.com wrote:

:I'm not sure about kqemu - it's very useful, but since it's a kernel
:module, it has a different status.
:
:However, pkg_dry is a normal software application, and I suspect will
:turn into a pkgsrc package quickly.  If that's the case, we could just
:install it along with other packages as part of the installer.  Keeping it
:in a /usr/src/ dir could cause some minor headaches in terms of updating
:it, so pushing it into pkgsrc solves that nicely.
:
:In fact, would it be worth packaging DragonFly-specific items in pkgsrc
:format even if they weren't in pkgsrc CVS?  It'd give us some ready-to-go
:management tools for software maintenance.

   Hmm.  Maybe.  I'm not so worried about updating... the idea is that
   the stuff in /usr/src/stuff is not integrated into the build, it's just
   a place to save things.  Once that thing gets integrated elsewhere it
   can be removed from /usr/src/stuff.

   Having a local package sub-tree is an interesting idea.


Sounds good to me. Regarding kqemu Joerg suggested on pkgsrc-wip-discuss
not to put BSD* kernel modules into pkgsrc because of the changing
kernel APIs.
But a directory with DragonFly specific pkgsrc directories within the
DragonFly repository could be a solution.


I'd use a separate repository though -- no need to put everything under 
/usr/src, if we could put it under /usr/pkgsrc/dfly

cheers
 simon


Re: [OT] Question about nanosleep

2009-05-03 Thread Simon 'corecode' Schubert

walt wrote:

This question began when my gnome desktop on a linux amd64 machine started
behaving badly while the same gnome packages on an x86 machine work perfectly.

While poking around for clues I noticed that a configure script fails on the
amd64 machine but works perfectly on the x86.  I'm not sure if this is the
cause of my gnome malfunction, but here is the failing 'configure' code:

$ cat conftest.c
#include errno.h
#include limits.h
#include signal.h
#include sys/time.h
#include time.h
#include unistd.h
#define TYPE_SIGNED(t) (! ((t) 0  (t) -1))
/* watch for linewrap! */
#define TYPE_MAXIMUM(t)   ((t) (! TYPE_SIGNED (t)
? (t) -1: ~ (~ (t) 0  (sizeof (t) * CHAR_BIT - 1

static void
check_for_SIGALRM (int sig)
{
  if (sig != SIGALRM)
_exit (1);
}

int
main ()
{
  static struct timespec ts_sleep;
  static struct timespec ts_remaining;
  static struct sigaction act;
  if (! nanosleep)
return 1;
  act.sa_handler = check_for_SIGALRM;
  sigemptyset (act.sa_mask);
  sigaction (SIGALRM, act, NULL);
  ts_sleep.tv_sec = 0;
  ts_sleep.tv_nsec = 1;
  alarm (1);
  if (nanosleep (ts_sleep, NULL) != 0)
return 1;
  ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
  ts_sleep.tv_nsec = 9;
  alarm (1);
  if (nanosleep (ts_sleep, ts_remaining) == -1  errno == EINTR
   TYPE_MAXIMUM (time_t) - 10  ts_remaining.tv_sec)
return 0;
  return 119;
}

I compiled the code on DragonFly-HEAD for comparison and I was surpised to see
that nanosleep apparently doesn't work on DragonFly:  the program returns 119,
just like on my misbehaving linux amd64 machine.

Can someone give me the big picture here?  Does DragonFly implement nanosleep,
and if not, why not?


Yes, it does.  There was just a bug in its code for signals.  Fixed in 
55d25c8782a76b25372313a908dff0a66d6ff342.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: DragonFly 2.2.1 released!

2009-04-30 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

:Is there an upgrade path from 2.2.0?
:I found a HOWTO page on the website, but that was talking about CVS..
/usr has a Makefile in it that gives you convenient targets for
downloading and maintaining a copy of the source.  I just realized,
though, that the Makefile defaults to using the master branch,
which is the head of the development tree instead of the 2.2
branch.  You would want to do a 'git checkout DragonFly_RELEASE_2_2'
after the initial download to get onto the correct branch.


That should be part of the release engineering - set the git branch in this 
file (or in some other config file)

cheers
 simon



Re: Fwd: kqemu patch for DragonFly BSD on kqemu1.4.0pre1

2009-04-29 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

:Naoya Sugioka wrote:
: I've just sent a mail to gnat at netbsd.org to reach pkgsrc community
: if I can include them to their pkgsrc tree now.
:
:I don't have a good idea how to make a pkgsrc package for kernel module. 
:Actually I'd prefer it to be imported into base. 
Yah, I agree.  There seem to be some files missing from the

kqemu-dragonfly.patch.tar file you posted.  It's making calls
to routines that are not present in files in the tar.

e.g. kqemu_log(), but no file in the tar contains a function by
that name.

It will also require a major security and software review, and also
needs a master SYSCTL-based enable (default disabled).


Why an enable?  Just don't load the module if you don't want it to be used.  
qemu doesn't load the module itself.

Also, I don't think we should put $random kernel modules into base.  Why isn't 
pkgsrc a good location?

cheers
 simon



Re: lang/gcc34 in the pkgsrc

2009-04-22 Thread Simon 'corecode' Schubert
Hasso Tepper wrote:
 I hacked a lang/gcc34 to build on DragonFly. My brief tests show that at 
 least C and C++ compilers are working as well. Note, that it's about 
 current master only, it doesn't build on 2.2.

good work!

 The idea is to remove gcc34 from the base after the next release. So 
 please, if you are interested in having working gcc3, test it out and 
 report problems.

Why not now, and enable objformat to use pkgsrc compilers?

cheers
  simon



signature.asc
Description: OpenPGP digital signature


Re: Installing DragonFly

2009-04-15 Thread Simon 'corecode' Schubert

I bet this is the set all bits to one on CHS overflow thing in fdisk.  I'd 
really like to know how we are supposed to handle this (better).

Colin, sorry for trashing your computer.  I think we are well aware of this 
issue, but we simply don't know exactly how to deal with it.  Could you maybe 
use window's fdisk to create a large partition on the drive and then report 
back how the partition table looks like?  In this case we could adjust our 
fdisk so that this won't happen again.

thanks
 simon

Colin Adams wrote:

What appears to have happened is that in some way it has trashed my
disk-drive - I can still get the machine to boot from the live CD, but
only if I physically disconnect the hard-disk first.


2009/4/8 Hasso Tepper ha...@estpak.ee:

Colin Adams wrote:

Well, if that is the case the ISO should not be available for download
- there should be a fixed version.

Well. It shouldn't be any way fatal, but in general I agree - we should
release 2.2.1 ASAP, really.


--
Hasso Tepper





Re: Installing DragonFly

2009-04-15 Thread Simon 'corecode' Schubert

You can try booting a linux live cd, then plugging in the hdd after the bios 
screen, but before the linux kernel starts running.

cheers
 simon

Colin Adams wrote:

I couldn't use Windows anything - that is banned from my house.

Equally, I can't use a Linux fdisk (for instance), because I can't
boot the computer at all if the disk is plugged in.
If I remove uncable the disk, then I can boot from the DragonFly live
DVD (or any other live CD/DVD presumably). But then I can't do
anything to the disk because it isn't plugged in.

2009/4/15 Simon 'corecode' Schubert corec...@fs.ei.tum.de:

I bet this is the set all bits to one on CHS overflow thing in fdisk.  I'd
really like to know how we are supposed to handle this (better).

Colin, sorry for trashing your computer.  I think we are well aware of this
issue, but we simply don't know exactly how to deal with it.  Could you
maybe use window's fdisk to create a large partition on the drive and then
report back how the partition table looks like?  In this case we could
adjust our fdisk so that this won't happen again.

thanks
 simon

Colin Adams wrote:

What appears to have happened is that in some way it has trashed my
disk-drive - I can still get the machine to boot from the live CD, but
only if I physically disconnect the hard-disk first.


2009/4/8 Hasso Tepper ha...@estpak.ee:

Colin Adams wrote:

Well, if that is the case the ISO should not be available for download
- there should be a fixed version.

Well. It shouldn't be any way fatal, but in general I agree - we should
release 2.2.1 ASAP, really.


--
Hasso Tepper







Re: 1 week until Summer of Code application time

2009-03-05 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

On Thu, March 5, 2009 1:36 am, Archimedes Gaviola wrote:

Hi Justin,

Just want to suggest and share this idea (without mentoring) about
virtual routing based on this link here
http://www.ipinfusion.com/pdf/VirtualRouting_app-note_3rev0302.pdf.
Although I'm not so sure if this is already implemented in the
project, so just correct me if I'm wrong. Basically, virtual routing
is a concept of emulating multiple instances of routing tables (RIB
and FIB) intended for running multi-independent network services.


This sounds like work separating out the routing table between jails, or
perhaps vkernels.  I may be naive, however.  Write this out on:
http://www.dragonflybsd.org/gsoc2009/ as a potential project; there
doesn't have to be a mentor attached to an idea.  (not yet, anyway.)


I don't really see the benefit in this.  Either you combine forwarding tables 
into one table, or you... well, that's actually it.  I guess the larger part is 
more on a control plane level than on a data plane level, so that would more be 
a xorp project, I guess.  I might also miss the point completely.

cheers
 simon


Re: HAMMER and RAID 5

2009-03-03 Thread Simon 'corecode' Schubert

Mag Gam wrote:

I was wondering if HAMMER will ever have network based RAID 5. After
researching several file systems it seems HAMMER is probably  the
closest to achieve this problem and will make HAMMER a pioneer.

Any thoughts or ideas?


There is a SoC project dealing with local redundancy.  I don't think that 
it will be an overly big deal to run this over network, but it needs more 
infrastructure then.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: HAMMER hosed?

2009-02-13 Thread Simon 'corecode' Schubert

Bill Hacker wrote:

.or perhaps not..

Have 120 GB HDD sliced for:

- FreeBSD

- DFLY with hammerfs

- OpenBSD

- NetBSD

FreeBSD installed last.

Unfortunately, did not think to do the within-slice partitioning for 
FreeBSD with DragonFly's modern toolset (..once bitten..)


Ergo, though I had FreeBSD NOT write bootblock or touch the MBR, it did 
munge the disklabel..


:-(

The DFLY bootloader I was using now throws 'invalid partition' and DFLY 
liveCD disklabel reports 'Bad magic number' for that slice.


I guess you used disklabel64?  What you could try is overwriting the 
disklabel64 by a new one which is exactly the same.  The contained hammer 
filesystem should not be destroyed in that case.  Let us know if you need help 
figuring out how to do that.

cheers
 simon


Re: HAMMER hosed?

2009-02-13 Thread Simon 'corecode' Schubert

Bill Hacker wrote:

Hi Simon, Thanks for the quick reply...

The install would have used whatever the default was as of the
DEVELOPMENT snapshot of just a few days ago.

DFLY was happy cooperating with the (at the time) DFLY, Slackware,
OpenBSD, NetBSD and each booted fine off the new DFLY bootloader.

FreeBSD 8- December snapshot was used to change the type of the second
slice, sub-partition it, then install itself to replace Linux.

Bad move, as along the way it screwed the hammerfs-bootable DFLY somehow.

fdisk sees what was expected.

The other three OS'en still boot and run nomally.

Selecting DFLY (F1) returns 'invalid partition'

What I get with either disklabel or disklabel64 off the DFLY
Live/Install CD is:

 'bad pack magic number'


Attempts to edit the label give:

'Operation not supported by device'


Now - IF I knew what bits or bytes to change and where, I'm happy to go
after it with a hex editor... or dd. or whatever.

But I had not made a disklabel copy, so 


you could post the output of

dd if=/dev/adXXsYY count=4 | hd

for us to debug.  Alternatively, you can try killing the disklabel with

dd if=/dev/zero of=/dev/adXXsYY count=4

and then re-creating it.  it basically has to read:

a: * 0 HAMMER
b: $SWAPSIZE * swap

where swapsize is the value you entered in the installer.  The default value 
depends on your memory size and is 2*next_power_of_2(your_memory_in_MB) MB.

cheers
 simon


Re: DragonFly-2.1.1.500.ged1bfc DragonFly_RELEASE_2_2 created

2009-02-03 Thread Simon 'corecode' Schubert

Simon Schubert wrote:

at  ed1bfcbd4a8025231c3e797742f90455a57db7d9 (commit)


Sorry about the mail flood before.

This now branches the 2.2 release branch.

!!
!! As of now we're in feature freeze for master !!
!!

Please everybody try to focus on fixing outstanding bugs for release.

Fixes will be pushed to master, as before.  After testing, we then will 
merge these fixes into the release branch.


Matt will follow up with a more detailed release schedule.

Again to make absolutely sure:  only bug fixes go into the repo, push to 
master!


Thanks to everybody for the good work and thanks for giving the new 
release candidate a spin to flesh out the remaining bugs.


To try, simply update to master (not any release branch) and give it extra 
hard treatment.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: Installer HAMMER only

2009-01-28 Thread Simon 'corecode' Schubert

Jeremy C. Reed wrote:

On Wed, 28 Jan 2009, FloW wrote:


cd /dev  /bin/echo ad0s4a || /bin/sh MAKEDEV ad0s4a

Shouldn't this be rather

cd /dev  /bin/echo ad0s4a  /bin/sh MAKEDEV ad0s4a


Neither of those make sense to me  as that echo will always return 0.
If this is to check existence why not use test (or ls)?


Unless it really does a cd /dev/  /bin/echo ad0s4a* and depends on the 
shell to complain when expanding...  but a test(1) would be even better...


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: New instructions for using git to track the DragonFly repo

2009-01-19 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

The repo has not changed but I've found a simpler set of instructions
for checking out and managing it.   I did split a few steps to make
them more obvious.  I am avoiding the use of git-clone because it hides
too much of what goes on under the hood.


Of course, for users who don't want to understand what is going on under 
the hood, and only intend to update their sources, the best way of doing 
so is:


cd /usr  make git-clone

and later

cd /usr  make git-update


# Create your new source dir
#
mkdir -p /usr/src
cd /usr/src
git init
git remote add chlamydia git://chlamydia.fs.ei.tum.de/dragonfly.git
git remote add crater git://crater.dragonflybsd.org/dragonfly.git


I do not really advise doing the git init game.  Just do a

cd /usr
git clone git://chlamydia.fs.ei.tum.de/dragonfly.git src

Also, if you want to avoid stalls due to low bandwidth from crater, simply 
stick to another mirror.  They all update every minute, so there is really 
nothing to lose.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: The state of DragonFly and pkgsrc 2008Q4

2009-01-04 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

On Sat, January 3, 2009 8:13 pm, Simon 'corecode' Schubert wrote:

Justin C. Sherrill wrote:

On the plus side, the version of DragonFly on pkgbox is new enough to (I
think) avoid the hal issues, but old enough to avoid the reentrancy
issues.  It's more than 3/4 of the way through a bulk build, so we
should
have a newer batch of packages to use.  Maybe not exactly pkgsrc-2008q4,
but there's motion forward.

I hope that the package build on pkgbox is just to catch problems, not to
build actual packages.  It always takes days to sync.


It's to build packages.  You know this - you're mirroring it.

We do need to figure out a solution that fixes the delay in getting
material out.  More bandwidth to dragonflybsd.org, or moving pkgbox to
someplace with a faster connection, or someone building (or letting me
build) on their CPU-and-bandwidth-rich system would be options.


I thought you were building on matthias' box?

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: The state of DragonFly and pkgsrc 2008Q4

2009-01-03 Thread Simon 'corecode' Schubert
Matthias Schmidt wrote:
 We should adopt the following policy:  Before someone commits some big
 diff (like the mentioned one) or some stuff that breaks the
 API/whatever, the diff should be applied to clean machine which runs a
 full pkgsrc bulk build.  If the build fails, there is enough time to
 fix occurring problems and rebuild.  Once the bulk build runs fine, the
 diff can be committed to master.
 
 This takes some time and delays the introduction of new features, but
 it should save us from broken pkgsrc builds ...

-100, neg, horrible solution.  can't let changes in world be dictated by 
whatever in pkgsrc.

my 2c,
  simon



signature.asc
Description: OpenPGP digital signature


Re: The state of DragonFly and pkgsrc 2008Q4

2009-01-03 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

On the plus side, the version of DragonFly on pkgbox is new enough to (I
think) avoid the hal issues, but old enough to avoid the reentrancy
issues.  It's more than 3/4 of the way through a bulk build, so we should
have a newer batch of packages to use.  Maybe not exactly pkgsrc-2008q4,
but there's motion forward.


I hope that the package build on pkgbox is just to catch problems, not to 
build actual packages.  It always takes days to sync.


cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: libtool and dlname is too specific

2008-12-27 Thread Simon 'corecode' Schubert

Jeremy C. Reed wrote:

Please see pkgsrc PR 40267
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=40267

On 2.1.1-DEVELOPMENT, the binaries use the full specific version of shared 
library dependencies. Libtool .la files have dlname set to the specific 
version.


Anyone else seeing this?

Look at dlname in /usr/pkg/lib/  .la files. Use ldd to look at .so 
libraries.


I didn't see this on older versions of DragonFly. Maybe libtool changed? 
But it looks like with same older version it didn't have problem. So maybe 
it is some GCC or linker change? I don't know. Any ideas?


libtool is broken.  I did a patch, but it didn't get commited yet:

http://chlamydia.fs.ei.tum.de/~corecode/unsorted/libtool-dragonfly.diff

cheers
  simon


Re: Update on CVS - GIT conversion

2008-11-29 Thread Simon 'corecode' Schubert

YONETANI Tomokazu wrote:

On Fri, Nov 28, 2008 at 11:20:41AM +1100, Petr Janda wrote:

Simon should be able to fix up the few remaining issues over the
weekend. commit email and pretty web access may take longer.


GitWeb is pretty nice!


As long as the git mirror at repo.or.cz stays in sync with chlamydia's,
you can use the gitweb there as well:


Everybody using the repo.or.cz repo, please be aware that the repo itself 
changed its history, i.e. is not compatible with the previous version. 
However this is the final version.


There is also a gitweb on chlamydia:

http://chlamydia.fs.ei.tum.de/git/

I urge all adopters to get their source trees from chlamydia or other mirrors:

git://chlamydia.fs.ei.tum.de/dragonfly.git

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low €€€ NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: mutt's buffy-list

2008-08-27 Thread Simon 'corecode' Schubert
On Wed, August 27, 2008 17:01, YONETANI Tomokazu wrote:
 Hello.
 Since I have switched /home to a HAMMER PFS, mutt stopped reporting
 mailboxes with new messages.  Digging mutt source code, I found something
 relavant:


 mutt_buffy_check:


 if (stat (tmp-path, sb) != 0 || sb.st_size == 0 || (!tmp-magic 
 (tmp-magic = mx_get_magic (tmp-path)) = 0))
 {
 /* if the mailbox still doesn't exist, set the newly created flag to
 * be ready for when it does. */
 tmp-newly_created = 1; tmp-magic = 0; tmp-size = 0; continue; }


 As HAMMER always reports st_size of directories to be 0, mutt thinks
 that the mailbox is specified in $mailboxes but doesn't exist(yet). My
 questions are, is checking st_size of a directory is usual on other
 platforms/filesystems?  Does anyone know of other filesystems on which a
 directory can have st_size of zero?

SUSv3 says:

off_t st_sizeFor regular files, the file size in bytes.
 For symbolic links, the length in bytes of the
 pathname contained in the symbolic link.
[SHM]
 For a shared memory object, the length in bytes.

[TYM]
 For a typed memory object, the length in bytes.

 For other file types, the use of this field is
 unspecified.

Doesn't say anything about directories, so I guess mutt is wrong.

cheers
  simon



Re: Determining Running Applications on Specific CPU

2008-08-20 Thread Simon 'corecode' Schubert
On Wed, August 20, 2008 13:35, Archimedes Gaviola wrote:
 Here, I'm only showing one running application but the same thing
 happen when 2 or 3 another applications are running, it still be randomly
 processed by CPUs.

This is actually expected.  For more fine-grained control, you would have
to pin the threads to specific CPUs.

What is the bad thing about the process being scheduled on different CPUs?

 Suppose to be I want to test DragonFly on this machine
 but unfortunately AMD-64 is still an ongoing development as of this time.
 I wanted to test to be able to know how DragonFly
 behaves on an MP-based system since it contains LWKT scheduler per CPU.

The LWKT scheduler has nothing to do with processes or threads.  It is
exclusively a kernel-thread scheduler.

cheers
  simon



Re: Determining Running Applications on Specific CPU

2008-08-20 Thread Simon 'corecode' Schubert
On Wed, August 20, 2008 19:37, Robert Luciani wrote:
 Here, I'm only showing one running application but the same thing
 happen when 2 or 3 another applications are running, it still be randomly
 processed by CPUs. Suppose to be I want to test DragonFly on this
 machine but unfortunately AMD-64 is still an ongoing development as of
 this time. I wanted to test to be able to know how DragonFly behaves on
 an MP-based system since it contains LWKT scheduler per CPU.


 Thanks,
 Archimedes


 Here is an image that explains DragonFly threads on a high level. :)


 http://death.olf.sgsnet.se:8080/files/threads.png

That's a very nice picture!

cheers
  simon



Re: Site layout and design discussion

2008-08-04 Thread Simon 'corecode' Schubert
I like the new design idea.  Short, simple.

On Mon, August 4, 2008 10:06, Matthias Schmidt wrote:
 How about moving all teh web stuff into a wiki?  Commiting to site/ and
 waiting that someone regenerates the sites manually is IMO not the best
 solution.  Furthermore some of our active developers tend to ignore the
 site repo :P

 A locked down wiki (write access only to a docs/site/whatever
 team) saves us the discussion about the layout etc ... Just my 2c.

I'm absolutely for this.  The new design should also be possible in a
wiki.  Not all pages have to be as simple, but at least the front page.

With the wiki it would be much easier to maintain the information.

cheers
  simon



Re: DFBSD2 and virtualbox no compatible?

2008-07-31 Thread Simon 'corecode' Schubert
On Thu, July 31, 2008 19:58, Sdävtaker wrote:
 Hello,
 I was trying to install a DFBSD2 in virtualbox (sun's virtual machine)
 and it doesnt boot, acpi or not acpi the same. I was hitting some config
 params, but nothing changes. Did someone tried it before? I used to
 install some VMwarez with DFBSD1.x with not problems, but company is
 migrating the virtualization software to sun's virtualbox for some
 licences issue. Any idea what can be wrong?

They have a bug in their PIT implementation, and they don't seem to care
to fix it.  A bug report has already been opened, and comments in the code
indicate that they know about the problem.

cheers
  simon



Re: console

2008-07-27 Thread Simon 'corecode' Schubert

Zbigniew Baniewski wrote:

:As I can see, DragonFlyBSD uses just cons25 terminal, taken from FreeBSD
:most probably. I would to ask: is there support for smacs/rmacs strings
:planned? It's needed for full internationalization of text-console, without
:a loss of semigraphics.

Not that I know of.


What a pity - it would be nice to keep both national characters and
semigraphics in text mode.


We'd love to see contributions in this regard - probably this would 
require a graphics console, however.



:Uh, I forgot - another one: I read, that DragonFlyBSD has two releases
:yearly. Wouldn't be reasonable to switch to rolling release model then? It
:could mean less work for both the users ant the devs... what do you think?

I don't know what you mean by a 'rolling release' model.


I mean the thing described at, for example:
http://en.wikipedia.org/wiki/Rolling_release
http://jon-reagan.blogspot.com/2008/01/linux-releases-fixed-vs-rolling-release.html


People can
always stay up to date by tracking the release branch or the development
branch, which are updated continuously.


So, does it work in the case of DF exactly the way:

#v+
  [..] there are no fixed releases like 0.7 or 1.0, but the whole system is
  on the roll, constantly updating bit by bit (not the 'bit' as in bits and
  bytes, but a 'bit' as in a bit of this and a bit of that). The flow of
  updated packages is constant [..]
#v-
( http://eyedeal.team88.org/node/58 )


DragonFly is no distribution, but a whole OS.  DragonFly itself doesn't 
have packages, so there is nothing to be updated in a rolling way. 
Except for the base system, which of course is rolling, like any other 
software product.


cheers
  simon



Re: Hammer on snapshot cd's

2008-07-16 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

: cc -Wall x.c -c -O2
: x.c: In function 'fubar2':
: x.c:16: warning: 'error' is used uninitialized in this function
: 
: (edit so *valuep is set to 0)
: 
: cc -Wall x.c -c -O2

: (no warning reported)
:
:So you need to go -O2?  -O alone doesn't work?  Maybe we should -O2 
:after the release then :)

:
:cheers
:   simon

No, we will always stick to -O.  GCC is a moving target too, even if
-O2 works now there is a high chance it will break something in future
GCC rolls.


Why should -O2 break things and -O never break things?  That doesn't 
seem obvious to me.  I think all the breakages that happened in the last 
couple of years which were connected with optimization happened with -O, 
-O2 and -Os.


There seems to be a traditional, irrational fear of -O2 in the FreeBSD 
community, which I can't explain.  I've heard something about -O2 and 
inline assembly, but that's probably old as well.


Basically *all* linux distros I've seen (and OSX, for that matter, and 
pkgsrc(!)) use -O2 by default, so if gcc's -O2 was broken, it would be 
discovered fast (and we would be suffering anyways due to pkgsrc).


cheers
  simon


Re: Hammer on snapshot cd's

2008-07-15 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

:..
: :
: 
:That is very odd.  Maybe there's a 64-bit arithmatic problem somewhere

:w/ gcc-34.
:
:Hi Matt,
:
:the following patch fixes the problem for me. Not sure whether it is the
:correct solution though.
:
:Cheers,
:Johannes
:
:Index: hammer_btree.c
:+  int error = 0;
:   int r;

Wow.  That is one nasty bug and I am very happy that you found it.
I will fix it right now.

I blame my own convalescence.  I was relying on gcc-4 to warn me about
possible uninitialized variable use and got a bit too fancy in my
handling of 'error' in that routine.  GCC missed a case where I was not
initializing error in a switch deeper down in that routine.


How the heck can a compiler miss this?  I thought whenever there 
existed a possible execution path which would not initialize the 
variable, it would complain.


cheers
  simon



Re: Hammer on snapshot cd's

2008-07-15 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

   One interesting thing I've found on GCC-4 is that the callgraph analyzer
   will cross procedure boundaries for all procedures in that particular
   source file.  It can actually detect that error is left uninitialized
   in this situation:

cc -Wall x.c -c -O2
x.c: In function 'fubar2':
x.c:16: warning: 'error' is used uninitialized in this function

(edit so *valuep is set to 0)

cc -Wall x.c -c -O2
(no warning reported)


So you need to go -O2?  -O alone doesn't work?  Maybe we should -O2 
after the release then :)


cheers
  simon


Re: nohistory'd directories on Hammer

2008-07-13 Thread Simon 'corecode' Schubert

Matthew Dillon wrote:

Yah, its a problem, though I think rm + pruning ought to work.  You
shouldn't have to free up more then 100MB of space or so for the
reblocker to work.


How about reserving 100MB for the reblocker?  Wouldn't that solve the 
problem?


cheers
  simon


Re: Hammer on snapshot cd's

2008-07-13 Thread Simon 'corecode' Schubert

Johannes Hofmann wrote:

Now that hammer is enabled in GENERIC, people might try it out
with development snapshots from
http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/
This fails however, as the snapshots still seem to be built with
gcc34. Files just disapear in hammer filesystems with gcc34
compiled kernels.
Can the snapshots be switched to gcc41?


I'm pretty sure that gcc41 is used for devel snapshots.  Further, having 
files disappear when compiling the kernel with gcc34 is spooky and 
definitely a bug.


cheers
  simon


copying utf8 to msdos

2008-07-03 Thread Simon 'corecode' Schubert

Hey,

does anybody know how to copy files with UTF8 filenames to a msdos fs?  On 
accented letters and Umlauts cp/rsync complain Invalid argument and 
don't create/copy the file.


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: EHCI working?

2008-07-02 Thread Simon 'corecode' Schubert
Michael Neumann wrote:
 Hm, last time I tried, it was pretty slow. Could you try booting with
 tunable hw.usb.hack_defer_exploration set to 0 (see [1]). Does this make
 any difference?

No, this is when kldloading it lateron.  Didn't try on boottime.

cheers
  simon


Re: EHCI working?

2008-07-02 Thread Simon 'corecode' Schubert
Joerg Sonnenberger wrote:
 On Wed, Jul 02, 2008 at 04:12:44PM +0100, Steve O'Hara-Smith wrote:
  It seems to be rather better here - no error messages in the logs
 and writing to my mp3 player goes at 1.5-1.8 MB/sec while reading runs at
 4-5MB/sec.
 
 Those sound like normal data rates for slower flash modules, no
 surprise.

My handbook claims to do 40Mbps, but I can only get about 2MB/sec.  A FAQ 
somewhere said that some models were formated with 8KB cluster size and should 
be formated with 16KB to achieve the correct data rate, but that didn't help 
either.  But as I was doing this on Linux, I guess it is my hardware :/  
However I think on DragonFly it was even slower.

cheers
  simon



Re: cvs trouble

2008-07-01 Thread Simon 'corecode' Schubert

Thomas Nikolajsen wrote:

I had some trouble trying to track down when traceroute stopped working:
(hasso just commited fix ;-)

My plan was to use vkernel to find the date it stopped working:
Checking out full sources for given date and building and installing world and 
VKERNEL.

But it failed: using cvs checkout, sources checked out w/ -D2008-06-07 fails 
buildworld.
It turns out reason is that checked out src/contrib/libarchive-2/libarchive/archive.h.in 
is wrong version:
It is revision 1.2, but newer revision in vendor branch 1.1.1.X exists (the 
right one ;-).


I don't have an archive.h.in, and the archive.h doesn't have a 1.2, so I 
can't really follow the problem.



Can cvs checkout the right file version for given date (same as checkout 
(without -D) on date)?


CVS should work correctly with -D as well (to some extent)

cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



EHCI working?

2008-07-01 Thread Simon 'corecode' Schubert

Hey,

could it be that EHCI is not working correctly?  On my desktop I get irq 3 
interrupt livelocks when loading EHCI (actually it is on/off livelocking). 
 On my laptop it seems to load okay, but then transferring data to my new 
mp3 player is slow, basically around 1MB/sec.  In dmesg, cam writes 
something about Down reving Protocol Version from 2 to 0?, but I don't 
know what that means.  Does anybody have a working EHCI setup?


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: cvs trouble

2008-07-01 Thread Simon 'corecode' Schubert

Thomas Nikolajsen wrote:

Yes, I it works as advertised; but I need a slightly other behavior, as 
described;
do I have to use other / additional flags for checkout?
(another option could be using cvsup, but I do expect cvs to be able to do this)


No, this is an example of a classical CVS problem - a mixture of CVS 
import and add was used and thus CVS has no means of reconstructing the 
real history.  Poof, gone.


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: New site design

2008-05-29 Thread Simon 'corecode' Schubert

Justin C. Sherrill wrote:

James Frazer put together a nice site redesign based on some discussion we
had here before.  He sent me a copy of it all, and I'm only now catching
up enough to show it:

http://www.shiningsilence.com:81/

I'm happy with the layout and content; I'm looking for further suggestions
for tweaks.  If there's no show-stopping objections, I'd like to move the
dragonflybsd.org site to this.


I'd make the title larger, this way it looks strange right now.  I 
actually liked the red, so maybe we could have all colors in a css?  just 
kidding :)


But I think we should change the navigation on the left:

- have sections and links visually distinguishable, i.e.
- leave sections bold, make links normal, maybe smaller
- don't use a fixed column size (wraps here)
- use background for the cells/navigation to make it obvious that it is 
navigation.


Regarding the title, I'd like to see the logo in the title, and I'd like 
to see a larger font for the title, instead of using spaced letters.


There is no link to the snapshots anymore, I think this should go into the 
Download section as a paragraph on top.  Further, I would split the 
release errata/announcement from the download page.  I would even split 
the list of mirrors from the download page, so that you click on download, 
read one paragraph on snapshots vs releases, then click on one of them, 
then get to the mirrors page, or better yet, get the iso served from one 
of the mirrors.


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: GSoC: LiveCD

2008-05-19 Thread Simon 'corecode' Schubert

Oliver Fromme wrote:

On the other hand, there are still some machines that
only have CD-ROM drives (not DVD).  Maybe those could be
supported with a stripped-down version of the DVD, e.g.
by omitting some cool-but-not-important stuff (some script
could generate this automatically).


In the interest of not getting distracted by the size discussion, I 
suggest targetting a 1.35GB size, but not worrying really about any size 
constraints.  I could imagine that when the DVD is ready, some compression 
driver pops up in the kernel, to make it work on CDs as well :)


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: Fortran in the base

2008-05-13 Thread Simon 'corecode' Schubert
Hasso Tepper wrote:
 OK, much clearer now. So, now I think that best approach is completely 
 opposite. Basically, there are two options:
 
 a) Remove fortran from the base.

+1 if f2c works well.

cheers
  simon



signature.asc
Description: OpenPGP digital signature


Re: 7-Zip / Bzip2

2008-05-07 Thread Simon 'corecode' Schubert

thegraze wrote:

But 7z is GPL!


so?  your point being?

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: wip/xf86-video-ati does not compile

2008-05-02 Thread Simon 'corecode' Schubert

thegraze wrote:

Comitted. :)
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commit;h=f051359ac09c6b9416e39b9ca7d9dc0880aa1557


wow, this is impressive.  I suspect that git plays an enabling part here, 
because it allows easy exchange/import of patches from other people 
(*hint, advertisement*).


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



Re: wip/xf86-video-ati does not compile

2008-05-02 Thread Simon 'corecode' Schubert

Jeremy Messenger wrote:
Have you seen github.com yet? It's pretty very cool. I think someone is 
trying to create a similar one for hg (Mercurial).


Heh, they want money for that?  repo.or.cz is providing hosting for free! 
 You can find the dragonfly sources there at 
http://repo.or.cz/w/dragonfly.git.


cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



  1   2   3   4   >