Re: DragonFly testing

2007-02-22 Thread Petr Janda

Ben Jolitz wrote:

Petr Janda wrote:


For your sound you need to load sound.ko + snd_ess.ko

Best if you add snd_ess_load="YES" to /boot/loader.conf

and in /dev you need to run sh MAKEDEV snd0

I think thats what has to be done.

Petr

I was under the impression that sound.ko was loaded by association, as 
kldstat said.
I had not done a ./MAKEDEV snd0, but I suspect it will not work, since 
Dells are notorious for having standard equipment in non-standard 
locations.


Will research some more on forcing discovery of Crystal WDM.
-- Ben



See if you put it /boot/loader.conf and run sh MAKEDEV snd0. Then post 
us your dmesg output.


Petr



Re: KDE and OpenSSL = Broken

2007-02-22 Thread Francois Tigeot
On Thu, Feb 22, 2007 at 01:21:54PM +0900, Kimura Fuyuki wrote:
> 
> I still suspect lower layer. Why does the following last command result in 
> error? It's just ok on NetBSD.
> 
> test program:
> http://www.hadaly.org/fuyuki/dltest.c
> 
> dialogue:
> $ cc ./dltest.c
> $ ./a.out
> $ cc ./dltest.c -lssl
> $ ./a.out
> $ a.out: Undefined symbol "SSL_connect"

FWIW, it is the same type of error I have seen with wip/jdk14.

Your code:
h = dlopen("/usr/lib/libssl.so", RTLD_GLOBAL | RTLD_NOW);

JDK code:
libjvm = dlopen(jvmpath, RTLD_NOW + RTLD_GLOBAL);

-- 
Francois Tigeot


Re: distributed filesystem name

2007-02-22 Thread Steve O'Hara-Smith
On Wed, 21 Feb 2007 22:32:42 -0500
Geoff Speicher <[EMAIL PROTECTED]> wrote:

> Dragonfly larvae are called "nymphs",

Hmm so a small derivative OS based on DragonFLy could be ...

Nah - let's not, it would be worse than the "How do you pronounce
Linux" thing.

-- 
C:>WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


Re: distributed filesystem name

2007-02-22 Thread Robert Luciani
> [ In response to Matt's note in kernel@ about needing
>   a name for his filesystem ]
> 
> My creative (beer) juices are flowing, so indulge or ignore
> as you see fit.
> 
> Dragonfly larvae are called "nymphs", which can be
> pronounced the same way but written as "NymphFS" or
> shortened to "NymFS" if necessary.  Seems somehow fitting
> that eggs are produced in quantities of hundreds or
> thousands.
> 
> Plus, lots of fun nymph biology terms can be used to
> describe different processes as they relate to the
> filesystem.  As nymphs grow, they molt (shed their skin).
> Molting can maybe describe the process of "Physical space
> recovery" or "Performance reorganization".  Plenty of other
> verbs like hatch, fossilize, and metamorphose from which to
> choose.
> 
> Nymphs apparently often feed on mosquito larvae, but
> unfortunately not on penguins.
> 
> *shrug*
> 
> Geoff

OK just balling suggestions quickly: 

DFFS,   DragonFlyFileSystem (also a pun on FFS)
OmegaFS, since Sun got the last letter (ZFS)
AOFS,AlphaOmegaFileSystem, all encompassing
SmaugFS, Smaug - the cool dragon from Tolkien
DracoFS, perhaps more ambiguous
LóngFS, Dragon in chinese




encompassing)


Re: DragonFly testing

2007-02-22 Thread Gergo Szakal
On Wed, 21 Feb 2007 20:14:11 -0600 (CST)
"Jeremy C. Reed" <[EMAIL PROTECTED]> wrote:

> The pkgsrc infrastructure is BSD licensed. The individual patches for 
> various software are generally just the same license as the software they 
> patch.
> 

Then my guess was right. ;-)

> pkgsrc does not prompt for build options like FreeBSD Ports.

That's fine. I was a FreeBSD newbie and on a low-end machine I was installing 
Apache from ports (because ports and packages conflict there, and the prebuilt 
packages are...) I typed make install clean and left. After like 4 hours I 
returned and pulled my hair out seeing it was waiting for options.

