Re: cvsupfile targets

2005-08-01 Thread Erik Wikström

On 2005-08-01 10:15, Yiorgos Adamopoulos wrote:

I have gotten a little confused with the cvsupfile targets one can have to
download the sources.  From what I gather:

*default release=cvs tag=DragonFly_Preview  - PREVIEW
*default release=cvs tag=.  - HEAD

right?  And what is the tag for STABLE ?


*default release=cvs tag=DragonFly_RELEASE_1_2_Slip

In /usr/share/examples/cvsup you'll find pre-made sup-files which, with
little or no modification, will give what you want.

--
Erik Wikström


Re: cvsupfile targets

2005-08-01 Thread Erik Wikström

On 2005-08-01 20:53, Justin C. Sherrill wrote:

On Mon, August 1, 2005 2:45 pm, George Georgalis said:

On Mon, Aug 01, 2005 at 09:08:27AM -0400, Justin C. Sherrill wrote:


HEAD is for people who like troubleshooting strange errors.
RELEASE_x.x is for people who don't like anything to go bad, ever.

I run RELEASE_x.x on my home server, for instance, because I can't have
that go down.


I thought RELEASE_x.x_Slip is considered the most stable tag, because
it only picks up release commits (ie security or bugfix); but it won't
contain half a commit as the cvs tree might, if you checkout while files
with those tags are being committed.


What's the difference between RELEASE_x.x and RELEASE_x.x_Slip?  I'm all
unsure now.


RELEASE_x.x will give you that release while RELEASE_x.x_Slip will give
you RELEASE_x.x.y for the highest available y, which will be the release
plus bugfixes. So RELEASE_1.2 will give you DragonFly 1.2 while
RELEASE_1.2_Slip will give you DragonFly 1.2.5.

--
Erik Wikström


Re: cvsupfile targets

2005-08-01 Thread Erik Wikström

On 2005-08-01 20:14, Guillermo Garcia Rojas wrote:

Is Preview slipped?


Yes, so if you are already running a quite current Preview then you
won't get anything new until it has been slipped again, which should
happen quite soon by the looks of it.

--
Erik Wikström


Re: about the snapshots

2005-08-19 Thread Erik Wikström

On 2005-08-19 15:54, Justin C. Sherrill wrote:

On Fri, August 19, 2005 8:28 am, Richard Nyberg said:

o What does 2CSNAP mean?


I think that's short for Corecode snapshot?


o Is Release-1.2 release 1.2.0 or the latest release 1.2.x?


It's the latest, as far as I know.


o Which compiler version is used for building Release-1.2?


2.95.


Wouldn't it be 3.4 by now? I thought that 2.95 didn't support TLS
and had been removed from alltogether.

--
Erik Wikström


Re: pebkac routing problem

2005-10-06 Thread Erik Wikström

On 2005-10-06 21:40, Martin P. Hellwig wrote:


My conclusion where that the package always return via the default 
gateway and thus get blocked by the next hop gateway which (reasonable) 
blocks routing for foreign IP's.


My question is, how can I configure my BSD box, that a IP package is 
always returned to the gateway it came from when?


Not sure if it's the best way of doing things, but you might be 
interested in the reply-to option of PF, from the man-page:


It can be used on systems with multiple external connections to
route all outgoing packets of a connection through the interface
the incoming connection arrived through (symmetric routing
enforcement).

--
Erik Wikström


Re: recommend kvm switch

2005-11-30 Thread Erik Wikström

On 2005-11-30 22:14, Bob Bagwill wrote:

Can anyone recommend a really bullet-proof 2 or 4 port kvm switch (that's
DBSD compatible)?  Thanks.


I've been using a Belkin 2-port for years now without any problems, fist 
got a D-Link but it was crappy (the video signal was bad).The only 
problem I've found is that if you power of the computer you are working 
with you can not switch to the other using the keyboard. The one I've 
got is F1DD102U, they have some newer and smaller version but I don't 
know anything about it.


Erik Wikström
--
I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: DP performance

2005-12-02 Thread Erik Wikström

On 2005-12-02 19:16, Danial Thom wrote:

All of the empirical evidence points to Matt
being wrong. If you still can't accept that then
DFLY is more of a religion than a project, which
is damn shame.

DT


Since I don't know anything about networking at GigE-speed I find this 
whole diskussion very interesting and I hope to learn something new. 
However, as always when two people both believe they are right, it's 
hard for me to really choos whom to trust.


However Matt has provided some arguments that I find very convincing 
(calculations and reasoning). Now, since you say that all empirical 
evidence suggest that he is wrong I suppose that you have some other 
numbers (wouldn't be very empirical otherwise would it?) that you could 
show me (like benchmarking or such). Then I might decide what to think 
when I've seen both sides arguments.


Erik Wikström
--
I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Fwd: How do I instal Dragonfly BSD from a hard drive - rather than CD?

2005-12-16 Thread Erik Wikström

On 2005-12-16 12:34, Martin P. Hellwig wrote:

Emiel Kollof wrote:

Hi guys,

Forwarded to the users list (The forwarded post is below) and also a reply to 
this guy. I know it's a troll, but I thought it was way too funny for you 
guys to miss. It nearly made me choke on my morning coffee. This guy owes me 
a new keyboard because coffee | nose  keyboard.


Thank you a lot Emiel ... so ... anybody got a good idea how to get that 
caffeine beverage out of your laptop, my hard drive is making slurpy 
noises ;-)


Turn the power of, remove the batery, (disassemble if you want) and wash 
it with water and then let it dry. There's really nothing in the 
computer that should break because of water, but it might break if there 
is still some water in it when you power it on. Note however that I've 
never tried this with a laptop only mobile phones.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: cdrecord

2005-12-23 Thread Erik Wikström

On 2005-12-22 21:42, Ezra Drummond wrote:

Hi guys i just want you to know that running, #cdrecord -scanbus

 produces this error:Cdrecord 2.00.3 (--) Copyright (C) 1995-2002 Jorg
 Schilling

cdrecord: No local SCSI transport implementation for this
architecture.


Just to be sure, you've got SCSI and SCSI-emulation compiled in?

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: learning c programming

2006-01-02 Thread Erik Wikström

On 2006-01-02 15:28, Terry Tree wrote:

Anyone used these tapes before http://www.mixsoftware.com/product/cvidfn.htm ?
I'm wondering if they are worth $299.  What do you guys think ?


My highly subjective oppinion: For the same price you'll get a couple of 
high quality books and while it might be harder (and take longer) to 
read them I'm quite sure that you'll learn more that way. And the books 
are much better when used as a reference. For a list of good books check 
out http://www.accu.org/bookreviews/public/

or ask in
http://www.accu.org/bookreviews/public/

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: learning c programming

2006-01-02 Thread Erik Wikström

On 2006-01-02 15:56, Erik Wikström wrote:

On 2006-01-02 15:28, Terry Tree wrote:

Anyone used these tapes before http://www.mixsoftware.com/product/cvidfn.htm ?
I'm wondering if they are worth $299.  What do you guys think ?


My highly subjective oppinion: For the same price you'll get a couple of 
high quality books and while it might be harder (and take longer) to 
read them I'm quite sure that you'll learn more that way. And the books 
are much better when used as a reference. For a list of good books check 
out http://www.accu.org/bookreviews/public/

or ask in
http://www.accu.org/bookreviews/public/


Should have been alt.comp.lang.learn.c-c++

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Subversion for DF sources

2006-01-12 Thread Erik Wikström

On 2006-01-12 14:29, Erik Wikström wrote:

On 2006-01-12 05:43, Nigel Weeks wrote:

A week or so ago, a discussion rattled around about cvsup being written in
c++.

What about launching into it, and moving to subversion instead? That way,
the updater could be included in the base system, as it's c++ AND BSD
licenced.

Probably great scads or work, but it might be a good idea.


Hot sure that solves the problem, to my (limited) understanding the 
problem is not with CVS per se (though there are problems with that too) 
but rather with checking out the whole repository at once. Using normal 
CVS this is not very efficient and CVSup is. The question then is how 
efficient subversion is. (Someone who knows please confirm/deny.)


To correct myself: using cvsup you can get a copy of the repo and work 
against it localy, which you can't do with just cvs, don't know if you 
can get a local copy of the repo with subversion.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: C++ compilations times

2006-01-19 Thread Erik Wikström

On 2006-01-19 16:31, Antonio Bravo wrote:

Curious about getting documentation or tips if possible.

I have build JDK14 yesterday from pkgsrc/wip and it took more than 6 
hours on a box where the same JDK is built in about 3 hours for

NetBSD or OpenBSD...
Similar thing do happen with the other c++ beasts like KDE, it takes 
roughly more x2 time to build.Insane. I know zero about c++, but if

someone can point to some docs about that issue I will appreciate
much.Thanks!


Are you using the same version of gcc? I seem to recall that there were 
some performance issues about C++, but that might have been gcc 4.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: (u)ral driver

2006-02-15 Thread Erik Wikström

On 2006-02-15 21:44, Chris Rawnsley wrote:

Hello,
I am fairly new to DragonFlyBSD and Unix's (or is it better to say
*nix's? :O Trademark issues!!) in general. I have fiddled around
with Gentoo, Ubuntu, FreeBSD and now DragonFly BSD. Now I know that I
am probably perhaps sticking myself in the deep end, but so far I am
impressed with the BSDs more than GNU/Linux as everything seems more
solid. More impressed with DragonFly over FreeBSD as it seems to be
moving forward rather than clinging to the past.

Anyway, babbling over!

I have a D-Link DWL-G122 with a Ralink rt2500 chipset. Under FreeBSD,
I got this working using the ral(4) driver. I have looked for
information on how I might get this working in DragonFly and I found
this: http://leaf.dragonflybsd.org/mailarchive/users/2005-10/msg00063.html
Unfortuantly, with my lack of experience, I wasn't quite sure what a
diff file does. I tried to find out a bit and I understand that you
use the patch command to apply it to sources. Next problem; what
sources? I've looked inside the diff file and seen a few references
but I am not sure exactly what I want.


From looking at the patch it seems that the /usr/src/sys directory is 
the right one (but I'm not to good with patches). So what to do would be 
to get the sources if you haven't done so already (use cvsup and the 
appropriate file in /usr/share/examples/cvsup) and then to un-compress 
the patch somewhere (/tmp). Then go to the /usr/src/sys and type


patch  /tmp/ral.diff

and hope that the patch applies cleanly. If it doesn't it means that the 
source has changed too much since the patch was made. It might still be 
possible to fix those parts of the patch that didn't apply by manually 
editing the source if the differance isn't to big (or you know what you 
are doing).


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: UNIX

2006-02-24 Thread Erik Wikström

On 2006-02-23 22:02, Chris Rawnsley wrote:

Very interesting. Well now that I know I will try and be a little more
careful in how I refer to it.
If it is all capitalised that would lead me to believe that it stood
for something, but I can't find anything on the matter. Do you know
why it is capialised and/or do you know the reason they chose the
name?

Chris


UNiplexed Information and Computing System, according to wikipedia 
(replaced the last C and S with an X). I believe that the name has 
something to do with MULTICS (Multiplexed Information and Computing 
System?), but exactly what the differance between multiplexed and 
uniplexid is I don't know.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: bsdtalk022 - Interview with Matthew Dillon from DragonFly BSD

2006-03-09 Thread Erik Wikström

On 2006-03-08 10:48, Steve Mynott wrote:

Matt on bsdtalk podcast!

http://bsdtalk.blogspot.com/

Sync'd through to my iPod fine and I listened to it on the train to
work - very interesting!

Cheers Steve



This reminded me of the (perhaps slightly old) BayLISA-talk which is now 
 available for our pleasure at Google Video:

