Re: textproc: Typesetting holy content

2006-05-27 Thread Kyrre Nygard

At 18:43 26.05.2006, Adrian Pavone wrote:


Well, sounds to me like the perfect reason to learn how to write a shell
script.

You already have your algorithm/method clearly defined, now you just
need something to automate it. A shell script would clearly be the thing
to do that with.

If you need any help with shells and shell scripting, a wealth of
information is just a google away ;).

Just my $0.02

Regards,
Adrian


You're most right, I think I will grab some tutorial and start reading.

Thanks man!

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


Re: textproc: Typesetting holy content

2006-05-27 Thread Kyrre Nygard

At 19:20 26.05.2006, Kirk Strauser wrote:

On Friday 26 May 2006 11:35, Kyrre Nygard wrote:

 I am trying to transcribe The Noble Qur'an, by some said to be the
 most elegant book ever written, into LaTeX format. That way I can format it
 the way I wish, and study it at my own premises.

I prefer Godel, Escher  Bach, but that's just me.  Anyway, didn't
html2latex (/usr/ports/print/html2latex/pkg-descr) work?
--
Kirk Strauser



Interesting book, I will check it out :)

html2latex is nice but I'm not sure if that's what I want.
There are too many elements in the HTML files that I do not wish
to include and removing them all would be equally painful.

Thanks! 


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


RE: Intel Mac experiences

2006-05-27 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Scott Sipe
Sent: Friday, May 26, 2006 12:14 AM
To: freebsd-questions@freebsd.org
Subject: Re: Intel Mac experiences



On May 26, 2006, at 1:36 AM, vayu wrote:


 On May 25, 2006, at 9:13 PM, Ted Mittelstaedt wrote:


 James, you missed the point.  If you have an Intel MAC it came
 with MacOS X (tiger) and that is basically the same operating
 system as FreeBSD.  Meaning, what are you trying to gain?  If
 anything, your worse off with FreeBSD since MacOS X comes with
 a gorgeous user interface that FreeBSD does not have.

 Ted


 I can understand the desire.  OS X does have a polished and
 beautiful desktop environment, but it is not FreeBSD.  If money
 were no object for me, I would want a Macbook Pro with a triple
 boot of OS X, Win XP and FreeBSD.

 Back to the original topic: James, I'm curious that you had any
 results booting with any BSD or Linux.  The Intel Macs have no
 BIOS,  I have read of hacks that got Linux (and Windows before
 Apple offered it) to work, but it didn't seem straight forward
 based on the accounts I read.

This is not true--how do you think Bootcamp works? It provides BIOS
emulation for booting windows, and whatever else.

Secondly, why do people keep saying that OSX and FreeBSD are
basically the same operating system -- if by basically the same you
mean have a unix base, then sure. OSX runs on a hybrid mach
microkernel (and with all the performance baggage this comes with). A
great deal of the userland utilities originate from NetBSD or even
OpenBSD in addition to FreeBSD. There is no ports system (sure,
darwinports is similiar, though far less extensive). Boot system is
entirely different. There's no way to buildworld or buildkernel, etc.
Directory services are done completely differently than in Freebsd
(netinfo?). There's not even an /etc/fstab. One could go on...


Because from a user's perspective of running and building software they
are the same.

Sure, you can't do the equivalent of a buildworld, but OS X is a
commercial
system they don't supply source code with.  So, all of the utilities and
scripts that FreeBSD has for managing the source to the operating system
are of course not going to be present if the source for the system isn't
supplied.

As for performance comparisons, anyone buying an Intel Mac isn't
looking for peak performance.  If they really were looking for peak
performance out of consumer-level gear they would get the fastest
Wintel motherboard and overclock it and run FreeBSD on it.  They
wouldn't be buying a Mac, or a HP, or a Dell, or any of those since
those companies don't manufacture bleeding-edge systems.

Ted

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


Re: Sharing /usr/local/www

2006-05-27 Thread Beech Rintoul
On Saturday 27 May 2006 00:32, Kyrre Nygard wrote:
 Hello!

 I have a team of designers working on web 2.0 like sites.

 I have added them all to this box, now I'm wondering what's the most
 convenient way of giving them all access to /usr/local/www?

 My temporary solution has been to add all users with UID and GID 80,
 and then ln -s /usr/local/www ~/collabo for each user.

 If users have their original UID instead of www's then somehow they can't
 read or write to /usr/local/www. I thought sharing the same GID was
 sufficient, but obviously it isn't. I find this very strange.

 Some of them prefer just using FTP, so then being able to click on collabo@
 and go straight to /usr/local/www is very convenient for them.

 But is there a better way?

 Thanks,
 Kyrre

CVS is your friend. But there are also a ton of php scripts out there to do 
what you want. 

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpTvuAh9eagI.pgp
Description: PGP signature


Script to organize passwd and group

2006-05-27 Thread Kyrre Nygard


Hello!

I was wondering if anybody out there share the same need as I do
to better organize /etc/passwd and /etc/group.

I would like to see chronologic ordering of UIDs and GIDs, instead of
having them sorted by what ports their corresponding daemons run on.

Look below how much more flow it all gets.

Then, if possible, it would be cool to make 3 distinct classes:

01 Necessities, with 1 to 2 digit IDs

(maybe keep nobody seperate)

02 Servers, with 3 digit IDs
03 Users, with 4 digit IDs

I'm aware that when adding new users, one would manually have to
rearrange, but this is not because you shouldn't, it's because
adduser and pw doesn't yet support this kind of order.

Here is my ideal setup:

--

# cat /etc/.passwd

root:*:0:0::0:0:Core:/root:/usr/local/bin/zsh
daemon:*:1:1::0:0:System Processes:/root:/usr/sbin/nologin
operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin
kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin
bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin
tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin
news:*:6:6::0:0:News:/:/usr/sbin/nologin
man:*:7:7::0:0:Manuals:/usr/share/man:/usr/sbin/nologin

nobody:*:5:5::0:0:Unprivileged:/nonexistent:/usr/sbin/nologin

sshd:*:101:101::0:0:Secure Shell:/var/empty:/usr/sbin/nologin
www:*:102:102::0:0:World Wide Web:/usr/local/www:/usr/sbin/nologin
ftp:*:103:103::0:0:File Transfer Protocol:/home/websites:/usr/sbin/nologin
mysql:*:104:104::0:0:MySQL:/var/db/mysql:/sbin/nologin
proxy:*:105:105::0:0:Packet Filter:/nonexistent:/usr/sbin/nologin
smmsp:*:106:106::0:0:Sendmail 
Submission:/var/spool/clientmqueue:/usr/sbin/nologin

mailnull:*:107:107::0:0:Sendmail Default:/var/spool/mqueue:/usr/sbin/nologin
postfix:*:108:108::0:0:Postfix:/var/spool/postfix:/usr/sbin/nologin
cyrus:*:109:109::874400:0:Cyrus:/nonexistent:/usr/sbin/nologin
spamd:*:110:110::0:0:SpamAssassin:/var/spool/spamd:/sbin/nologin
vscan:*:111:111::0:0:Scanner:/var/amavis:/bin/sh
clamav:*:112:112::0:0:ClamAV:/nonexistent:/usr/sbin/nologin