> For mplayer, you may want to send-pr it or turn in a bug report so it gets 
> updated in pkgsrc. Or a polite note to the MAINTAINER.

I usually hit (and did that a few time already) the pkgsrc mailing lists when I 
have such problems. I don't care about mplayer since my desktop is Windows XP, 
and prefer VLC anyway. ;-)

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: DragonFly testing

2007-02-22 Thread Joerg Sonnenberger
On Thu, Feb 22, 2007 at 02:43:18AM +0100, Gergo Szakal wrote:
> (I admit that mplayer in pkgsrc tree is quite outdated.)

Actuallly, no. It is the latest release version. Complain to the devs
for not creating releases more often.

Joerg


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Simon 'corecode' Schubert

Kimura Fuyuki wrote:
I still suspect lower layer. Why does the following last command result in 
error? It's just ok on NetBSD.


test program:
http://www.hadaly.org/fuyuki/dltest.c


VERY nice.  Thanks!  I've just committed a fix.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: DragonFly testing

2007-02-22 Thread Gergo Szakal
On Thu, 22 Feb 2007 13:34:28 +0100
Joerg Sonnenberger <[EMAIL PROTECTED]> wrote:

> On Thu, Feb 22, 2007 at 02:43:18AM +0100, Gergo Szakal wrote:
> > (I admit that mplayer in pkgsrc tree is quite outdated.)
> 
> Actuallly, no. It is the latest release version. Complain to the devs
> for not creating releases more often.
> 

True, I stand corrected. I looked at the "wip" one first.

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: distributed filesystem name

2007-02-22 Thread Martin P. Hellwig


As mentioned in the kernel thread:
HACFS   High-Availability Clustered FS

some other's:
NCFSNetwork Clusterable FS
IDFSIP Distributed FS
DANAD   Distributed Array of Network Accessible Disks
GUDSGood use of disk space

Though HACFS (hack fs) is still my favorite.

--
mph






Re: distributed filesystem name

2007-02-22 Thread Ernesto Bascon

Nymfs is a great name!

On 22/02/07, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:


As mentioned in the kernel thread:
HACFS   High-Availability Clustered FS

some other's:
NCFSNetwork Clusterable FS
IDFSIP Distributed FS
DANAD   Distributed Array of Network Accessible Disks
GUDSGood use of disk space

Though HACFS (hack fs) is still my favorite.

--
mph







vkernel support PF? and any vkernel hosting providers?

2007-02-22 Thread Jeremy C. Reed
Do virtual kernels allow having packet filtering with pf -- that doesn't 
affect other vkernel instances?

Also does anyone know of any vkernel hosting providers? Or does anyone 
plan on starting one?

  Jeremy C. Reed


Re: distributed filesystem name

2007-02-22 Thread B. Estrade

On 2/22/07, Ernesto Bascon <[EMAIL PROTECTED]> wrote:

Nymfs is a great name!

On 22/02/07, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:
> 
> As mentioned in the kernel thread:
> HACFS High-Availability Clustered FS
>
> some other's:
> NCFS  Network Clusterable FS
> IDFS  IP Distributed FS
> DANAD Distributed Array of Network Accessible Disks
> GUDS  Good use of disk space
>
> Though HACFS (hack fs) is still my favorite.
>
> --
> mph
>
>
>
>
>