http://video.google.com/videoplay?docid=-3205048442935479525q=baylisa

The slides can be found at: http://www.dragonflybsd.org/docs/ (it's so 
much simpler to understand while watching the video).


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: seeking laptop users

2006-03-20 Thread Erik Wikström

On 2006-03-19 01:37, Justin C. Sherrill wrote:
Because of recent circumstances, I'm looking for at least 1 'new' laptop. 
Is there anyone using DragonFly on a laptop not mentioned here?


I have a IBM T41, but unfortunately I have not been able to use DFly 
much lately, however everything seems to be working. I'm running 1.5 
from late February patched with the ath(4)-patch from Adrian.

http://leaf.dragonflybsd.org/mailarchive/submit/2006-02/msg00036.html

dmesg: http://www.itstud.chalmers.se/~eriwik/dmesg
pciconf: http://www.itstud.chalmers.se/~eriwik/pciconf

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: overheating laptop when running cpu emulator

2006-03-27 Thread Erik Wikström

On 2006-03-27 20:34, Jake Maciejewski wrote:

Do you have the laptop resting on a flat surface? My University used
Compaq and HP laptops (I have an n800w), and the solution to overheating
that I always heard from fellow students was to not leave the laptop on
flat surfaces. They'd prop laptops up with all sorts of things like
erasers, triangular drafting scales, and folded paper.

Also, are those temperatures supposed to be Celsius? I'm nut sure about
Pentium Ms, but 100F wouldn't be hot for most modern CPUs.

On Mon, 2006-03-27 at 12:01 -0500, Joe Talbott wrote:

Hi,

My laptop (HP nc8000) overheats (85-100F) when running cpu simulators like bochs
and simulavr.  I guess this is a hardware problem but wanted to rule
out any misconfigurations on my part or software issues that may be
related.  The laptop doesn't overheat during buildworlds though this
isn't a constant CPU workout either.  Included is a copy of
/var/run/dmesg.boot and my kernel config file.


100F would be quite cool, perhaps even for a Pentium M (~37C). On the 
other hand 100C would be quite hot, especially for a mobile processor, 
are you sure that your fan is working and that the heatsink hasn't come 
loose?


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: installing DFly over third partition

2006-04-13 Thread Erik Wikström

On 2006-04-13 19:36, Saverio Iacovelli wrote:


Severino,

you can used fdisk as usual. Make a partition for
DragonFly, then boot from 
the DragonFly CD. There's an option to use a part of
a harddisk for the 
installation. DFLY makes his slices then in the

selected partition.

I use grub here as a boot manager, tri-booting
Linux, GNU/Hurd and DFly 
without problems (that means, I didn't let the DFly
installation set up its 
own boot manager).


Thomas



I readed the fdisk's man page, but I not found the
response. I want choose the size in MB (or in GB) with
fdisk.
Fdisk (in DragonFly) have this feature?


If I remember correctly you can not use the DragonFly fdisk to create 
the partition (or I just didn't know how to use it) but if you boot into 
Linux and use fdisk there it should work just as fine.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: GNU make not installed

2006-04-19 Thread Erik Wikström

On 2006-04-19 19:37, [EMAIL PROTECTED] wrote:

On Wed, Apr 19, 2006 at 12:37:31PM -0400, Justin C. Sherrill wrote:

On Wed, April 19, 2006 9:19 am, [EMAIL PROTECTED] wrote:
 On Wed, Apr 19, 2006 at 09:06:37AM -0400, Justin C. Sherrill wrote:
 Is there a reason we would not want this to be default behavior?  i.e.
 release with DEPENDS_TARGET and BINPKG_SITES defined?

 Because you want to build from source to get specific options etc.?
 BINPKG_SITES with a default value would make sense though.


Wouldn't people who want to build from source with specific options be
doing 'bmake (options) install?


Depends. I *think* it is more common to place them in /etc/mk.conf, but
that might differ.


I thought that you placed the options in mk.conf to avoid having to put 
them all on the command-line.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Thinkpad 570E and Cardbus errors

2006-04-22 Thread Erik Wikström

On 2006-04-22 17:33, [EMAIL PROTECTED] wrote:

On Sat, Apr 22, 2006 at 08:17:07PM +0800, Sepherosa Ziehau wrote:

Please try following patch (from joerg):
http://leaf.dragonflybsd.org/~sephe/cbb-apr-09.diff

It should be applied cleanly to HEAD or PREVIEW



I'd love to, but I'm not sure how to do this with no network card (the only
network card I have attaches to the pccard device)... I'm more than willing to
*try* any suggestions - maybe download the latest PREVIEW (17apr06) iso and
install it and the kernel source and patch it that way?

Andrew


If you have access to another computer on which you can burn a disc, you 
can download a snapshot of the source, then extract the source in 
/usr/src on your laptop, apply the patch and compile.


In /usr/src:
make buildworld
make buildkernel
make installkernel
make installworld
make upgrade
reboot

A list of servers from which you can download the source:
http://www.dragonflybsd.org/main/download.cgi
the source can be found under snapshots/src/ on the servers.

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: [OT] Bonehead question about coredumps

2006-05-01 Thread Erik Wikström

On 2006-05-01 20:54, walt wrote:

When a userland program segfaults, what determines whether
it also dumps core?  Is there something either the programmer
or the user can do to force a cordump on segfault?

Thanks for any clues!


You might be interested in core(5), which has a list of criteria for a 
core to be dumped. Two important factors are that the process must have 
permission to create the file and the file must not be too big.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: 80211 patch3 (to be committed)

2006-05-05 Thread Erik Wikström

On 2006-05-01 20:06, Thomas Schlesinger wrote:

Am Montag, 1. Mai 2006 03:09 schrieb Sepherosa Ziehau:

Hi all,

I have rearranged the previous 80211 patch:
http://leaf.dragonflybsd.org/~sephe/802_11.diff3
NOTE:
1) Apply this patch at /usr/src, don't forget -p0 in `patch'.  It
should apply cleanly to HEAD or PREVIEW
2) You will need to at least quickkernel if you have tried previous
patch.  If you have not applied previous patch, you will have to
buildworld and buildkernel
3) Please don't forget option INVARIANTS in you kernel config file


Sorry for being late, but I'm having some problem with your latest patch 
and ath(4). Just to check that I haven't missed something basic this is 
what I did:


1. Downloaded a fresh copy of Preview
2. In /usr/src did patch -p0  /tmp/802_11.diff3
3. Made world and kernel and all that
4. Reboot
5. Extracted ath.tbz in /tmp
6. in /tmp/ath did make
7. kldload ath_hal
8. kldload ath_rate
9. kldload if_ath (which panics the system)

I've tried without ACPI to no avail, and it's 100% reproducable. I've 
put a photo of the panic at www.itstud.chalmers.se/~eriwik/ath along 
with a verbose dmesg. If there is anything else you need just ask and 
I'll try to produce it.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Shutdown

2006-05-09 Thread Erik Wikström

On 2006-05-09 12:29, Thomas Schlesinger wrote:

Hi,

when I shutdown my notebook (ASUS V6800), I get a message to power it of on 
console, but it doesn't happen automagically as in Linux. I believe to 
remember, that I've read somewhere something about an sysctl switch which 
enables this function, but I can't find it again. I'm not sure, it was DFly 
related, it could also be FBSD related.


Does anyone know how to make an ACPI-enabled notebook to power off on shutdown 
automatically?


I've attache a sysctl hw output of my notebook to this email.


I've got a IBM T41 and it works just fine. I've compared my sysctl-
output with yours and could not find any difference in the ACPI-
settings. Is the result the same when using the power-button? Are you 
running a GENERIC-kernel, if not try with one. And just to be sure, you 
are using the -p option to shutdown(8) right?


Sorry I couldn't be of more help.

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Setting the processor speed

2006-05-09 Thread Erik Wikström

On 2006-05-09 13:07, Thomas Schlesinger wrote:

Hi,

is there a tool available to set the processor speed (not the throttling) for 
Pentium-M CPUs?


Depending on what you need it for you can make a simple shell script 
setting the sysctl hw.acpi.cpu.throttle_state, or you could write a 
small program polling the battery-state and setting the speed based on that.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Shutdown

2006-05-09 Thread Erik Wikström

On 2006-05-10 00:12, Joseph Garcia wrote:

Sascha Wildner wrote:

Thomas Schlesinger wrote:


Hi,

when I shutdown my notebook (ASUS V6800), I get a message to power it 
of on console, but it doesn't happen automagically as in Linux. I 
believe to remember, that I've read somewhere something about an 
sysctl switch which enables this function, but I can't find it again. 
I'm not sure, it was DFly related, it could also be FBSD related.



How do you shutdown? 'shutdown -p now' should do the trick.

Sascha



Typically, I used 'halt -p' instead of 'shutdown -p now'. Now I'm 
wondering if there's a major difference. Either way, it shutdown my 
computer.


Not really sure but I believe that shutdown calls halt or reboot, so the 
results should be roughly the same. I think shutdown sends a message to 
all users logged in before calling halt, can be used to put the system 
down at a specific time etc. while halt just shuts down now.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: PkgSrc Help

2006-05-17 Thread Erik Wikström

On 2006-05-18 04:42, Douglas S. Keester wrote:
Since the WIki is currently down, will someone please post the PkgSrc HOWTO to 
the list?


Also are there any package repositories available besides 
ftp://packages.stura.uni-rostock.de?


Thanks in advance.


Take a look at the download-page at www.dragonflybsd.org, at least some 
of the mirrors listed have pkgsrc-packages.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Argh, Stray interrupts 2006

2006-06-01 Thread Erik Wikström

On 2006-06-01 15:49, Danial Thom wrote:

My tech tried firing up 1.4 on an opteron MB with
an HT1000 chipset and, although it seems to work,
the console is literally flooding with stray irq
7 messages. Freebsd at least suppressed these
after a few, but when is someone actually going
to FIX this in BSD? Someone told me years ago
that this was an Intel chipset bug and there was
nothing that could be done, but clearly that
isn't the case here.

whats the workaround solution as the console is
unusable in its current state?


Tried booting with ACPI disabled?

Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: [OT] C pointers: BSD versus Linux?

2006-06-01 Thread Erik Wikström

On 2006-06-01 17:21, walt wrote:

Simon 'corecode' Schubert wrote:

On 31.05.2006, at 20:37, [EMAIL PROTECTED] wrote:

Style 1:
time_t t*;
time(t);

[...]


Also, style 1 is technically incorrect since you never allocated the
memory that t is pointing to before passing it into time().



maybe the compiler on BSD by chance put NULL into t and thus made it a
valid parameter?


First, thanks to all who replied!  I've been playing with gdb and I'm
seeing a significant difference between linux and *BSD.

I added a dummy variable to my program, like this:
time_t t*, d;
and then ran the program in gdb.  I printed out t and d and
compared the two values under *BSD and linux.

What I see in linux is that the two values are miles apart,
but in *BSD they differ by only a few bytes.  I *assume* this
means that in *BSD, t is pointing to a valid memory location
very close to d, whereas in linux t is pointing to some
random number.  Does this seem a reasonable idea?


In general when dealing with uninitialized variables any value is 
reasonable since there's no guarantee what their value will be. Thus 
you shall never write an application that depends on the behavior of 
uninitialized variables since this behavior can change between different 
architectures, compilers and OS'es.


In this case the fact that t points to an address near d does not make 
that address valid, since d is allocated on the stack and the only valid 
addresses for t to point to would be a variable on the stack or some 
allocaed area on the heap


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Any serious production servers yet?

2006-06-01 Thread Erik Wikström

On 2006-06-01 18:46, Danial Thom wrote:


--- Sascha Wildner [EMAIL PROTECTED] wrote:


Danial Thom wrote:
 Surely it makes sense to begin developing O/S
 applications (which is what I need to do),
 however I need an OS that is production
ready,
 even if its not as good as its going to be,
 because I can't reasonably test the
performance
 of an application on an OS that can't handle
 production loads.

*sigh*

Is this going to be another of those
half-yearly Danial vs. the rest 
threads?


How about this: You restrain yourself from
stealing people's time with 
your annoying discussion for discussion's sake
and I promise to get back 
to you in personal email as soon as I think
that DragonFly has reached 
the point where it could be interesting to you?


Sascha


I don't see that its me vs anything. I have to
chose an MP OS for a big project and I just asked
if the project is production-ready yet, and
instead of getting an answer, I get a lot of
pointers to personal web pages and routers that
aren't even pushing a T1. A simple answer like
No, DFLY isn't ready for prime time yet, and we
don't expect it will be until Sept '07. would
have avoided wasting your time.


Well, the definition of production-ready differs with the needs of the 
production server. You've got lots of examples of DF being used in 
production but none of them happens to be the kind of environment that 
you'll use. Regardless of the type of services one would use an OS for 
there's only one reliable way to determine if a particular solution is 
the one you want or not, and that is testing it yourself under the same 
conditions that it will encounter in production.


In short the only way to know is to test it yourself. To ask if someone 
has done X using Y and Z under conditions A, B and C is often pointless 
since no setup or requirement is identical to another unless it's very 
simple.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Compiling: Whats the trick?

2006-06-02 Thread Erik Wikström

On 2006-06-02 01:32, Danial Thom wrote:

Ok, since the beginning of time, the following
has worked in every known unix:

/* hello_world.c */

#include /usr/include/stdio.h

main()
{
printf(hello world\n);
}

cc -o hello_world hello_world.c 



except it barfs pretty badly in DFLY. What's the
trick?


Can start of by including stdio.h instead of /usr/include/stdio.h, 
then add int in front of main, add return 0; after the printf and 
we have something looking like a correct C program.


If you still can't compile the application I would suggest that you re- 
install your system from scratch since, in that case, you've messed upp 
your system real good.


Erik Wikström
--
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone -- Bjarne Stroustrup


Re: Inside the Linux scheduler

2006-07-05 Thread Erik Wikström

On 2006-07-05 22:23, Jose timofonic wrote:

Hello,

by osnews (http://osnews.com/story.php?news_id=15096)
I discovered an article about the Linux scheduler and
oriented on the new stuff for the 2.6 tree. Here you
has the link:
http://www-128.ibm.com/developerworks/linux/library/l-scheduler/?ca=dgr-lnxw07LinuxScheduler

Because probably is always useful to learn from
competitors (good or bad stuff, what to do or what to
NOT do), I put here this link for people with a bit
more of technical background can read and give
opinions of it.

This article explains a nearly non-so-technical
manner, even explains what a scheduler is, problems
from earlier Linux schedulers and the advantages of
the new Linux scheduler. It has technical stuff too,
but is more oriented to people that aren't OS
developers.


I seem to recall that the ULE scheduler of FreeBSD should be a version 
of the 2.6-scheduler, and from a quick look at the article this seems to 
be true (the use of one active and one expired run-queue).


--
Erik Wikström


Re: cvs -d fails

2006-07-27 Thread Erik Wikström

On 2006-07-27 13:23, christian hennig wrote:

Hi,

i am new to dragonfly ;-)

i install 1.6 on my laptop, all is fine. But now i try:
 # cd /usr/
 # cvs -d [EMAIL PROTECTED]:/cvsroot co pkgsrc

but i get a time out. 


Thx for help

CU

Christian Hennig


Did you do env CVS_RSH=ssh (or the equivalent for your shell) before 
trying that?


--
Erik Wikström


Re: Another annoying dvd playback bug

2006-07-31 Thread Erik Wikström

On 2006-07-31 10:48, Petr Janda wrote:
I cant reproduce the error at all now, not even in gmplayer Weird weird 
weird. I'll do it when I can reproduce the error again. Can anyone 
update me on the threading issue? Id like at least gxine working as it 
should...


Is is working after recompiling with CFLAGS=-g -O1 or after some other 
recompile or did it just magically start working? If you did recompile 
then it might have been bad optimization on gcc's part that caused the 
crash.


--
Erik Wikström


Re: Pacman?

2006-08-14 Thread Erik Wikström

On 2006-08-14 19:20, Francis Gudin wrote:

On 14-08-2006, Erik Wikström [EMAIL PROTECTED] wrote:
Haven't looked at pacman but I seem to recall that it's a utility for 
managing pkgsrc packages and as such it (probably) used the pkgsrc 
infrastructure to perform it's magic. Thus it ought to work seamlessly 
with the pkgsrc tools. At least as long as nothing breaks in the middle 
of operation.


You may think about a different 'man'agement tool. Here's an excerpt
from the wiki:


Ah, I was thinking of pkgmanager.


 Pacman was ported from Archlinux.

 The system is similar to ports/pkgsrc but uses build description files
 written in bash, called PKGBUILD, instead of Makefiles.

I guess pkgsrc could coexist with another third-party software
management tool, as long as both don't share anything on the filesystem.
pkgsrc keeps all its files under /usr/pkg by default; if pacman is able
to do so under another hierarchy, chances are it could work.

Still to define how pacman would be better, or what pkgsrc lacks wrt
pacman ? IMO, improving pkgsrc support for DragonFly is much more useful:
sharing with numerous platforms (not Linux-centric), clean framework, etc.

Francis


Yes, it should be possible, but it will be harder to administer (two 
systems instead of one) and I wonder how many of the packages that will 
work under DFly.


--
Erik Wikström


Re: Pacman?

2006-08-15 Thread Erik Wikström

On 2006-08-15 21:52, Jeremy C. Reed wrote:

Am 15.08.2006 um 21:02 schrieb Vivek Ayer:

 However, the only awkward thing is the bash script used.

Hmm. You are the second person considering bash as evil. What might be the
reason for this?


The problem is the licensing. Many BSD users prefer that essential or 
standard software use a BSD type license.


Another problem is that bash-scripts are a superset of sh-scripts and 
since bash is the standard sh on most linuxes many scripts written on 
linux does not work on other systems which used just sh. It's not really 
bash's fault but it can create some problems (like pacman using bash- 
scripts instead of sh-scripts).


--
Erik Wikström


Re: unsubscribe

2006-08-18 Thread Erik Wikström

On 2006-08-18 11:07, Max von Seibold wrote:

Sorry folks,

I need to unsubscribe and have sent several email variations on the 
theme of 'unsubscribe me' which all get bounced back.


Could someone:

a. unsubscribe me .. ;-)

b. tell me what i'm doing wrong ..


I think you need to append -request to the name of the list, i.e. send a 
mail to [EMAIL PROTECTED] with the word unsubscribe 
in the body of the message.


--
Erik Wikström


Re: Static IP on DHCP system?

2006-08-25 Thread Erik Wikström

On 2006-08-25 21:18, Jonathon McKitrick wrote:

On Fri, Aug 25, 2006 at 03:07:52PM -0400, Brian Reichert wrote:
: On Fri, Aug 25, 2006 at 07:43:10PM +0100, Jonathon McKitrick wrote:
:  If my home router provides DHCP in the 192.168.0.100 range, is there 
anything
:  wrong with me statically assigning a 10.0.0.1 address to a box on the 
network?
: 
: That would put that and your router on different netblocks; it would

: likely route packets it doesn't know about out via it's default
: route.

So what about a very high 192.168.0.x address?  I don't want to set up a
server just for DHCP, nor do I want to have to ping my server every time I
reboot.


You could put your static addresses on 192.168.1.* and set the mask to 
255.255.0.0. Have you checked the router configuration if it's possible 
to specify a couple of static address even though the DHCP-server is 
enabled?


--
Erik Wikström


Re: questions about interfaces

2006-08-27 Thread Erik Wikström

On 2006-08-27 10:15, Saverio Iacovelli wrote:

Why loopback interface showed as lo0?
Why having multiple loopback interfaces?


Not sure if it's possible to have more than one loopback interface but 
on the other hand to not have a '0' appended to the name would mean 
extra coding to handle the special case of the loopback-interface. It's 
easier to just pretend that it's a normal NIC just like any other 
(though the driver does not require any special hardware).


That's my guess anyway.

--
Erik Wikström


Re: question about packages installation

2006-08-27 Thread Erik Wikström

On 2006-08-27 14:03, Saverio Iacovelli wrote:

For example, I would install firefox-1.5.0.6.tgz, then
I must try:

#pkg_add firefox-1.5.0.6.tgz (and installation fails
because it needs other packages)


You need to specify the path the the file (if you have not set the 
PKG_PATH-variable) so you'll have to type

#pkg_add
ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/DEVELOPMENT/i386/All/firefox-1.5.0.6.tgz

Or set PKG_PATH first
setenv PKG_PATH 
ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/DEVELOPMENT/i386/All

and then run pkg_add firefox-1.5.0.6.tgz

(sorry about the line-breaks)

--
Erik Wikström


Re: gaim segfault while blocking someone

2006-08-29 Thread Erik Wikström

On 2006-08-29 09:05, Petr Janda wrote:

Ah thanks,

No I didnt play with the MALLOC_OPTIONS at all.  I just want a somewhat 
usable GUI :) It seems to be getting worse. KDE/Gnome are nearly always 
broken in pkgsrc. How can this free() problem be fixed?


A good start would be to compile gaim with debug-symbols (if that's not 
already done) and then running it under gdb. This should tell you where 
the error occurs and from there you can start looking at the code and 
try to figure out what's wrong.


--
Erik Wikström


Re: question about packages installation

2006-08-29 Thread Erik Wikström

On 2006-08-29 14:44, Saverio Iacovelli wrote:

setenv PKG_PATH ftp://url1;ftp://url2;;


Ok, the command work, but perhaps there is still a
problem of pkgsrc.
If you install a package contained in
ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/1.6.0-RELEASE/i386/All
directory, and you need install a dependent package
contained in
ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/1.6.0-RELEASE/i386/vulnerable
directory, then installation of this second package
fails because pkg_add is in All directory.


It should work, from the pkg_add manual page:

Over time, as problems are found in packages, they will be moved from 
the All subdirectory into the vulnerable subdirectory.  If you want to 
accept vulnerable packages by default (and know what you are doing), you 
can add the vulnerable directory to your PKG_PATH like this:


# export 
PKG_PATH=ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/All;ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/vulnerable;