kyrre:*:1001:0::0:0:Kyrre:/home/kyrre:/usr/local/bin/zsh
nomad:*:1002:1002::0:0:Hednod:/home/nomad:/usr/local/bin/zsh
polvott:*:1003:1003::0:0:Thomas:/home/polvott:/usr/local/bin/zsh
nughaud:*:1004:1004::0:0:King:/home/nughaud:/usr/local/bin/zsh

--

# cat /etc/group

wheel:*:0:root
daemon:*:1:
operator:*:2:root
kmem:*:3:
bin:*:4:
tty:*:5:
news:*:6:
man:*:7:

nobody:*:5:

sshd:*:101:
www:*:102:
ftp:*:103:
mysql:*:104:
proxy:*:105:
smmsp:*:106:
mailnull:*:107:
postfix:*:108:
cyrus:*:119:
spamd:*:110:
vscan:*:111:
clamav:*:112:

nomad:*:1002:
polvott:*:1003:
nughaud:*:1004:

--

The script would rearrange passwd and group into classes, based on a
predefined list maybe. Then it should renumber the UIDs and GIDs.

Then it should do something like:

find -s / -uid foo | xargs chown bar
find -s / -gid foo | xargs chgrp bar

And before you know it :)

Your system will be looking tighter than ever!

I hope somebody can help me with this. It will take me at least a year,
I've estimated, until I master Ruby well enough to do stuff like this.

All the best,
Kyrre

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


Re: Sharing /usr/local/www

2006-05-27 Thread Kyrre Nygard

At 10:45 27.05.2006, Beech Rintoul wrote:

On Saturday 27 May 2006 00:32, Kyrre Nygard wrote:
 Hello!

 I have a team of designers working on web 2.0 like sites.

 I have added them all to this box, now I'm wondering what's the most
 convenient way of giving them all access to /usr/local/www?

 My temporary solution has been to add all users with UID and GID 80,
 and then ln -s /usr/local/www ~/collabo for each user.

 If users have their original UID instead of www's then somehow they can't
 read or write to /usr/local/www. I thought sharing the same GID was
 sufficient, but obviously it isn't. I find this very strange.

 Some of them prefer just using FTP, so then being able to click on collabo@
 and go straight to /usr/local/www is very convenient for them.

 But is there a better way?

 Thanks,
 Kyrre

CVS is your friend. But there are also a ton of php scripts out there to do
what you want.

Beech
--


Yeah I hear a lot of people like CVS.

But I fail to realize how it might assist me though.

I'm not setting up a code repository, this is an actual WWW root
where a lot of different websites are hosted.

Please correct me if I'm wrong.

And what PHP scripts are you talking about?

Thanks a lot,
Kyrre

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


Re: Sharing /usr/local/www

2006-05-27 Thread Daniel A.

Kyrre Nygard wrote:


Hello!

I have a team of designers working on web 2.0 like sites.

I have added them all to this box, now I'm wondering what's the most 
convenient

way of giving them all access to /usr/local/www?

My temporary solution has been to add all users with UID and GID 80,
and then ln -s /usr/local/www ~/collabo for each user.

If users have their original UID instead of www's then somehow they 
can't read

or write to /usr/local/www. I thought sharing the same GID was sufficient,
but obviously it isn't. I find this very strange.

Some of them prefer just using FTP, so then being able to click on collabo@
and go straight to /usr/local/www is very convenient for them.

But is there a better way?

Thanks,
Kyrre

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

Hi Kyrre.

Have you tried chmodding the www dir to be group-writable?

Also, as someone else has suggested, SVN og CVS might be a good idea. 
They would not solve the problem you have right now, but they might help 
you avoid some possible problems with many people editing the same batch 
of files - sharing violations. What if two people start editing the same 
files on their own workstations, and both upload the changes? What about 
version control? et cetera, ad nauseam.


Offcourse, non-repository development is possible, and I've done it 
myself without any issues whatsoever, but you're the one who decides 
what's best for your development.

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


Re: Trouble installing FreeBSD on a Dell Precision 210?

2006-05-27 Thread Jorn Argelo

Jason Curole wrote:

Hello all,