Since the goal is to be the end-all/be-all FS - a distributed answer
to ZFS, why not name it something like "OmegaFS".  Of course, one
could throw in an extra "F" (or the # 5) so that it would be funny and
accurate to tell someone to 'fsck OFFS".

The cute names aside, I've always been a fan of practical names that
give a good description of what the intended use or need it might
fill.  The last thing a name should confer is hubris or cheekiness, so
whatever the name becomes I think it should be both technically
relevant and something that people remember.  That said, I like the
sound and meaning of HACFS and NCFS from above.

Cheers,
Brett

--
225.578.1920
AIM: bz743
LONI/HPC
http://www.loni.org/
http://www.hpc.lsu.edu/


Re: distributed filesystem name

2007-02-22 Thread steve
On Thu, Feb 22, 2007 at 03:31:59PM +, B. Estrade wrote:
> On 2/22/07, Ernesto Bascon <[EMAIL PROTECTED]> wrote:
> >Nymfs is a great name!
> >
> >On 22/02/07, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:
> >> 
> >> As mentioned in the kernel thread:
> >> HACFS High-Availability Clustered FS
> >>

Simplicity is a virtue. How about DFS?

Distributed File System
DragonFly File System

Simple, elegant, technically correct. Easy to remember.

-steve

> >> some other's:
> >> NCFS  Network Clusterable FS
> >> IDFS  IP Distributed FS
> >> DANAD Distributed Array of Network Accessible Disks
> >> GUDS  Good use of disk space
> >>
> >> Though HACFS (hack fs) is still my favorite.
> >>
> >> --
> >> mph
> >>
> >>
> >>
> >>
> >>
> >
> 
> Since the goal is to be the end-all/be-all FS - a distributed answer
> to ZFS, why not name it something like "OmegaFS".  Of course, one
> could throw in an extra "F" (or the # 5) so that it would be funny and
> accurate to tell someone to 'fsck OFFS".
> 
> The cute names aside, I've always been a fan of practical names that
> give a good description of what the intended use or need it might
> fill.  The last thing a name should confer is hubris or cheekiness, so
> whatever the name becomes I think it should be both technically
> relevant and something that people remember.  That said, I like the
> sound and meaning of HACFS and NCFS from above.
> 
> Cheers,
> Brett
> 
> -- 
> 225.578.1920
> AIM: bz743
> LONI/HPC
> http://www.loni.org/
> http://www.hpc.lsu.edu/
> 


Re: distributed filesystem name

2007-02-22 Thread Petr Janda

Ernesto Bascon wrote:

Nymfs is a great name!

On 22/02/07, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:


As mentioned in the kernel thread:
HACFSHigh-Availability Clustered FS

some other's:
NCFSNetwork Clusterable FS
IDFSIP Distributed FS
DANADDistributed Array of Network Accessible Disks
GUDSGood use of disk space

Though HACFS (hack fs) is still my favorite.

--
mph









How about DFFS (DragonFly File System) ?

Or DCFS (Disk Clustering File System)

Or DiFFS (Disk Failsafe File System)

I really like DiFFS :)

Petr



Re: vkernel support PF? and any vkernel hosting providers?

2007-02-22 Thread Simon 'corecode' Schubert

Jeremy C. Reed wrote:
Do virtual kernels allow having packet filtering with pf -- that doesn't 
affect other vkernel instances?


yes.

Also does anyone know of any vkernel hosting providers? Or does anyone 
plan on starting one?


I don't think there are public dragonfly hosters available.  Plus, vkernels 
have still quite a bit of performance penalty for certain workloads.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Simon 'corecode' Schubert

Petr Janda wrote:
I compiled the latest KDE from pkgsrc, but it seems that SSL is broken 
somewhere. Konqueror doesnt load HTTPS sites and I cant log into msn 
since it uses SSL.


could you try -DEVEL and tell me whether it works?

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Gergo Szakal
On Thu, 22 Feb 2007 17:06:31 +0100
"Simon 'corecode' Schubert" <[EMAIL PROTECTED]> wrote:

> could you try -DEVEL and tell me whether it works?
> 

I am willing to test it, is it OK if I install KDE from binary, or do I have to 
compile?

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Simon 'corecode' Schubert

Gergo Szakal wrote:

could you try -DEVEL and tell me whether it works?

I am willing to test it, is it OK if I install KDE from binary, or do I have to 
compile?


should be okay.  just cd /usr/src/libexec/rtld-elf && wmake && wmake install 
DESTDIR=/

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: DragonFly testing

2007-02-22 Thread Justin C. Sherrill
On Thu, February 22, 2007 2:25 am, Sascha Wildner wrote:
> Ben Jolitz wrote:
>> I found the how to a little non specific. I do think that a getpkgsrc
>> script would help set things up. There were no man pages (maybe install
>> fubar'ed?) on pkgsrc, so unlike man ports, I could not get a man pkgsrc.
>
> Try 'man packages'.

Why doesn't 'man pkgsrc' work?  Rather, is there any reason other than
nobody's set it up that way?  It would make absolute sense.



Re: distributed filesystem name

2007-02-22 Thread Martin P. Hellwig

steve wrote:

On Thu, Feb 22, 2007 at 03:31:59PM +, B. Estrade wrote:

On 2/22/07, Ernesto Bascon <[EMAIL PROTECTED]> wrote:

Nymfs is a great name!

On 22/02/07, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:


As mentioned in the kernel thread:
HACFS High-Availability Clustered FS



Simplicity is a virtue. How about DFS?

Distributed File System
DragonFly File System

Simple, elegant, technically correct. Easy to remember.

-steve



And taken by Microsoft.

--
mph


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread ejc

On 2/20/07, Petr Janda <[EMAIL PROTECTED]> wrote:

Simon 'corecode' Schubert wrote:
> yea, that's the recent threading changes.  somebody would have to
> update the kde code for that.
Thanks for the explanation. Guess I'll just have to wait some time.


I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.

Eric


Re: wip/jdk14: okay

2007-02-22 Thread Francois Tigeot
On Thu, Feb 22, 2007 at 06:04:49PM +0100, Simon 'corecode' Schubert wrote:
> Gergo Szakal wrote:
> >>could you try -DEVEL and tell me whether it works?
> >I am willing to test it, is it OK if I install KDE from binary, or do I 
> >have to compile?
> 
> should be okay.  just cd /usr/src/libexec/rtld-elf && wmake && wmake 
> install DESTDIR=/

Well, this is not about KDE but with a DragonFly-1.8 system and the rtld
patch, I am now able to build a working native jdk.

Thank you so much Simon ! I'm happy now :-)

And seriously, this should warrant a minor release.

-- 
Francois Tigeot


Re: wip/jdk14: okay

2007-02-22 Thread Gergo Szakal
On Thu, 22 Feb 2007 22:35:42 +0100
Francois Tigeot <[EMAIL PROTECTED]> wrote:

> And seriously, this should warrant a minor release.

Yeah, it should, because I could test it within qemu, just don't wanna 
buildworld there *snif*, so I'll either wait for the latest devel iso, or the 
latest release iso if 1.6.1 comes out.

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread ejc

On 2/22/07, ejc <[EMAIL PROTECTED]> wrote:

I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.


Patch attached.  It's against 3.5.5, but ProcessList.c didn't change for 3.5.6

Eric
--- ksysguard/ksysguardd/FreeBSD/ProcessList.c.orig	2007-02-22 16:31:59.0 -0600
+++ ksysguard/ksysguardd/FreeBSD/ProcessList.c	2007-02-22 16:31:39.0 -0600
@@ -213,23 +213,42 @@
 ps->priority  = p.ki_pri.pri_user;
 ps->niceLevel = p.ki_nice;
 #else
+#if __DragonFly_version >= 19
+ps->pid   = p.kp_pid;
+ps->ppid  = p.kp_ppid;
+ps->gid   = p.kp_pgid;
+ps->uid   = p.kp_uid;
+#else
 ps->pid   = p.kp_proc.p_pid;
 ps->ppid  = p.kp_eproc.e_ppid;
 ps->uid   = p.kp_eproc.e_ucred.cr_uid;
 ps->gid   = p.kp_eproc.e_pgid;
+#endif  /* DFly version */
 #if defined(__DragonFly__)
+#if __DragonFly_version >= 19
+ps->priority  = p.kp_lwp.kl_prio;
+#else
 ps->priority  = p.kp_thread.td_pri;
+#endif  /* DFly version */
 #else
 ps->priority  = p.kp_proc.p_priority;
 #endif
+#if __DragonFly_version >= 19
+ps->niceLevel = p.kp_nice;
+#else
 ps->niceLevel = p.kp_proc.p_nice;
+#endif  /* DFly version */
 #endif
 
 /* this isn't usertime -- it's total time (??) */
 #if __FreeBSD_version >= 500015
 ps->userTime = p.ki_runtime / 1;
 #elif defined(__DragonFly__)
+#if __DragonFly_version >= 19
+	if (!getrusage(p.kp_pid, &pru))
+#else
 	if (!getrusage(p.kp_proc.p_pid, &pru))
+#endif  /* DFly version */
 	{
 		errx(1, "failed to get rusage info");
 	}
@@ -258,16 +277,31 @@
 	strlcpy(ps->name,p.ki_comm? p.ki_comm:"",sizeof(ps->name));
 	strcpy(ps->status,(p.ki_stat>=1)&&(p.ki_stat<=5)? statuses[p.ki_stat-1]:"");
 #else
+#if __DragonFly_version >= 19
+		ps->userLoad = 100.0 * (double) p.kp_lwp.kl_pctcpu / fscale;
+	ps->vmSize   = p.kp_vm_map_size;
+	ps->vmRss= p.kp_vm_rssize * getpagesize();
+#else
 		ps->userLoad = 100.0 * (double) p.kp_proc.p_pctcpu / fscale;
 	ps->vmSize   = p.kp_eproc.e_vm.vm_map.size;
 	ps->vmRss= p.kp_eproc.e_vm.vm_rssize * getpagesize();
+#endif  /* DFly version */
 #if defined (__DragonFly__)
+#if __DragonFly_version >= 19
+	strlcpy(ps->name,p.kp_comm ? p.kp_comm : "", 
+		sizeof(ps->name));
+#else
 	strlcpy(ps->name,p.kp_thread.td_comm ? p.kp_thread.td_comm : "", 
 		sizeof(ps->name));
+#endif  /* DFly version */
 #else
 	strlcpy(ps->name,p.kp_proc.p_comm ? p.kp_proc.p_comm : "", sizeof(ps->name));
 #endif
+#if __DragonFly_version >= 19
+	strcpy(ps->status,(p.kp_stat>=1)&&(p.kp_stat<=5)? statuses[p.kp_stat-1]:"");
+#else
 	strcpy(ps->status,(p.kp_proc.p_stat>=1)&&(p.kp_proc.p_stat<=5)? statuses[p.kp_proc.p_stat-1]:"");
+#endif  /* DFly version */
 #endif
 
 /* process command line */
@@ -368,7 +402,11 @@
 #if __FreeBSD_version >= 500015
 		updateProcess(p[num].ki_pid);
 #else
+#if __DragonFly_version >= 19
+		updateProcess(p[num].kp_pid);
+#else
 		updateProcess(p[num].kp_proc.p_pid);
+#endif  /* DFly version */
 #endif
 	free(p);
 	cleanupProcessList();


Multiple kernel building/installing

2007-02-22 Thread Gergo Szakal
(did not want to pollute the commits list)
Does the last commit by corecode make it possivle to build/install an SMP and a 
non-SMP kernel together?

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: wip/jdk14: okay

2007-02-22 Thread Simon 'corecode' Schubert

Francois Tigeot wrote:

Well, this is not about KDE but with a DragonFly-1.8 system and the rtld
patch, I am now able to build a working native jdk.

Thank you so much Simon ! I'm happy now :-)

And seriously, this should warrant a minor release.


Yes, I'll MFC this as soon as I get the ACK that it makes KDE/SSL work.  We'll 
possibly run a minor release shortly anyways.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread Simon 'corecode' Schubert

ejc wrote:

 #if defined (__DragonFly__)
+#if __DragonFly_version >= 19
+	strlcpy(ps->name,p.kp_comm ? p.kp_comm : "", 
+		sizeof(ps->name));


that ternary isn't needed anymore, kp_comm is guaranteed to exist.


+#if __DragonFly_version >= 19
+   strcpy(ps->status,(p.kp_stat>=1)&&(p.kp_stat<=5)? 
statuses[p.kp_stat-1]:"");


stats changed, so you'd also need a new "statuses" array I guess.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread ejc

On 2/22/07, Simon 'corecode' Schubert <[EMAIL PROTECTED]> wrote:

ejc wrote:
>  #if defined (__DragonFly__)
> +#if __DragonFly_version >= 19
> + strlcpy(ps->name,p.kp_comm ? p.kp_comm : "",
> + sizeof(ps->name));

that ternary isn't needed anymore, kp_comm is guaranteed to exist.

> +#if __DragonFly_version >= 19
> + strcpy(ps->status,(p.kp_stat>=1)&&(p.kp_stat<=5)? 
statuses[p.kp_stat-1]:"");

stats changed, so you'd also need a new "statuses" array I guess.


Thanks for the critique.  I'll work on it tomorrow.

Eric


Re: Multiple kernel building/installing

2007-02-22 Thread Simon 'corecode' Schubert

Gergo Szakal wrote:

(did not want to pollute the commits list)


That's what the commits list is for -- discussion about commits.


Does the last commit by corecode make it possivle to build/install an SMP and a 
non-SMP kernel together?


It enables the building of multiple kernels for a release ISO, if that's what 
you mean.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: wip/jdk14: okay

2007-02-22 Thread Simon 'corecode' Schubert

Gergo Szakal wrote:

And seriously, this should warrant a minor release.

Yeah, it should, because I could test it within qemu, just don't
wanna buildworld there *snif*, so I'll either wait for the latest
devel iso, or the latest release iso if 1.6.1 comes out.


You don't have to buildworld just for rtld.  If you never built world before, 
you need to do

cd /usr/src/lib/libc_rtld && make depend && make
cd /usr/src/libexec/rtld-elf && make depend && make && make install

If you already built world, you can shortcut this to

cd /usr/src/libexec/rtld-elf && wmake && wmake install DESTDIR=/ INSTALL=install

it will take you 5 seconds, maximum 10 minutes.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: Multiple kernel building/installing

2007-02-22 Thread Gergo Szakal
On Thu, 22 Feb 2007 23:57:25 +0100
"Simon 'corecode' Schubert" <[EMAIL PROTECTED]> wrote:

 
> That's what the commits list is for -- discussion about commits.
> 

Apologies then. :-/

 
> It enables the building of multiple kernels for a release ISO, if that's what 
> you mean.

That is what I meant, yes. If you make this usable, I will write a howto on 
installing a diff. kernel until the installer supports this.

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Petr Janda

Simon 'corecode' Schubert wrote:

Petr Janda wrote:
I compiled the latest KDE from pkgsrc, but it seems that SSL is 
broken somewhere. Konqueror doesnt load HTTPS sites and I cant log 
into msn since it uses SSL.


could you try -DEVEL and tell me whether it works?

cheers
 simon



Can confirm this is fixed. Thanks!

Petr



Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread Petr Janda

ejc wrote:

On 2/20/07, Petr Janda <[EMAIL PROTECTED]> wrote:

Simon 'corecode' Schubert wrote:
> yea, that's the recent threading changes.  somebody would have to
> update the kde code for that.
Thanks for the explanation. Guess I'll just have to wait some time.


I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.

Eric

When you clean up the patch, this should definatly go into pkgsrc. 
perhaps mail it to joerg?


Petr


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread Petr Janda

ejc wrote:

On 2/20/07, Petr Janda <[EMAIL PROTECTED]> wrote:

Simon 'corecode' Schubert wrote:
> yea, that's the recent threading changes.  somebody would have to
> update the kde code for that.
Thanks for the explanation. Guess I'll just have to wait some time.


I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.

Eric



Thanks,
Im continueing the compiling now. :)

Petr


Show number of threads in top

2007-02-22 Thread Petr Janda
Is it possible to show number of threads per application in top? FreeBSD 
has such feature. Nothing important just fancy :) Would be good if we 
had it too... What do you think?