(The quotes are needed because semicolon (`;') is a shell 
meta-character.)  If you do this, consider installing and using the 
security/audit-packages package and running it after every pkg_add.


--

They use export but they have another shell so setenv should be correct 
for you. Could you paste the error-message (or whatever) from when you 
try to use pkg_add. A good way is to use script:


# script out.log
# pkg_add whatever
# exit

And all the text written to the console since you started script will be 
in the file out.log, then attack that file to a mail.


--
Erik Wikström


Re: shutdown on BSD and Linux

2006-09-07 Thread Erik Wikström

On 2006-09-07 17:50, Justin C. Sherrill wrote:

On Thu, September 7, 2006 6:28 am, Rahul Siddharthan wrote:


BTW - the poweroff on my laptop, with Dragonfly and FreeBSD (last I
checked), is also accompanied by a rather alarming and short-lived
whine, as if a spinning disk or fan was suddenly stopped.  I don't get
this sound with linux or windows.


I had an older system that would do this with the fans; I never saw a
negative effect.  I assumed it was some setting that was tripped as
systems were shutdown, which made the fans react as if the temperature was
too high - perhaps the equivalent of a burst of static.


I have a computer on which the fan-controls does not start working until 
somewhere post BIOS, before that they run for full. Might be something 
like that but in reverse, the fan-control is disabled and the fans run 
for full by default. How does the computer sound when it starts?


--
Erik Wikström


Re: shutdown on BSD and Linux

2006-09-07 Thread Erik Wikström

On 2006-09-07 18:46, Oliver Fromme wrote:

PS:  By the way, recently someone suggested in a FreeBSD
mailing list that start scripts could be run in parallel
if they don't depend on each other (which rcorder(8) can
easily find out).  It would probably speed up booting.
However, I don't know if anyone is actually working on
implementing that.


I seem to recall that it was suggested for inclusion in DFly too but the 
consensus of the developers were that boot-time is not important enough 
to use a potentially dangerous method. Not that anyone thought it to 
be especially dangerous but nor was it worth the effort. The reasoning 
was that DFly would most likely be used on servers which are normally 
not booted that often, however as I run it on my laptop I wouldn't mind 
a faster boot :-)


--
Erik Wikström


Re: bsdstats.org

2006-09-11 Thread Erik Wikström

On 2006-09-11 19:18, Adrian Michael Nida wrote:

Snip/

FreeBSD once had an installation counter many years ago
(it's long dead and gone), which worked exactly like that,
i.e. after finishing the actual installation, sysinstall
asked whether it should be reported.  If you said yes, an
e-mail was sent to some pseudo account.

Snip/

This is the only one currently in existence that I'm aware of.

Snip/

IIRC, OpenBSD still has their [EMAIL PROTECTED] mail account to collect
hardware information.  NYCBUG also has something similar:

http://www.nycbug.org/index.php?NAV=dmesgd;SQLIMIT=20

I'm content with the post-install Would you like to submit your
information question.  I don't know why on Earth this script has to be
put in periodic though.  What am I missing?


The goal is probably not to see how many BSDs are installed but rather 
how many are actually in use.


--
Erik Wikström


Re: I need help with pkgsrc, dnetc package!

2006-09-23 Thread Erik Wikström

On 2006-09-23 10:46, Daniel Olsson wrote:

And another question do i only need to use
ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/DEVELOPMENT/i386/Allfor 
binary packages or can i use any other netbsd binary server?


A NetBSD binary wont work, however there are other sites hosting DFly 
binaries, any one on http://www.dragonflybsd.org/community/download.cgi 
under the section pkgsrc binary mirrors will do.


--
Erik Wikström


Re: boot problem, disk mess.. thinking of suicide.

2006-09-28 Thread Erik Wikström

On 2006-09-28 14:18, Vladimir Mitiouchev wrote:

28 Sep 2006 11:41:59 GMT, Oliver Fromme [EMAIL PROTECTED]:

However, fsck can neither detect nor repair any damage in
the contents of files.

So, do You have any simple ideas how to detect damage in files?
Checksums, or sth? Something simple and working. And automagic ;-) Is
there any solutions? Fast and reliable? If not, maybe i should write
one? Something like background checking of checksums after fsck, and
doing such checksums for any data written to disk.. But should I
integrate it into filesystem? Or that's stupid?


I believe that tripwire and other IDS uses checksums to detect when 
files change. What you could do is that after you make a backup you 
calculate checksums for all files and store them away somewhere, they 
you can easily (though time-consuming) check for files that have changed 
since last backup. I suppose that you could make an app that runs as 
daemon checking the files, perhaps you can even get some notification 
from kernel when files change. What would have been really nice in this 
situation is ZFS, which has built-in checksums.


--
Erik Wikström


Re: boot problem, disk mess.. thinking of suicide.

2006-09-28 Thread Erik Wikström

On 2006-09-28 15:45, Vladimir Mitiouchev wrote:

2006/9/28, Erik Wikström [EMAIL PROTECTED]:

from kernel when files change. What would have been really nice in this
situation is ZFS, which has built-in checksums.

DragonFly supports ZFS, right? Is it stable enough to run system-for-fun?


No, not yet. But work on porting it will probably start when Matt has 
finished his kernel-in-userland work, provided that some developer (or 
user) finds the time to port it.


--
Erik Wikström


Re: Problem with Xorg conf

2006-09-29 Thread Erik Wikström

On 2006-09-29 14:43, Frank Petitjean wrote:
Le Wed, 27 Sep 2006 18:09:28 +0200, Frank Petitjean [EMAIL PROTECTED]  
a écrit:


Hi All,

I installed the fonts, but the problem still persists.


I guess you mean the problem that some fonts are not displayed 
correctly? Have you told your webbrowser to use the fonts? In Firefox go 
to Preferences, Content, under Fonts  Colors click Advanced and for 
Serif, Sans-serif and Monospace select the fonts you want to use.


--
Erik Wikström


Re: chat/psi doesn't build

2006-10-04 Thread Erik Wikström

On 2006-10-04 18:08, Richard Nyberg wrote:

I'm running df 1.6.1 with recent pkgsrc. I don't know if it has worked in
previous versions. The pkgsrc output looks ok until the configure phase.
Any ideas?

-Richard

=== Installing dependencies for psi-0.10nb7
= Required installed package libtool-base=1.5.22nb1: libtool-base-1.5.22nb3 
found
= Required installed package gmake=3.78: gmake-3.81 found
= Required installed package qt3-tools=3.3.6nb1: qt3-tools-3.3.6nb1 found
= Required installed package qca-tls=1.0: qca-tls-1.0nb3 found
= Required installed package libidn=0.6.1nb1: libidn-0.6.7 found
= Required installed package qca=1.0nb3: qca-1.0nb3 found
= Required installed package qt3-libs=3.3.6nb1: qt3-libs-3.3.6nb2 found
=== Overriding tools for psi-0.10nb7
=== Extracting for psi-0.10nb7
=== Patching for psi-0.10nb7
= Applying pkgsrc patches for psi-0.10nb7
=== Creating toolchain wrappers for psi-0.10nb7
=== Configuring for psi-0.10nb7
Configuring Psi ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt = 3.1 ... yes
Checking for QCA 1.0 ... no

Error: need QCA 1.0!


You don't have QCA (Qt Cryptography Architecture) installed (or it's not 
detected), try installing QCA first and try again, QCA can be found in 
pkgsrc/security/QCA


--
Erik Wikström


Re: Please help with NAT

2006-10-20 Thread Erik Wikström

On 2006-10-20 00:39, Bill Hacker wrote:


Side issue, but does pf [now | yet| always] have a 'dummynet' style tool for 
rate-limiting and testing?


Never used dummynet myself but I seem to recall that ALTQ does not 
provide the same functionality as dummynet. As I understand ALTQ can be 
used to prioritize some packages over others (by using different queues 
and rules that places the packages in the right queue) while dummynet 
supports more advanced stuff like simulating slow/unreliable networks. 
Someone who knows, please correct me if I'm wrong.


--
Erik Wikström


Re: Site layout suggestion

2006-10-24 Thread Erik Wikström

On 2006-10-24 04:26, Justin C. Sherrill wrote:

I've been working on a site redesign for dragonflybsd.org.

http://www.shiningsilence.com/newdf/site/data/base6.html

My goals are to

1: make it more appealing
2: Get it out of quirks mode
3: Improve CSS support
4: Create a style that can be used across the different
(bugs/cvsweb/www/leaf/etc) dragonfly sites.

This design does it so far.  Rather than sit and poke at it, I'm putting
it out and saying please provide improvements.  (I want to move on to my
next task)

I think there's a few people on the lists that would like to contribute,
don't know (or care for) kernel programming, but know CSS.  Mostly, I need
a footer that can visually unify the page.



The image at the bottom of the menu makes the last choices hard to read, 
but I like the image so if you could make it appear a bit further down 
that would be nice.


Also, if you know some clever way of reducing the line-length (currently 
getting 150-160 chars/line at 1280x1024) that would be nice. I said 
clever since it's just as bad if those with low resolution or larger 
text-size get only 30-40 characters per line. Anyway, it's not very 
important but it would be nice.


--
Erik Wikström


Re: Site layout suggestion

2006-10-24 Thread Erik Wikström

On 2006-10-24 20:33, Simon 'corecode' Schubert wrote:

Erik Wikström wrote:
Also, if you know some clever way of reducing the line-length (currently 
getting 150-160 chars/line at 1280x1024) that would be nice. I said 
clever since it's just as bad if those with low resolution or larger 
text-size get only 30-40 characters per line. Anyway, it's not very 
important but it would be nice.


and what do you intend to do with the remaining (white) space? the
correct fix would be for you to use a smaller browser window which
suits with your default font size/preferred line length.


And resize the browser-windows whenever I change page?

rant
Unfortunately as the resolution increases the with of pages does too (if 
the browser- window is kept at the same size) but making the text-lines 
longer also makes it harder to read, so it's often better to just leave 
some of the space unused. Who came up with the idea of widescreen 
anyway? Tallscreen would have been much more usefull.

/rant

--
Erik Wikström


Re: Site layout suggestion

2006-10-25 Thread Erik Wikström

On 2006-10-25 02:46, Justin C. Sherrill wrote:

On Tue, October 24, 2006 5:29 pm, Erik Wikström wrote:


And resize the browser-windows whenever I change page?

rant
Unfortunately as the resolution increases the with of pages does too (if
the browser- window is kept at the same size) but making the text-lines
longer also makes it harder to read, so it's often better to just leave
some of the space unused. Who came up with the idea of widescreen
anyway? Tallscreen would have been much more usefull.
/rant


I think I have the problem solved with the max-width style in ex, as was
suggested.


Yes, it looks nice now.

This I ask out of curiosity: what sites do you visit that actually 
require the entire horizontal space?  I can't think of any sites offhand

that require more than 1K pixels across.


Very few, usually very designed pages using more than one column of 
content. Saw a page just the other day where the amount of columns 
adapted to the resolution and textsize dynamically, so when I increased 
the fontsize the number of columns decreased. But as you said these are 
hard to find, most sites don't utilize more than 800 pixels.



--
Erik Wikström


Re: Text-columns and CSS

2006-10-25 Thread Erik Wikström

On 2006-10-25 12:17, Tom Davis wrote:

Greetings,

On 2006 Oct 25, at 4:19 am, Erik Wikström wrote:
Saw a page just the other day where the amount of columns adapted  
to the resolution and textsize dynamically, so when I increased the  
fontsize the number of columns decreased.


Do you happen to know the url of that site? As useful as it obviously  
would be, there is no CSS2.1 attribute that will reflow a block of  
text into multiple columns. It is certainly possible to intercept  
window resize events and use javascript to move words of text between  
DIVs to balance them and add new columns as necessary, but there is  
no way I know of to intercept user changes of text size (Firefox   
Safari) or Zoom level (Opera) so I'd be very interested in seeing how  
someone else did it. That could be a real boon.


Of course, the site is probably flash, which is proprietary and not  
well supported on the BSDs.


No, the site was not in flash, though I have not been able to find it. I 
have, however, been able to reproduce the behavior of that site (though 
I don't know if they used the same method.


Take a look at: http://www.chalmers.it/~eriwik/test.html (should work in 
Firefox v1.5 and later)


The number of columns change as the size of the window change, or the 
fontsize change. It's using non-standard CSS (from a W3C draft *) and 
the properties have been prepended with -moz-.


* www.w3.org/TR/css3-multicol

--
Erik Wikström


Re: updating from 1.6.2 to 1.7.x

2006-10-26 Thread Erik Wikström

On 2006-10-26 22:29, Saverio Iacovelli wrote:

I would update DragonFly 1.6.2 to 1.7.x.
How can I update from 1.6.2 to latest devel version?


If you want the absolute bleeding edge you'll have to download the 
source-code, compile and install. The handbook describes the process 
quite well: leaf.dragonflybsd.org/~justin/handbook/updating.html


Actually this is much easier than it sounds, but it can take some time 
to compile the world and kernel. What you do is that as root run:


# cvsup -h host /usr/share/examples/cvsup/DragonFly-src-supfile

where host is any of the mirrors offering cvsup-access from the list 
at www.dragonflybsd.org's download-section.


When that is done you do

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# make installworld
# make upgrade

and then reboot, and you're done.

Alternatively, you could (I think) download a snapshot ISO and install 
(I've never done this, so I don't know how well it works). A list of 
sites from where you can download a snapshot can be found at 
www.dragonflybsd.org in the download-section.


--
Erik Wikström


Re: updating from 1.6.2 to 1.7.x

2006-10-27 Thread Erik Wikström

On 2006-10-27 13:51, Saverio Iacovelli wrote:

1) I don't want recompile from zero the system, but
only the missing pieces.


# cvsup -h host

/usr/share/examples/cvsup/DragonFly-src-supfile


where host is any of the mirrors offering cvsup-
access from the list 
at www.dragonflybsd.org's download-section.


Can it be
http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/src/src-Devel.tar.bz2
an example of src-supfile?


As others have pointed out, this is a snapshot of the /usr/src directory 
and will also work. However if you already have the source-code 
installed (though not the most recent version) it will often be faster 
with cvsup since it only fetches those files that have been changed.


chlamydia.fs.ei.tum.de does provide the cvsup service so you can use:

#cvsup -h chlamydia.fs.ei.tum.de 
/usr/share/examples/cvsup/DragonFly-preview-supfile


to download the sources for the latest preview-release (notice that I 
changed the name of the sup-file from DragonFly-src-supfile to 
DragonFly-preview-supfile, the former will give you HEAD instead of 
preview).


--
Erik Wikström


Re: about cvsup and supfile...

2006-11-17 Thread Erik Wikström

On 2006-11-17 18:32, Saverio Iacovelli wrote:

I want update DFly with cvsup, but I want to optimize
the upgrade operation. I don't want to upgrade all
system, but only kernel and some application.
1 - Is it possible to set cvsup for thos operation?
2 - How can I find howto about supfile?


I believe that there are a sup-file for only the kernel sources, however 
if you want to upgrade an application you'll have to upgrade the whole 
world too. Depending on how old your kernel sources are you might need a 
new world to be able to use the new kernel too, I'm not sure about that.


However, if you already have quite recent sources on your computer than 
using cvsup will be quite efficient even if you download both world and 
kernel, since it only download that which has changed.


As for learning about cvsup, there really is not much to it. Take a look 
in /usr/share/examples/cvsup, there you'll find a couple of different 
sup-files ready for use that will download different things (you can 
open them with an editor if you want). Then, when you have found one 
that suits your needs, you run

#cvsup -h host /path/to/sup-file
To find a host near you take a look at www.dragonflybsd.org in the 
download section.


If you don't have any recent sources you might want to download a 
snapshot of the sources (find a mirror in the download section) and 
extract that on your computer and then run cvsup to update them to the 
very latest.


More information can be found in the cvsup manual page (man cvsup):
http://leaf.dragonflybsd.org/cgi/web-man?command=cvsupsection=ANY

You might also be interested in the Updating section in the Handbook: 
http://leaf.dragonflybsd.org/~justin/handbook/updating.html


--
Erik Wikström


Re: Scheduling while atomic

2006-11-19 Thread Erik Wikström

On 2006-11-19 18:47, walt wrote:

I find that asking a basic/dumb question of a smart group of people
is often a very quick path to enlightenment :o)

I've seen the 'scheduling while atomic' panic message a few times
from the linux kernel over the years, and now I'm wondering if there
is an analogous panic in the BSD kernels, DF in particular.

If so, what would trigger such an event?


I'm certainly not one of the smart people but I do believe (from the 
name) that such a panic would occur if trying to call the scheduler 
while performing an atomic operation (being inside a critical section). 
The reason that this causes a panic would be that scheduling is not a 
quick operation (not atomic-quick anyway).
As to whether this can happen in DF or not I don't know, but it sure 
sound like something that should panic the kernel. If there is code that 
will cause such a panic is another question.


--
Erik Wikström


Re: mailing list archive stopped temporarily

2006-11-23 Thread Erik Wikström

On 2006-11-22 01:49, Justin C. Sherrill wrote:

On Mon, November 20, 2006 8:25 am, Justin C. Sherrill wrote:

The mailing list archives at:

http://leaf.dragonflybsd.org/mailarchive

won't update today; I'm rebuilding them with the new layout.  I'll start
them up again as soon as it's done.  Messages in the meantime will not be
lost - just not in the archive until it's done.


The mailing list is set; it should be updating normally now.  New posts
and old should all have a matching layout.  Please let me know if you spy
trouble.


Would it be possible to make the grey background on the rows stretch all 
the way to the dates/time-column?


--
Erik Wikström


Re: DFly on a Gateway laptop

2006-11-28 Thread Erik Wikström

On 2006-11-28 10:29, Douglas S. Keester wrote:
	Third, has anyone had luck getting DFly to dual boot with Windows XP? (I need 
to keep it around for a while, so please no lectures about how I should just 
delete it and single boot DFly.) I would prefer to use the standard 
bootloader, but am not opposed to using GRUB, which works quite well in my 
current setup. Also what is the chance of the standard bootloader recognizing 
the Windows Restore partition?


I dual-boot my T41 with no problem, I'd advice you to install Windows 
first and DF later. I can't remember if the install detected the 
presence of Windows automatically or not. But installing the bootloader 
is quite easy, all you need to know is in the man-page. I also seem to 
recall that it did recognize the restore-partition but I modified the 
loader not to show it when booting. (Later I removed that partition all 
together and used the space for better things.)


--
Erik Wikström


Re: Idle question about multi-core processors

2006-12-01 Thread Erik Wikström

On 2006-12-01 00:10, walt wrote:

[I confess, I'm not sure if this question is off-topic or not.]

I just read this blurb in an e-newsletter:

Advanced Micro Devices Inc. (AMD) launched a motherboard with four cores
on Thursday, targeting gaming enthusiasts in an effort to keep pace with
the release of quad-core chips by rival Intel Corp.


Is it not a mobo with two sockets, allowing for 4 cores (2 x dual-core). 
If that's the case it might make some sense from a gamer point of view 
now that AMD is trying to make device-manufacturers plug their products 
straight into the bus, which might be attractive for GPUs.



Well, I always read that the whole point of expensive graphics boards
is to take the workload off of the CPU.  And now, suddenly, the trend
is to provide more CPU's to attract the gamers?  Something here doesn't
add up.


You are quite right, CPU is not the most important part when gaming, the 
GU is still the bottleneck.



In any case, it looks to me like the mass-market may be supporting SMP
mobo's much sooner than I suspected.  And, I suspect that DragonFly may
provide much better performance on SMP hardware than many other OS's.


I thought dual-core was SMP, was that wrong of me?

--
Erik Wikström


Re: graphical boot in DFly

2006-12-04 Thread Erik Wikström

On 2006-12-04 20:22, Saverio Iacovelli wrote:

I typed xdm_enable=YES in /etc/rc.conf, but DFly
starts by command line.


Try this (origionaly from Ezra):
 Edit /etc/ttys Look for the line ttyv8 /usr/pkg/xorg/bin/xdm -nodaemon
 xterm off secure and change off to on.

--
Erik Wikström


Re: help over rsync vs cvsupd perfmance

2006-12-25 Thread Erik Wikström

On 2006-12-25 20:43, Justin C. Sherrill wrote:

On Mon, December 25, 2006 10:12 am, Saverio Iacovelli wrote:

I find, in the DragonFly project page, the following
matter:

- Benchmark rsync vs. cvsupd for getting source code
updates

Ok, I would like to test benchmark, but I need help to
choose software for benckmarking and help to formulate
test cases.

Someone has suggestions?


I think I was the one who came up with that idea.  Testing it would be
relatively simple.  Set up two machines, networked together.  Set up
cvsupd and rsyncd on one machine, both using the same files as a
repository.  (all of DragonFly src would bet a good example)  On the other
machine, bring all those files down with rsync, and time how long it
takes.  Delete the files, and do it again with cvsup.  Repeat both a few
times just in case something happens to change the numbers during a run.


Perhaps it should be included in the test an incremental update, like 
you have the code for DFly 1.6-RELEASE and update those to latest 
PREVIEW. I think this is a quite common scenario, probably more common 
(and thus important), than starting from scratch.


--
Erik Wikström


Re: gnome start errors after building gnome

2006-12-28 Thread Erik Wikström

On 2006-12-28 07:51, Huub wrote:

Hi,

I built gnome, but when I change the .xinitrc according to the manual I 
get his:


_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be 
created.

_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2
_IceTransMakeAllCOTSServerListeners: failed to create listener for local

** (gnome-session:746): WARNING **: Cannot establish any listening sockets

It starts ok, but after the initial graphical screen it falls back to 
console. Anyone an idea?


Well, the 'euid != 0' part means that you are not root while running 
this, which (in my opinion) you shouldn't have too. Try creating the 
director manually or try running it as root once.


--
Erik Wikström


Re: updating packages

2006-12-28 Thread Erik Wikström

On 2006-12-28 10:12, Huub wrote:

Hi,

According to the manual, I have to either build the new version, 
deinstall the old one, install the new one and clean up or use pkg_chk. 
On NetBSD there is make update. Isn't there something like that on 
DragonFlyBSD?


bmake upgrade

Beware though that it can leave some of your packages non-working. If 
I'm not confusing this with something else what bmake upgrade does is to 
deinstall all packages and then reinstall the new versions. Should the 
build of the first package fail then it will abort and you'll be left 
with fewer packages than you had (all those that was going to be updated 
are gone).


There are attempts at solutions of those problems, don't know if any of 
them work all the way though. Pacman is one of them, you can read about 
it here:

http://wiki.dragonflybsd.org/cgi/moin.cgi/Pacman_Packages

For more ways to update see:
http://wiki.netbsd.se/index.php/How_to_upgrade_packages

--
Erik Wikström


Re: help over rsync vs cvsupd perfmance

2006-12-30 Thread Erik Wikström

On 2006-12-30 14:08, Saverio Iacovelli wrote:

So, I have DragonFly 1.7 updated to 25 december.
I'm going to start test, I would know if I can bring
my system to DragonFly 1.6.1 with cvsup and rsync, or
if I can only update.


You can with cvsup, make a copy of the 1.6-release sup-file and changes 
the line

*default release=cvs tag=DragonFly_RELEASE_1_6_Slip
to
*default release=cvs tag=DragonFly_RELEASE_1_6_1
and use it to pull down the sources.

--
Erik Wikström


Re: help over rsync vs cvsupd perfmance

2007-01-01 Thread Erik Wikström

On 2007-01-01 18:23, Justin C. Sherrill wrote:

On Mon, January 1, 2007 10:30 am, Saverio Iacovelli wrote:

Ok, I want to do a good test. So, I need some days
yet, about one or two weeeks, the CVSup and rsync
mirrors that I will test they are:

1) chlamydia.fs.ei.tum.de
2) AllBSD.org
3) TheShell.com

My intention about test is the following:


You may want to test partial updates - i.e. test an update from 1.6 to
1.7.  There may be a speed difference in the way the two programs do the
update checks, as compared to downloading all the files at once.


Yes, this is probably the most useful test since I expect that this is 
the most common usage. If one needs to go from scratch there are tar- 
balls of the source that can be downloaded and then cvsup/rsync can be 
used to get to latest.


But don't let that stop you from testing going from scratch also.

--
Erik Wikström


Re: A question on enabling sound...

2007-01-02 Thread Erik Wikström

On 2007-01-02 15:44, Huub wrote:

Hi,

I'm trying to get my sound working. So far, I've put 
snd_via8233_load=YES in my rc.conf. But which files should I install 
next? esound and aumix are installed, but what should be installed as well?


Have you loaded the correct modules / compiled your kernel with support 
for your soundcard? try running 'kldload snd' and see which module gets 
loaded.


--
Erik Wikström


Re: A question on enabling sound...

2007-01-02 Thread Erik Wikström

On 2007-01-02 23:17, Huub wrote:
Sorry. Can't help you on that. I had hoped RealPlayer works on DFBSD, 
but alas. Also, I can't find mplayer.


It might be possible to get RealPlayer to work using linux emulation, 
haven't tried it though.


--
Erik Wikström


Re: wiki log of #dragonfly irc channel

2007-03-09 Thread Erik Wikström

On 2007-03-09 02:28, Helge Rohde wrote:

On Friday 09 March 2007 00:57, Martin P. Hellwig wrote:

Helge Rohde wrote:
cut

 Which is precisly why i always envyid that windoze partition encryption
 thingy, cant remember the name now, but it provides 2 keys, one will open
 the (actual) container and another one will open another encrypted
 container with all legal and perfectly harmless files. That way they
 cannot crack down on you for destruction of evidence (what second
 password ? häh? no idea what you mean!). But afaik theres is no such
 thing on any of the BSD systems. Which is sad, because -as you point out
 pretty precisely - it refutes most of the points file/HD encryption could
 be useful for - They will just order you to give them the PW as soon as
 they find an encrypted Partition/File.

 regards,
 Helge

In most western legal systems you are not enforced to participate in
gathering evidence against yourself. Though it could be enforced that
you are not allowed to alter current situation which can influence
evidence against you. In short with a warrant they may be allowed to
search your home and take your computer as evidence but they may not
enforce you to tell them your pass phrase, that contradicts with the
You have the right to remain silent thing :-)


Yeah, i would have thought so too. But apparently they do bend their rules 
when the see the need, atleast in Germany they *can* put you into jail until 
you tell them the passphrase and i have heard similar from other european 
countries. I believe the reasoning goes along the lines of: they have an 
urgent suspicion that there is evidence against you (the encrypted 
partition ), so they can put you into 'Beugehaft' (= coercive detention) 
until you stop hiding the evidence and cooperate with the authorities. The 
mentioned two-container system has prooven to be an effective countermeasure 
(well, atleast until now). 


As long as they do not suspec you to be a terrorist I doubt that they 
can lock you up more than a month or two unless they have other evidence 
than those they suspect to be on the disk. To do otherwise would be an 
crime against the human rights


--
Erik Wikström


Re: dragonflybsd.org domain back up

2007-03-19 Thread Erik Wikström

On 2007-03-19 06:35, Matthew Dillon wrote:
I blew up the dragonflybsd.org domain when I upgraded the box 
running the DNS.  The new version of bind disallows certain

constructions (domain names with underscores), and as per normal
stupidity it decided to stop serving the entire file.

Its all fixed now.


Seems like wiki.dragonflybsd.org is not working, the address goes to the 
 DragonFly BSD Developer Resources (used to be 
crater.dragonflybsd.org I think).


--
Erik Wikström


Re: gcc 4.x for DragonFlyBSD

2007-05-03 Thread Erik Wikström

On 2007-05-03 17:42, arnuld wrote:

On 5/3/07, Jason Watson [EMAIL PROTECTED] wrote:
HEAD is the CVS concept of the tip of the development branch... i.e. where
new development gets committed.



it means HEAD posted here *everyday* as an CDROM ISO image:

http://mirror.macomnet.net/pub/DragonFlyBSD/snapshots/i386/ISO-IMAGES/

the bleeding edge, latest and *just* created ISO,  right ?


Yes, though normally if you are following HEAD you don't go about 
downloading ISOs, instead you keep a copy of the tree on your disk and 
update it using cvsup or rsync or something like that.


You, however, should probably not use head unless there's something 
there which is not available in the latest release or you want to help 
testing new features as they are developed. You should probably go with 
the latest release which currently is 1.8.1, and you can get an ISO from 
here: 
http://mirror.macomnet.net/pub/DragonFlyBSD/iso-images/dfly-1.8.1_REL.iso.gz


--
Erik Wikström


Re: rebuild DragonFly using gcc 4.1

2007-05-05 Thread Erik Wikström

On 2007-05-05 20:59, arnuld wrote:

On 5/5/07, arnuld [EMAIL PROTECTED] wrote:
i wanted to have GCC 4.x based DragonFly system (for a C++ project)
and Trevor Kendall advised this:


If you are using 1.8.x:
In /etc/make.conf uncomment WANT_GCC41=yes and rebuild.

If you are using HEAD, it is built automatically already.

To use it set CCVER to gcc41.
--


but Matt said please do NOT use HEAD. so i used LATEST preview
release which was GCC 3.4 based. In /etc/mk.conf i added a line
WANT_GCC41=yes but i do not know how to rebuild ? i  tried Google
and got this:

# make buildworld
# make buildkernel


More on this at the end.


when i try this i get this message: do not know how to build world.
funny message, i thought.  so i have these questions:

1.) Is it a good idea to use  DragonFly preview release as my
general-purpose OS. actually, i want learn UNIX and i want GCC 4.x to
work on a C++ project. i just use a Window Manager, xine-ui, firefox,
emacs, bash, gimp, audacious or xmms and nothing else. i don't use
Desktops.


Well, most of those applications will probably be available from pkgsrc 
and if not then some other workalike will be. And it's quite a good 
system to learn about UNIX on since it does not try to hide it's 
heritage like some Linux distros (Ubunto).



2.) how to rebuild the preview release for gcc4.x and how long this
process will be ?


It depends a bit on your computer and internet connection, but it can 
take a up to a couple of hours on a not to old PC.



3.) is it necessary to do this before rebuilding world:

cvs -d [EMAIL PROTECTED]:/cvsroot co pkgsrc

even after 4 hours, it is still downloading packages :-(. is it
downloading the source code of every package ?


No, it's not necessary, in fact I would not do that at all if I were 
you. Using binary packages are much easier, see below for more info.



4.) DragonFlyBSd guide also advises to use cvs up after step 3. what
is it and how much time will that take ?


It downloads the DragonFly sourcecode to your computer so that you can 
compile it. If you have a slow connection you might want to download a 
compressed tarball of the sources instead of using cvsup. You can 
download tarballs from here: 
ftp://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/src



hmm.. this page gives lots of information tha i snot present in
DragonFlyBSD handbook:

http://wiki.dragonflybsd.org/index.cgi/QuickStartBSDUser


Yes, the steps under Keeping up to date are good, but use the file

/usr/share/examples/cvsup/DragonFly-release1_8-supfile

or

/usr/share/examples/cvsup/DragonFly-preview-supfile

it you want preview. If you have a slow connection you might want to 
download a tarball as mentioned above.


For third party application don't follow what's written under Installing 
software, look at http://wiki.dragonflybsd.org/index.cgi/HowToPkgsrc and 
follow the steps under the section Pre-built pkgsrc packages, but use 
the addresses found on


ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/All

if a package you want can't be found there take a look in

ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/vulnerable

--
Erik Wikström


Re: libm update plans?

2007-05-07 Thread Erik Wikström

On 2007-05-07 16:45, Matthew Dillon wrote:

:3) port over myself (see #1, #2 :)
:
:Thanks,
:
:- Chris

Hmmm.

I looked for various pieces of example code.  FreeBSD has a really
old implementation in (libmsun) which is not suitable, and NetBSD uses
the same implementation.  Gnu seems to have a clean 4-line implementation
done in 2005:

http://gcc.gnu.org/ml/fortran/2005-05/msg00227.html

But I'd like to find an unadulterated version if possible (though
presumably it is simple enough that it pretty much has to be done
that way regardless). 


I'm a little concerned that there are so few implementations around.
Are you sure this is part of C99?


Yes it it, section 7.12.9.8: The trunc functions round their argument 
to the integer value, in floating format, nearest to but no larger in 
magnitude than the argument.


I've never been an assembly programmer but it seems to me like there 
should be some instruction for this kind of thing.


--
Erik Wikström


Re: no gcc 4.1after rebuild

2007-05-12 Thread Erik Wikström

On 2007-05-12 18:35, arnuld wrote:

On 5/12/07, Peter Avalos [EMAIL PROTECTED] wrote:



On Sat, May 12, 2007 at 09:11:32PM +0530, arnuld wrote:
  On 5/12/07, Peter Avalos [EMAIL PROTECTED] wrote:

   On Fri, May 11, 2007 at 06:47:37PM +, arnuld wrote:

as advised on this mailing list. i added this line in /etc/mk.conf:
  
WANT_GCC41=yes

  Try /etc/make.conf.  Then also add CCVER=gcc41.

  this file does not exist so i created as copy of /etc/mk.conf to
  /etc/make.conf with WANT_GCC41=yes and rebuilt the system.




So what's in /etc/make.conf?


eactly all of what /etc/mk.conf has.


/etc/mk.conf is for pkgsrc.  /etc/make.conf is for the system build.


thanks for this. i will take it as a gift :-)  DragonFlyBSD
Documentation/Guide/FAQs do not contain this distinction.


Then I'll give you another gift, whenever you wonder something about DF 
try to see if there's a man-page, most of the system is quite 
well-documented (much thanks to Sascha Wildner).


For example the make.conf man-page is quite informative (it says among 
other thing that there is no option WANT_GCC41, gcc41 will be compiled 
by default and you'll have to set NO_GCC if you don't want it).


--
Erik Wikström


Re: no gcc 4.1after rebuild

2007-05-13 Thread Erik Wikström

On 2007-05-13 17:56, arnuld wrote:

On 5/13/07, Peter Avalos [EMAIL PROTECTED] wrote:



On Sun, May 13, 2007 at 03:42:05PM +, arnuld wrote:

  only one thing is left:  how can i make my shell (tcsh) remember gcc
  4.1 for *always*. i do not want to setenv at every boot. i have put
  CCVER=gcc41 into both /etc/mk.conf and /etc/make.conf and
  rebooted but it does not help, any ideas ?




Put this in ~/.cshrc:
setenv CCVER gcc41


thanks and what about changing globally ?


Edit /etc/csh.cshrc, you might want to edit /etc/profile to make it the 
default in sh also.


--
Erik Wikström


Re: Development

2007-05-13 Thread Erik Wikström

On 2007-05-13 17:31, Dennis Melentyev wrote:

2007/5/13, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Thanks for the input everyone! Once I decide on what to tackle, I'll
solicit some help / advice from you guys. I think firstly, a C++ wrapper
for any DragonFly specific system libraries or system calls would be a
good thing. This would also facilitate easier contribution by other C++
developers.


 Just my 2 cents...


While any new commiter is very valuable, I hardly can see any point
in any DFLY-specific C++ libs. Thats more of Linux way - creating 
non-portable and OS-centric apps.

Even more, I can hardly remember any of DFLY-specific libraries in
our OS.


What am I considering as a good idea: check of STL support in GCC 4x 
under DFLY. It might be already Ok, but I'd rather have it verified.


I think libstdc++ is quite standards compliant, perhaps it's not 100% 
but it's close enough for the vast majority of applications. They even 
have an implementation of the TR1 extensions which is more than Visual 
Studio (which is quite standards compliant) does.


Next one: support of WxWidgets, MySQL++, ACE. May be some other 
frequently used libraries.


Those are more of pkgsrc issues but don't let that stop you, even the 
best system would be worthless without applications to run on it.


The same goes for Ronald, there are still a number of applications in 
pkgsrc that does not build under DF, some of them ought to be written in 
C++ so perhaps if you make some of them work it would provide the most 
benefit for the DF project.


A list of packages that didn't build can be found here: 
http://www.pkgsrc-box.org/reports/2007Q1/DragonFly-1.8/20070423.0925/report.html


--
Erik Wikström


Re: Which wireless card?

2007-05-13 Thread Erik Wikström

On 2007-05-13 18:20, Petr Janda wrote:

Are these Atheros based cards supported?

http://www.gigabyte.com.tw/Products/Communication/Products_Spec.aspx?ProductID=988ProductName=GN-WP01GT
http://www.gigabyte.com.tw/Products/Communication/Products_Spec.aspx?ProductID=952ProductName=GN-WPEAG
http://www.netgear.com/Products/Adapters/SuperGWirelessAdapters/WG311T.aspx


I have an Atheros based card, but it's in a laptop. Don't know which 
chip those you posted are based on by mine is a 5212-based card and it's 
working just fine.



Btw, this seems to come up all the time:

linux: syscall madvise is obsoleted or not implemented (pid=1643)


What application is that?

--
Erik Wikström


Re: X problem and pkg_add problem

2007-05-13 Thread Erik Wikström

On 2007-05-13 18:52, arnuld wrote:

On 5/13/07, Erik Wikström [EMAIL PROTECTED] wrote:



On 2007-05-13 18:02, arnuld wrote:
 i was unable to install X from pkg_add as pkg_add is not downloading 
anything.

 pkg_add  www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/

 just HANGS in there and doe snot do anything as my ADSL modem lights
 do not blink. ic an open that address in Firefox right now.



You need to specify which package to download also, not just the
directory where it is. So you should have typed something like this:

# pkg_add
www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/x11/modular-xorg-server



 worse is i get a message, something like this,  when i do startx:

 VIA(00): disabling DRI

 why so? i have this hardware and X on GNU OS (e.g. Arch, Gentoo) works
 pretty wellw ithout ant DRI problems. i think that means i will not be
 able to play videos properly.



I don't think DF supports DRI, however that should only prevent you from
using hardware accelerated video decoding (and I'm not sure that that's
supported even under Linux), but with your computer you should still be
able to play most videos (except perhaps from high definition). It will
prevent you from playing hardware accelerated games however (though I
doubt that there's any that'll run under DF).


NO, i do not want to play games. i just want to watch Bruce Lee's
unseen movies and The Matrix and Hackers :-)

without DRI, will i be playing them without any trouble ?


Well, I can't give any guarantees but I've been able to play movies on 
my laptop, and it certainly wasn't as powerful as your computer, nor 
would the graphics card perform any hardware acceleration so there 
should be no problems from that department.


--
Erik Wikström


Re: structure has no member named `kp_eproc'

2007-05-14 Thread Erik Wikström

On 2007-05-14 17:48, Petr Janda wrote:

Hi,
I'm trying to compile net-snmp from SVN applying the pkgsrc patches and 
I can't seem to figure out why its failing on this error. What's the  
meaning of this error and how to fix it?


You didn't tell us which struct, that should be included in the error 
message, so it's hard to tell. But my guess is that there's some 
structure that contains information about the system (used to pass data 
between the application and the kernel). That structure looks something 
like this:


struct foo {
  int bar;
  int baz;
  char* forbar;
}

However in some earlier version or on some other system that struct 
looks different (and the application is not aware of this), some thing 
like this:


struct foo {
  int bar;
  int baz;
  int kp_eproc;
  char* foobar;
}

So when you try to compile the code that assumes that the struct has a 
member kp_eproc but in reality it does not you get that error message.


A question: If you applied patches from pkgsrc does that mean that the 
program is in pkgsrc and in that case, why not use it?


--
Erik Wikström


Re: SMP performance on drgonfly

2007-05-19 Thread Erik Wikström

On 2007-05-19 01:58, Kris Kennaway wrote:

On Fri, May 18, 2007 at 04:46:27PM -0700, Matthew Dillon wrote:

A large chunk of the kernel still runs under the big giant
lock, including the light weight processes that libthread_xu
uses, so something like mysql is going to hit a lot of BGL
contention.


Oh, OK.

What subsystems are out from under the big giant lock, so I can look
for another benchmark to compare with?  Also, what profiling and
contention measurement tools do you have, so I can try to confirm that
this is the issue?


You may be able to get DragonFly to run on the machines you
were having problems with by compiling it with SMP but 
without APIC_IO.  With that combination DragonFly will use

the PIC in SMP mode, which usually works.


The issue is that I cannot even install with a UP kernel, so I can't
recompile to test this.  I posted with more details about this problem
a few months ago.


You should be able to build a new install CD, with the needed kernel 
options, on the computer where you got it running. Check out the 
nrelease framework for more details.


--
Erik Wikström


Re: libgtop2 and xorg break

2007-08-13 Thread Erik Wikström

On 2007-08-13 08:28, Pieter Dumon wrote:

Hi,

pkgsrc/sysutils/libgtop2 doesn't compile on my fresh 1.10 system
(don't know if it did before):

proclist.c: In function 'glibtop_get_proclist_p':
proclist.c:106: error: structure has no member 'kp_proc'
proclist.c:106: error: 'SRUN' undeclared (first use in this function)

proclist.c:109: error: structure has no member named 'kp_eproc'
proclist.c:111: error: structure has no member named 'kp_proc'
gmake[3]: *** [proclist.lo] Error 1
gmake[3]: Leaving directory
'/usr/pkgsrc/sysutils/libgtop2/work/libgtop-2.14.2/sysdeps/freebsd'

Second little problem: when I issue a bmake install in
pkgsrc/x11/xorg-libs, I get:
ERROR: This package has set PKG_SKIP_REASON:
ERROR: X11_TYPE=xorg is mandatory

however, /etc/mk.conf contains
X11_TYPE=xorg
(within the .ifdef BSD_PKG_MK  .endif)

I tried to do bmake install X11_TYPE=xorg, but that tried to download X 6.9


If you want modular xorg these are the packages you need:
* meta-pkgs/modular-xorg-apps
* meta-pkgs/modular-xorg-fonts
* meta-pkgs/modular-xorg-drivers
* x11/modular-xorg-server
* x11/xterm
and you should set X11_TYPE=modular in /etc/mk.conf

--
Erik Wikström


Re: Licenses again...

2007-09-18 Thread Erik Wikström
Matthew Dillon wrote:
 :But does the BSDL allow the code to be relicensed? ie. i am a GPL dev, and i 
 :take a file ftp.c which is BSD licensed. Can I wrap the code in GPL license 
 :(though preserving the BSD copyright and license in there)?
 :
 :The BSD license doesn't indicate that this is allowed.
 :
 :Petr
 
 Commercial entities have used BSD licensed code for almost 30 years.
 Microsoft includes an FTP with BSD code in it in their distribution,
 for example, and this is perfectly acceptable.  Microsoft's product,
 as a whole, operates under a far more restrictive license and there
 is no conflict.  The BSD license was intended to allow this.  There
 is no question about that.
 
 But how do we interpret, say, a source file that is under the BSD
 license then modified by a second developer who adds the GPL?  Both
 licenses would then be present in the source file (the BSD license
 cannot be removed, except by the original author, so both would be
 present).
 
 Clearly the BSD license does not disallow the modifications made
 by the second developer to be placed under some other license.
 The BSD license only covers the BSD-licensed code.  The question is
 how should a third party interpret the modified source file as a
 whole?  I do not know the answer to that.
 
 Theo made a point of stating that he thought it meant that the BSD
 license completely trumped the GPL but Theo is no more a lawyer then
 I am so all I can do is throw up my hands and say 'I don't know'.

One of the big problems is that the changes have to be significant
enough for the new version to be called a derivative work for it to be
possible to place the changes under a new licence. The rights for small
changes are assigned to the original author, and thus you cannot claim
any rights for them (and thus not add any licence). And the unchanged
parts would of course still be under the BSD licence even if you make
significant changes.

This all creates big problems for a third person who might only want to
use parts of the code, since it is near impossible to tell which parts
are under which licence without investigating source history (if
available). This is one reason that some companies that releases code
under two (or more) licenses have separate sets of files, one set for
license A, one for license B, and so on.

Simply put, you cannot re-license unless you are the author (or in some
other way got the right to do so, which is not given by any open source
license that I know of). You can, however, make sufficiently large
changes and use whatever license you want on those, but the original,
unchanged, code is still under the original license.

Notice that when I say sufficiently large changes I have no idea how
much needs to be changes for something to legally be considered to be a
derivative work or how it is measured but I would guess that it is
measured more in functionality than in amount of code.

-- 
Erik Wikström


Re: Broken link on DF site

2007-11-17 Thread Erik Wikström
On 2007-11-17 11:09, Steve Mynott wrote:
 I think the link to
 
 http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/
 
 on
 
 http://www.dragonflybsd.org/community/download.shtml
 
 should be
 
 ftp://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/

Both works for me.

-- 
Erik Wikström


Re: Binary Updates for DragonFly

2007-12-16 Thread Erik Wikström
On 2007-12-16 14:58, Matthias Schmidt wrote:
 He,
 
 * Simon 'corecode' Schubert wrote:
 Matthias Schmidt wrote:
  Thats right, but I'm a fan of saving disk space and bandwith.  Distributing
  complete binaries has one big advantage.  We could update user-modified
  binary files which is not easily possible with diff/pach.
 
 Yes.  Both ways don't necessarily exclude each other, assuming that
 mirrors have enough space (they do, usually).
 
 One could think about an approach which patches the file is its an
 unmodified one or copy the whole file over if its a modified one.
 This would keep RELEASE as well as self-compiled users happy.

I would expect that if a user have some kind of modified binaries that
is because they like it that way. To have an update-program replace
those binaries with standard binaries might not be desirable at all.

On the other hand, I would suspect that those user are not the primary
target for such an update mechanism but rather for the more casual
users who are running the stock installation.

Of course more advanced user can use it but instead of downloading diffs
from some server they update their source and compile on a master server
 and the diffs are then fetched from there to the other installations.

-- 
Erik Wikström


Re: DragonFly vs Linksys as firewall and Gateway

2007-12-28 Thread Erik Wikström
On 2007-12-28 17:55, Stephane Russell wrote:
 This is a very general post. I've just buy a Linksys Wireless router,
 and it comes with a router, a firewall with forwarding and natting
 capability and a DHCP server. I'm wondering if it's a equivalent choice
 (for speed, security, etc) to use such a router for my network, or if it
 just can't be as good as a BSD like DFBSD. For now, since 1996, my
 FreeBSD, then DFBSD was never cracked, and it's not because nobody is
 making any attempt.
 
 For one, DFBSD is supporting IPv6, but not the router (yet). So it's
 already a plus for DFBSD. On the other side, by using my DFBSD as a
 firewall, I'm exposing my file and print server directly on the net.
 Also, the router is very little maintenance compare to a full server.
 Another plus for DFBSD is backdoor control. Maybe I'm traumatised by the
 movie The Net, with Sandra Bullock. Nobody can verify if Cisco is
 providing it's router with backdoors, or bugs at least, while this can
 be easilly verified and fixed with an open source OS like DFBSD.
 
 For now, I still think a true open source OS is a better choice for this
 kind of task.

I prefer to use BSD (Open in my case) instead of some commercial product
mostly because they are infinitely more configurable. If I one day
decide that I want functionality foo then I can pretty be sure that I
can add that to my router. If I used commercial product then I am stuck
with what the vendor though that I needed.

PS. Some Linksys routers can run Linux, and perhaps also BSD, if that is
the case it might be an attractive choice.

-- 
Erik Wikström


Re: how to get dragonfly and freebsd source code

2008-01-18 Thread Erik Wikström
On 2008-01-18 18:54, dark0s Optik wrote:
 2008/1/14, Nicolas Thery [EMAIL PROTECTED]:
 2008/1/14, dark0s Optik [EMAIL PROTECTED]:
  How can I to get source code of DragonFly and FreeBSD?

 On addition, you can also browse the source with opengrok and lxr:

 http://opengrok.creo.hu/dragonfly/

 http://fxr.watson.org/
 
 Ok, this is the best solution!
 Now, I would like to analyze freebsd code about sparc64 architecture.
 Can anyone to suggest me documents and people for helping to analyze
 above code?

If you want help with FreeBSD then a FreeBSD mailing-list is probably
the place to ask, for issues regarding the Sparc64 port you should
probably use the freebsd-sparc64 list. For more info on mailing-lists:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

-- 
Erik Wikström


Re: hammer prune explanation

2008-05-10 Thread Erik Wikström
On 2008-05-10 22:59, Matthew Dillon wrote:
 :Yeah, I was thinking about wildcarding as well.
 :
 :But is it possible to implement it within cmd_prune.c, or do I have to
 :modify the ioctl kernel code? If done in cmd_prune.c, I somehow have to
 :iterate over all deleted files and call the prune command for it.
 :
 :I thought, it's easier to introduce a check in the kernel, whether the
 :file that should be pruned matches a given pattern. Doesn't sound very
 :hard to do, if it is easy to get the pathname for a given inode.
 :
 :Are you thinking about something like the archive flag?
 
 I think it is probably best to implement that level of sophistication
 in the utility rather then in the kernel.  The pruning ioctl code
 has no concept of files or directories... literally it has no concept.
 All it understands, really, are object id's (aka inode numbers) and
 records.
 
 The hammer utility on the other hand can actually scan the filesystem
 hierarchy.
 
 Locating wholely deleted files and directories is not hard to do.
 As-of queries can be used to access earlier versions of a directory.
 
 We might want to add some kernel support to make it more efficient,
 for example to make it possible for the hammer utility to have
 visibility into all deleted directory entries.  It could use that
 visbility to do as-of accesses and through that mechanic would thus
 have visibility into all deleted files and directories.
 
 Inode numbers are never reused, so the inode number (and hence object
 id) of a deleted file will be just as unique as the inode number 
 for one that is still visible.
 
 :  Right now any serious HAMMER user need to set up at least a daily
 :  cron job to prune and reblock the filesystem.  I add a '-t timeout'
 :  feature to the HAMMER utility to make allow the operations to be
 :  set up in a cron job and keep the filesystem up to snuff over a long
 :  period of time.  So, e.g. you would have a nightly cron job that
 :  did this:
 : 
 :# spend up to 5 minutes pruning the filesystem and another
 :# 5 minutes reblocking it, then stop.
 :hammer -t 300 prune /myfilesystem; hammer -t 300 reblock /myfilesystem
 :
 :Does this degrade filesystem seriously?
 :
 :Regards,
 :
 :   Michael
 
 For the time it is running it will be maxing out the filesystem, e.g.
 similar to doing a 'find / ...'.  The idea is to limit the run time
 (hence the -t) so your nightly cron job does a small chunk of the
 filesystem every night, resulting in a clean well ordered filesystem
 over a long period of time.  So, for example, spend 10 minutes a day
 doing housekeeping.  Filesystems are rarely operating at 100% 24x7 and
 there are other ways to spread out the overhead if it became necessary
 to do so.  Usually picking a chunk of time during off-hours is sufficient.

That will probably work quite well for servers which are running 24x7,
but how about using HAMMER on desktops/laptops (which might not be
running except when in use, though the disk might not be used all the
time). Could some kind of low priority process be used instead? Perhaps
one that only runs for less than a minute but instead runs every 10
minutes or so, the idea being to spread out the pruning so that it wont
affect (severely) normal usage but still keep the FS in good shape.

-- 
Erik Wikström


Re: sockets and HAMMER

2008-07-06 Thread Erik Wikström
On 2008-07-05 23:54, Matthew Dillon wrote:
 :Well, internal hard disks under 100G are getting hard to find, so I doubt
 :this is going to be a huge issue.  It should be documented.
 :
 :There's also the possibility that things could be mounted under /, instead
 :of multiple partitions.
 
 Yah.  I think what we are moving towards is more of a one or
 two-filesystem model (I think having a separate root is still important),
 but to make it totally practical we need to be able to set overall
 space limits on a per-PFS basis.  (PFS == HAMMER's pseudo filesystems).
 
 This won't happen in the first release but it certainly isn't hard
 to accomplish.  The advantage of it is that limits applied to PFSs
 are soft and could be adjusted up or down at any time.  And since
 we support 65536 PFSs per HAMMER filesystem the whole mechanism could
 be used to soft-partition a huge filesystem for use by different
 machines / departments / users / whatever.
 
 No, no quotas for HAMMER yet :-)  I just don't think that stuff belongs
 in the filesystem.  We need a generic quota and MAC layer in the kernel
 proper.  The MAC layer implemented in FreeBSD is horrible, I think
 we could do a lot better particularly with PFS to rough-cut the
 security domains.

Question: Is there a minimum recommended size of a PFS, or could you
create one per user? While it is not a complete replacement for quota it
would at least solve some of the same problems.

-- 
Erik Wikström


Re: console

2008-07-27 Thread Erik Wikström
On 2008-07-27 20:08, Zbigniew Baniewski wrote:
 On Sun, Jul 27, 2008 at 10:54:00AM -0700, Matthew Dillon wrote:

 :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 )

Yes, in a way. There are no pre-built binaries or installation CD images
 but ince everyone can access the source-code (even make copies of the
source-tree) anyone can checkout any version they like and build and use.

Either one can choose to use the absolute latest code in HEAD, or one
can go the safe route and follow the changes to a release branch. A
third alternative is to follow the Preview-tag, which is somewhere
between a release branch and HEAD.

All FOSS projects where you can access the repository allows for rolling
releases, but in general I would advice against using it for a
production system since every update might introduce instabilities,
bugs, and other kinds of problems. In corporate settings regular
releases are usually preferable since they allow for planned upgrades.

-- 
Erik Wikström


Re: Site layout and design discussion

2008-08-04 Thread Erik Wikström
On 2008-08-04 06:23, Justin C. Sherrill wrote:
 So, since the release is past:
 
 http://www.shiningsilence.com:81/
 
 (I got this together just before the release, so no 2.0 stuff is on it.)
 
 Questions I have for people:
 - How does it look to you?

Nice, though a few nitpicks:
* I'd like a download link in the top menu as well, it was not very
  intuitive to look under community to download.

* I do not think the yellow table headers match the colour scheme.

* When I clicked the Documentation link I expected to come to some kind
  of documentation page with links to stuff like the handbook, manuals
  and HOWTOs, not the wiki front page. Perhaps there's some sub-page on
  the wiki which could be used?

* I'd like a cleaner download page with just information about
  downloading, information about different releases could be on some
  other page.

 - The front page looks plain.  Who wants to contribute art?

I like the clean look.

 This work so far doesn't take into account how the actual information is
 located on the site, so more questions:
 
 - What pages do you find most useful on the DragonFly site?

CVSWeb, man-page, and bugs.

-- 
Erik Wikström


Re: liveDVD

2008-08-31 Thread Erik Wikström
On 2008-08-30 23:53, Louisa Luciani wrote:
 The first version of the DragonFly LiveDVD is done!
 http://death.olf.sgsnet.se:8080/dragonflybsd/dfly-gui.iso.tar.bz2
 
 The accompanying documentation can be found here for the time being:
 http://lolaluci.se/gsoc/index.html
 
 Please test the ISO and say what you think!
 I hope you like it  :)

Oh, very nice, I will have to try it out. I especially like the
icon/logo with the dragonfly against the DVD.

Bra jobbat!

-- 
Erik Wikström


Re: RAID 1 or Hammer

2009-01-12 Thread Erik Wikström
On 2009-01-12 21:37, Konstantinos Pachnis wrote:
 On Jan 12, 2009, at 9:13 PM, Gergo Szakal wrote:
 
 nntp.dragonflybsd.org mneum...@ntecs.de wrote in message 
 news:496b8121$0$881$415eb...@crater_reader.dragonflybsd.org 
 ...
 Hi,

 I'm curious if RAID 1 (mirroring) really helps to protect data  
 loss. Of course if a whole disk dies, RAID 1 has the advantage that
 I have an identical copy. But what happens if only a sector of one  
 disk
 contains bad data. How can the RAID controller decide which is the
 correct sector? Or would the disk detect such a case and return an  
 error?

 
 When the controller will try to perform an I/O operation it will fail  
 on the faulty disk (the disk with the bad sector). As a result the  
 controller will be able to decide which is the correct sector.

Only if the sector is so damaged that you can't read it, before it gets
to that state it might very well be readable (and writeable) but with
corrupt data. This is the reason that ZFS keeps checksums of the data.

-- 
Erik Wikström


Re: 1 week until Summer of Code application time

2009-03-06 Thread Erik Wikström
On 2009-03-05 07:36, 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.

On the product I'm working on we have something similar (I have not
studied the paper you provided in detail so I can't be sure it's the
same thing) called a Routing Instance. Each routing instance is
connected to an interface, but these interfaces are usually not actual
physical interfaces rather they are usually VLAN interfaces. To be
really useful you need some way to specify which to use which would
probably mean to add some parameters when creating a socket to specify
which routing instance to use.

