status of ufsj and gjournal

2005-09-09 Thread db
Hi list,
I wonder whats the status of those summer of code projects.
>From gjournal we heard that it has been completed but then nothing happens, any
further information about this?
Is somebody working on ufsj? Was the summer of code project successful?

best regards,
-Dennis


This message was sent using IMP, the Internet Messaging Program.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Raid problems

2004-09-21 Thread DB
Hi all

I'm trying to install FreeBSD 5.3-Beta5 on a friend's server. He has a promise
fasttracks SX4000 raid controller (raid level 5), but when booting freebsd we
get a list of all the 4 disks. Is that right? (haven't tried installing freebsd
on a raid computer). I've tried install freebsd on one of the disks, but when I
restart the computer, it says it can't find /boot/kernel?

A fast reply or a link to a howto would be much appreciated.

br
db and mk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Runtime loading

2004-09-09 Thread db
On Thursday 09 September 2004 16:43, Robert Dormer wrote:
> glib provides a facility for this, and should be even more platform
> portable

Yes I know, but this is for security/lockdown, so I want it to compile/run 
using that is in FreeBSD's base system. I'll try to think about portability 
when writing the code, so that linux/solaris users can use lockdown with 
minor modifications.

It is the keywords read from the configuration file I want to load at runtime, 
so that users can write their own keywords and make it easier for me to 
extend lockdown.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Runtime loading

2004-09-09 Thread db
On Thursday 09 September 2004 16:36, you wrote:

> > In my C++ program I need to load some files/classes at runtime, so that
> > users can add "plugins" without recompilling my program. What functions
> > should I use? I'm using FreeBSD 5.3-beta2 btw.
>
> I'm not sure about C++, though I guess you could use the same functions as
> in C.  If that's true, then you should use the dlopen() family of
> functions. They are quite portable, since you'll find the same functions
> under all the *BSD, Linux and Solaris.  Be aware that with Linux and
> Solaris, those functions are located in libdl, while they are found in libc
> on the *BSD systems.

Ok, thanks :-)

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Runtime loading

2004-09-09 Thread db
Hi all

In my C++ program I need to load some files/classes at runtime, so that users 
can add "plugins" without recompilling my program. What functions should I 
use? I'm using FreeBSD 5.3-beta2 btw.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New computer....help wanted :-S

2004-08-31 Thread db
- Original Message - 
From: "M. Warner Losh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 4:36 AM
Subject: Re: New computerhelp wanted :-S


> This looks like some kind of resource problem:
> 
> : > 0xc800-0x8ff irq 22 at device 10.0 on pci1 rl0: reset never
> 
> 
> that's crazy man.  Is that really what it prints, or the the 'c'
> missing and it actually allocates:
> 
> 0xc800-0xc8ff irq 22 at device 10.0 on pci1

Ah sorry, yes the 'c' was missing, so 0xc800-0xc8ff is correct.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


New computer....help wanted :-S

2004-08-31 Thread db
Hi

Got my new computer with an Intel 915g MB and an Intel 3.0GHZ CPU. FreeBSD can't find 
the onboard NIC, but nevermind I got a Rubytech gigabit NIC. Sadly though, it can't 
find that either, so I tried my old 10/100 realtek card, but it can't use it. So I 
have 3 NIC's in the computer, but 0 working. 
When I in BIOS set the OS PnP to yes, I get:

pcib5  at device 30.0 on pci0
pcib5 device re0 requested unsupported I/O range 0x0-0x0 (decoding 0x9000-0xafff)
re0: couldn't map ports/memory
This is my gigabit card and it says the same about my rl0 (realtek).

When I set OS PnP to no, I get:
rl0:  port 0xa400-0xa4ff mem 0xc800-0x8ff irq 22 at 
device 10.0 on pci1
rl0: reset never completed!
rl0: Ethernet address ff:ff:ff:ff:ff:ff
rl0: unknown device ID: 
device_probe_and_attach: rl0 attach returned 6
It doesn't say anything about re0.


So what is up with this? I know FreeBSD doesn't support pci express, but I haven't got 
any cards in any of the 2 pci express slots, so why all these problems? I haven't 
tried to find my onboard soundcard or graphics card, but I'm guessing it wouldn't be 
pretty :-(

Btw I'm running 5.2.1 (4.10 couldn't find the gigabit card) and I'm downloading 
5.3-BETA2 (hoping this will solve the problem).

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


New computer

2004-08-25 Thread db
Hi all