Petr


Re: Multiple kernel building/installing

2007-02-22 Thread YONETANI Tomokazu
On Thu, Feb 22, 2007 at 11:49:32PM +0100, Gergo Szakal wrote:
> (did not want to pollute the commits list)
> Does the last commit by corecode make it possivle to build/install an SMP and 
> a non-SMP kernel together?

You've been able to *build* multiple kernels:
  make KERNCONF='GENERIC LINT' buildkernel
but you couldn't install the kernels with different names.  However,
even if you install an SMP and non-SMP kernels with different names,
not all kernel modules can be shared -- at least any kernel modules
using spinlocks, such as nfs.ko and acpi.ko (and you don't want to
compile acpi in the kernel, as some of important fixes in *.patch files
are not used).  Of course, if you don't mind keeping multiple sets of
kernel/modules, you can specify DESTDIR to install them under separate
directories.  You can use module_path variable in boot loader to point
to that directory:
  set module_path="/smp/;/smp/modules/"

Cheers.


Re: wip/jdk14: okay

2007-02-22 Thread Gergo Szakal
On Fri, 23 Feb 2007 00:00:47 +0100
"Simon 'corecode' Schubert" <[EMAIL PROTECTED]> wrote:

> You don't have to buildworld just for rtld.  If you never built world before, 
> you need to do
> 
> cd /usr/src/lib/libc_rtld && make depend && make
> cd /usr/src/libexec/rtld-elf && make depend && make && make install
> 
> If you already built world, you can shortcut this to
> 
> cd /usr/src/libexec/rtld-elf && wmake && wmake install DESTDIR=/ 
> INSTALL=install
> 
> it will take you 5 seconds, maximum 10 minutes.
> 