I don't want to sound negative (because I think it's a cool feature and
a worthy challenge) but I don't see much use for it in DragonFly BSD.
For a product such as the one I'm working on where we provide network
connectivity for mobile devices where packets are to be routed to
different corporate networks depending on the subscription (or some
other criteria) it makes sense. We just create one VLAN for each network
and all their packets use the associated routing instance. But I don't
quite see the usefulness in the kinds of roles that (I imagine) people
uses DragonFly BSD for. Perhaps OpenBSD would be more interested, they
strike me as having more focus on being usable as an internal node in a
network.

-- 
Erik Wikström


Re: DragonFly 2.4.1 Released!

2009-10-01 Thread Erik Wikström
On 2009-10-01 18:25, Matthew Dillon wrote:
 1-October-2009
 
 DragonFly 2.4.1 has been released as promised!  As we thought, a lot
 of minor but annoying issues cropped up with the huge 2.4.0 release.
 Most of the issues have been resolved in 2.4.1 and 2.4.1 is now
 available for download.
 
 Due to an unrelated issue with one of our primary mirror sites, if
 you do not see 2.4.1 on your favorite mirror you can download it from
 http://avalon.dragonflybsd.org/iso-images/
 
 http://www.dragonflybsd.org/
 http://www.dragonflybsd.org/release24

First of I want to say thanks to all the developers for their great
work, I really appreciate it.

And now for my proposal:

Is it just my memory or is this not the first time we get a X.Y.1
release quite shortly after the X.Y.0 release? It seems to me like there
are a lot more people who download and install the releases than there
are people who follow the bleeding edge (or close after) using git. This
means that a lot of bugs are only found when the releases are made and
people try to install/use them.

Quickly following the release a number of bug reports came in with
various problems (installer not working correctly, etc.), many of which
were quickly resolved. But for people with less technical skill these
problems might seem like very severe, and users just wanting to test
DragonFly out might come away with a negative impression.

The root cause seems to be that there simply has not been enough testing
before releasing, since most users will only run the released version.
My proposal is that instead of releasing the code as X.Y.0 first make a
X.Y.0 RC (Release Candidate). While the RC might not see as much usage
as the final release there will still be many more users trying it out
than the number of users following the code using git. Then a bit later
when bugs have been found and fixed the real release can be made.

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.

-- 
Regards
Erik Wikström