volumes crash on reboot [was Re: clearing Vinum configurations]

2003-10-16 Thread aarong
After some extensive testing, I've come to the conclusion that Vinum 
refuses to create any type of volume on the drive I'm having trouble 
with. I'll create any number of volumes and/or additional plexes on the 
second drive in the system successfully, only to have all the volumes 
or plexes that reside on the second drive crash on reboot. Vinum's logs 
in /var/log/vinum_history aren't very helpful nor are any of the other 
debugging techniques listed in the vinum debug howto.

What I have not been able to find is a way to understand why Vinum 
declares a volume crashed or a plex faulty. I've initialized and 
reinitialized the second drive until I was blue in the face; creating 
filesystems and fsck'ing them; copying large amounts of to arbitrarily 
created slices all without incident. Only Vinum has a problem with the 
second drive, and only upon a reboot of the machine. I've had no issue 
adding plexes to existing volumes and mirroring them.

/var/log/vinum_history is filled with vinum started, list, 
dumpconfig, start usr.p1, and quit messages - nothing descriptive 
of interest. The same goes for vinum list output, as well as dd'ing 
the sixth sector on both drives. This is a remote box without 
-DVINUMDEBUG built and such a procedure is far too prohibitive; it's 
already taken a week to find a competent tech at the datacenter to work 
with Vinum and another week to teach him how to setup a bootable Vinum 
volume. Needless to say we're far behind schedule. As much as I'd like 
to mirror things and leave it at that, it worries me greatly that 
something could be physically wrong with the second hard drive and this 
software RAID 1 setup is only giving my client a false sense of 
security. I'll need some sort of concrete evidence to ask for a new 
hard drive to be installed.

The first drive, known to Vinum as alpha, is ad0 and has four perfect 
volumes which the system runs off of. The second drive, known to Vinum 
as beta, is the slave on the secondary channel and hence is device 
ad3. I'm almost sure this has no relevance but as you can tell I'm 
completely lost. Both are identical in model, revision, and size.

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


Fatal trap 12

2003-10-16 Thread Chris Readle
Hi all,

New to FBSD, and in the process of moving my Linux/Windows PC to
FBSD/Windows.

I got two spontaneous reboots last night (the first times it happened) and
I got fatal trap 12s in /var/log/messages each time.  I wasn't doing
anything too heavy, just a make index  make readmes on my ports,
listening to some music through XMMS and browsing the web via Mozilla.

I searched the archives and the FAQ.  I haven't built a debugging kernel
yet, but I thought I would post the info I have in the hopes that someone
might be able to help.

I did do an nm - n on the kernel, however.

uname -a:
FreeBSD creadle.oc.cox.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #4: Wed
Oct 15 08:55:21 PDT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CREADLE  i386

/var/log/messages:
Oct 14 21:45:23 creadle /kernel: Fatal trap 12: page fault while in kernel
mode
Oct 14 21:45:23 creadle /kernel: fault virtual address  = 0xbfca02c8
Oct 14 21:45:23 creadle /kernel: fault code = supervisor read,
page not present
Oct 14 21:45:23 creadle /kernel: instruction pointer= 0x8:0xc028fe83
Oct 14 21:45:23 creadle /kernel: stack pointer  = 0x10:0xd2cfbcf8
Oct 14 21:45:23 creadle /kernel: frame pointer  = 0x10:0xd2cfbd08
Oct 14 21:45:23 creadle /kernel: code segment   = base 0x0, limit
0xf, type 0x1b
Oct 14 21:45:23 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
Oct 14 21:45:23 creadle /kernel: processor eflags   = interrupt
enabled, resume, IOPL = 0
Oct 14 21:45:23 creadle /kernel: current process= 73961
(sh)
Oct 14 21:45:23 creadle /kernel: interrupt mask = net tty bio cam
Oct 14 21:45:23 creadle /kernel: trap number= 12
Oct 14 21:45:23 creadle /kernel: panic: page fault

nm -n:
creadle# nm -n /kernel | grep c028fe8
c028fe88 T pmap_ts_referenced
creadle# nm -n /kernel | grep c028fe
c028fe7c T pmap_phys_address
c028fe88 T pmap_ts_referenced

I did two because I thought it was odd that the first one came up with a
higher address than the actual pointer.

Any good suggestions?

chris


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hrm...didn't check the second trap

2003-10-16 Thread Chris Readle
The second trap has a somewhat different instruction pointer so I'll
include its info here.

/var/log/messages:
Oct 14 21:58:56 creadle /kernel: Fatal trap 12: page fault while in kernel
mode
Oct 14 21:58:56 creadle /kernel: fault virtual address  = 0xe5d0
Oct 14 21:58:56 creadle /kernel: fault code = supervisor read,
page not present
Oct 14 21:58:56 creadle /kernel: instruction pointer= 0x8:0xc022c2a0
Oct 14 21:58:56 creadle /kernel: stack pointer  = 0x10:0xd2bece7c
Oct 14 21:58:56 creadle /kernel: frame pointer  = 0x10:0xd2bece84
Oct 14 21:58:56 creadle /kernel: code segment   = base 0x0, limit
0xf, type 0x1b
Oct 14 21:58:56 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
Oct 14 21:58:56 creadle /kernel: processor eflags   = interrupt
enabled, resume, IOPL = 0
Oct 14 21:58:56 creadle /kernel: current process= 63481
(sh)
Oct 14 21:58:56 creadle /kernel: interrupt mask = none
Oct 14 21:58:56 creadle /kernel: trap number= 12
Oct 14 21:58:56 creadle /kernel: panic: page fault

nm -n:
creadle# nm -n /kernel | grep c022c2a0
creadle# nm -n /kernel | grep c022c2a
creadle# nm -n /kernel | grep c022c2
c022c250 T vm_page_unqueue_nowakeup
c022c298 T vm_page_unqueue

Sorry I didn't include this in the other message.

chris



__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: volumes crash on reboot [was Re: clearing Vinum configurations]

2003-10-16 Thread Greg 'groggy' Lehey
On Wednesday, 15 October 2003 at 23:14:18 -0700, aarong wrote:
 After some extensive testing, I've come to the conclusion that Vinum
 refuses to create any type of volume on the drive I'm having trouble
 with. I'll create any number of volumes and/or additional plexes on the
 second drive in the system successfully, only to have all the volumes
 or plexes that reside on the second drive crash on reboot. Vinum's logs
 in /var/log/vinum_history aren't very helpful nor are any of the other
 debugging techniques listed in the vinum debug howto.

If you don't show them to me, I can't comment.

 /var/log/vinum_history is filled with vinum started, list,
 dumpconfig, start usr.p1, and quit messages - nothing
 descriptive of interest.

They would tell me the sequence of what you've done.

 The same goes for vinum list output, as well as dd'ing
 the sixth sector on both drives.

I suppose you mean the 8th.  But dumpconfig is more useful.

 This is a remote box without -DVINUMDEBUG built and such a procedure
 is far too prohibitive;

Why?  But there's no obvious need for it yet.

 it's already taken a week to find a competent tech at the datacenter
 to work with Vinum and another week to teach him how to setup a
 bootable Vinum volume. Needless to say we're far behind schedule. As
 much as I'd like to mirror things and leave it at that, it worries
 me greatly that something could be physically wrong with the second
 hard drive and this software RAID 1 setup is only giving my client a
 false sense of security. I'll need some sort of concrete evidence to
 ask for a new hard drive to be installed.

I don't think it's the drive.

 The first drive, known to Vinum as alpha, is ad0 and has four
 perfect volumes which the system runs off of. The second drive,
 known to Vinum as beta, is the slave on the secondary channel and
 hence is device ad3. I'm almost sure this has no relevance but as
 you can tell I'm completely lost. Both are identical in model,
 revision, and size.

If I could get a look at the log output, I might be able to help more.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: building error on xmule

2003-10-16 Thread Augusto Jun Devegili
IIRC, using gmake instead of make will do it.

Boa sorte. :)

Augusto

On Thu, 2003-10-16 at 00:02, Márcio Conceição Goulart wrote:
 I tried to compile xmule-1.6.1 from the source and get this error:
 
 make: Cannot allocate memory
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1/src.
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1.
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1.
 
 I've never saw this kind of error Cannot allocate memory. I closed all 
 other aplications, including X11 and i got the same error again.
 Does anyone possibly knows what can it be?
 
 sorry for my bad english.
 Thanks in advance,
 
 Marcio C. Goulart
 ([EMAIL PROTECTED])


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


Re: XFree86 woes

2003-10-16 Thread Rod Person
On Thursday 16 October 2003 03:54 am, Matthias Pirstitz wrote:
 Hi all,

 I'm new to FreeBSD, so please bear with me :)

 I have a Fujitsu Amilo-D notebook with a Radeon Mobility M9 card, and
 when I try to start X, it crashes with Caught signal 11.  Server
 aborting.

 There are no other error messages, only the following warning:
 RADEON(0): Bad V_BIOS checksum.

 I tried both FreeBSD 5.1 and 4.8.

I'm using a ATI Mobility Radeon on FreeBSD 5.1. I've had no problems at all.
What drive are you using in XF86Config, the 'ati' or the 'radeon'.

-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st

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


Re: volumes crash on reboot [was Re: clearing Vinum configurations]

2003-10-16 Thread aarong
This is one of the tests I referred to previously. Whether its a new 
volume, or adding plexes to existing volumes, everything will run 
flawlessly but always crash on reboot.

On Thursday, October 16, 2003, at 12:46  AM, Greg 'groggy' Lehey wrote:

If I could get a look at the log output, I might be able to help more.

/var/log/vinum_history

17 Oct 2003 08:22:22.021296 *** vinum started ***
17 Oct 2003 08:22:22.021772 create /vinum.mirror
drive beta device /dev/ad3s1h
volume test
 plex org concat
  sd len 2096871s   driveoffset 265s drive beta
17 Oct 2003 08:22:22.042498 *** Created devices ***
17 Oct 2003 08:24:44.403984 *** vinum started ***
17 Oct 2003 08:24:44.834473 list
17 Oct 2003 08:25:18.116163 quit
17 Oct 2003 08:32:27.162223 *** vinum started ***
17 Oct 2003 08:32:27.645296 list
17 Oct 2003 08:32:35.392082 setstate down beta
17 Oct 2003 08:32:36.381039 list
17 Oct 2003 08:32:40.066786 rm test
17 Oct 2003 08:32:44.214574 rm -f test
17 Oct 2003 08:32:49.816445 rm test.p0
17 Oct 2003 08:32:52.899572 rm -f test.p0
17 Oct 2003 08:32:53.909518 list
17 Oct 2003 08:32:59.028205 rm test.p0.s0
17 Oct 2003 08:33:00.196346 list
17 Oct 2003 08:33:01.629912 rm test
17 Oct 2003 08:33:02.713532 list
17 Oct 2003 08:33:08.513501 dumpconfig
17 Oct 2003 08:33:16.654702 quit
rough extract from /var/log/messages

Oct 17 08:45:16 santosfc /kernel: Mounting root from ufs:/dev/vinum/root
Oct 17 08:46:13 santosfc su: aarong to root on /dev/ttyp0
Oct 17 09:04:29 santosfc /kernel: vinum: drive beta is up
Oct 17 09:04:29 santosfc /kernel: vinum: test.p0.s0 is reborn
Oct 17 09:04:29 santosfc /kernel: vinum: test.p0 is flaky
Oct 17 09:04:29 santosfc /kernel: vinum: test is up
Oct 17 09:04:29 santosfc /kernel: vinum: Can't open drive without drive 
name
Oct 17 09:06:50 santosfc /kernel: vinum: drive beta is up
Oct 17 09:06:50 santosfc /kernel: vinum: test.p0 is faulty
Oct 17 09:06:50 santosfc /kernel: vinum: test is down
Oct 17 09:19:32 santosfc /kernel: vinum: test is down
Oct 17 09:32:39 santosfc /kernel: vinum: removing test.p0.s0
Oct 17 09:32:39 santosfc /kernel: vinum: test.p0 is up
Oct 17 09:32:39 santosfc /kernel: vinum: test is up
Oct 17 09:33:59 santosfc /kernel: vinum: removing test.p0
Oct 17 09:33:59 santosfc /kernel: vinum: test is down
Oct 17 09:34:03 santosfc /kernel: vinum: removing test
Oct 17 09:35:24 santosfc shutdown: reboot by aarong:

I don't have a vinum l listing but can regenerate one if needed.

Regards,
-aarong
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original 
recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
mime-attachment
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cross-compiling Linux apps on FreeBSD

2003-10-16 Thread Matthew Seaman
On Wed, Oct 15, 2003 at 05:27:45PM -0400, C. Ulrich wrote:
 On Tue, 2003-10-14 at 20:38, Kris Kennaway wrote:
  On Tue, Oct 14, 2003 at 08:04:24PM -0400, C. Ulrich wrote:

   My conundrum is this: I want to be able to use a Java (and perhaps
   Flash) plugin with Firebird on my FreeBSD workstation. From what I
   understand, a native FreeBSD Java web browser plugin doesn't quite exist
   and isn't likely to in the near future.
  
  That's incorrect..there are several.
 
 Hrm. After doing some looking around on the mailing lists, I was under
 the assumption that there weren't or that they were unusable. I'd
 greatly appreciate it if you could point me to them. Thanks!

If you install any of java/jdk13 java/jdk14 java/diablo-jre13 or
java/diablo-jdk13 you will find at least:

${JAVA_HOME}/jre/plugin/i386/ns600/libjavaplugin_oji.so
${JAVA_HOME}/jre/plugin/i386/ns600/libjavaplugin_oji_g.so

[The latest jdk14 port also has:

${JAVA_HOME}/jre/plugin/i386/ns610/libjavaplugin_oji.so
${JAVA_HOME}/jre/plugin/i386/ns610_g/libjavaplugin_oji_g.so
]

Choose which JDK/JRE you want, and whichever version of the plugin you
prefer -- the '_g' suffix means unstripped, debug code included -- and
make a sym-link to it from /usr/X11R6/lib/browser_plugins:

# cd /usr/X11R6/lib/browser_plugins
# ln -s ${JAVA_HOME}/jre/plugin/i386/ns610/libjavaplugin_oji.so .

(Note that the java/jdk13 and java/jdk14 ports require you to jump
through hoops in order to download the source code in order to comply
with Sun's licensing terms.  They're also fairly huge compilation jobs
to install them.)

If you install or re-install mozilla and you have the java/jdk13 port
already installed it will create such a symlink automatically.

Anyhow, fire up mozilla and check that it has registered the plugin
using the 'about:plugins' URL.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: FreeBSD 5.1 can't recognize /dev/psm0

2003-10-16 Thread Mailing Lists Catcher
On some of my systems I have found USB or other hardware being disabled
in BIOS.  Check to be sure its enabled before you spend too much time
digging in FBSD as I did once.

Also might want to have a look at how your emailer is addressing the
from block for you.  I would think that some spam filters might have an
issue with underscores used as your name.

Jason

On Sat, 2003-10-11 at 19:05,   wrote:
Hello! Sorry, i have a trouble with /dev/psm0 my system can't
see it! I've added (device psm) in my KERNEL but nothing happens!
System doesn't see psm also when i do dmesg!
Please help me if you can.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: floppy

2003-10-16 Thread Florin Betivoiu
Jamie [EMAIL PROTECTED] wrote:

On Thu, 9 Oct 2003, [iso-8859-1] Florin Betivoiu wrote:


 Hello.
 I am trying to mount a floppy. Don't know what is it that I do wrong,
 cause it doens't work... I have asked for help before, even here, but the
 problem still is not solved :( .

 I am using FreeBSD 5.1-RELEASE. The same happend with 5.0-RELEASE, but with FreeBSD 
 4.8-RELEASE, floppy worked ok.

 This is my uname:
 FreeBSD pony 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Sep 24 21:40:11 EEST 2003 
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/PONY i386

 This is what I can see in dmesg:
 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0

 This is what mount says:
 [EMAIL PROTECTED] mount -t msdosfs /dev/fd0 /mnt/
 msdosfs: /dev/fd0: Input/output error

 The first time I asked for help, someone suggested I should do this with
 dd. I must say that if I reboot to Linux, floppy works ok:
 [EMAIL PROTECTED] dd if=/dev/fd0 of=/dev/null

 And this is what hapend:
 dd: /dev/fd0: Input/output error


Sorry Florin, I think I made a mistake in my original reply. You might
want to try this instead:

dd if=/dev/zero of=/dev/fd0 bs=1024

Then you need to create a filesystem on the disk:

mkfs -t ext2 /dev/fd0

Then you can try mounting it:

mount -t ext2 /dev/fd0 /mnt/floppy



- Jamie




 Thanks in advance for any suggestions.



 -
 Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


A friend is someone who lets you have total freedom to be yourself.

Well... I don't want to write a floppy, just trying to read one. The
situation is I created this floppy on a windows computer and I am
trying to read it on my home computer which has just FreeBSD
and Linux.
I did what you suggested:
# dd if=/dev/zero of=/dev/fd0 bs=1024
dd: /dev/fd0: Input/output error
:((

Someone else suggested I should try to mount /dev/fd0a, but I
noticed in FreeBSD 5.0 and above /dev/fd0a is a symbolic link to
/dev/fd0.
And someone else suggested the mtools. Those didn't work either.
Trying to mdir a: resulted in 
Can't open /dev/fd0: Input/output error
Cannot initialize 'A:'
error messages.
Finally, trying to fdformat -f 1440 /dev/fd0 another good floppy,
resulted in the same I/O error message:
# fdformat -f 1440 /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y
Processing fdformat: ioctl(FD_FORM): Input/output error
When I tryied those things I noticed the floppy doesn't even spins,
just the led lights up for a while.
 
Florin.




-
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cable or Dead Hard Disk

2003-10-16 Thread Mailing Lists Catcher
Why not try changing out the cable and see if the problem persists?

Also Maxtor has a nice drive testing utility that runs from a bootable
floppy.  And they work for all drive types...I use them on my WD and IBM
drives when I suspect trouble or before I bring an old HD out of
retirement.

Jason

On Sun, 2003-10-12 at 19:50, Rus Foster wrote:
 Hi All,
 I got the following on a new server with vinum. Is this a cabling issue or
 a DOA hard disk
 
 
 Mounting root from ufs:/dev/vinum/root
 ad3s1e: UDMA ICRC error reading fsbn 721 of 329-344 (ad3s1 bn 721; cn 0 tn
 11 sn   28) retrying
 ad3s1e: UDMA ICRC error reading fsbn 721 of 329-344 (ad3s1 bn 721; cn 0 tn
 11 sn   28) retrying
 ad3s1e: UDMA ICRC error reading fsbn 721 of 329-344 (ad3s1 bn 721; cn 0 tn
 11 sn   28) retrying
 ad3s1e: UDMA ICRC error reading fsbn 721 of 329-344 (ad3s1 bn 721; cn 0 tn
 11 sn   28) falling back to
 PIO mode
 vinum: usr.p1.s0 is up by force
 vinum: usr.p1 is up
 vinum: usr.p1.s0 is up
 ad3: WRITE command timeout tag=0 serv=0 - resetting
 ata1: resetting devices ..
 ad3: removed from configuration
 done
 vinum: root.p1.s0 is stale by force
 vinum: root.p1 is faulty
 fatal :root.p1.s0 write error, block 90473 for 8192 bytes
 root.p1.s0: user buffer block 90208 for 8192 bytes
 root2: fatal drive I/O error, block 90473 for 8192 bytes
 vinum: drive root2 is down
 vinum: Can't write config to /dev/ad3s1f, error 6
 vinum: drive usr2 is down
 vinum: usr.p1.s0 is crashed
 vinum: usr.p1 is faulty
 vinum: Can't write config to /dev/ad3s1g, error 6
 vinum: drive home2 is down
 vinum: home.p1.s0 is crashed
 vinum: usr.p1.s0 is stale by force
 vinum: home.p1.s0 is stale by force
 
 Thanks
 
 Rus
 

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


exe order in /usr/local/etc/rc.d

2003-10-16 Thread RJ45


I have never understood in which order are execurted the scripts which are
in /usr/local/etc/rc.d

most port applications like mysqld, cyrus-imapd, spamd etc. put their
startup scripts into /usr/local/etc/rc.d but they are not ordered by a
number attached before the script name (like the Unix SysV style)

anyone has some hint about this ?
How can I Set the startup order into /usr/local/etc/rc.d

thanks

Rick


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


Re: /tmp suddenly full - possible DOS hack?

2003-10-16 Thread Mailing Lists Catcher
It looks like your messages.0 didn't properly compress when newsyslog
rolled the file.  Probably due to the fact that your /tmp isn't big
enough to bzip a 196MB file.  In any case your /var is now full which
will make anything that uses /var for storage not happy...my dhcp server
suffered this problem once.

As for the dos attack I would say it is likely but reading the
messages.0 file will be the way to tell.  Something obviously wrote way
too many messages to the log file and newsyslog didnt roll it fast
enough...you should find out what most of the messages contains.  Then
delete that monster logfile to get your system /var under control.

It was because of problems like this that I now install all my systems
with a single / mount.  I am not certain why the multiple mounts is
default on FBSD, but from what little I have read on this subject it
seems to have something to do with reliability of older drives (of FS)
and the protection of the kernel from corruption.

Jason

On Mon, 2003-10-13 at 22:59, Barry Hawkins wrote:
 List,
   I have a single FreeBSD server (5.1) that I run at home behind a 
 firewall with ports open for ssh, dns, and http.  I began having 
 trouble with my DNS not responding, then noticed that ssh was not 
 responding either.  Upon logging in at the server, I noticed error 
 messages about my /tmp filesystem being full.  Issuing df revealed the 
 following:
 
 Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
 /dev/ad0s1a253678   72770  16061431%/
 devfs   1   1   0   100%/dev
 /dev/ad0s1e253678 542  232842 0%/tmp
 /dev/ad0s1f   8209710 3440818 411211646%/usr
 /dev/ad0s1d253678  253106  -19722   108%/var
 
   Upon further investigation, I noticed a series of grossly bloated 
 messages logs:
 
 -rw-r--r--   1 root  wheel43001 Oct 13 22:37 messages
 -rw-r--r--   1 root  wheel196001815 Oct 13 17:00 messages.0
 -rw-r--r--   1 root  wheel87398 Oct 13 16:00 messages.1.bz2
 -rw-r--r--   1 root  wheel87096 Oct 13 15:00 messages.2.bz2
 -rw-r--r--   1 root  wheel   109446 Oct 13 14:00 messages.3.bz2
 -rw-r--r--   1 root  wheel   184596 Oct 13 13:00 messages.4.bz2
 -rw-r--r--   1 root  wheel36822 Oct 13 12:00 messages.5.bz2
 
   This is the first BSD box that I have had that allows DNS queries, and 
 this is the first time I have experienced something like this.  Is it 
 some sort of DOS attack?  I am sure there are a hundred variables that 
 I am unaware of, but if some of the list sages could be so kind as to 
 prod me in the right direction(s) I would be most appreciative.
 
 Thanks,

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


Re: exe order in /usr/local/etc/rc.d

2003-10-16 Thread Konrad Heuer

On Thu, 16 Oct 2003, RJ45 wrote:


 I have never understood in which order are execurted the scripts which are
 in /usr/local/etc/rc.d

 most port applications like mysqld, cyrus-imapd, spamd etc. put their
 startup scripts into /usr/local/etc/rc.d but they are not ordered by a
 number attached before the script name (like the Unix SysV style)

 anyone has some hint about this ?
 How can I Set the startup order into /usr/local/etc/rc.d

The scripts are started from /etc/rc; the code fragement looks like:

for dir in ${local_startup}; do
if [ -d ${dir} ]; then
for script in ${dir}/*.sh; do

slist=${slist}${script_name_sep}${script}
done
fi
done
script_save_sep=$IFS
IFS=${script_name_sep}
for script in ${slist}; do
if [ -x ${script} ]; then
(set -T
trap 'exit 1' 2
${script} start)
elif [ -f ${script} -o -L ${script} ]; then
echo -n  (skipping ${script##*/}, not
executable)
fi
done
IFS=${script_save_sep}
echo '.'

Thus the scripts are executed in alphabetic order.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 woes

2003-10-16 Thread Mailing Lists Catcher
This might not be related to your problem but on my Radeon 7000 VE I had
to disable DRI in the Modules section of the XF86Config to allow it to
work above 15bit

Although my error messages where slightly different and my X would
lockup rather than error out.

Also noted you are using th ati driver.  You might want to try the
radeon driver as it might be more specific to your card.  And what about
the svga driver (800x600 max I think) which is my failsafe

On Thu, 2003-10-16 at 03:54, Matthias Pirstitz wrote:
 Hi all,
 
 I'm new to FreeBSD, so please bear with me :)
 
 I have a Fujitsu Amilo-D notebook with a Radeon Mobility M9 card, and
 when I try to start X, it crashes with Caught signal 11.  Server
 aborting.
 
 There are no other error messages, only the following warning:
 RADEON(0): Bad V_BIOS checksum.
 
 I tried both FreeBSD 5.1 and 4.8.
 
 It worked in FreeBSD 4.8 until I portupgraded everything (I also tried
 xfree86-4-server-snap).
 
 I can get X to start if I use the vga driver instead of the ati driver
 (but then again, I'd like to use a resolution higher than 320x200 :).
 
 Before, I had debian on the notebook and used the experimental XFree 4.3
 packages without problems, so I guess it should somehow work...
 
 These are the last lines of the XFree86 log file:
 (II) Setting vga for screen 0.
 (II) Loading sub module vgahw
 (II) LoadModule: vgahw
 (II) Loading /usr/X11R6/lib/modules/libvgahw.a
 (II) Module vgahw: vendor=The XFree86 Project
 compiled for 4.3.0, module version = 0.1.0
 ABI class: XFree86 Video Driver, version 0.6
 (II) RADEON(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is
 0x
 (II) RADEON(0): PCI bus 1 card 0 func 0
 (**) RADEON(0): Depth 16, (--) framebuffer bpp 16
 (II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
 (==) RADEON(0): Default visual is TrueColor
 (==) RADEON(0): RGB weight 565
 (II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
 (II) Loading sub module int10
 (II) LoadModule: int10
 (II) Loading /usr/X11R6/lib/modules/libint10.a
 (II) Module int10: vendor=The XFree86 Project
 compiled for 4.3.0, module version = 1.0.0
 ABI class: XFree86 Video Driver, version 0.6
 (II) RADEON(0): initializing int10
 (==) RADEON(0): Write-combining range (0xa,0x2) was already
 clear
 (==) RADEON(0): Write-combining range (0xc,0x4) was already
 clear
 (WW) RADEON(0): Bad V_BIOS checksum
 (II) RADEON(0): Primary V_BIOS segment is: 0xc000
 (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear
 (--) RADEON(0): Chipset: ATI Radeon Mobility M9 Lf (AGP) (ChipID =
 0x4c66) 
 (--) RADEON(0): Linear framebuffer at 0xd000
 (--) RADEON(0): MMIO registers at 0xffcf
 (--) RADEON(0): BIOS at 0xffcc
 (==) RADEON(0): Write-combining range (0xffcf,0x8) was already
 clear
 (--) RADEON(0): VideoRAM: 65536 kByte (64-bit DDR SDRAM)   
 (==) RADEON(0): Write-combining range (0xffcf,0x8) was already
 clear
 (II) RADEON(0): CloneDisplay option not set -- defaulting to auto-detect
 (II) RADEON(0): Primary Display == Type 2
 (II) RADEON(0): Panel ID string:
 \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff
 (II) RADEON(0): Panel Size from BIOS: 65535x65535
 
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
 
 Fatal server error:
 Caught signal 11.  Server aborting
 
 TIA for any help,
 Matthias
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: XFree86 woes

2003-10-16 Thread Matthias Pirstitz
Hi,

I've already tried the radeon driver and to disable dri and glx, to no
avail(sorry, I failed to mention that in my first post).

I don't seem to have a driver named svga, or did you mean vesa?(I
have already tried the vesa driver as well, but it made X crash in a way
where no more keyboard input is accepted - I had to reboot by logging in
from another machine).

Thanks for your help,
Matthias


On Thu, 2003-10-16 at 11:38, Mailing Lists Catcher wrote:
 This might not be related to your problem but on my Radeon 7000 VE I had
 to disable DRI in the Modules section of the XF86Config to allow it to
 work above 15bit
 
 Although my error messages where slightly different and my X would
 lockup rather than error out.
 
 Also noted you are using th ati driver.  You might want to try the
 radeon driver as it might be more specific to your card.  And what about
 the svga driver (800x600 max I think) which is my failsafe
 
 On Thu, 2003-10-16 at 03:54, Matthias Pirstitz wrote:
  Hi all,
  
  I'm new to FreeBSD, so please bear with me :)
  
  I have a Fujitsu Amilo-D notebook with a Radeon Mobility M9 card, and
  when I try to start X, it crashes with Caught signal 11.  Server
  aborting.
  
  There are no other error messages, only the following warning:
  RADEON(0): Bad V_BIOS checksum.
  
  I tried both FreeBSD 5.1 and 4.8.
  
  It worked in FreeBSD 4.8 until I portupgraded everything (I also tried
  xfree86-4-server-snap).
  
  I can get X to start if I use the vga driver instead of the ati driver
  (but then again, I'd like to use a resolution higher than 320x200 :).
  
  Before, I had debian on the notebook and used the experimental XFree 4.3
  packages without problems, so I guess it should somehow work...
  
  These are the last lines of the XFree86 log file:
  (II) Setting vga for screen 0.
  (II) Loading sub module vgahw
  (II) LoadModule: vgahw
  (II) Loading /usr/X11R6/lib/modules/libvgahw.a
  (II) Module vgahw: vendor=The XFree86 Project
  compiled for 4.3.0, module version = 0.1.0
  ABI class: XFree86 Video Driver, version 0.6
  (II) RADEON(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is
  0x
  (II) RADEON(0): PCI bus 1 card 0 func 0
  (**) RADEON(0): Depth 16, (--) framebuffer bpp 16
  (II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
  (==) RADEON(0): Default visual is TrueColor
  (==) RADEON(0): RGB weight 565
  (II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
  (II) Loading sub module int10
  (II) LoadModule: int10
  (II) Loading /usr/X11R6/lib/modules/libint10.a
  (II) Module int10: vendor=The XFree86 Project
  compiled for 4.3.0, module version = 1.0.0
  ABI class: XFree86 Video Driver, version 0.6
  (II) RADEON(0): initializing int10
  (==) RADEON(0): Write-combining range (0xa,0x2) was already
  clear
  (==) RADEON(0): Write-combining range (0xc,0x4) was already
  clear
  (WW) RADEON(0): Bad V_BIOS checksum
  (II) RADEON(0): Primary V_BIOS segment is: 0xc000
  (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear
  (--) RADEON(0): Chipset: ATI Radeon Mobility M9 Lf (AGP) (ChipID =
  0x4c66) 
  (--) RADEON(0): Linear framebuffer at 0xd000
  (--) RADEON(0): MMIO registers at 0xffcf
  (--) RADEON(0): BIOS at 0xffcc
  (==) RADEON(0): Write-combining range (0xffcf,0x8) was already
  clear
  (--) RADEON(0): VideoRAM: 65536 kByte (64-bit DDR SDRAM)   
  (==) RADEON(0): Write-combining range (0xffcf,0x8) was already
  clear
  (II) RADEON(0): CloneDisplay option not set -- defaulting to auto-detect
  (II) RADEON(0): Primary Display == Type 2
  (II) RADEON(0): Panel ID string:
  \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff
  (II) RADEON(0): Panel Size from BIOS: 65535x65535
  
 *** If unresolved symbols were reported above, they might not
 *** be the reason for the server aborting.
  
  Fatal server error:
  Caught signal 11.  Server aborting
  
  TIA for any help,
  Matthias
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Disable console notifications

2003-10-16 Thread Rus Foster
Hi,
 What is the quick way to disable console notifications? i.e. to stop the
kernel putting up messages?

Rgds

Rus

-- 
w: http://www.jvps.com  | Virtual Dedicated Servers from $15/mo
e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


Uninstalling Port installed applications

2003-10-16 Thread Michael Lee
Hi,

I have a question about uninstalling port.

Say, there are 5 applications -- A, B, C, D, E

Installing A depends on B,C,D, and E.
There is no problem that I type 'make install' under /usr/port/xxx/A
that the port system will help me install B,C,D,E since they are required by
application A.
Supposed that E was also required by another application F which was already
installed in the system,
I wonder if I type 'make deinstall' under /usr/port/xxx/A and try to
uninstall A,
will the port system help me uninstall B,C,D but not uninstall E ?

Thank you!

Michael Lee

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


Re: Uninstalling Port installed applications

2003-10-16 Thread Q
You are looking for the 'sysutils/portupgrade' port. It installs a tool
called pkg_deinstall.

So to achieve what you described, you would run 'pkg_deinstall -R A' 
and it would deinstall 'A' and any of its orphaned dependencies, ie.
B, C, D but not E.

Seeya...Q 

On Thu, 2003-10-16 at 21:41, Michael Lee wrote:

 Hi,
 
 I have a question about uninstalling port.
 
 Say, there are 5 applications -- A, B, C, D, E
 
 Installing A depends on B,C,D, and E.
 There is no problem that I type 'make install' under /usr/port/xxx/A
 that the port system will help me install B,C,D,E since they are required by
 application A.
 Supposed that E was also required by another application F which was already
 installed in the system,
 I wonder if I type 'make deinstall' under /usr/port/xxx/A and try to
 uninstall A,
 will the port system help me uninstall B,C,D but not uninstall E ?
 
 Thank you!
 
 Michael Lee
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:FreeBSD G3

2003-10-16 Thread Rod Person
On Wednesday 15 October 2003 11:44 pm, lawrencejr johnson wrote:
 Hello,

 I'm would like to install BSD on my old G3 Powerbook Laptop. Whare can I
 find out How to do this, if it is possible ?

Try Darwin. FreeBSD is not running on the G's yet.
-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st

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


committer

2003-10-16 Thread gerarra
Hi,
 I'm really interested to know if a young, universitary student can become
a FreeBSD project committer. If the answer is positive how it's possible?
What skills are requested to become a FreeBSD committer? please give me
an answer

bye

krnlrookie

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


updating system help ??!!??

2003-10-16 Thread Brent Bailey
Im running several Freebsd systems  some are rather old FBSD 4.6 but most
are at the 4.8rc1 level. anyway does the below procedure for updating a
Freebsd system seem like the correct way for both older and newer systems
??
any and all help is very appreciated
Thank you


###
Backup /etc:

# cp -Rp /etc /etc.old


Run mergemaster in pre-buildworld mode to update files essential to the
success of buildworld and installworld:

# /usr/sbin/mergemaster -p


Remove old /usr/obj:

# cd /usr/obj
# chflags -R noschg *
# rm -rf *


Compile the sources:

# cd /usr/src
# make buildworld


Compile and install the new kernel:

# cd /usr/src (if you've changed directories after the last step)
# make kernel KERNCONF=YOURKERNEL

If you don't already have a custom kernel configuration, use GENERIC in
place of YOURKERNEL above. If you wish to create a custom kernel, see the
Building a Custom Kernel cheat sheet.


Drop to single user mode:
# shutdown now


Or reboot into single user mode:

# shutdown -r now
···
Ok boot -s
···
# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a
# adjkerntz -i


Install the new system binaries:
# cd /usr/src
# make installworld


Update system configuration files:
# /usr/sbin/mergemaster -v -w 132 (eliminate '-w 132' if 132x43 video mode
is not activated)


Update /dev

In most cases, mergemaster will realize when it is necessary to update the
devices, and will offer to complete it automatically. If you've declined
mergemaster's offer, perform these steps to update /dev manually:

# cd /dev
# /bin/sh MAKEDEV all


Update /stand:

This step is included for completeness. It can be safely omitted.

# cd /usr/src/release/sysinstall
# make clean
# make all install


Reboot to multi-user mode:

# reboot

#
-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
207-247-8330



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


Re: committer

2003-10-16 Thread Matthew Seaman
On Mon, Oct 13, 2003 at 07:03:51PM +0200, [EMAIL PROTECTED] wrote:

  I'm really interested to know if a young, universitary student can become
 a FreeBSD project committer. If the answer is positive how it's possible?
 What skills are requested to become a FreeBSD committer? please give me
 an answer

Absolutely.  I believe Hiten Pandya managed to get a commit bit
*before* going up to University.  Or very shortly after.

The way to become a committer is exactly the same for everybody:
submit high quality PRs with patches and enhancements to FreeBSD.
Keep doing so, until you have established a history and reputation as
a good programmer / documentation writer / software porter or
whatever.  Eventually you will be punished for your temerity by the
award of a commit bit.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Mozilla weirdness

2003-10-16 Thread Monah Baki
Hello,

I just upgraded my ports tree and I'm running gnome 2.4 with mozilla 1.4. I logged in 
as my 
username (not root) and double clicked my mozilla icon (which was pointing to 
/usr/X11R6/
bin/mozilla). 2 things I got confused is it gave me a dialog box saying which profile 
to use (by 
default, there was default), so I clicked choose defaut profile, it responded it's 
already in use. 
Then all of a sudden every 2-3 seconds it gave the same dialog box and I couldn't 
quit, so I had 
to reboot.

This is my 'top' as you can see a lot of mozilla-bin running, any suggestions will be 
highly 
appreciated. Thank you.

  PID  TT  STAT  TIME COMMAND
0  ??  DLs0:00.02  (swapper)
0  ??  ZW 0:00.00  (nautilus)
1  ??  SLs0:00.04 /sbin/init --
2  ??  DL 0:00.09  (g_event)
3  ??  DL 0:00.95  (g_up)
4  ??  DL 0:01.28  (g_down)
5  ??  IL 0:00.00  (acpi_task0)
6  ??  IL 0:00.00  (acpi_task1)
7  ??  IL 0:00.00  (acpi_task2)
8  ??  RL 0:15.83  (pagedaemon)
9  ??  DL 0:00.58  (vmdaemon)
   10  ??  DL 0:00.00  (ktrace)
   11  ??  RL 0:25.09  (idle)
   12  ??  WL 0:00.03  (swi1: net)
   13  ??  WL 0:02.03  (swi7: tty:sio clock)
   15  ??  DL 0:00.33  (random)
   16  ??  WL 0:00.00  (swi6: acpitaskq)
   23  ??  DL 0:00.08  (acpi_thermal)
   24  ??  WL 0:00.00  (irq14: ata0)
   25  ??  WL 0:01.52  (irq15: ata1)
   27  ??  DL 0:00.00  (usb0)
   28  ??  DL 0:00.00  (usbtask)
   29  ??  DL 0:00.00  (usb1)
   31  ??  WL 0:00.04  (irq11: vr0)
   35  ??  WL 0:00.04  (irq1: atkbd0)
   36  ??  WL 0:00.17  (irq12: psm0)
   39  ??  RL 0:01.44  (pagezero)
   40  ??  DL 0:00.01  (bufdaemon)
   41  ??  DL 0:00.14  (syncer)
   42  ??  DL 0:00.01  (vnlru)
   43  ??  IL 0:00.00  (nfsiod 0)
   44  ??  IL 0:00.00  (nfsiod 1)
   45  ??  IL 0:00.00  (nfsiod 2)
   46  ??  IL 0:00.00  (nfsiod 3)
  132  ??  IWs0:00.00 adjkerntz -i
  237  ??  Ss 0:00.05 /usr/sbin/syslogd -s
  328  ??  Ss 0:00.00 /usr/sbin/usbd
  375  ??  IWs0:00.00 /usr/sbin/sshd
  397  ??  Is 0:00.02 /usr/sbin/cron
  424  ??  IWs0:00.00 /usr/sbin/inetd -wW
  436  ??  IW 0:00.00 /usr/X11R6/bin/gdm-binary ttyv0
  444  ??  S  0:00.13 /usr/X11R6/bin/gdm-binary ttyv0
  445  ??  R  0:22.50 /usr/X11R6/bin/XFree86 :0 -auth /usr/X11R6/share/gnom
  448  ??  IWs0:00.00 sshd: mbaki [priv] (sshd)
  457  ??  S  0:00.31 sshd: [EMAIL PROTECTED] (sshd)
  460  ??  Ss 0:01.86 gnome-session
  470  ??  Ss 0:00.01 /usr/bin/ssh-agent -- gnome-session
  472  ??  S  0:03.33 /usr/X11R6/libexec/gconfd-2 13
  475  ??  IWs0:00.00 /usr/local/libexec/bonobo-activation-server --ac-acti
  479  ??  I  0:00.95 gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME
  490  ??  S  0:01.22 xscreensaver -nosplash
  499  ??  Ss 0:05.91 /usr/X11R6/bin/metacity --sm-client-id=default1
  506  ??  Ss 0:02.71 gnome-panel --sm-client-id default2
  508  ??  Rs 0:04.21 nautilus --no-default-window --sm-client-id default3
  510  ??  R  0:13.43 /usr/X11R6/libexec/wnck-applet --oaf-activate-iid=OAF
  512  ??  S  0:00.06 /usr/X11R6/libexec/mapping-daemon
  514  ??  S  0:01.03 /usr/X11R6/libexec/mixer_applet2 --oaf-activate-iid=O
  516  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  558  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  565  ??  S  0:05.21 ./mozilla-bin
  580  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  589  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  655  ??  S  0:04.44 ./mozilla-bin
  679  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  690  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  692  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  746  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  749  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  759  ??  S  0:04.43 ./mozilla-bin
  766  ??  S  0:05.23 ./mozilla-bin
  771  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  794  ??  S  0:05.21 ./mozilla-bin
  818  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  823  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  835  ??  S  0:04.37 ./mozilla-bin
  862  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  871  ??  S  0:04.30 ./mozilla-bin
  876  ??  S  0:04.46 ./mozilla-bin
  881  ??  S  0:04.46 ./mozilla-bin
  894  ??  IW 0:00.00 /bin/sh ./run-mozilla.sh ./mozilla-bin
  903  ??  S  0:04.46 ./mozilla-bin
  908  ??  S  0:04.46 ./mozilla-bin
  915  ??  I  0:00.06 /bin/sh ./run-mozilla.sh ./mozilla-bin
  949  ??  S  0:04.48 ./mozilla-bin
  956  ??  I  0:00.06 /bin/sh ./run-mozilla.sh ./mozilla-bin
  967  ??  I  0:00.06 /bin/sh ./run-mozilla.sh ./mozilla-bin
  971  ??  I  0:00.06 /bin/sh ./run-mozilla.sh ./mozilla-bin
  991  ??  S 

Re: exe order in /usr/local/etc/rc.d

2003-10-16 Thread David Landgren
Konrad Heuer wrote:

On Thu, 16 Oct 2003, RJ45 wrote:



I have never understood in which order are execurted the scripts which are
in /usr/local/etc/rc.d
most port applications like mysqld, cyrus-imapd, spamd etc. put their
startup scripts into /usr/local/etc/rc.d but they are not ordered by a
number attached before the script name (like the Unix SysV style)
anyone has some hint about this ?
How can I Set the startup order into /usr/local/etc/rc.d
[...]

Thus the scripts are executed in alphabetic order.
Which means you are free to rename them as 00-mysqld.sh 20-cyrus.sh 
... etc, in order to obtain the necessary ordering. Just remember that 
if the files were put there from ports, upgrading or removing the port 
in question, expect it to squawk about missing files.

If you were really fussed about it, you could create a 
/usr/local/etc/rc.d/ordered, and symlink /usr/local/etc/rc.d/mysqld.sh 
to /usr/local/etc/rc.d/ordered/00-mysqld etc. etc. as required and set 
local_startup=/usr/local/etc/rc.d/ordered in /etc/rc.conf

David

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


Re: Disable console notifications

2003-10-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Rus Foster wrote:

Hi,
What is the quick way to disable console notifications? i.e. to stop the
kernel putting up messages?
Rgds

Rus

 

I believe the correct method is:

  Edit /etc/syslog.conf as desired.
  HUP the syslog daemon (or reboot...)
Most of the hints you need are probably
in the file itself.
HTH,

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


Re: Drivers for leadtek winfast tv 2000 xp?

2003-10-16 Thread Lowell Gilbert
jason dictos [EMAIL PROTECTED] writes:

 Are there drivers in FreeBSD for TV Input tuner cards such as the winfast tv 2000 
 xp? (This may be an ATI oem board).

There are drivers for the Meteor and Brooktree chip sets.
I have no idea what that card uses.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot view network servers, no sound

2003-10-16 Thread Lowell Gilbert
Anthony Carmody [EMAIL PROTECTED] writes:

 Running FreeBSD 5.1 on an Intel D45PESV mainboard. [onboard sound AC97
 AC1981B]

Sounds fine.  It's a technology preview release, remember, but it
should be pretty solid for your purposes.

 i have no sound and i cannot browse my network machines in
 gnome. Everything seems to work just fine, just that i get an error
 upon starting gnome [something about the mixer] and when i go to add a
 network server i get nothing. I have noticed that logged in as 'root'
 i can see them, just not connect.
 
 i have no idea about testing sound outside of a GUI so i dont know
 about it being Gnome related...

Okay.  These two problems are completely unrelated, and would be
easier to treat if you'd posted them as different messages.

For sound, please see the section in the FreeBSD handbook that talks
about the subject.  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

For browsing your network, it depends what you're talking about.
Different protocols tend to use different applications, and you didn't
even mention whether you're using Microsoft protocols or standard ones.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel panic with ethfw

2003-10-16 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

  Makes sense so far.
  Perhaps you wanted:
  ipfw add 49 deny ip from any mac any 00:E0:18:F1:54:94 to any
  ?
  
 
 I learn about ethfw, an utilisy which can solve my problem: 
 http://www.bsdshell.net/hut_ethfw.html
 But when i compile my freebsd4.7 Release kernel and restart my computer, i 
 accure the following message:
 
 
 Booting [kernel]...
 panic: pmap_bootstrap: no local apic!
 mp_lock = 0007; cpuid = 0; lapic.id = 
 Uptime: 0s
 
 
 Is someone can help me?

Looks like there's something wrong with your kernel definition. 
Go back to the GENERIC kernel and make sure it doesn't happen with
that, then add your changes a few at a time until you figure out where
the problem is.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fatal trap 12

2003-10-16 Thread Chris Readle
Got another one this morning.  This time the only thing running was the
make index  make readmes, and XFree86.

Actually, they both may have finished by then, I started them up then had
to go to sleep, so I'm not entirely sure how far along it got in the
process.  I do know it was past the index and working on the readmes,
though.

/var/log/messages:
Oct 16 01:26:37 creadle /kernel: Fatal trap 12: page fault while in kernel
mode
Oct 16 01:26:37 creadle /kernel: fault virtual address  = 0xfd9b
Oct 16 01:26:37 creadle /kernel: fault code = supervisor read,
page not present
Oct 16 01:26:37 creadle /kernel: instruction pointer= 0x8:0xc022c1c8
Oct 16 01:26:37 creadle /kernel: stack pointer  = 0x10:0xd2e2ee4c
Oct 16 01:26:37 creadle /kernel: frame pointer  = 0x10:0xd2e2ee54
Oct 16 01:26:37 creadle /kernel: code segment   = base 0x0, limit
0xf, type 0x1b
Oct 16 01:26:37 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
Oct 16 01:26:37 creadle /kernel: processor eflags   = interrupt
enabled, resume, IOPL = 0
Oct 16 01:26:37 creadle /kernel: current process= 53504
(sh)
Oct 16 01:26:37 creadle /kernel: interrupt mask = none
Oct 16 01:26:37 creadle /kernel: trap number= 12
Oct 16 01:26:37 creadle /kernel: panic: page fault
Oct 16 01:26:37 creadle /kernel:

nm -n:
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c8
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1
c022c19c T vm_page_lookup
c022c1f8 T vm_page_rename

chris

--- Chris Readle [EMAIL PROTECTED] wrote:
 Hi all,
 
 New to FBSD, and in the process of moving my Linux/Windows PC to
 FBSD/Windows.
 
 I got two spontaneous reboots last night (the first times it happened)
 and
 I got fatal trap 12s in /var/log/messages each time.  I wasn't doing
 anything too heavy, just a make index  make readmes on my ports,
 listening to some music through XMMS and browsing the web via Mozilla.
 
 I searched the archives and the FAQ.  I haven't built a debugging kernel
 yet, but I thought I would post the info I have in the hopes that
 someone
 might be able to help.
 
 I did do an nm - n on the kernel, however.
 
 uname -a:
 FreeBSD creadle.oc.cox.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #4:
 Wed
 Oct 15 08:55:21 PDT 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CREADLE  i386
 
 /var/log/messages:
 Oct 14 21:45:23 creadle /kernel: Fatal trap 12: page fault while in
 kernel
 mode
 Oct 14 21:45:23 creadle /kernel: fault virtual address  = 0xbfca02c8
 Oct 14 21:45:23 creadle /kernel: fault code = supervisor
 read,
 page not present
 Oct 14 21:45:23 creadle /kernel: instruction pointer= 0x8:0xc028fe83
 Oct 14 21:45:23 creadle /kernel: stack pointer  =
 0x10:0xd2cfbcf8
 Oct 14 21:45:23 creadle /kernel: frame pointer  =
 0x10:0xd2cfbd08
 Oct 14 21:45:23 creadle /kernel: code segment   = base 0x0,
 limit
 0xf, type 0x1b
 Oct 14 21:45:23 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
 Oct 14 21:45:23 creadle /kernel: processor eflags   = interrupt
 enabled, resume, IOPL = 0
 Oct 14 21:45:23 creadle /kernel: current process= 73961
 (sh)
 Oct 14 21:45:23 creadle /kernel: interrupt mask = net tty bio
 cam
 Oct 14 21:45:23 creadle /kernel: trap number= 12
 Oct 14 21:45:23 creadle /kernel: panic: page fault
 
 nm -n:
 creadle# nm -n /kernel | grep c028fe8
 c028fe88 T pmap_ts_referenced
 creadle# nm -n /kernel | grep c028fe
 c028fe7c T pmap_phys_address
 c028fe88 T pmap_ts_referenced
 
 I did two because I thought it was odd that the first one came up with a
 higher address than the actual pointer.
 
 Any good suggestions?
 
 chris
 
 
 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fatal trap 12

2003-10-16 Thread Mike Tancsa
There are a few VM fixes that have gone into RELENG_4, thats where your 
kernel is really panicing.  If its an option for you, I would try RELENG_4 
rather than the security branch.

---Mike

At 09:48 AM 16/10/2003, Chris Readle wrote:
Got another one this morning.  This time the only thing running was the
make index  make readmes, and XFree86.
Actually, they both may have finished by then, I started them up then had
to go to sleep, so I'm not entirely sure how far along it got in the
process.  I do know it was past the index and working on the readmes,
though.
/var/log/messages:
Oct 16 01:26:37 creadle /kernel: Fatal trap 12: page fault while in kernel
mode
Oct 16 01:26:37 creadle /kernel: fault virtual address  = 0xfd9b
Oct 16 01:26:37 creadle /kernel: fault code = supervisor read,
page not present
Oct 16 01:26:37 creadle /kernel: instruction pointer= 0x8:0xc022c1c8
Oct 16 01:26:37 creadle /kernel: stack pointer  = 0x10:0xd2e2ee4c
Oct 16 01:26:37 creadle /kernel: frame pointer  = 0x10:0xd2e2ee54
Oct 16 01:26:37 creadle /kernel: code segment   = base 0x0, limit
0xf, type 0x1b
Oct 16 01:26:37 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
Oct 16 01:26:37 creadle /kernel: processor eflags   = interrupt
enabled, resume, IOPL = 0
Oct 16 01:26:37 creadle /kernel: current process= 53504
(sh)
Oct 16 01:26:37 creadle /kernel: interrupt mask = none
Oct 16 01:26:37 creadle /kernel: trap number= 12
Oct 16 01:26:37 creadle /kernel: panic: page fault
Oct 16 01:26:37 creadle /kernel:
nm -n:
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c8
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c
[EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1
c022c19c T vm_page_lookup
c022c1f8 T vm_page_rename
chris

--- Chris Readle [EMAIL PROTECTED] wrote:
 Hi all,

 New to FBSD, and in the process of moving my Linux/Windows PC to
 FBSD/Windows.

 I got two spontaneous reboots last night (the first times it happened)
 and
 I got fatal trap 12s in /var/log/messages each time.  I wasn't doing
 anything too heavy, just a make index  make readmes on my ports,
 listening to some music through XMMS and browsing the web via Mozilla.

 I searched the archives and the FAQ.  I haven't built a debugging kernel
 yet, but I thought I would post the info I have in the hopes that
 someone
 might be able to help.

 I did do an nm - n on the kernel, however.

 uname -a:
 FreeBSD creadle.oc.cox.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #4:
 Wed
 Oct 15 08:55:21 PDT 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CREADLE  i386

 /var/log/messages:
 Oct 14 21:45:23 creadle /kernel: Fatal trap 12: page fault while in
 kernel
 mode
 Oct 14 21:45:23 creadle /kernel: fault virtual address  = 0xbfca02c8
 Oct 14 21:45:23 creadle /kernel: fault code = supervisor
 read,
 page not present
 Oct 14 21:45:23 creadle /kernel: instruction pointer= 0x8:0xc028fe83
 Oct 14 21:45:23 creadle /kernel: stack pointer  =
 0x10:0xd2cfbcf8
 Oct 14 21:45:23 creadle /kernel: frame pointer  =
 0x10:0xd2cfbd08
 Oct 14 21:45:23 creadle /kernel: code segment   = base 0x0,
 limit
 0xf, type 0x1b
 Oct 14 21:45:23 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
 Oct 14 21:45:23 creadle /kernel: processor eflags   = interrupt
 enabled, resume, IOPL = 0
 Oct 14 21:45:23 creadle /kernel: current process= 73961
 (sh)
 Oct 14 21:45:23 creadle /kernel: interrupt mask = net tty bio
 cam
 Oct 14 21:45:23 creadle /kernel: trap number= 12
 Oct 14 21:45:23 creadle /kernel: panic: page fault

 nm -n:
 creadle# nm -n /kernel | grep c028fe8
 c028fe88 T pmap_ts_referenced
 creadle# nm -n /kernel | grep c028fe
 c028fe7c T pmap_phys_address
 c028fe88 T pmap_ts_referenced

 I did two because I thought it was odd that the first one came up with a
 higher address than the actual pointer.

 Any good suggestions?

 chris


 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building error on xmule

2003-10-16 Thread Lowell Gilbert
Márcio Conceição Goulart [EMAIL PROTECTED] writes:

 I tried to compile xmule-1.6.1 from the source and get this error:
 
 make: Cannot allocate memory
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1/src.
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1.
 *** Error code 1
 Stop in /usr/home/marcio/downloads/pkgs/xmule/xmule-1.6.1.
 
 I've never saw this kind of error Cannot allocate memory. I closed
 all other aplications, including X11 and i got the same error again.
 Does anyone possibly knows what can it be?

The makefile is designed for Gnu make, not BSD make.

Use the ports system; it handles these portability problems for you.  
There is a port for xmule, and it already knows to use gmake.

 sorry for my bad english.

It wasn't evident from your message...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot view network servers, no sound

2003-10-16 Thread Anthony Carmody
Lowell Gilbert wrote:
Anthony Carmody [EMAIL PROTECTED] writes:


Running FreeBSD 5.1 on an Intel D45PESV mainboard. [onboard sound AC97
AC1981B]


Sounds fine.  It's a technology preview release, remember, but it
should be pretty solid for your purposes.
sure. and it's the 5th 5.1 machine i have built, just that i need this 
one as a workstation..

i have no sound and i cannot browse my network machines in
gnome. Everything seems to work just fine, just that i get an error
upon starting gnome [something about the mixer] and when i go to add a
network server i get nothing. I have noticed that logged in as 'root'
i can see them, just not connect.
i have no idea about testing sound outside of a GUI so i dont know
about it being Gnome related...


Okay.  These two problems are completely unrelated, and would be
easier to treat if you'd posted them as different messages.
For sound, please see the section in the FreeBSD handbook that talks
about the subject.  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
yep. i unpacked my handbook, made a really strong espresso and i have 
~s~o~u~n~d~.

For browsing your network, it depends what you're talking about.
Different protocols tend to use different applications, and you didn't
even mention whether you're using Microsoft protocols or standard ones.
ok, my fileserver is a 5.1 machine [as is this one] running samba. i 
just want to be able to browse the folders in a similar fashion as 
windo$e. Gnome seems to have a function to add network servers, except 
that it dosent seem to work. in fact, it crashes. i'm thinking there 
must be something i have overlooked in my network setup.

--
Regards,
Anthony John Carmody

Anthony  Carmody  Consulting  Pty  Ltd
Adaptable Business Computing Solutions
==
Cellular/Mobile: +61 414417457
Fax: +617 38708040
Email: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla weirdness

2003-10-16 Thread Matthew Seaman
On Thu, Oct 16, 2003 at 08:54:46AM -0400, Monah Baki wrote:

 I just upgraded my ports tree and I'm running gnome 2.4 with mozilla 1.4. I logged 
 in as my 
 username (not root) and double clicked my mozilla icon (which was pointing to 
 /usr/X11R6/
 bin/mozilla). 2 things I got confused is it gave me a dialog box saying which 
 profile to use (by 
 default, there was default), so I clicked choose defaut profile, it responded it's 
 already in use. 
 Then all of a sudden every 2-3 seconds it gave the same dialog box and I couldn't 
 quit, so I had 
 to reboot.

This sort of thing can happen occasionally between Mozilla updates.
One thing to try is moving aside your ~/.mozilla directory and
starting again with a new one.  Of course, this means that you'll have
to recreate all of your customised settings and bookmarks and so forth.  

 This is my 'top' as you can see a lot of mozilla-bin running, any suggestions will 
 be highly 
 appreciated. Thank you.

Yes -- all of your mozilla processes are stuck trying to startup and
running into some sort of problem reading the defaults.  You should
kill off all of these processes before doing anything with your
~/.mozilla as above:

% ps -ax | grep moz | awk '{print $1}' | xargs kill

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Mozilla weirdness

2003-10-16 Thread Anthony Carmody
Matthew Seaman wrote:
On Thu, Oct 16, 2003 at 08:54:46AM -0400, Monah Baki wrote:


I just upgraded my ports tree and I'm running gnome 2.4 with mozilla 1.4. I logged in as my 
username (not root) and double clicked my mozilla icon (which was pointing to /usr/X11R6/
bin/mozilla). 2 things I got confused is it gave me a dialog box saying which profile to use (by 
default, there was default), so I clicked choose defaut profile, it responded it's already in use. 
Then all of a sudden every 2-3 seconds it gave the same dialog box and I couldn't quit, so I had 
to reboot.


This sort of thing can happen occasionally between Mozilla updates.
One thing to try is moving aside your ~/.mozilla directory and
starting again with a new one.  Of course, this means that you'll have
to recreate all of your customised settings and bookmarks and so forth.  


This is my 'top' as you can see a lot of mozilla-bin running, any suggestions will be highly 
appreciated. Thank you.


Yes -- all of your mozilla processes are stuck trying to startup and
running into some sort of problem reading the defaults.  You should
kill off all of these processes before doing anything with your
~/.mozilla as above:
% ps -ax | grep moz | awk '{print $1}' | xargs kill

	Cheers,

	Matthew

anyone know why my Mozilla 1.4 has no spell check in mail?
am i missing something here?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fatal trap 12

2003-10-16 Thread Chris Readle
I briefly tried RELENG_4 back when it was 4.9 RC1, and was getting hard
locks when I exited X.  Unfortunately, at the time I didn't really have
time to troubleshoot it, so I rolled back to 4.8, which was only giving me
Sig 11's when exiting KDE apps like konsole  knode. :)

Perhaps this weekend, I'll try cvsuping back to -STABLE and see if that
helps.  On that subject, has anyone seen any issue with -STABLE where it
just goes to a black screen on exiting X?  As I recall, my nvidia driver
also wrote an error in the X log along the lines of Unable to destroy
surface or something similar.

chris

--- Mike Tancsa [EMAIL PROTECTED] wrote:
 
 There are a few VM fixes that have gone into RELENG_4, thats where your 
 kernel is really panicing.  If its an option for you, I would try
 RELENG_4 
 rather than the security branch.
 
  ---Mike
 
 At 09:48 AM 16/10/2003, Chris Readle wrote:
 Got another one this morning.  This time the only thing running was the
 make index  make readmes, and XFree86.
 
 Actually, they both may have finished by then, I started them up then
 had
 to go to sleep, so I'm not entirely sure how far along it got in the
 process.  I do know it was past the index and working on the readmes,
 though.
 
 /var/log/messages:
 Oct 16 01:26:37 creadle /kernel: Fatal trap 12: page fault while in
 kernel
 mode
 Oct 16 01:26:37 creadle /kernel: fault virtual address  = 0xfd9b
 Oct 16 01:26:37 creadle /kernel: fault code = supervisor
 read,
 page not present
 Oct 16 01:26:37 creadle /kernel: instruction pointer=
 0x8:0xc022c1c8
 Oct 16 01:26:37 creadle /kernel: stack pointer  =
 0x10:0xd2e2ee4c
 Oct 16 01:26:37 creadle /kernel: frame pointer  =
 0x10:0xd2e2ee54
 Oct 16 01:26:37 creadle /kernel: code segment   = base 0x0,
 limit
 0xf, type 0x1b
 Oct 16 01:26:37 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
 Oct 16 01:26:37 creadle /kernel: processor eflags   = interrupt
 enabled, resume, IOPL = 0
 Oct 16 01:26:37 creadle /kernel: current process= 53504
 (sh)
 Oct 16 01:26:37 creadle /kernel: interrupt mask = none
 Oct 16 01:26:37 creadle /kernel: trap number= 12
 Oct 16 01:26:37 creadle /kernel: panic: page fault
 Oct 16 01:26:37 creadle /kernel:
 
 nm -n:
 [EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c8
 [EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1c
 [EMAIL PROTECTED] chris]$ nm -n /kernel | grep c022c1
 c022c19c T vm_page_lookup
 c022c1f8 T vm_page_rename
 
 chris
 
 --- Chris Readle [EMAIL PROTECTED] wrote:
   Hi all,
  
   New to FBSD, and in the process of moving my Linux/Windows PC to
   FBSD/Windows.
  
   I got two spontaneous reboots last night (the first times it
 happened)
   and
   I got fatal trap 12s in /var/log/messages each time.  I wasn't doing
   anything too heavy, just a make index  make readmes on my ports,
   listening to some music through XMMS and browsing the web via
 Mozilla.
  
   I searched the archives and the FAQ.  I haven't built a debugging
 kernel
   yet, but I thought I would post the info I have in the hopes that
   someone
   might be able to help.
  
   I did do an nm - n on the kernel, however.
  
   uname -a:
   FreeBSD creadle.oc.cox.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13
 #4:
   Wed
   Oct 15 08:55:21 PDT 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CREADLE  i386
  
   /var/log/messages:
   Oct 14 21:45:23 creadle /kernel: Fatal trap 12: page fault while in
   kernel
   mode
   Oct 14 21:45:23 creadle /kernel: fault virtual address  = 0xbfca02c8
   Oct 14 21:45:23 creadle /kernel: fault code = supervisor
   read,
   page not present
   Oct 14 21:45:23 creadle /kernel: instruction pointer=
 0x8:0xc028fe83
   Oct 14 21:45:23 creadle /kernel: stack pointer  =
   0x10:0xd2cfbcf8
   Oct 14 21:45:23 creadle /kernel: frame pointer  =
   0x10:0xd2cfbd08
   Oct 14 21:45:23 creadle /kernel: code segment   = base 0x0,
   limit
   0xf, type 0x1b
   Oct 14 21:45:23 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
   Oct 14 21:45:23 creadle /kernel: processor eflags   = interrupt
   enabled, resume, IOPL = 0
   Oct 14 21:45:23 creadle /kernel: current process=
 73961
   (sh)
   Oct 14 21:45:23 creadle /kernel: interrupt mask = net tty
 bio
   cam
   Oct 14 21:45:23 creadle /kernel: trap number= 12
   Oct 14 21:45:23 creadle /kernel: panic: page fault
  
   nm -n:
   creadle# nm -n /kernel | grep c028fe8
   c028fe88 T pmap_ts_referenced
   creadle# nm -n /kernel | grep c028fe
   c028fe7c T pmap_phys_address
   c028fe88 T pmap_ts_referenced
  
   I did two because I thought it was odd that the first one came up
 with a
   higher address than the actual pointer.
  
   Any good suggestions?
  
   chris
  
  
   __
   Do you Yahoo!?
   The New Yahoo! Shopping - with improved product search
   http://shopping.yahoo.com
   

Howto find packages

2003-10-16 Thread Dinesh Nadarajah
Hi:

I come form the Debian Linux world and would like to know how I can
information about packages for installation. I use prots to install
some, but many of them I just want to install binary files.

For eample, in Debian, I can use apt-cache search mozilla and this
will list all packages with mozilla in it and then I can select the
package for installation.

In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
stating that it could not download package ftp://../mozilla.tgz.

Is there a better way to find what ackages are available for
installation?

Thanks in advance.

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


Openoffice 1.1 + native java

2003-10-16 Thread Matthew Faircliff
Hello,

Can anyone tell me if openoffice 1.1 (openoffice-devel) works with the native java 
(diablo-jdk13)? 

Matthew Faircliff

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


Re: Openoffice 1.1 + native java

2003-10-16 Thread Kenneth Culver
Quoting Matthew Faircliff [EMAIL PROTECTED]:

 Hello,

 Can anyone tell me if openoffice 1.1 (openoffice-devel) works with the native
 java (diablo-jdk13)?

 Matthew Faircliff

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

I believe you need the latest working jdk on FreeBSD... 1.4.1. I just compiled
it last night and am compiling openoffice 1.1 right now, and everything seems
to be working so far.

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


Re: Uninstalling Port installed applications

2003-10-16 Thread Michael Lee
Thank you for your reply.
I know there was a tool called portupgrade that can manage the ports very
well.
What I want to know is that if I do not use portupgrade, can 'make
deinstall' do what I expected ?

Thanks!

Michael Lee

- Original Message - 
From: Q [EMAIL PROTECTED]
To: Michael Lee [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 7:48 PM
Subject: Re: Uninstalling Port installed applications


 You are looking for the 'sysutils/portupgrade' port. It installs a tool
 called pkg_deinstall.

 So to achieve what you described, you would run 'pkg_deinstall -R A'
 and it would deinstall 'A' and any of its orphaned dependencies, ie.
 B, C, D but not E.

 Seeya...Q

 On Thu, 2003-10-16 at 21:41, Michael Lee wrote:

  Hi,
 
  I have a question about uninstalling port.
 
  Say, there are 5 applications -- A, B, C, D, E
 
  Installing A depends on B,C,D, and E.
  There is no problem that I type 'make install' under /usr/port/xxx/A
  that the port system will help me install B,C,D,E since they are
required by
  application A.
  Supposed that E was also required by another application F which was
already
  installed in the system,
  I wonder if I type 'make deinstall' under /usr/port/xxx/A and try to
  uninstall A,
  will the port system help me uninstall B,C,D but not uninstall E ?
 
  Thank you!
 
  Michael Lee
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: Howto find packages

2003-10-16 Thread Matthew Seaman
On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:

 I come form the Debian Linux world and would like to know how I can
 information about packages for installation. I use prots to install
 some, but many of them I just want to install binary files.

Debian apt is certainly one of the better package management systems.
 
 For eample, in Debian, I can use apt-cache search mozilla and this
 will list all packages with mozilla in it and then I can select the
 package for installation.

The emphasis in FreeBSD is generally on ports rather than packages.
For many ports, downloading the source and compiling doesn't take a
great deal longer than downloading a binary package.  Of course, for
some ports compilation takes quite a lot longer.

You can use the ports tree to search for what ports/packages are
available:

% cd /usr/ports
% make search key=foo
% make search name=bar

and you can also 'make readmes' which builds a series of .html files
that you can browse through to find stuff.  It's essentially the same
as what's at http://www.freebsd.org/ports/index.html

There's also http://www.freshports.org/ which has a lot of port
related stuff.
 
 In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?

Generally the way to find out what packages are available is to scan
what's available on the FTP sites.  You can do in a slightly more user
friendly that using /stand/sysinstall (/usr/sbin/sysinstall if you're
on 5.x) by going to the 'Configure' and then 'Packages' menus.

However, sysinstall will try and locate a directory on the FTP servers
that matches the version number of your system.  This quite often
fails: there's not enough room on the FTP servers to keep sets of
packages for more than 4 or 5 releases (plus the packages for old
releases soon start to be a long way behind the times).

Eg. look at:

 http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/

to see which releases have packages available.  Note too that
sysinstall isn't very sophisticated in the way that it tries to work
out what package directory to choose: for instance, if you're tracking
4-STABLE right now, sysinstall complains because it can't find a
directory for 4.9-RC2.

Note too that the packages on the FTP sites are updated when
possible.  There will be an official set of packages built for each
release -- the 4.9-RELEASE packages went up to the FTP sites quite
recently (even though 4.9 hasn't been released yet), which means that
the package building cluster has had to be devoted to doing the
packages for the release and hasn't had much spare time for producing
updated packages for either 4-stable or 5-current recently.  There
will be a 'Latest' directory for recently updated packages: for
4-STABLE packages the last updates where apparently around 24th
September which predates the most recent updates to the ports tree.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Openoffice 1.1 + native java

2003-10-16 Thread Jud
On Thu, 16 Oct 2003 16:59:52 +, Matthew Faircliff
[EMAIL PROTECTED] said:
 Hello,
 
 Can anyone tell me if openoffice 1.1 (openoffice-devel) works with the
 native java (diablo-jdk13)? 
 
 Matthew Faircliff

I don't know the answer, but would also appreciate one - perhaps slightly
more generalized, as I have been trying mightily to get Martin Blapp's
OO-RC5 package for -CURRENT to recognize my install of JDK 1.4.1
(patchlevel 4) from ports, without success.

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


Re: cross-compiling Linux apps on FreeBSD

2003-10-16 Thread Simon Barner
 My conundrum is this: I want to be able to use a Java (and perhaps
 Flash) plugin with Firebird on my FreeBSD workstation.

One remark to flash: flash5 is supported by the
ports/www/flashpluginwrapper port. Flash6 support is yet to come on
FreeBSD 4.x (its still in the beta stage. You will find more information
on that issue here:

http://freebsd.rambler.ru/bsdmail/freebsd-gnome_2003/msg05230.html
http://tmp.ninth-nine.com/LinuxPluginWrapper/

Regards,
 Simon



signature.asc
Description: Digital signature


Re: Howto find packages

2003-10-16 Thread Jez Hancock
On Thu, Oct 16, 2003 at 04:44:06PM +0100, Matthew Seaman wrote:
 On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
  For eample, in Debian, I can use apt-cache search mozilla and this
  will list all packages with mozilla in it and then I can select the
  package for installation.
 
 The emphasis in FreeBSD is generally on ports rather than packages.
 For many ports, downloading the source and compiling doesn't take a
 great deal longer than downloading a binary package.  Of course, for
 some ports compilation takes quite a lot longer.
 
 You can use the ports tree to search for what ports/packages are
 available:
 
 % cd /usr/ports
 % make search key=foo
 % make search name=bar
snip
I noticed a useful looking port tool here recently:

/ports/Tools/scripts/portsearch

which is a perl script that adds some teeth to the method mentioned by
Matthew above.  I've not actually used it but it looks useful.

Another simple way is to search the INDEX file directly:

grep ^mozilla /usr/ports/INDEX

to return a list of all ports starting with 'mozilla'.  The list can be
a bit unreadable so if you add:

grep ^mozilla /usr/ports/INDEX | cut -f1-2 -d|

it gives a more readable listing:

mozilla-thunderbird-0.2|/usr/ports/mail/mozilla-thunderbird
mozilla-1.4,2|/usr/ports/www/mozilla
mozilla-1.5b,1|/usr/ports/www/mozilla-devel
mozilla-gtk2-1.5b|/usr/ports/www/mozilla-devel-gtk2
mozilla-embedded-1.4,2|/usr/ports/www/mozilla-embedded
mozilla-embedded-1.5b,1|/usr/ports/www/mozilla-embedded-devel
mozilla-firebird-0.6.1_1|/usr/ports/www/mozilla-firebird
mozilla-gtk2-1.4|/usr/ports/www/mozilla-gtk2
mozilla-headers-1.4,2|/usr/ports/www/mozilla-headers
mozilla-headers-1.5b,1|/usr/ports/www/mozilla-headers-devel
mozilla-fonts-1.0_1|/usr/ports/x11-fonts/mozilla-fonts

where the first field is the port name and the second is the directory
the port resides in.

For some ports you might want to ommit the leading '^'
(especially in the case of perl packages which generally begin with 'p5-').

This is pretty much what the portsearch tool appears to do (with lots of
extra features packed in too)... don't know why I haven't used it yet :=)

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: Howto find packages

2003-10-16 Thread Jez Hancock
On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
 /ports/Tools/scripts/portsearch
Sorry should have been:

/usr/ports/Tools/scripts/portsearch

of course :|
-- 
Jez Hancock
 - System Administrator / PHP Developer

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


NIS problem

2003-10-16 Thread Adam Maloney
(Posted to freebsd-isp on Tuesday, but got no responses)

Feel my pain :)

We have just begun a migration to NIS (please keep the NIS sucks,
Sendmail sucks, FreeBSD sucks, You suck, I suck, etc posts to a
dull roar.)

In the last couple of days we have seen a lot of messages like the one
below appearing in /var/log/messages:

Oct 13 06:14:58 x ypserv[45883]: access to master.passwd.byname
denied -- client 1.2.3.4:3458 not privileged

This goes on for a number of minutes, and then fixes itself.

Obviously, the problem is that the NIS lookup request is coming from a
non-priveleged ( 1024) port, and ypserv won't honor it.  What's not so
obvious is why/how this is happening.

I'm suspecting it's Sendmail, since the frequency of the message
somewhat coincides with the rate of incoming mail on this box.  But I
can't seem to find any clues on the web or usenet confirming this.  Has
anyone seen this before, or know of a solution?

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


Re: src code

2003-10-16 Thread sales
i need to know where can i download the newest freebsd from, i do not have a 
unix system, but i will, and i wanna know the site that i can DL it from .

On 16 Oct 2003 at 4:01, Mailing Lists Catcher wrote:

 Doesn't seem like you had an answer to this...
 
 What source are you looking for exactly?
 If you have a freebsd system you can get the source for just anything to
 do with the os through /stand/sysinstallit may even already be on
 our system now depending on your installation
 
 The sources for most other things are on the ftp or web sites of the
 individual developers.  Try sourceforge.
 
 Jason
 
 On Tue, 2003-10-07 at 19:15, [EMAIL PROTECTED] wrote:
  what is the newest version and where can i download it for use from?
  
  
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


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


Re: src code

2003-10-16 Thread Julien Gabel
 i need to know where can i download the newest freebsd from, i do not
 have a unix system, but i will, and i wanna know the site that i can
 DL it from .

* Obtaining FreeBSD (all can be answered here):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html

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


Re: NIS problem

2003-10-16 Thread Dan Nelson
In the last episode (Oct 16), Adam Maloney said:
 In the last couple of days we have seen a lot of messages like the
 one below appearing in /var/log/messages:
 
 Oct 13 06:14:58 x ypserv[45883]: access to master.passwd.byname denied -- client 
 1.2.3.4:3458 not privileged
 
 This goes on for a number of minutes, and then fixes itself.
 
 Obviously, the problem is that the NIS lookup request is coming from
 a non-priveleged ( 1024) port, and ypserv won't honor it.  What's
 not so obvious is why/how this is happening.

 I'm suspecting it's Sendmail, since the frequency of the message
 somewhat coincides with the rate of incoming mail on this box.  But I
 can't seem to find any clues on the web or usenet confirming this.  Has
 anyone seen this before, or know of a solution?

That message gets printed whenever a remote NIS client tries to access
master.passwd.* over a non-privileged port.  Only root should have
access to the master maps, so a remote process has to bind to a port 
1024 before doing the lookup, to prove that it's root.  It looks like
for some reason you have a process that's running as root but is using
a port over 1024.  I can't see anyplace in the NIS client code that
binds the socket, though, so I must be looking in the wrong place.  It
has to work, or else you wouldn't be able to log in using NIS at all.

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


Re: updating system help ??!!??

2003-10-16 Thread Michael Sierchio
Brent Bailey wrote:

###
Backup /etc:
# cp -Rp /etc /etc.old
This may not do what you think it does, and it may not
do what you want.  Links copied as files, etc.
Use tar or cpio.

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


Help nleeded with messy sendmail setup

2003-10-16 Thread Charles Howse
Hi,

[I've read this several times before I posted, It's really
confusing...even to me...sorry.  Sendmail just kicks my butt every time
I need to configure it.]

I may have brought this up before, but I just can't seem to find an
acceptable answer anywhere.

I have a home network, with 2 FreeBSD 4.8-RELEASE-p13 machines: curly
and larry.
I only have need for *local* command-line mail on each.
I have sendmail_enable=NO in etc/rc.conf.
I also have 2 WinXP Pro machines: moe and shemp.

I run httpd and vsftpd on curly.
In order to access the www and ftp servers from anywhere, I created an
account on http://www.dyndns.org called howse.homeunix.net.
I run ddclient to update any changes in my dynamic IP address to
dyndns.org.
So www requests for http://howse.homeunix.net are bounced off the
dyndns.org dns server and routed to port 80 on curly.

I have edited curly's /etc/mail/aliases and told it to send all mail
addressed to root to charles, who also has an account on curly.

I want to log into curly and larry from moe via MS Outlook as user
charles to get the daily reports.

If I set my hostname on curly to curly in /etc/rc.conf, sendmail
fusses and times out trying to resolve it's hostname.  My solution was
to set the hostname to curly.howse.homeunix.net.  Probably not a good
idea for a variety of reasons.

Then, suddenly, no mail was being delivered to charles.  I found out
that I needed to create and edit /etc/mail/relay-domains and
local-host-names, because I was relaying through howse.homeunix.net
and it was refusing the connection.
I placed howse.homeunix.net in each file.  
I also changed the 127.0.0.1 line in /etc/hosts from
localhost.howse.homeunix.net localhost to just localhost.  That may
not have changed anything...I'm  not sure.
Mail works now, except the mail I get comes from Charlie Root
[EMAIL PROTECTED] rather than [EMAIL PROTECTED]
I need to fix that.

I'd really like to get *ALL* this straightened out like it should be.  
KEY POINT!!! == I'd prefer to leave the hostname as curly.
What has to be done?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Problems whith ACPI in 5.1Release Installation

2003-10-16 Thread Osmany Guirola Cruz
 Hi 
  I am trying to install the 5.1Release and i am havin problems with ACPI
these is the message:

ACPI autoload failed - inappropiated file type or format
Fatal Trap 12 : page fault while in kernel mode
Fault virtual address = 0x240
Fault code = supervisor read, page not present
stack pointer =0x10:0xc0ae3cf4
frame pointer =0x10:0xc0ae3d38
code segment = base 0x0, limit 0x f, type 0x1b
 = DPL 0 , pres 1, def32 1,
processor eflags= interrupt enabled, resume, IOPL=0
trap number =12
panix: page fault
Uptime 1s

I try in the boot menu de 2 an 3 option(disabled ACPI) and i have tha same result 
What should i do.
 
I have a P4 1.5 Mhz 512MB of RAM , a Maxtor 40GB 4k040h2
 

 
  

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


Re: Howto find packages

2003-10-16 Thread Dinesh Nadarajah
I guess what FreeBSD needs is a good port of the apt system Should not
be difficult. It can let pkg_xxx do all the installing etc. Would be
cool if one existed :)

-D

--- Jez Hancock [EMAIL PROTECTED] wrote:
 On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
  /ports/Tools/scripts/portsearch
 Sorry should have been:
 
 /usr/ports/Tools/scripts/portsearch
 
 of course :|
 -- 
 Jez Hancock
  - System Administrator / PHP Developer
 
 http://munk.nu/

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


kernel option to increase max open files

2003-10-16 Thread John Fox
Hi, folks.

I've got a 2.2.2 machine which I can't currently upgrade, due to funding
issues.  This machine handles a lot of mail, and I am lately finding 
dmesg output to be full of file: table is full messages, and entries
like these in the sendmail log:

   SYSERR(UID0): readqf: cannot open dfAAA29006: Too many open files in \
   system

   SYSERR(UID0): Cannot open hash database /etc/aliases: Too many open \
   files in system

So I figure I need to increase the max number of open files available.

I've looked around, and it appears I have two different options:

1) Kernel option options OPEN_MAX=### which sets the max number
of open files per user (which would be 'root' in this case, as that's who
sendmail runs as).

2) a login.conf class setting assigned to root.  The 'openfiles' setting seems
somewhat equivalent to the OPEN_MAX option.  However, I am not certain
that limits set in login.conf apply to a process being run by a user that
didn't log in (sendmail being started by init at boot, rather than from
root's login session).


I welcome any thoughts/advice on this matter, as I don't want to try either
of these changes without having done due diligence.  

Thank you,


-John
--
+---+
| John Fox [EMAIL PROTECTED]   |  System Administrator   | InfoStructure   |
+---+
|Gideon: I thought you said don't hold a grudge.|
| Galen: I don't. I have no surviving enemies...at all. |
| -- Crusdade, _Racing the Night_ |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


utility idea

2003-10-16 Thread Gary Kline

Is there an existant utility (script) that captures the output
of grep -n and, using vi then presents the user with the list of
files that are brought at the first point where the string was
seen.  E.g, if I'm recursively searching for the string ncount 
and find several files, the script would queue up each file.

(I seem to remember a debugging script that would do something
 like this using the err output from cc, but this was years 
 and years ago.)

Clues welcome, people, 

tia,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Howto find packages

2003-10-16 Thread Matthew Seaman
On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
 I guess what FreeBSD needs is a good port of the apt system Should not
 be difficult. It can let pkg_xxx do all the installing etc. Would be
 cool if one existed :)

I believe that is spelt 'fink' in certain corners of the *BSD world.

   http://fink.sourceforge.net/

We look forward to your patches integrating this with the FreeBSD
ports system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Mozilla weirdness

2003-10-16 Thread David Gerard

anyone know why my Mozilla 1.4 has no spell check in mail?
am i missing something here?


Yep - 1.4 doesn't come with the spell checker! It is included with
1.4.1 or 1.5, though.
- d.



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


Re: free (or cheap) smtp server accounts?

2003-10-16 Thread Shantanoo Mahajan
+-- Nuno Teixeira [freebsd] [16-10-03 01:54 IST]:
| Hello to all,
| 
| I'm having a lot of problems with my ISP smtp server and I decided to find a smtp 
service but for what I see it is rare to find one. You can find a lot of pop3 services 
but few smtp ones.
| 
| I found one smtp.com but it is a little expensive for me.
| 
| Does anyone knows any?

The one of the reason I migrated to *nix was what I
can have my own SMTP server running and working
perfectly within few seconds.

| 
| Thanks very much,
| 
|   Nuno Teixeira
| 
| --

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


Re: Mozilla weirdness

2003-10-16 Thread Kent Stewart
On Thursday 16 October 2003 07:09 am, Matthew Seaman wrote:
 On Thu, Oct 16, 2003 at 08:54:46AM -0400, Monah Baki wrote:
  I just upgraded my ports tree and I'm running gnome 2.4 with
  mozilla 1.4. I logged in as my username (not root) and double
  clicked my mozilla icon (which was pointing to /usr/X11R6/
  bin/mozilla). 2 things I got confused is it gave me a dialog box
  saying which profile to use (by default, there was default), so I
  clicked choose defaut profile, it responded it's already in use.
  Then all of a sudden every 2-3 seconds it gave the same dialog box
  and I couldn't quit, so I had to reboot.

 This sort of thing can happen occasionally between Mozilla updates.
 One thing to try is moving aside your ~/.mozilla directory and
 starting again with a new one.  Of course, this means that you'll
 have to recreate all of your customised settings and bookmarks and so
 forth.

I have been having similar problems. I did a manage bookmarks and from 
the tools menu, I exported them. This is also a handy way of sharing 
them between machines. Then, I stopped mozilla, removed .mozilla, 
restarted mozilla and from the manage option I imported the old 
bookmarks. This added a new personal toolbar, which isn't real. I 
opened  and moved each of the folders from the old one into the real 
personal toolbar and deleted what was left of the one I had just 
imported.

I had one stick around last night and kill -9 or -15 wouldn't work. I 
finally resorted to a killall mozilla-bin and it disappeared.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


[possibly OT]: anyone attempt running IBm DB2 for Linux, under emulation on FreeBSD

2003-10-16 Thread Nathan Vidican
I as recently approached by a client of mine who is running (very happily so) 
a FreeBSD machine as a small-business server (using samba for file/print 
sharing, squid for proxy gateway, email, mySQL, and a few others). The 
machine more than services the 50 or so people using it, and maintains load 
averages usually less than 1.

They have recently bought into an application software which requires IBM's 
DB2 database back-end; it has been proposed that they install a second server 
running linux explicitly for the purpose of running IBM's DB2 for Linux. The 
key question now being

Can someone run IBm's DB2 for Linux, on a FreeBSD box? If so, will it 
maintain stability even if at the loss of some performance versus running it 
on an actual Linux box? Does anyone have any experience with this, and/or has 
anyone out there tried this themselves yet? I have heard numerous success 
stories running Oracle for Linux under FreeBSD... but have thus far been 
unable to find anyone trying IBM DB2 with FreeBSD.

Any comments/suggestions/flames/etc greatly welcomed.

--
Nathan Vidican
[EMAIL PROTECTED]
Innovative Product Sales
http://www.InnovativeProductSales.com/

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


Re: [possibly OT]: anyone attempt running IBm DB2 for Linux, under emulation on FreeBSD

2003-10-16 Thread Matthew Bettinger
On Thu, 16 Oct 2003 18:58:15 +
Nathan Vidican [EMAIL PROTECTED] wrote:


 They have recently bought into an application software which
 requires IBM's DB2 database back-end; it has been proposed that
 they install a second server running linux explicitly for the
 purpose of running IBM's DB2 for Linux. The key question now
 being
 

'Will IBM support DB2 running on FreeBSD'  
The only experience I have with IBM is Unidata... and I doubt you
would get any support for DB2 on bsd.  Not related in any means
however I'd never install somehting like that without knowing it
would be supported by the vendor.

Something to think about.  ;-)

re,

-
Matthew Bettinger
System Administrator
Champion Elevators, Inc
Houston, Texas 77061
713.640.8500
-
KeyID: 68F0AAC4
Key Fingerprint: 096F 98AE 74FB 984B 2134 5C41 0E94 CF91 68F0 AAC4
Public Key: http://www.championelevators.com/~mbettinger/pub_key.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Kent Stewart
On Thursday 16 October 2003 09:03 am, Jez Hancock wrote:
 On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
  /ports/Tools/scripts/portsearch

 Sorry should have been:

 /usr/ports/Tools/scripts/portsearch

 of course :|

I like this one. I used to use the make search option, which I reduced 
to search name using an alias, but portsearch's output is much 
cleaner because of the formatting.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Howto find packages

2003-10-16 Thread Shawn Morris
whereis pkgname

eg.
[EMAIL PROTECTED]:~]$ whereis bash2
bash2: /usr/ports/shells/bash2
[EMAIL PROTECTED]:~]$

On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
 Hi:
 
 I come form the Debian Linux world and would like to know how I can
 information about packages for installation. I use prots to install
 some, but many of them I just want to install binary files.
 
 For eample, in Debian, I can use apt-cache search mozilla and this
 will list all packages with mozilla in it and then I can select the
 package for installation.
 
 In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?
 
 Thanks in advance.
 
 -D
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Shawn Morris
NTT/Verio IP Engineering
v:312.621.7422
f:520.447.7082
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Alex de Kruijff
On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
 I guess what FreeBSD needs is a good port of the apt system Should not
 be difficult. It can let pkg_xxx do all the installing etc. Would be
 cool if one existed :)
 
Packages should work normaly, but can give some trouble afther you
update. There is a port called portupgrade which has the same goal as
the Debian apt system. You are better of using this if you like to
upgrade you installed packages. Packages however can stil be a problem.
Debian handels packages better.

Its likly that using packages isn't that high on the agenda since
installing application by compiling isn't that hard to do with the ports
system.

i.e.cd /usr/port/www/mozilla; make install  make clean
or  portinstall www/mozilla

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: utility idea

2003-10-16 Thread Alex de Kruijff
On Thu, Oct 16, 2003 at 10:18:56AM -0700, Gary Kline wrote:
 
   Is there an existant utility (script) that captures the output
   of grep -n and, using vi then presents the user with the list of
   files that are brought at the first point where the string was
   seen.  E.g, if I'm recursively searching for the string ncount 
   and find several files, the script would queue up each file.
 
   (I seem to remember a debugging script that would do something
like this using the err output from cc, but this was years 
and years ago.)
 
   Clues welcome, people, 
 
   tia,
 
   gary

I think you think of script. I.e. script /root/filename. It records
everything you do afther that. It is used in the handbook in the chapter
that goes about updating your FreeBSD world by compilation.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Obtaining crash dumps?

2003-10-16 Thread a

Hi,

Does anybody out there have a pointer on how to obtain a crash dump 
under FreeBSD? (e.g. when the box panics and I end up in gdb)

TIA for your help
-ewald

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


PNP ISA Modem Motorola Premier 33.6 Internal can't install

2003-10-16 Thread maxim
Hello,

I have PNP ISA modem, programe pnpinfo write out:
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID MOT1580 (0x8015f435), Serial Number 0x19647968
PnP Version 1.0, Vendor Version 0
Device Description: Motorola Premier 33.6 Internal

Logical Device ID: MOT1580 0x8015f435 #0
Device supports I/O Range Check
TAG Start DF
I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 3 4 5 7  - only one type (true/edge)
TAG Start DF
I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 3 4 5 7  - only one type (true/edge)
TAG Start DF
I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 4  - only one type (true/edge)
TAG Start DF
I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 3  - only one type (true/edge)
TAG Start DF
I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 10 11 12 15  - only one type (true/edge)
TAG Start DF
I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 10 11 12 15  - only one type (true/edge)
TAG Start DF
I/O Range 0x0 .. 0x3f8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 3 4 5 7  - only one type (true/edge)
TAG Start DF
I/O Range 0x0 .. 0x3f8, alignment 0x8, len 0x8
[not 16-bit addr]
IRQ: 10 11 12 15  - only one type (true/edge)
TAG End DF
End Tag

Successfully got 28 resources, 1 logical fdevs
-- card select # 0x0001

CSN MOT1580 (0x8015f435), Serial Number 0x19647968

Logical device #0
IO:  0x03e8 0x 0x 0x 0x 0x 0x 0x
IRQ 3 0
DMA 4 0
IO range check 0x00 activate 0x01

But I can't see new sio device.
How can I solve the problem?
How does FreeBSD configurate PNP isa devices?

Kind Regards,
Maxim Maslennikov.

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


Re: utility idea

2003-10-16 Thread Alex de Kruijff
On Thu, Oct 16, 2003 at 10:18:56AM -0700, Gary Kline wrote:
 
   Is there an existant utility (script) that captures the output
   of grep -n and, using vi then presents the user with the list of
   files that are brought at the first point where the string was
   seen.  E.g, if I'm recursively searching for the string ncount 
   and find several files, the script would queue up each file.
 
   (I seem to remember a debugging script that would do something
like this using the err output from cc, but this was years 
and years ago.)
 
   Clues welcome, people, 

Sorry, I didn't read you message rigth.

I beleave you are looking for something like:
find /usr/ports -e grep -l ncount {} \;

This seaches for files with the word ncount inside.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fatal trap error when installing

2003-10-16 Thread Osmany Guirola Cruz
Pelase help me what should i do whit these messsage in the installing process

ACPI autoload failed - inappropiated file type or format
Fatal Trap 12 : page fault while in kernel mode
Fault virtual address = 0x240
Fault code = supervisor read, page not present
stack pointer =0x10:0xc0ae3cf4
frame pointer =0x10:0xc0ae3d38
code segment = base 0x0, limit 0x f, type 0x1b
 = DPL 0 , pres 1, def32 1,
processor eflags= interrupt enabled, resume, IOPL=0
trap number =12
panix: page fault
Uptime 1s


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


Re: Obtaining crash dumps?

2003-10-16 Thread Chris Readle
Here's a link to the relevant section of the FAQ.  Unfortuneately, I
haven;t build a debugging kernel yet so I cannot go into further detail,
but no doubt someone else on the list can.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING

chris

--- [EMAIL PROTECTED] wrote:
 
 Hi,
 
 Does anybody out there have a pointer on how to obtain a crash dump 
 under FreeBSD? (e.g. when the box panics and I end up in gdb)
 
 TIA for your help
 -ewald
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tape Device file differences...

2003-10-16 Thread Marco Greene (Home)
..I am a little confused about tape devices in FreeBSD.

Under the /dev directory...I have the following tape devices:
# ls *sa*
ersa0   esa0.1  nrsa0.3 rsa0.0  sa0.1
ersa0.0 esa0.2  nsa0rsa0.1  sa0.2
ersa0.1 esa0.3  nsa0.0  rsa0.2  sa0.3
ersa0.2 nrsa0   nsa0.1  rsa0.3  sa0.ctl
ersa0.3 nrsa0.0 nsa0.2  rsa0.ctl
esa0nrsa0.1 nsa0.3  sa0
esa0.0  nrsa0.2 rsa0sa0.0

I have figured out most of it by searching on the net...but any
clarification or pointers to documentation would be helpful.

This is what I have figured out so far (feel free to correct me if I am
wrong).
-e[r]sa0 = Eject
-n[r]sa0 = No Rewind
-[r]sa0 = Rewind
-The .ctl file should be used with the mt command.



This is what I still need explained:
-The difference between the /dev/*rsa0 devices and /dev/?sa0 devices?  i.e.
What is the r for?
-What is the .0, .1, .2 and .3?

Thanks,
Marco

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


Porting to FreeBSD

2003-10-16 Thread Daniela
Hi there!

I found many interesting Linux programs on sourceforge.net and other sites, 
but they're not in the ports collection. So I thought I'll port some of these 
to FreeBSD. However, I'm still pretty new to FreeBSD and I never ported 
anything.

I can't even compile most of the programs on my system, and I'm almost sure it 
has to do with dependencies in 99% of all cases.
How do I find out what ports/programs it depends on? And yes, I have RTFM, but 
I still have no clue.

Daniela


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


Re: Porting to FreeBSD

2003-10-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Daniela wrote:

Hi there!

I found many interesting Linux programs on sourceforge.net and other sites, 
but they're not in the ports collection. So I thought I'll port some of these 
to FreeBSD. However, I'm still pretty new to FreeBSD and I never ported 
anything.

I can't even compile most of the programs on my system, and I'm almost sure it 
has to do with dependencies in 99% of all cases.
How do I find out what ports/programs it depends on? And yes, I have RTFM, but 
I still have no clue.

Daniela

 

Good ? and one I'll take stab at, why not?

You've RTFM... is that the Porter's Handbook?

If so, good.  I'm guessing the next step is UTS,L!

:-)

Kevin Kinsey
DaleCo, S.P.
P.S.  Good luck with whatever it may be!  Looking
forward to it...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting to FreeBSD

2003-10-16 Thread Charles Swiger
On Thursday, October 16, 2003, at 06:11 PM, Daniela wrote:
I found many interesting Linux programs on sourceforge.net and other  
sites,
but they're not in the ports collection. So I thought I'll port some  
of these
to FreeBSD. However, I'm still pretty new to FreeBSD and I never ported
anything.
Start here:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ 
index.html

I can't even compile most of the programs on my system, and I'm almost  
sure it
has to do with dependencies in 99% of all cases.  How do I find out  
what ports/programs it depends on? And yes, I have RTFM, but I still  
have no clue.
Most programs have a README which identifies any dependencies they  
might have.  If a Linux package exists for the program (ie, such as an  
RPM), you could also look at that to gain an idea as to the  
dependencies.   Beyond that, however, the problem lies in the fact that  
many people don't write particularly portable code, and you will need  
to resolve such issues by patching the program to work under FreeBSD.

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


Re: utility idea

2003-10-16 Thread Giorgos Keramidas
On 2003-10-16 10:18, Gary Kline [EMAIL PROTECTED] wrote:
 Is there an existant utility (script) that captures the output of
 grep -n and, using vi then presents the user with the list of files
 that are brought at the first point where the string was seen.
 E.g, if I'm recursively searching for the string ncount and find
 several files, the script would queue up each file.

 (I seem to remember a debugging script that would do something like
 this using the err output from cc, but this was years and years ago.)

 Clues welcome, people,

You can probably hack something around grep/awk, i.e.:

: g:/etc/mail grep -n 'otenet' *
: gothmog.cf:154:DSmail.otenet.gr
: gothmog.mc:8:define(`SMART_HOST', `mail.otenet.gr')
: sendmail.cf:154:DSmail.otenet.gr
:
: g:/etc/mail grep -n 'otenet' * | awk -F: '{print vi +$2,$1}'
: vi +154 gothmog.cf
: vi +8 gothmog.mc
: vi +154 sendmail.cf

Filter the output of that last pipeline through sh(1) and vi will fire
up as many times as necessary:

: g:/etc/mail grep -n 'otenet' * | awk -F: '{print vi +$2,$1}' | sh

HTH, Giorgos

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


Re: Uninstalling Port installed applications

2003-10-16 Thread parv
in message [EMAIL PROTECTED],
wrote Michael Lee thusly...

 Say, there are 5 applications -- A, B, C, D, E
 
 Installing A depends on B,C,D, and E.
...
 Supposed that E was also required by another application F which
 was already installed in the system, I wonder if I type 'make
 deinstall' under /usr/port/xxx/A and try to uninstall A, will the
 port system help me uninstall B,C,D but not uninstall E ?

I don't think the port system could help by itself, either like
portupgrade or Add/Remove Software on Windows.

If you know the dependencies, just do it yourself one port at
a time.  There are two ways: pkg_delete(1) (pkg_deinstall(1) comes from
portupgrade(1))  make deinstall, ports(7).

By default, pkg_delete will not remove a dependency (in your case
any of B, C, D, E) if the dependent port still exists (A) in the
ports database (/var/db/pkg).  You can force it though via -f
option, and recursively delete ports via -r.  See pkg_delete(1)
for details.

The deinstall target (run in the directory of
to-be-deinstalled-port) will deinstall the dependency port, B, C, D,
or E, regardless of existence of a dependent port, A.  If the
dependent port exists, a warning message will be generated informing
you of the fact.

That has been my experience of w/ the ports so far.


Back to your case...

  - Remove A (either by pkg_delete or make deinstall)
  - Remove B, C, D.
  - Done (since you need E, no need to do anything else).


PS: You should consider installing portupgrade only if to keep the
ports database current, like i do.


  - Parv

-- 

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


Re: Porting to FreeBSD

2003-10-16 Thread Karel J. Bosschaart
On Thu, Oct 16, 2003 at 04:44:17PM -0400, Charles Swiger wrote:
 On Thursday, October 16, 2003, at 06:11 PM, Daniela wrote:
snip
 I can't even compile most of the programs on my system, and I'm almost  
 sure it
 has to do with dependencies in 99% of all cases.  How do I find out  
 what ports/programs it depends on? And yes, I have RTFM, but I still  
 have no clue.
 
 Most programs have a README which identifies any dependencies they  
 might have.  If a Linux package exists for the program (ie, such as an  
 RPM), you could also look at that to gain an idea as to the  
 dependencies.   Beyond that, however, the problem lies in the fact that  
 many people don't write particularly portable code, and you will need  
 to resolve such issues by patching the program to work under FreeBSD.

Adding to this: try 'gmake' instead of 'make'. Most programs written
for Linux assume the GNU version of make which is different from BSD
make. gmake is in the ports collection, and if you installed some ports
it is quite likely you already have it as a (build) dependency.

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


Re: Porting to FreeBSD

2003-10-16 Thread Simon Barner
Hi,

 I found many interesting Linux programs on sourceforge.net and other sites, 
 but they're not in the ports collection. So I thought I'll port some of these 
 to FreeBSD. However, I'm still pretty new to FreeBSD and I never ported 
 anything.
 
 I can't even compile most of the programs on my system, and I'm almost sure it 
 has to do with dependencies in 99% of all cases.
 How do I find out what ports/programs it depends on? And yes, I have RTFM, but 
 I still have no clue.

Additional to the suggestion from Charles and Kevin you should consider
the following:

Search the ports collection for a port that is similar to the one you want to
port (e.g. a GNU style autoconf package for GNOME 2). Copy that port's
directory and change it as necessary.

If you need help porting your favourite software to FreeBSD, then the
[EMAIL PROTECTED] ml is the best place to ask.

Regards,
 Simon


signature.asc
Description: Digital signature


Re: Howto find packages

2003-10-16 Thread parv
in message [EMAIL PROTECTED],
wrote Jez Hancock thusly...

 On Thu, Oct 16, 2003 at 04:44:06PM +0100, Matthew Seaman wrote:
  On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
   For eample, in Debian, I can use apt-cache search mozilla and this
   will list all packages with mozilla in it and then I can select the
   package for installation.
  
  You can use the ports tree to search for what ports/packages are
  available:
  
  % cd /usr/ports
  % make search key=foo
  % make search name=bar
...
 I noticed a useful looking port tool here recently:
 
 /usr/ports/Tools/scripts/portsearch

(path corrected)


 Another simple way is to search the INDEX file directly:
 
 grep ^mozilla /usr/ports/INDEX

There is also a perl module as a port to find various things about
a port...

   /usr/ports/textproc/p5-FreeBSD-Ports


...author's web page...

   http://people.freebsd.org/~tom/portpm/


Now to toot my own horn, solid steel perl wheel reinvented (version
=5.6 syntax that could be easily molded for use w/ version
5.005)...

   http://www103.pair.com/parv/comp/src/perl/parse-index.perl
   http://www103.pair.com/parv/comp/src/perl/parse-index.perl.pod

   Supporting module:
  http://www103.pair.com/parv/comp/src/perl/modules/Util.pm


...mind you that the path for the supporting module, Util.pm, needs
to be manually adjusted in parse-index.perl.


  - Parv

-- 

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


Re: Uninstalling Port installed applications

2003-10-16 Thread Lowell Gilbert
Michael Lee [EMAIL PROTECTED] writes:

 What I want to know is that if I do not use portupgrade, can 'make
 deinstall' do what I expected ?

If the port hasn't been modified (e.g., by cvsup'ing ports) since it
was installed, yes.  Otherwise, you will need to do a pkg_delete(1). 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Dinesh Nadarajah
The prblem is that mozilla takes a heck of a long time to compile on my
machine and all I want to do is browse the web. :) Oh well. :)

-D

--- Alex de Kruijff [EMAIL PROTECTED] wrote:
 On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
  I guess what FreeBSD needs is a good port of the apt system Should
 not
  be difficult. It can let pkg_xxx do all the installing etc. Would
 be
  cool if one existed :)
  
 Packages should work normaly, but can give some trouble afther you
 update. There is a port called portupgrade which has the same goal as
 the Debian apt system. You are better of using this if you like to
 upgrade you installed packages. Packages however can stil be a
 problem.
 Debian handels packages better.
 
 Its likly that using packages isn't that high on the agenda since
 installing application by compiling isn't that hard to do with the
 ports
 system.
 
 i.e.cd /usr/port/www/mozilla; make install  make clean
 or  portinstall www/mozilla
 
 -- 
 Alex
 
 Articles based on solutions that I use:
 http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: utility idea

2003-10-16 Thread Gary Kline
On Thu, Oct 16, 2003 at 11:45:44PM +0300, Giorgos Keramidas wrote:
 On 2003-10-16 10:18, Gary Kline [EMAIL PROTECTED] wrote:
  Is there an existant utility (script) that captures the output of
  grep -n and, using vi then presents the user with the list of files
  that are brought at the first point where the string was seen.
  E.g, if I'm recursively searching for the string ncount and find
  several files, the script would queue up each file.
 
  (I seem to remember a debugging script that would do something like
  this using the err output from cc, but this was years and years ago.)
 
  Clues welcome, people,
 
 You can probably hack something around grep/awk, i.e.:
 
 : g:/etc/mail grep -n 'otenet' *
 : gothmog.cf:154:DSmail.otenet.gr
 : gothmog.mc:8:define(`SMART_HOST', `mail.otenet.gr')
 : sendmail.cf:154:DSmail.otenet.gr
 :
 : g:/etc/mail grep -n 'otenet' * | awk -F: '{print vi +$2,$1}'
 : vi +154 gothmog.cf
 : vi +8 gothmog.mc
 : vi +154 sendmail.cf
 
 Filter the output of that last pipeline through sh(1) and vi will fire
 up as many times as necessary:
 
 : g:/etc/mail grep -n 'otenet' * | awk -F: '{print vi +$2,$1}' | sh
 
 HTH, Giorgos
 

Howdy!

Yes, this helps.  I remember hacking something vaguely along this
line in C (when my knoweldge of perl was virtually nil).
Can't find the program!

thanks for the ideas,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


diskless/pxe booting problem cont. aka cannot open /dev/ttyv0

2003-10-16 Thread Dave O
Ok, the last problem I was experiencing when the console would just 
freeze while the kernel was attempting to do the nfs mount was due to a 
firewall rule.  At least, that's what I gathered after scrolling through 
a tcpdump capture.  I don't have the message handy, but it seemed to 
have been due to expecting an icmp response that never came.  Anyways, 
I'm past this part now.

My problem now is that the boot process is hanging during what appears 
to be rc.i386 initialization.  I tried looking through the archives but 
only found one recent posting that never got answered.  All the other 
(few) where somewhat dated (circa 1999).  For the record, I'm trying to 
pxeboot a soekris net4501.  There's no vga or keyboard adapter as 
everythings handled through the serial console.  Can anyone provide any 
suggestions at what I should be looking at next.

Thanks,

dso

dmesg
--
[snip]
Mounting NFS file systems:.
Additional daemons: syslogd.
Doing additional network setup:.
Starting final network daemons:.
ELF ldconfig path: /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons: cron.
Initial rc.i386 nnitialization:.
Configuring syscons: blanktime/etc/rc.syscons: cannot open /dev/ttyv0: 
no such d
evice or address
.
Additional ABI support:.
Starting local daemons:.
Additional TCP options:.

Thu Jan 10 00:35:03 GMT 1980

/usr/src/sys/i386/conf/DISKLESS
--
machine i386
cpu I486_CPU
ident   DISKLESS
maxusers0
options INET#InterNETworking
options FAST_IPSEC  #new IPsec
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep 
this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big 
directories
options MFS #Memory Filesystem
#optionsMD_ROOT #MD is a potential root device
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP 
THIS!]
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options NO_SWAPPING # Disable swapping

# Debugging options
options DDB # Enable the kernel debugger.
# Options for pxe booting
options BOOTP
options BOOTP_NFSROOT
options BOOTP_COMPAT
options NFS
options NFS_ROOT
options IPFILTER#ipfilter support
options IPFILTER_LOG#ipfilter logging
options CLK_USE_I8254_CALIBRATION
options CPU_ELAN
options HZ=250
device  isa
device  pci
# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
options ATA_STATIC_ID   #Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  vga0at isa?
device  sc0 at isa? flags 0x100
# splash screen/screen saver
pseudo-device   splash
# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
#device apm0at nexus? disable flags 0x20 # Advanced Power 
Management

# PCCARD (PCMCIA) support
#device card
#device pcic0   at isa? irq 0 port 0x3e0 iomem 0xd
#device pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  sis # Silicon Integrated Systems SiS 900/SiS 
7016

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
#pseudo-device  md 

Third Party Patches that link to OpenSSL

2003-10-16 Thread Matthew Luckie
Hello

I've written an OpenSSL plugin for gaim that allows gaim to use the 
OpenSSL libraries that come installed with FreeBSD.  Gaim is a GPL 
application, OpenSSL is BSD licensed, and apparently there are license 
issues to deal with as a result.

http://www.openssl.org/support/faq.html#LEGAL2

They've said that unless the gaim project sanctions the use of OpenSSL 
with their code, that I should not release the code.  Apparently that 
would require contacting all of the prior developers to get their 
permission.

Is this the case, or can I safely release a third party patch that gaim 
does not depend on to run or compile?  The maintainer of gaim on FreeBSD 
is quite keen to use the patch.

Matthew

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


Re: Howto find packages

2003-10-16 Thread Lowell Gilbert
Dinesh Nadarajah [EMAIL PROTECTED] writes:

 The prblem is that mozilla takes a heck of a long time to compile on my
 machine and all I want to do is browse the web. :) Oh well. :)

Won't pkg_add -r mozilla do it?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 woes

2003-10-16 Thread Matthias Pirstitz
On Wed, 2003-10-15 at 22:01, Rod Person wrote:
 On Thursday 16 October 2003 03:54 am, Matthias Pirstitz wrote:
  Hi all,
 
  I'm new to FreeBSD, so please bear with me :)
 
  I have a Fujitsu Amilo-D notebook with a Radeon Mobility M9 card, and
  when I try to start X, it crashes with Caught signal 11.  Server
  aborting.
 
  There are no other error messages, only the following warning:
  RADEON(0): Bad V_BIOS checksum.
 
  I tried both FreeBSD 5.1 and 4.8.
 
 I'm using a ATI Mobility Radeon on FreeBSD 5.1. I've had no problems at all.
 What drive are you using in XF86Config, the 'ati' or the 'radeon'.

I tried both, but it doesn't seem to make any difference...

It just segfaults at startup, with both, the ati and radeon driver, with
and without dri or glx, with the normal xfree86 port and -snap, with
FreeBSD 5.1 and 4.8 - it's really scary :)

It only worked with 4.8 before I portupgraded everything - was that
xfree86 4.2?

Thanks for your help,
Matthias


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


Re: Third Party Patches that link to OpenSSL

2003-10-16 Thread Charles Swiger
On Thursday, October 16, 2003, at 07:09 PM, Matthew Luckie wrote:
I've written an OpenSSL plugin for gaim that allows gaim to use the 
OpenSSL libraries that come installed with FreeBSD.  Gaim is a GPL 
application, OpenSSL is BSD licensed, and apparently there are license 
issues to deal with as a result.

http://www.openssl.org/support/faq.html#LEGAL2
The first part of that reference starts with On many systems including 
the major Linux and BSD distributions, yes (the GPL does not place 
restrictions on using libraries that are part of the normal operating 
system distribution).

...and that would apply here, since FreeBSD supports OpenSSL as part of 
the normal OS distribution.

They've said that unless the gaim project sanctions the use of OpenSSL 
with their code, that I should not release the code.  Apparently that 
would require contacting all of the prior developers to get their 
permission.
Who is they?

Anyway, if there was a meaningful license conflict between Gaim and 
OpenSSL, the GPL (section 7) would forbid you from redistributing your 
modified version of Gaim+OpenSSL, but it would not forbid you from 
redistributing your patches by themselves.

The upshot is that while the end-user using those patches might be 
subject to patent infringement issues due to OpenSSL including RC5, 
IDEA, or other such algorithms which are patented in some parts of the 
world-- and thus would not be able to redistribute the result of 
applying your patches for the same reasons mentioned above-- they would 
be able to personally _use_ the result without violating the GPL.

IANAL, TINLA.  Does this help...?  :-)

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


problems with libc_r, icu, and gtk-gnutella

2003-10-16 Thread clayton rollins
First off, I'm somewhat of a newbie; sorry if this is daft...

I have been trying to get gtk-gnutella cvs to compile
with some new (internationalization) functions, using
ICU. Neither of the versions currently in ports
(devel/icu  devel/icu2) work; version 2.6.1 passes
configure tests for gtk-g, but produces a non-working
executable.
The best indicator I can seem to find of the error is
messages I get from the compiler (or linker) when
icu is compiled. These are as follows:
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not 
recommended.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using 
mkstemp()

I would like to just assume that icu is broken for this
platform, but it passes it's check suite perfectly.
Also, I've had a ton of programs give such errors and
work fine. (I also assume it works for others.)
The exact problem might be better pointed out by
messages I get while compiling gtk-g. These are
as follows:
/usr/lib/libc_r.so.4: WARNING!  setkey(3) not present in the system!
/usr/lib/libc_r.so.4: warning: this program uses gets(), which is unsafe.
/usr/lib/libc_r.so.4: warning: mktemp() possibly used unsafely; consider 
using mkstemp()
/usr/lib/libc_r.so.4: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc_r.so.4: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tmpnam() possibly used unsafely; consider 
using mkstemp()
/usr/lib/libc_r.so.4: warning: this program uses f_prealloc(), which is not 
recommended.
/usr/lib/libc_r.so.4: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tempnam() possibly used unsafely; consider 
using mkstemp()

I'm working on this because I intend to update the
gtk-gnutella port and would like to see this work for
other people. I'd also be willing to update the icu2
port, if I can figure out what the issue is.
I was thinking to mention some specifics about my
platform, but can't think of much that would be of use,
except that it is STABLE running SMP, as I think
this is probably thread related. If you want to know
more, just ask.
Any help is appreciated,
Clayton
_
Add MSN 8 Internet Software to your current Internet access and enjoy 
patented spam control and more.  Get two months FREE! 
http://join.msn.com/?page=dept/byoa

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


Re:FreeBSD G3

2003-10-16 Thread Nagilum
I'd assume NetBSD is more mature than Darwin, so I'd go with NetBSD instead..
Kind regards,
Alex.

Quoting Rod Person [EMAIL PROTECTED]:

 On Wednesday 15 October 2003 11:44 pm, lawrencejr johnson wrote:
  Hello,
 
  I'm would like to install BSD on my old G3 Powerbook Laptop. Whare can I
  find out How to do this, if it is possible ?
 
 Try Darwin. FreeBSD is not running on the G's yet.
 -- 
 Rod
 
 @ Home So No Cool Signature
 http://opensourcebeef.bsd.st
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



#_  __  _ __ http://www.nagilum.org/ \n icq://69646724 #
#   / |/ /__  _(_) /_  _  [EMAIL PROTECTED] \n +1776461165 #
#  // _ `/ _ `/ / / // /  ' \  Amiga (68k/PPC): AOS/NetBSD/Linux   #
# /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/  Mac (PPC): MacOS9 / Linux / MacOS-X #
#   /___/ x86: Linux/FreeBSD/QNX/Win98SE/WinXP  ARM9: EPOC EV6 #




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


Re: Howto find packages

2003-10-16 Thread S Ellis
On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?

I've been getting such good use from these Dru Lavigne articles that I
feel obliged posting a link for you,

http://www.onlamp.com/pub/q/FreeBSD_Basics

The recent port related pages have many useful tips for managing your
ports.

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


Re: [possibly OT]: anyone attempt running IBm DB2 for Linux, under emulation on FreeBSD

2003-10-16 Thread Phil Cryer
Quoting Nathan Vidican [EMAIL PROTECTED]:
 
 Can someone run IBm's DB2 for Linux, on a FreeBSD box? If so, will it 
 maintain stability even if at the loss of some performance versus running it
 
 on an actual Linux box? Does anyone have any experience with this, and/or has
 
 anyone out there tried this themselves yet? I have heard numerous success 
 stories running Oracle for Linux under FreeBSD... but have thus far been 
 unable to find anyone trying IBM DB2 with FreeBSD.

While not completely related, I have been running DB2 at work for a test
database running on Gentoo Linux.  Since Gentoo is not an RPM based system (DB2
is only distributed as RPMs I believe) I had to install RPM, but after that,
this doc walked me through getting it installed:
http://kjeldahl.net/db2/

So, the point being, is that DB2 *can* work on non-RPM systems.  For FreeBSD,
you'd need to install RPM:
$ whereis rpm
rpm: /usr/ports/archivers/rpm

..and try to follow some of the above instructions.  With the Linux capabilties
installed, I'd think it might work.  I'm still Goggling your query myself

It looks like someone has successfully installed the DB2client on FreeBSD (they
installed on a Linux box, and moved the files over)
http://www.khmere.com/resume/bsd_db2.html

Also, this page seems to infer that it's been done, but the link to BSD Today
takes you to serverwatch.com, and I can't find the article there.
http://daily.daemonnews.org/view_story.php3?story_id=1289

Here an IBM'r comments on the viability:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-March/000533.html

If I were you, I'd post this question to:
http://www.idug.org/idug/db2/listserver.cfm

Regards
P

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


logfile rotate

2003-10-16 Thread chael
Hello,

What config file is responsible for the rotation of logs? I have a logfile I need to 
rotate every 24 hours (it's not squid's). Thanks in advance.

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


Re: logfile rotate

2003-10-16 Thread Joe Marcus Clarke
On Thu, 2003-10-16 at 23:04, [EMAIL PROTECTED] wrote:
 Hello,
 
 What config file is responsible for the rotation of logs? I have a logfile I need to 
 rotate every 24 hours (it's not squid's). Thanks in advance.

/etc/newsyslog.conf is used for general logfile rotation.  newsyslog is
run from cron every hour on the hour.

Joe

 
 chael
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Disable console notifications

2003-10-16 Thread Sunil Sunder Raj
Hi,

Remove the line
#*.err;kern.debug;auth.notice;mail.crit /dev/console
from /etc/syslog.conf
OR

redirect it to a file
*.err;kern.debug;auth.notice;mail.crit  /var/log/console.log
Regards
SSR

From: Rus Foster [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Disable console notifications
Date: Thu, 16 Oct 2003 12:22:50 +0100 (BST)
Hi,
 What is the quick way to disable console notifications? i.e. to stop the
kernel putting up messages?
Rgds

Rus

--
w: http://www.jvps.com  | Virtual Dedicated Servers from $15/mo
e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Search 
from 7 lakh Brides  Grooms.

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


RE: logfile rotate

2003-10-16 Thread Gil Agno Virtucio
are you looking for /etc/newsyslog.conf  ?



-
Gil Agno Virtucio
Janitor/Collector/Messenger
NEC System Integration and Construction Philippines Inc. 
15th Floor BPI Buendia Center
Gil Puyat Ave. Makati City 1200
Cellphone : +639163989695
Office Phone: +6328914167
-

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: logfile rotate

Hello,

What config file is responsible for the rotation of logs? I have a 
logfile I need to rotate every 24 hours (it's not squid's). Thanks in 
advance.

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

** Get your free E-Mail account at WWW.DIGITELONE.COM **
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel option to increase max open files

2003-10-16 Thread Sunil Sunder Raj
Hi,
Run sysctl -w kern.maxfiles= to what ever value is needed. To get it 
updated at startup you can put a line like kern.maxfiles= in 
/etc/sysctl.conf to have the change on every reboot. You may also have to 
edit /etc/login.conf and adjust any openfiles= lines that might be 
lowering the per-process limit.

By default the openfiles value is unlimited OR infinite.

Regards
SSR

From: John Fox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: kernel option to increase max open files
Date: Thu, 16 Oct 2003 10:09:14 -0700
Hi, folks.

I've got a 2.2.2 machine which I can't currently upgrade, due to funding
issues.  This machine handles a lot of mail, and I am lately finding
dmesg output to be full of file: table is full messages, and entries
like these in the sendmail log:
   SYSERR(UID0): readqf: cannot open dfAAA29006: Too many open files in \
   system
   SYSERR(UID0): Cannot open hash database /etc/aliases: Too many open \
   files in system
So I figure I need to increase the max number of open files available.

I've looked around, and it appears I have two different options:

1) Kernel option options OPEN_MAX=### which sets the max number
of open files per user (which would be 'root' in this case, as that's who
sendmail runs as).
2) a login.conf class setting assigned to root.  The 'openfiles' setting 
seems
somewhat equivalent to the OPEN_MAX option.  However, I am not certain
that limits set in login.conf apply to a process being run by a user that
didn't log in (sendmail being started by init at boot, rather than from
root's login session).

I welcome any thoughts/advice on this matter, as I don't want to try either
of these changes without having done due diligence.
Thank you,

-John
--
+---+
| John Fox [EMAIL PROTECTED]   |  System Administrator   | InfoStructure   
|
+---+
|Gideon: I thought you said don't hold a grudge.
|
| Galen: I don't. I have no surviving enemies...at all. 
|
| -- Crusdade, _Racing the Night_ 
|
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Buy now! Receive a gold coin on Dhan Teras. 
http://server1.msn.co.in/features/general/dhanteras/index.asp Celebrate 
prosperity!

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


Re: logfile rotate

2003-10-16 Thread Sunil Sunder Raj
Hi,

/etc/newsyslog.conf is the file you need.
For eg.
If you need a file rotated monthly on the first day of the month.
/var/log/MYLOGFILE 600  12* $M1D0 Z
Regards
SSR

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: logfile rotate
Date: Fri, 17 Oct 2003 11:04:10 +0800
Hello,

What config file is responsible for the rotation of logs? I have a logfile 
I need to rotate every 24 hours (it's not squid's). Thanks in advance.

chael
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Three simple steps. They guarantee your safety. 
http://server1.msn.co.in/features/general/SMBvirus/index.asp Protect 
yourself against the SMB.EXE virus.

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


freebsd testing bandwidth

2003-10-16 Thread DanB
Is there a way to test bandwidth with a free bsd box?

Dan

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


Re: freebsd testing bandwidth

2003-10-16 Thread Dan Nelson
In the last episode (Oct 17), DanB said:
 Is there a way to test bandwidth with a free bsd box?

Sure.  Check out ports/benchmarks/netperf.

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


Re: freebsd testing bandwidth

2003-10-16 Thread Kliment Andreev
 Is there a way to test bandwidth with a free bsd box?

There a some utilities in the ports tree to test the network speed, but you
can also use your favorite browser  in your favorite X shell, to check the
DSL/Cable speed. www.dslreports.comm/tools



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


  1   2   >