Thanks for the tip.
BAH, I ran out of inodes (although not hacked anything), I will do a newfs on 
my ~ tomorrow. It is futile though, there is the feedback from Petr.

-- 
Gergo Szakal <[EMAIL PROTECTED]>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */


Re: Show number of threads in top

2007-02-22 Thread Simon 'corecode' Schubert

Petr Janda wrote:
Is it possible to show number of threads per application in top? FreeBSD 
has such feature. Nothing important just fancy :) Would be good if we 
had it too... What do you think?


I can tell you off head:  1.

We don't support multiple (real) threads per process yet.

cheers
 simon

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



signature.asc
Description: OpenPGP digital signature


Re: KDE and OpenSSL = Broken

2007-02-22 Thread walt
On Thu, 22 Feb 2007, Kimura Fuyuki wrote:

> On Wednesday 14 February 2007, Simon 'corecode' Schubert wrote:
> > > 3. who's bad?
> > >
> > > a. pkgsrc
> > > b. kdelibs
> > > c. libltdl
> > > d. rtld
> > > f. kernel
> > >
> > > a,b,c seems to be ok?
> >
> > i'm pretty sure it is in b or a.  the warning messages are kind of
> > expected, because kde tries both old and new openssl symbols.
>
> I still suspect lower layer. Why does the following last command result in
> error? It's just ok on NetBSD.
>
> test program:
> http://www.hadaly.org/fuyuki/dltest.c