I'm gonna buy a new computer with an Intel 915g, will freebsd be able to support this?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ready or not?

2004-07-28 Thread db
Hi all

Which of the following will be ready for production usage when 5.3 get's 
released?

SMP (any i386 CPU recommendations?)
PF with ALTQ
GEOM Based Disk Encryption

Oh and one last thing. If I want to backup everything on one computer to 
another, which program do you recommend for doing that?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Grub and FreeBSD 4.9

2004-05-19 Thread db
On Wednesday 19 May 2004 12:43, you wrote:
> chainloader is your friend here I found as u correctly state it doesn't
> seem to support ffs drives even though the devs seem to say it does.

If I boot with the bootdisk I can loade FreeBSD (with the chainloader), but if 
I'm using grub on the disk I get:

--
GRUB loading stage1.5.


GRUB loading, pelase wait...
Error 18
--

I've edited the menu.lst to make sure FreeBSD is loaded with the chainloader, 
but I don't think that is the problem. Stage1.5 is not on the floppy, so 
maybe it is having problems finding it? If yes, do I have to reinstall 
FreeBSD and place /boot differently in order to make it work?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Grub and FreeBSD 4.9

2004-05-19 Thread db
Hi all

I'm trying to get grub working on my FreeBSD 4.9 test-box. So far I've done:
cd /usr/ports/sysutils/grub
make install clean
mkdir /boot/grub
cp /usr/local/share/grub-0.94/i386-freebsd/* /boot/grub/
In /boot/grub I created a fil called menu.lst and wrote this in it:
default 0   # By default, boot the first entry.
timeout 5   # Boot automatically after 30 secs.

title FreeBSD
root   (hd0,0)
kernel /boot/loader

My box is just a test box with one harddisk, so I've made one huge / and then
given about 256 mb to swap.

I've read that the safest way to install grub is by making a bootdisk, boot
and run setup, so I made the disk:
 # cd /boot/grub
 # dd if=stage1 of=/dev/afd0 bs=512 count=1
 1+0 records in
 1+0 records out
 # dd if=stage2 of=/dev/afd0 bs=512 seek=1
 153+1 records in
 153+1 records out
And I booted on it just fine, but I can't install grub because it by default
dones't support ffs drives. I know there is a ffs_stage1_5 in /boot/grub, but
how do I use it?

Anyway I rebooted in FreeBSD and ran "grub" and made the install
 successfully, but then booting the system again I get an "error 18". So how
 do I fix it?

I've also tried getting network support built into grub, but I can't figure
out which driver to use (FreeBSD use de0), any ideas?

Best regards
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsd problems

2004-03-10 Thread db
On Wed, 10 Mar 2004 13:00:26 -0500
"Dan Langille" <[EMAIL PROTECTED]> wrote:

> > Ok nevermind, I found the problem.
> 
> But you haven't shared it.  Please do.

cvsd wasn't running as root inside the jail. So I guess I'll just have
to create a repos for every group/project?!?! Or run cvsd as
root...don't know what I will do.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsd problems

2004-03-10 Thread db
On Wed, 10 Mar 2004 15:45:56 +0100
db <[EMAIL PROTECTED]> wrote:

> > I want to run a jailed cvs server, where users only have write
> > access to their own projects. So this is what I have done:
> 
> Sorry, forgot to tell you:
> Arch: i386
> FreeBSD: 5.2.1 release
> CVSd: 1.0.1

Ok nevermind, I found the problem.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsd problems

2004-03-10 Thread db
On Wed, 10 Mar 2004 15:39:15 +0100
db <[EMAIL PROTECTED]> wrote:

> I want to run a jailed cvs server, where users only have write access
> to their own projects. So this is what I have done:

Sorry, forgot to tell you:
Arch: i386
FreeBSD: 5.2.1 release
CVSd: 1.0.1
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvsd problems

2004-03-10 Thread db
Hi all

I want to run a jailed cvs server, where users only have write access to
their own projects. So this is what I have done:
Jaildir: /home/cvs
portinstall cvsd
mv /usr/local/etc/rc.d/cvsd.sh.sample /usr/local/etc/rc.d/cvsd.sh
chmod 770 /usr/local/etc/rc.d/cvsd.sh
mv /usr/local/etc/cvsd/cvsd.conf.sample /usr/local/etc/cvsd/cvsd.conf
*Edit /usr/local/etc/cvsd/cvsd.conf
RootJail /home/cvs
Repos /repos
cvsd-buildroot /home/cvs
cvs -d /home/cvs/repos init
mkdir /home/cvs/tmp/lock
chown cvsd:cvsd /home/cvs/tmp/lock
truncate -s 0 /home/cvs/etc/passwd
*Edit /home/cvs/repos/CVSROOT/config
LockDir=/tmp/lock
mkdir /home/cvs/libexec #Is this a bug in cvsd?
cp /usr/libexec/ld-elf.so.1 /home/cvs/libexec
Create some users.
/usr/local/etc/rc.d/cvsd.sh start

Creating a new user/project:
cvsd-passwd /home/cvs/repos username
Add the user to /home/cvs/(master.)passwd
pwd_mkdb -d /home/cvs/etc /home/cvs/etc/master.passwd

Now I can login, but when wanting to do anything I get:
cvs -d :pserver:[EMAIL PROTECTED]:/repos checkout tester
setgid failed: Operation not permitted

What have I done wrong and what do I need to do now?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2.1 make installword trashed my system

2004-02-26 Thread db
Hi all

I've been running 5.2 on my laptop (i386 Acer)
for some time now. Few hours ago I download the 5.2.1-release source,
buildworld, buildkernel, installkernel, but after a few minuts of
installworld my system froze. Now when I try to boot I get:

Mounting root from ufs: /dev/ad0s1a
WARNING: / was not properly dismounted
exec /sbin/init: error 8
/sbin/sysctl: 1: Syntax error: ";" unexpected
/sbin/sysctl: 1: Syntax error: ";" unexpected

Thu Feb 26 16:24:26 CET 2004
Feb 26 16:24:26 init: can't exec getty '/usr/libexec/getty' for port
/dev/ttyv0: No such file or directory
and so on

So the question is: Now what? I can boot in single user mode and get a
shell, but very few programs work and I can't mount anything?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


3 problems on my 5.2 server

2004-02-13 Thread db
Hi group

Hope someone can solve one or all of these problems.

1. I have downloaded all the source for 5.2 and buildworld, buildkernel,
installkernel, but when trying to installworld I get:
>>> Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
===> share/info
===> include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127
 
Stop in /usr/src/include.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.

Problem 2:
My server is used by people all round the world, so what timezone should
I use? Currently it is running with danish time, but it is running way
to fast. I would guess twice as fast as it should be. Any ideas?

Problem 3:
Suddently I can't use 'adduser' to add users to the system. When trying
the program add "\n/sbin/nologin" after the user info to the passwd
files in/etc? I have also noticed that when adduser ask for a shell,
nologin is listed twice.

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2 install hangs

2004-01-22 Thread db
On Thu, 22 Jan 2004 20:42:33 +0100
[EMAIL PROTECTED] (Dag-Erling Smørgrav) wrote:

> > > do you have anything connected to the secondary ata channel?
> > The cdrom-drive has one channel and the disk and the floppy share the
> > other. (If that's what you mean).
> 
> I would put the floppy with the CD-ROM, though I don't think it would
> make a difference here since you also tested it with the floppy
> disconnected.

Yeah, it is strange. Disconnecting the floppy didn't help, but putting it on the same 
channel as the cd-drive (and making the cd-drive master) helped.

> OK.  You might not believe this but I've actually had IRQ conflicts on
> fairly recent Compaq ProLiant servers - ATA controllers seem to be
> very uncomfortable with sharing IRQs.  Could you double-check that
> your BIOS hasn't assigned IRQ 14 or 15 to any other devices?

I've got a compaq proliant 1500 server, byt never tried installing anything on it. But 
someday, freebsd will live there too ;-)

Thanks for you help!

br
socketd
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2 install hangs

2004-01-22 Thread db
> Date: Thu, 22 Jan 2004 10:19:51 -0800 (PST)
> From: Jamie Bowden <[EMAIL PROTECTED]>
> To: Socketd <[EMAIL PROTECTED]>
> Cc: Dag-Erling Smørgrav <[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]>
> Subject: Re: 5.2 install hangs
> > The cdrom-drive has one channel and the disk and the floppy share the
> > other. (If that's what you mean).
> 
> Put the LS-120 and the CDROM drive on the same controller.  I have my
> machine setup with the ls120 as master on ATA1 and my DVD-RW as
> secondary,
> running 5.2-R on my machine with no problems.  On ATA0 I have a pair of
> HDDs, but one or two won't matter so long as you jumper the drive as
> single master for ATA0.

That helped! Thanks :-)

br
socketd
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"