I am a newbie to FreeBSD, though I currently use Mac OS X and am 
reasonably comfortable with the unix side.  I am trying to install 
FreeBSD on a Dell Precision 210 machine (scrounged it up recently and 
it has a huge hard drive, otherwise I don't know much about it).  I 
have tried installation with FreeBSD Release 6.0 and 6.1 (both the 
full cd and boot-only cd for 6.0; just the boot-only cd for 6.1).  The 
machine boots and I get to the screen where I can select my boot 
option.  I select 5, (boot with detailed messaging) and the machine 
goes through some SMAP messages, a couple of Copyrights and a Free-BSD 
claimer with an email address.  It pauses here for a good 10-15min.  
Then I get messages regarding preloading of elf kernel, mfs_root 
and elf module, followed by tables 'FACP' and 'APIC', MADT: Found 
table at ..., APIC: Using the MADT enumerator, then:


MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
MADT: Found CPU APIC ID 1 ACPI ID 2: disabled

It has remained at this point for at least a half-hour (through lunch, 
etc.), no lights flashing and does not respond to the enter key.  Is 
this normal?  I should mention that between the attempt at installing 
6.0 (about 4 weeks ago) and 6.1 I had installed OpenBSD and it 
appeared to install and work fine, so I think the machine is okay.


Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Try booting with ACPI. ACPI is not only power management; it's also a 
method to talk to hardware. On a Poweredge 1850 I've had problems with 
the second CPU being not detected with an SMP kernel, and it turned out 
that I had to boot with ACPI enabled.


Jorn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: EMC SAN AX100 and FIber channel HBA in freebsd 5.4

2006-05-27 Thread Jorn Argelo

Ratan Dey wrote:

Hi,

Currently i am using freebsd 5.4. We have a local storage system (EMC SAN 
AX100). Now i want to that AX100 as my remote storage system.

I also need fiber channel host adapter card to communicate with AX100.

But i am not sure which fiber channel host adapter is supported in freebsd 5.4
and whether  EMC SAN AX100 can be used as remote storage in freebsd 5.4.

pls give me suggestions in this regard. i am in real trouble.

Rata


-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

http://www.freebsd.org/releases/5.4R/hardware-i386.html

Assuming you're using an x86 platform. Otherwise you'll have to search 
for supported hardware based on your architecture.


Jorn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM Blade

2006-05-27 Thread Jorn Argelo

Steele Burgess wrote:
When is Freebsd going to support the blades. Doesn't make any sense. 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Blades are just servers like any other x86 server as far as I know. I 
don't see why they are not supported.


Jorn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhclient in giant lock after a few days

2006-05-27 Thread Jorn Argelo

Hi all,

My FreeBSD server at home is running natd and ipfw on 6.1-STABLE. So 
it's the router and firewall for me at home. However, after a few days 
the dhclient, used for obtaining an IP address from my ISP (and the 
FreeBSD box gets that external IP address) gets into the giant lock and 
won't come out unless I kill dhclient and restart it again. Note that 
the dhclient runs fine for a few days first. After it comes in the giant 
lock, the functionality doesn't break or anything, it's just unusual 
behavior.


I've been running 6.0 on this box first, where this behavior did not 
appear. However, after upgrading to 6.1-PRERELEASE (this was not 
intended, but that's besides the point) I've been experiencing this. 
Since it was a version before the betas I figured this would be fixed 
with the release of 6.1. However, I still have the same issue after 
upgrading to 6.1-STABLE.


This is a little snapshot from top. And yes, it is constantly the most 
highest process when no HTTP or SMTP traffic passes trough.


last pid:  5339;  load averages:  0.09,  0.06,  
0.01up 9+15:47:15  12:04:13

105 processes: 1 running, 103 sleeping, 1 lock
CPU states: % user, % nice, % system, % interrupt, % 
idle

Mem: 177M Active, 164M Inact, 82M Wired, 26M Cache, 57M Buf, 17M Free
Swap: 935M Total, 280K Used, 934M Free

 PID USERNAME   THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 193 _dhcp1  960  1460K   964K *Giant 172:09  5.57% dhclient


Note that this box has 6 jails with Postfix, Apache, BIND, MySQL and 
stuff like that. Also I'm using the vr(4) drivers for my NICs. Yes, I 
know that they aren't all that great, but that's the only thing I can 
use, since my VIA box doesn't have space for an external NIC.


So if anybody has any advices or ideas, I'd really appreciate it.

Thank you in advance.

Jorn


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


Re: TV Remote Control, Lirc under FreeBSD 6.1

2006-05-27 Thread Evgeny Solovyov

# ls -l /dev/ttyd0
crw---  1 root  wheel0,  53 May 26 23:20 /dev/ttyd0
#
Are you sure you're accessing that as root? Try adding world read 
permissions (and maybe world write permissions if the read permissions 
don't solve your problem) for the device because maybe lirc is being run 
by a secondary daemon user.


Yes, I'm sure.

Ok, i change permissions

# devfs rule apply path ttyd0 mode 0666
# ls -l /dev/ttyd0*
crw-rw-rw-  1 root  wheel   0,  53 May 27 12:25 /dev/ttyd0
crw---  1 root  wheel   0,  54 May 27 11:30 /dev/ttyd0.init
crw---  1 root  wheel   0,  55 May 27 11:30 /dev/ttyd0.lock
#
# irrecord -d /dev/ttyd0 /tmp/lirc.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus([EMAIL PROTECTED])

irrecord: could not open /dev/ttyd0
irrecord: irman_init(): No such file or directory
irrecord: could not init hardware (lircd running ? -- close it, check 
permissions)
#
#
# ps axu|grep lirc   rc
root   4556  0.0  0.0  1476   604  p1  R+   12:42PM   0:00.00 grep lirc
#
# truss irrecord -d /dev/ttyd0 /tmp/lirc.conf
mmap(0x0,3608,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 671576064 
(0x28077000)
munmap(0x28077000,0xe18) = 0 (0x0)
__sysctl(0xbfbfead8,0x2,0x28073998,0xbfbfead4,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
671576064 (0x28077000)
issetugid()  = 0 (0x0)
open(/etc/libmap.conf,0x0,0666)= 3 (0x3)
fstat(3,0xbfbfe1f0)  = 0 (0x0)
read(0x3,0x2807b000,0x1000)  = 3661 (0xe4d)
read(0x3,0x2807b000,0x1000)  = 0 (0x0)
close(3) = 0 (0x0)
open(/var/run/ld-elf.so.hints,0x0,00)  = 3 (0x3)
read(0x3,0xbfbfeaa0,0x80)= 128 (0x80)
lseek(3,0x80,SEEK_SET)   = 128 (0x80)
read(0x3,0x2807e000,0x6c)= 108 (0x6c)
close(3) = 0 (0x0)
mmap(0x0,36864,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
671608832 (0x2807f000)
access(/lib/libc.so.6,0)   = 0 (0x0)
open(/lib/libc.so.6,0x0,00)= 3 (0x3)
fstat(3,0xbfbfeae0)  = 0 (0x0)
read(0x3,0x280728e0,0x1000)  = 4096 (0x1000)
mmap(0x0,884736,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) 
= 671645696 (0x28088000)
mprotect(0x28147000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x28147000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x28148000,20480,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0xc)
 = 672432128 (0x28148000)
mmap(0x2814d000,77824,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672452608 (0x2814d000)
close(3) = 0 (0x0)
sysarch(0xa,0xbfbfeb50)  = 0 (0x0)
mmap(0x0,736,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672530432 
(0x2816)
munmap(0x2816,0x2e0) = 0 (0x0)
mprotect(0x28088000,786432,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mmap(0x0,22208,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672530432 
(0x2816)
munmap(0x2816,0x56c0)= 0 (0x0)
mprotect(0x28088000,786432,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
sigprocmask(0x1,0x28072820,0xbfbfeb20)   = 0 (0x0)
sigprocmask(0x3,0x28072830,0x0)  = 0 (0x0)
open(/tmp/lirc.conf,0x0,0666)  = 3 (0x3)
fstat(3,0xbfbfe5e0)  = 0 (0x0)
readlink(/etc/malloc.conf,0xbfbfe600,63)   ERR#2 'No such file or 
directory'
issetugid()  = 0 (0x0)
mmap(0x0,4096,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
672530432 (0x2816)
break(0x8057000) = 0 (0x0)
break(0x8058000) = 0 (0x0)
read(0x3,0x8057000,0x1000)   = 2406 (0x966)
break(0x8059000) = 0 (0x0)
break(0x805a000) = 0 (0x0)
break(0x805b000) = 0 (0x0)
break(0x805c000) = 0 (0x0)
read(0x3,0x8057000,0x1000)   = 0 (0x0)
close(3) = 0 (0x0)
open(/tmp/lirc.conf.conf,0x601,0666)   = 3 (0x3)
fstat(1,0xbfbfea90)  = 0 (0x0)
ioctl(1,TIOCGETA,0xbfbfead0) = 0 (0x0)

write(1,0x8057000,1) = 1 (0x1)
irrecord -  application for recording IR-codes for usage with lirc
write(1,0x8057000,67)= 67 (0x43)

write(1,0x8057000,1) = 1 (0x1)
Copyright (C) 1998,1999 Christoph Bartelmus([EMAIL PROTECTED])
write(1,0x8057000,63)   

kde applications start segfaulting following kppp use

2006-05-27 Thread Oliver Iberien
I had kppd running for a while when broadband was down, and for the first time 
on my FreeBSD box, the whole system locked up, on occasion. I don't know why 
it was doing this, but usually when Konqueror was trying to load a website 
(once something as innocuous as a Google search).

Now previously stable applications such as kmail and Konqueror will 
occasionally segfault. I'm assuming that this and the kppp period are 
connected, which may or not be true. Any ideas on how to approach this? I was 
thinking of rebuilding kdebase.

Thanks,

Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-27 Thread Chuck Swiger

Shawn wrote:

I'm having a strange problem with cpu usage with my Athlon XP. Every so
often there seems to be a pause where the system comes under heavy
load for no apparent reason. If xmms was playing then I get a buzz sound
and the mouse pointer stops just for a split second, the same with
mplayer and vlc. Using Opera or firefox also seems to have a strange
effect where the mouse pointer freezes while pages load, and if there
is an animated gif on the page the cpu usage goes to 100%.

The jabber client Gajim also makes the cpu get stuck at 100%. When I
used gnome, nautilus did the same thing until i stopped and started the
process in the system monitor. I have searched around and found this
tip from the handbook but it had no effect.


To some extent, that kind of behavior is normal for FreeBSD and most 
other systems which do not make hard or soft real-time guarantees.  
However, there may also be things you can do to improve the situation or 
a legitimate problem to be fixed as well...having the mouse pointer 
freeze implies that interrupts were being blocked or at least the 
Xserver was.  If you're using USB devices, try using a PS/2 mouse 
instead and see whether that makes any difference.


Is the system OK with memory, or are you running low enough to page out 
X, perhaps?  Check top  vmstat -s.
Try increasing the amount of buffer space available to the PCM or 
whatever sound card driver you're using (there's a sysctl or loader.conf 
setting which I forget, but it probably googles)...


--
-Chuck

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


min disk size for (useful) desktop

2006-05-27 Thread Pete C
. . . looking for advice/guidelines for a minimum disk size for a decent 
desktop install of 6-stable with gnome, openoffice, firefox, gimp etc. . 
. .


. . . I have both a 20G and a 250G on hand, so I guess the question 
really is is 20G enough ? ? ?


TIA

Pete C

I love my country, but fear my government.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: min disk size for (useful) desktop

2006-05-27 Thread John Cruz

Pete C wrote:
. . . looking for advice/guidelines for a minimum disk size for a 
decent desktop install of 6-stable with gnome, openoffice, firefox, 
gimp etc. . . .


. . . I have both a 20G and a 250G on hand, so I guess the question 
really is is 20G enough ? ? ?


TIA

Pete C

Peter,

20g is what I would recommend that way you'll have room for the install 
and room to play with. I'm  running apache/samba/kde, the ports system, 
no office stuff though. 6.1 latest release


Here's my df output to give you a better understanding

[EMAIL PROTECTED] df
Filesystem  1K-blocks UsedAvail Capacity  
   Mounted on
/dev/ad0s1a507630   72236   39478415%  
/
devfs   11  0   
   100%/dev
/dev/ad0s1e507630  434   466586 0%
   /tmp

/dev/ad0s1f 16182566  5682340  920562238%   /usr
/dev/ad0s1d   1254862   148820  100565413%  
 /var



~John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to rebuild sendmail independently

2006-05-27 Thread Izwan Mohd

Hello

I wanted to make sendmail to use saslauthd acording to the documentation 
that i have found i have to rebuild the systems sendmail via 
/usr/src/usr.bin/sendmail but when i try to make depend it give me error 
make: don't know how to make alias.c. Stop did i miss something else 
before rebuilding sendmail?


Regards
zuan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cable tester software running under FreeBSD

2006-05-27 Thread simon butsana
Hi,
   
  I am looking for a software that can be used as a cable tester replacement to 
measure, for UTP or FTP cable, physical properties such correct wiring, cable 
length, cable loss, etc.
   
  Any one got an idea?
   
  Simon


-
 Avez-vous essayé le nouveau Yahoo! Mail ? Plus rapide, plus efficace... 
simplement révolutionnaire ! Découvrez-le. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble with server crashing

2006-05-27 Thread Jayesh

Hi,

There are few server which are crashing for no reason. The servers are
running FreeBSD 5.4 Release. To check if the issue was related to h/w we did
change the h/w once. The server is web server with cpanel installed.

The /var/log/messages doesn't have any info regarding the server crash. The
server just gets rebooted.

Please guide me on what all need to be checked so as to resolve the
situation.

--
Jayesh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


namebased VPS using JAIL

2006-05-27 Thread Yudai Yamagishi
Hey,.

I'm trying to serve several VPS for my friends.

But, IP addresses costs too much here in Japan.

So, I only have 1 WAN IP.

I've heard that Virtuozzo let's users create namebased VPS.

For example, I want to create a VPS called vps1.

I'll assign vps1.codebusterz.net as VPS's address.

Then all network traffics for vps1.codebusterz.net will go to vps1.

Same with other VPSs by the way.

Is this possible using JAIL?

Thanks

Yudai Yamagishi

 

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


General Non-critical: FreeBSD media releases

2006-05-27 Thread Justin T. Wert
 

To Whom It May Concern:

  Are there any plans to release a DVD version of all 3 of your
media CDs combined?  I tried searching the web on how to combine the media
into one DVD, but have failed to find a site that has a working method.  My
personal attempts have the same issue, where it asks for disc 2 even
though the files are available on the DVD. Do you know a procedure to do
this correctly, or have DVD release available?

 

 

 

 Thank you in advance,

 

Justin T. Wert

[EMAIL PROTECTED] 

 

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

Re: min disk size for (useful) desktop

2006-05-27 Thread YTResearch
I don't build desktops so I don't know what people normally do for  
swap size but it's good to remember at build time if you have small  
drives. What I think about when sizing a server drive is memory, swap  
and dumps. You didn't mention how much memory you have, but if it's  
large, you may find yourself cramped in 20G due to swap allocation  
and additionally might need to turn crashdumps off. If you take a  
panic it can use a lot of space quickly with say 4GB of memory. Using  
4GB as an example, a default swap configuration coupled with a single  
panic dump saved could consume 12GB of your drive, with a more common  
2GB memory, the same scenario would use 6GB, still a big chunk on a  
20G drive. Though I've never done this, I suppose the swap could be  
reduced from the norm if you are certain you can stay out of a swap  
situation with your RAM. Dumps can be disabled if you are stable  
(look at dumpdev and dumpdir in man rc.conf).


On May 27, 2006, at 7:04 AM, John Cruz wrote:


Pete C wrote:
. . . looking for advice/guidelines for a minimum disk size for a  
decent desktop install of 6-stable with gnome, openoffice,  
firefox, gimp etc. . . .


. . . I have both a 20G and a 250G on hand, so I guess the  
question really is is 20G enough ? ? ?


TIA

Pete C

Peter,

20g is what I would recommend that way you'll have room for the  
install and room to play with. I'm  running apache/samba/kde, the  
ports system, no office stuff though. 6.1 latest release


Here's my df output to give you a better understanding

[EMAIL PROTECTED] df
Filesystem  1K-blocks UsedAvail  
Capacity Mounted on
/dev/ad0s1a507630   72236   394784 
15%  /
devfs   11   
0  100%/dev
/dev/ad0s1e507630  434   466586  
0%   /tmp
/dev/ad0s1f 16182566  5682340  9205622 
38%   /usr
/dev/ad0s1d   1254862   148820  1005654 
13%   /var



~John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


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


Strange things...

2006-05-27 Thread andreas Sotirakopoulos
Hi
I have(?) an internet connetction issue... I have a router connected to a 
windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter 
(Lynksis WUSB54G). It works fine under windows and even if some times the 
signal is lost usually it comes back by either moving the antenna a little or 
by restarting the network configuration tool. In FreeBSD the adapter is 
visible and uses ural0 driver. So if give the command 
ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect to 
the internet or see the windows box. 
Now comes the strange part. if i press ifconfig ural0 i get:

ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT mtu 
1500
inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1
ether 00:12:17:81:88:1a
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
status: associated
ssid linksys channel 11 bssid 00:14:bf:cb:71:32
authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100
but still i cannot connect to web pages or ping hosts.  I use KDE 3.5 and i do 
the following: 
from the Kmenu -settings-internet and Network- Network settings and on the 
card Network interfaces i see that there is only onde availiable interface 
fxp0 dhcp Disabled Ethernet Network Device. I know that this is my ethernet 
onboard card but if i choose Enable Interface i can connect to the 
internet!! I assume that something runs in the background that enables as 
well my wireless card but what is this?
So what's the problem you may ask... the problem is that in case that my 
connection is lost i cannot do anything to get it back up. 

i  have tried dhclient ural0 and nothing happents same with ifconfig ural0 
up...
I have to reboot and do the procudure again and the problem is that it fails 
often if i leave the net for a while... 

Any ideas?
thanks



___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PF spamd : trouble with homemade blacklist

2006-05-27 Thread Peter N. M. Hansteen
Alexis Dorais-Joncas [EMAIL PROTECTED] writes:

 blackl:\
 :black:\
 :msg=SPAM. Your address %A appears in my homemade list of known 
 spammers:\
 :file=/var/mail/blacklist.txt:

This one appears to be missing a :method=file:\ entry. That could be
the source of your problem. See if it makes a difference.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD loader booting xp

2006-05-27 Thread Dave

Hello,
   I've got a machine with multiple hard drives. I've got freebsd on the 
first, now i unfortunately have to put xp on the second. I'm wondering can 
freebsd's loader boot it?

Thanks.
Dave.

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


Compiling Kernel for Computer with 2 CPUs

2006-05-27 Thread Maan Jee

Hi

I have a Companq Professional AP400 with two Pentium III processors. I want
to install FreeBSD on my computer and use it as Web Server.

To make real use of Two Processors, I want to Recompile Kernel but I don't
see any option to compile the kernel in the file as there used to be in old
version such as 5 and 5.4, etc.

Could you advise me that how can I compile my kernel, with which option, so
I could make use of my two processors?

Another thing, is it a good box for running a webserver with mysql-database
or should I buy one?

Thanks

--
BR / mj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD loader booting xp

2006-05-27 Thread Derek Ragona
Sure it can, but it is actually the boot manager that does it.  You will 
get a prompt asking to boot or to boot from the second drive.  On the 
second drive you will get a similar prompt.


If you need to load the boot manager it is in the tools directory on 
FreeBSD releases, it is booteasy.


-Derek

At 11:53 AM 5/27/2006, Dave wrote:

Hello,
   I've got a machine with multiple hard drives. I've got freebsd on the 
first, now i unfortunately have to put xp on the second. I'm wondering 
can freebsd's loader boot it?

Thanks.
Dave.

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Compiling Kernel for Computer with 2 CPUs

2006-05-27 Thread Lukas Razik

Hello!

You need this option/device in your KERNCONF file:
options SMP
device  apic

For better performance comment out SCHED_4BSD:
#options SCHED_4BSD
And take this:
options SCHED_ULE

You could also try these optimizations:
makeoptions COPTFLAGS=-O2 -pipe -funroll-loops -ffast-math

Read this:
http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
http://www.silverwraith.com/papers/freebsd-kernel.php



Another thing, is it a good box for running a webserver with mysql-database
or should I buy one?


Normally it is but it depends on the load...
And more important than the number of CPUs could be the RAM...

Regards,
Lukas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Offtopic] CD art ...

2006-05-27 Thread ajm
On Thu, May 25, 2006 at 02:03:46PM -0500, Mario Oyorzabal Salgado wrote:
 Hi, i'm newbie using freebsd, i like to print the fron, back and cover
 cd, but don't know where can get it, somebody can help me ?
 
 thank's, my freebsd version 5.4 and 6.1 =).
 greetings
 
If you mean the cd jewel box inserts, then you could use from the 
ports
/graphics/gimp for the artwork
and
/graphics/tgif to put it together 
I use tgif to create a template that I fill with my art work.

There is also in the ports, but I have not used it.
/print/kcdlabel
/print/cdlabelgen   (maybe not what you are looking for)
/print/kover

Good Luck...and Welcome to FreeBSD.
-- 
FreeBSD 6.0-RELEASE i386 GENERIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel Panic on FreeBSD 6.1 with Dell PE1850 / 1750

2006-05-27 Thread Mike
Hello,

I got a handful of Dell PE1850 and PE1750 boxes running mail 
scanning that we recently upgraded to FreeBSD 6.1.

It started with a new PE1850 (mx4) that we immediately installed 6.1
on, which started having kernel panics- we initially blamed it
on hardware. But last week, we rebuild a PE1750 (mx6) we've been
running for over a year with FBSD 4.11 without any problems,
and it's crashing now as well.

Are there any known issues with FreeBSD 6.1 on any of the Dell
PE series machines?

Any thoughts would be great,

Mike


Some details:

PE1850
--snip--

FreeBSD mx4 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x5c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer   = 0x28:0xea9b9a98
frame pointer   = 0x28:0xea9b9b28
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 20764 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 10d13h1m4s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786112 pages) 3055 3039 3823 3007 2991

--snip--


PE1750
--snip--

FreeBSD mx6 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address   = 0x5c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer   = 0x28:0xf2791a98
frame pointer   = 0x28:0xf2791b28
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 60007 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 2d16h44m0s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786135 pages) 3055 3039

--snip--



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


phpMyAdmin problem - no Edit/Delete on Browse

2006-05-27 Thread Ian Smith
(originally posted to -database some days ago .. no nibbles)

running 5.4-RELEASE and installed phpMyAdmin 2.6.1.3 with pkg_add -r
(after finding installing from ports wanted to also fetch php4 sources
and heaps of other stuff I already had installed from packages on the
2-CD set).  I'd managed to find and install 5.4-R mysql packages also:

 smithi on paqi% pkg_info | grep -i php\|mysql
 libmcrypt-2.5.7_1   Multi-cipher cryptographic library (used in PHP)
 mysql-client-4.1.10a Multithreaded SQL database (client)
 mysql-server-4.1.10a Multithreaded SQL database (server)
 php4-4.3.10_2   PHP Scripting Language (Apache Module and CLI)
 php4-bz2-4.3.10_2   The bz2 shared extension for php
 php4-gd-4.3.10_2The gd shared extension for php
 php4-mbstring-4.3.10_2 The mbstring shared extension for php
 php4-mcrypt-4.3.10_2 The mcrypt shared extension for php
 php4-mysql-4.3.10_2 The mysql shared extension for php
 php4-openssl-4.3.10_2 The openssl shared extension for php
 php4-pcre-4.3.10_2  The pcre shared extension for php
 php4-zlib-4.3.10_2  The zlib shared extension for php
 phpMyAdmin-2.6.1.3  A set of PHP-scripts to manage MySQL over the web

phpmyadmin basically works fine.  I'd imported my databases from dumps,
and all looked good after a bit of configuration.  However when starting
to do some real work on a couple of databases, I noticed that while
browsing any database, the Edit and Delete options do not appear with
each row, ie I can not update existing records (even as -u root)

I'd suspected permissions, but I can insert new records, add/drop/empty
tables and databases, bookmark queries and all.  The permissions and
ownership of and in /var/db/mysql are the same as my old 4.5-R system.

$cfg['ModifyDeleteAtLeft'] = TRUE; I've also tried adding ...AtRight as
well, but neither show up.  If relevant, I'm using apache-1.3.33_1 and 
mozilla-1.7.7,2 .. all of this is just running on the local machine, so
I'm not at the moment concerned with just security-issue updates.

I haven't been able to find anything in later version change notes or
PRs indicating anything like this problem, and updating to the current
port would require updating php, mysql, expat and even xorg versions,
which is just not doable over a 28.8k modem connection I'm afraid, so
the 'usual' answer of cvsuping and updating everything is not helpful;
in any case I suspect this is more likely a maybe subtle config issue?

Any clues folks?

cheers, Ian

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


Re: Kernel Panic on FreeBSD 6.1 with Dell PE1850 / 1750

2006-05-27 Thread Jorn Argelo

Mike wrote:

Hello,

I got a handful of Dell PE1850 and PE1750 boxes running mail 
scanning that we recently upgraded to FreeBSD 6.1.


It started with a new PE1850 (mx4) that we immediately installed 6.1
on, which started having kernel panics- we initially blamed it
on hardware. But last week, we rebuild a PE1750 (mx6) we've been
running for over a year with FBSD 4.11 without any problems,
and it's crashing now as well.

Are there any known issues with FreeBSD 6.1 on any of the Dell
PE series machines?

Any thoughts would be great,

Mike


Some details:

PE1850
--snip--

FreeBSD mx4 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x5c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer   = 0x28:0xea9b9a98
frame pointer   = 0x28:0xea9b9b28
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 20764 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 10d13h1m4s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786112 pages) 3055 3039 3823 3007 2991

--snip--


PE1750
--snip--

FreeBSD mx6 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address   = 0x5c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer   = 0x28:0xf2791a98
frame pointer   = 0x28:0xf2791b28
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 60007 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 2d16h44m0s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786135 pages) 3055 3039

--snip--



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I am running 6.1-STABLE on a Dell PE 1850 very smoothly actually. The 
machine is rock-solid and a constant load of 5-10. Can you give me a 
dmesg output? Maybe the hardware isn't identical to the setup we have, 
or maybe something isn't right in your kernel config.


Jorn

Jorn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Script to organize passwd and group

2006-05-27 Thread Atom Powers

On 5/27/06, Kyrre Nygard [EMAIL PROTECTED] wrote:


Hello!

I was wondering if anybody out there share the same need as I do
to better organize /etc/passwd and /etc/group.



I've never considered this necissary. I consider the passwd, group
files to be fairly black box lists. I almost never edit them
manually, that's what the system scripts are for; like 'pw'. And once
you move to a more abstract user management system, like a directory
service, you really have no need to order the lists.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Panic on FreeBSD 6.1 with Dell PE1850 / 1750

2006-05-27 Thread Mike
 Mike wrote:
  Hello,
 
  I got a handful of Dell PE1850 and PE1750 boxes running mail
  scanning that we recently upgraded to FreeBSD 6.1.
 
  It started with a new PE1850 (mx4) that we immediately installed 6.1
  on, which started having kernel panics- we initially blamed it
  on hardware. But last week, we rebuild a PE1750 (mx6) we've been
  running for over a year with FBSD 4.11 without any problems,
  and it's crashing now as well.
 
  Are there any known issues with FreeBSD 6.1 on any of the Dell
  PE series machines?
 
  Any thoughts would be great,
 
  Mike
 
 
  Some details:
 
  PE1850
  --snip--
 
  FreeBSD mx4 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT
2006
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386
 
  Fatal trap 12: page fault while in kernel mode
  cpuid = 0; apic id = 00
  fault virtual address = 0x5c
  fault code = supervisor read, page not present
  instruction pointer = 0x20:0xc072dbda
  stack pointer = 0x28:0xea9b9a98
  frame pointer = 0x28:0xea9b9b28
  code segment = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
  processor eflags = interrupt enabled, resume, IOPL = 0
  current process = 20764 (exim-4.60-1)
  trap number = 12
  panic: page fault
  cpuid = 0
  Uptime: 10d13h1m4s
  Dumping 3071 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 3071MB (786112 pages) 3055 3039 3823 3007 2991
 
  --snip--
 
 
  PE1750
  --snip--
 
  FreeBSD mx6 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT
2006
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386
 
  Fatal trap 12: page fault while in kernel mode
  cpuid = 2; apic id = 06
  fault virtual address = 0x5c
  fault code = supervisor read, page not present
  instruction pointer = 0x20:0xc072dbda
  stack pointer = 0x28:0xf2791a98
  frame pointer = 0x28:0xf2791b28
  code segment = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
  processor eflags = interrupt enabled, resume, IOPL = 0
  current process = 60007 (exim-4.60-1)
  trap number = 12
  panic: page fault
  cpuid = 2
  Uptime: 2d16h44m0s
  Dumping 3071 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 3071MB (786135 pages) 3055 3039
 
  --snip--
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 I am running 6.1-STABLE on a Dell PE 1850 very smoothly actually. The
 machine is rock-solid and a constant load of 5-10. Can you give me a
 dmesg output? Maybe the hardware isn't identical to the setup we have,
 or maybe something isn't right in your kernel config.

 Jorn

 Jorn
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

Sure- from the PE1850

--snip--

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3151040512 (3005 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
kbd1 at kbdmux0
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
amr0: LSILogic MegaRAID 1.53 mem
0xf80f-0xf80f,0xfe9e-0xfe9f irq 46 at device 14.0 on pci2
amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4e/Si 

Re: min disk size for (useful) desktop

2006-05-27 Thread Micah

Pete C wrote:
. . . looking for advice/guidelines for a minimum disk size for a decent 
desktop install of 6-stable with gnome, openoffice, firefox, gimp etc. . 
. .


. . . I have both a 20G and a 250G on hand, so I guess the question 
really is is 20G enough ? ? ?


TIA

Pete C

I love my country, but fear my government.


On my desktop system I'm using ~18G of a 30G slice for the system, home, 
swap, ports+distfile, digital photo album, etc. I'm running KDE, 
openoffice, firefox, gimp, java, and who knows what else (there are 436 
packages currently installed).


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Panic on FreeBSD 6.1 with Dell PE1850 / 1750

2006-05-27 Thread Jorn Argelo

Mike wrote:

Mike wrote:


Hello,

I got a handful of Dell PE1850 and PE1750 boxes running mail
scanning that we recently upgraded to FreeBSD 6.1.

It started with a new PE1850 (mx4) that we immediately installed 6.1
on, which started having kernel panics- we initially blamed it
on hardware. But last week, we rebuild a PE1750 (mx6) we've been
running for over a year with FBSD 4.11 without any problems,
and it's crashing now as well.

Are there any known issues with FreeBSD 6.1 on any of the Dell
PE series machines?

Any thoughts would be great,

Mike


Some details:

PE1850
--snip--

FreeBSD mx4 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT
  

2006
  

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x5c
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer = 0x28:0xea9b9a98
frame pointer = 0x28:0xea9b9b28
code segment = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 20764 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 10d13h1m4s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786112 pages) 3055 3039 3823 3007 2991

--snip--


PE1750
--snip--

FreeBSD mx6 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT
  

2006
  

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP  i386

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address = 0x5c
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc072dbda
stack pointer = 0x28:0xf2791a98
frame pointer = 0x28:0xf2791b28
code segment = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 60007 (exim-4.60-1)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 2d16h44m0s
Dumping 3071 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3071MB (786135 pages) 3055 3039

--snip--



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
  

[EMAIL PROTECTED]
  

I am running 6.1-STABLE on a Dell PE 1850 very smoothly actually. The
machine is rock-solid and a constant load of 5-10. Can you give me a
dmesg output? Maybe the hardware isn't identical to the setup we have,
or maybe something isn't right in your kernel config.

Jorn

Jorn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to


[EMAIL PROTECTED]

Sure- from the PE1850

--snip--

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Mon May 15 18:55:30 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/U_GENERIC_SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3151040512 (3005 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
kbd1 at kbdmux0
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
amr0: LSILogic MegaRAID 1.53 mem
0xf80f-0xf80f,0xfe9e-0xfe9f irq 46 at device 14.0 on pci2
amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4e/Si Firmware 521X, BIOS H430, 256MB RAM
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
pci3: ACPI PCI 

Re: Maple 8 on FreeBSD with Diablo

2006-05-27 Thread Henry Lenzi

Hi Albert --

Thank you for your tip. It will definetly help, I think, because I
did manage to install Maple 8 on Ubuntu.

I had already contacted my local Maple reseller in Brazil and
thanfully I read your tip:


NB: Don't buy Maple-10, it's not working on 5.2/5.4/6.1



Thanks very much.

Henry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bringing down and interface when system start

2006-05-27 Thread Imran Imtiaz
how can I bring down (disable) a network interface after the system start? what 
would I've to type in /etc/rc.conf file?

regards,
Imran Imtiaz

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


Scanner Canon Canoscan Lide 60 not found.

2006-05-27 Thread FreeBSD User Giacomo
Hi,
I have a problem with the scanner Canoscan Lide 60 with FreeBSD 6.1. 
This is sopported in sane but scanimage -L not find it.
If I try whith sane-find-scanner I read:
---
searching for USB scanners:
checking /dev/uscanner... failed to open (Invalid argument)
checking /dev/uscanner0... failed to open (Invalid argument)
checking /dev/uscanner1... failed to open (Invalid argument)
checking /dev/uscanner2... failed to open (Invalid argument)
checking /dev/uscanner3... failed to open (Invalid argument)
checking /dev/uscanner4... failed to open (Invalid argument)
checking /dev/uscanner5... failed to open (Invalid argument)
checking /dev/uscanner6... failed to open (Invalid argument)
checking /dev/uscanner7... failed to open (Invalid argument)
checking /dev/uscanner8... failed to open (Invalid argument)
checking /dev/uscanner9... failed to open (Invalid argument)
checking /dev/uscanner10... failed to open (Invalid argument)
checking /dev/uscanner11... failed to open (Invalid argument)
checking /dev/uscanner12... failed to open (Invalid argument)
checking /dev/uscanner13... failed to open (Invalid argument)
checking /dev/uscanner14... failed to open (Invalid argument)
checking /dev/uscanner15... failed to open (Invalid argument)
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], 
chip=GL841) at libusb:/dev/usb4:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done
---
I try to enable the usbd at startup but where isn't change.
In FreBSD 6.0 I was succeed to use this scanner upgrading the sane-backend and
xsane version.  
Thanks.
Regard.
-- 
Isaia Luciano
FreeBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bringing down and interface when system start

2006-05-27 Thread Atom Powers

On 5/27/06, Imran Imtiaz [EMAIL PROTECTED] wrote:

how can I bring down (disable) a network interface after the system start? what 
would I've to type in /etc/rc.conf file?



Do you mean disable it completely, or do you need to run some network
apps and then disable it?

To disable an interface completely put something like this in rc.conf:
--
ifconfig_interface=down
--
or just leave it out altogeather.

Otherwise you will probably have to have your script do it's thing and
then disable the network, with ifconfig interface down.


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing Apsfilter

2006-05-27 Thread Gerard Seibert
Trying to install Apsfilter, I encountered a problem. It seems that it
requires print/acroread7 which is an interactive port. Reading the
Makefile on acroread7, it seems I have to go to
http://www.adobe.com/products/acrobat/distribute.html and fill out a
form, wait a few days to see if I am approved, and then what?

Is this really necessary? Is there some way around this? If I follow
through with this scenario, what happens? Do I get a special code or
file to install that will allow me to install the port just so I can get
apsfilter installed?

Thanks!
-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: diablo-jdk vs jdk1.5

2006-05-27 Thread Marc G. Fournier

On Wed, 24 May 2006, Norberto Meijome wrote:


Hi all,
2 questions re. JDK 1.5 :
- is .15 considered now stable? ( I remember reading that it was still
considered alpha quality, but i cant see that notice anymore).

- re. diablo-jdk : Other than the obvious advange of precompiled package
(already done for me, SUN certified) , is there other advantage to using
diablo-jdk instead of building my own?
And, in the same vein, any caveats I should keep in mind when using diablo-jdk
instead of jdk-1.5?


My understanding is that the precompiled package performs better then the 
one you build from ports, *but* ... I don't know why ...


On my 6-STABLE machine, to get Azureus to work properly, I had to add the 
following to /etc/libmap.conf:


[/usr/local/diablo-jdk1.5.0/]
libpthread.so   libc_r.so
libpthread.so.2 libc_r.so.6

else it just didn't work ...

Beyond that, I've been using the precompiled one and been most happy with 
it ...




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-27 Thread Xavier Chantry
On Sat, May 27, 2006 at 01:14:13AM +0100, Shawn wrote:
 I'm having a strange problem with cpu usage with my Athlon XP. Every so
 often there seems to be a pause where the system comes under heavy
 load for no apparent reason. If xmms was playing then I get a buzz sound
 and the mouse pointer stops just for a split second, the same with
 mplayer and vlc. Using Opera or firefox also seems to have a strange
 effect where the mouse pointer freezes while pages load, and if there
 is an animated gif on the page the cpu usage goes to 100%.
 
 The jabber client Gajim also makes the cpu get stuck at 100%. When I
 used gnome, nautilus did the same thing until i stopped and started the
 process in the system monitor. I have searched around and found this
 tip from the handbook but it had no effect.
 
 hint.apic.0.disabled=1 in /boot/loader.conf
 
 This happens with the generic kernel and the one i compiled for myself.
 It also lasts for a random amount of time, sometimes it is barely
 noticeable and sometimes it happens for over a second. Running
 neverwinter nights makes the system pause for 10-20 seconds seemingly
 randomly.
 

My system behaves much better than that, I've no mouse freeze and no
system pauses, but I did have occasonial sound skips using 4bsd on 6.1.
Switching to the ULE scheduler seems to fix this problem, but other
things may behave worse.
One year ago, it was actually the opposite, sound in ULE was really
jerky, and mouse pointer too while eg launching an app.
Did you already try both schedulers ?

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


Re: min disk size for (useful) desktop

2006-05-27 Thread RW
On Saturday 27 May 2006 14:52, Pete C wrote:
 . . . looking for advice/guidelines for a minimum disk size for a decent
 desktop install of 6-stable with gnome, openoffice, firefox, gimp etc. .

Just in case you are not aware,   6-stable is development branch.


 . . . I have both a 20G and a 250G on hand, so I guess the question
 really is is 20G enough ? ? ?

Probably, if you're not going to store a lot of  user files. One caveat: 
openoffice requires about 9GB of temporary filespace to build from source, 
and recent binary packages are often hard to find.

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


namebased VPS using JAIL

2006-05-27 Thread Yudai Yamagishi
Hey,

I'm trying to serve several VPS for my friends.

But, IP addresses costs too much here in Japan.

So, I only have 1 WAN IP.

I've heard that Virtuozzo let's users create namebased VPS.

For example, I want to create a VPS called vps1.

I'll assign vps1.codebusterz.net as VPS's address.

Then all network traffics for vps1.codebusterz.net will go to vps1.

Same with other VPSs by the way.

Is this possible using JAIL?

Thanks

Yudai Yamagishi

 

 

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


what is the use of drm_os_freebsd.h

2006-05-27 Thread william wallace

hi ,all
 I am porting something from linux to freebsd ,i found the
DataTypes hard to translate ,then i saw that many types inlinux can be
found in drm_os_freebsd.h,such as
typedef int8_ts8;
typedef int16_t   s16;
typedef int32_t   s32;
typedef u_int8_t  u8;
typedef u_int16_t u16;
typedef u_int32_t u32;

so ,what is the use of  drm_os_freebsd.h
and any advice for me to translate DT from linux to Freebsd?

--
we who r about to die,salute u!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configuring local network for Apache22

2006-05-27 Thread Malcolm Fitzgerald
I'm running a small network behind an ADSL router and one of the machines runs 
freeBSD 6.0-SECURITY. I'd like to configure it to run apache22. Apache fails 
to start and gives this error.

[Sat May 27 18:49:28 2006] [alert] (EAI 8)hostname nor servname provided, or 
not known: mod_unique_id: unable to find IPv4 address of bsd-box.

How do I configure Web searches suggest three possibilities

1.  that this is a problem with DNS, edit  /etc/hosts

I've got this line in /etc/hosts
127.0.0.1 localhost localhost.home.net  bsd-box.home.net bsd-box

2.  Apache is listening to devices that don't exist - I don't know how to 
explore that suggestion.

3.  If your host doesn't have a registered DNS name, enter its IP address in 
httpd.conf

I have this line in httpd.conf
ServerName 127.0.0.1



-- 

malcolm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: min disk size for (useful) desktop

2006-05-27 Thread Parv
in message [EMAIL PROTECTED], wrote Pete C
thusly...

 looking for advice/guidelines for a minimum disk size for a decent
 desktop install of 6-stable with gnome, openoffice, firefox, gimp
 etc. . 
...
 I have both a 20G and a 250G on hand, so I guess the question
 really is is 20G enough ? ? ?

20GB disk should be enough unless you are going to build everything
that you need from source in one go without cleaning in bewteen.


  - Parv

-- 

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


Re: Strange pauses and cpu usage - FreeBSD 6.1

2006-05-27 Thread Kris Kennaway
On Sun, May 28, 2006 at 02:18:36AM +0200, Xavier Chantry wrote:
 On Sat, May 27, 2006 at 01:14:13AM +0100, Shawn wrote:
  I'm having a strange problem with cpu usage with my Athlon XP. Every so
  often there seems to be a pause where the system comes under heavy
  load for no apparent reason. If xmms was playing then I get a buzz sound
  and the mouse pointer stops just for a split second, the same with
  mplayer and vlc. Using Opera or firefox also seems to have a strange
  effect where the mouse pointer freezes while pages load, and if there
  is an animated gif on the page the cpu usage goes to 100%.
  
  The jabber client Gajim also makes the cpu get stuck at 100%. When I
  used gnome, nautilus did the same thing until i stopped and started the
  process in the system monitor. I have searched around and found this
  tip from the handbook but it had no effect.
  
  hint.apic.0.disabled=1 in /boot/loader.conf
  
  This happens with the generic kernel and the one i compiled for myself.
  It also lasts for a random amount of time, sometimes it is barely
  noticeable and sometimes it happens for over a second. Running
  neverwinter nights makes the system pause for 10-20 seconds seemingly
  randomly.
  
 
 My system behaves much better than that, I've no mouse freeze and no
 system pauses, but I did have occasonial sound skips using 4bsd on 6.1.
 Switching to the ULE scheduler seems to fix this problem, but other
 things may behave worse.
 One year ago, it was actually the opposite, sound in ULE was really
 jerky, and mouse pointer too while eg launching an app.
 Did you already try both schedulers ?

Check for interrupt sharing with vmstat -i.  Shared interrupts cause
performance loss especially if it's sharing with a giant-locked driver
like USB.

Kris


pgpXJ7A2ZEJuR.pgp
Description: PGP signature


Re: Configuring local network for Apache22

2006-05-27 Thread Garrett Cooper

Malcolm Fitzgerald wrote:
I'm running a small network behind an ADSL router and one of the machines runs 
freeBSD 6.0-SECURITY. I'd like to configure it to run apache22. Apache fails 
to start and gives this error.


[Sat May 27 18:49:28 2006] [alert] (EAI 8)hostname nor servname provided, or 
not known: mod_unique_id: unable to find IPv4 address of bsd-box.


How do I configure Web searches suggest three possibilities

1.  that this is a problem with DNS, edit  /etc/hosts

I've got this line in /etc/hosts
127.0.0.1 localhost localhost.home.net  bsd-box.home.net bsd-box

2.  Apache is listening to devices that don't exist - I don't know how to 
explore that suggestion.


3.  If your host doesn't have a registered DNS name, enter its IP address in 
httpd.conf


I have this line in httpd.conf
ServerName 127.0.0.1
  
   Simplest means of correcting this would be to add your static IP (if 
one existed) for your server box on the network to your /etc/hosts file 
and then change Servname to match bsd-box.
   The more complex (but probably better means), would be to setup a 
DNS server (look up bind9 for this) and then just make sure that 
Servname matches your machine's DNS assigned hostname.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]