Thank you, and welcome to DragonFly!  Your program gave Simon enough
information to fix a long-standing and very important bug.  I hope
you will stay and find more bugs :o)



Re: KDE and OpenSSL = Broken

2007-02-22 Thread walt
On Thu, 22 Feb 2007, Simon 'corecode' Schubert wrote:

> Kimura Fuyuki wrote:
> > I still suspect lower layer. Why does the following last command result in
> > error? It's just ok on NetBSD.
> >
> > test program:
> > http://www.hadaly.org/fuyuki/dltest.c
>
> VERY nice.  Thanks!  I've just committed a fix.

That was a very large patch.  Did you write all that code yourself?
Anyway, it fixes konqueror *and* evolution which have been broken for
many moons and I'm very happy :o)



Re: KDE and OpenSSL = Broken

2007-02-22 Thread Petr Janda

walt wrote:

On Thu, 22 Feb 2007, Simon 'corecode' Schubert wrote:

  

Kimura Fuyuki wrote:


I still suspect lower layer. Why does the following last command result in
error? It's just ok on NetBSD.

test program:
http://www.hadaly.org/fuyuki/dltest.c
  

VERY nice.  Thanks!  I've just committed a fix.



That was a very large patch.  Did you write all that code yourself?
Anyway, it fixes konqueror *and* evolution which have been broken for
many moons and I'm very happy :o)

  
The patch was taken from Free (as the commit message says). It also 
fixes Kopete and probably lots of other stuff too.


Petr


Re: DragonFly testing

2007-02-22 Thread Sascha Wildner

Justin C. Sherrill wrote:

On Thu, February 22, 2007 2:25 am, Sascha Wildner wrote:

Ben Jolitz wrote:

I found the how to a little non specific. I do think that a getpkgsrc
script would help set things up. There were no man pages (maybe install
fubar'ed?) on pkgsrc, so unlike man ports, I could not get a man pkgsrc.

Try 'man packages'.


Why doesn't 'man pkgsrc' work?  Rather, is there any reason other than
nobody's set it up that way?  It would make absolute sense.


Yes, I thought about it too. However, the packages.7 manpage is part of 
the pkgsrc bootstrap, so adding a link would either have to be done 
directly by the pkgsrc people or we'd have to add it to 
nrelease/Makefile (which I'll do on the weekend if no one objects).


Sascha

--
http://yoyodyne.ath.cx