Re: CVSup questions

2004-11-24 Thread Jay O'Brien
Kevin, Stheg;

Wow. You answered questions I didn't know how to ask. I was confused 
between src-all and cvs-all. The confusion is because of the example 
supfile /usr/share/examples/cvsup/cvs-supfile. It calls for the src-
all collection, which I mistakenly thought would get everything. Now 
I see that it also individually calls for ports-all, doc-all and 
others. Obviously I didn't read that file carefully enough. I now 
have read the stable and standard supfiles and understand the reasons 
for them all. And, I now know to put them somewhere that they won't 
be eaten by an upgrade if I edit them.

I also now see the need for different tags; I'll use RELENG_5_3 and .

Thanks for the lead to script. Another useful new command to me. 

I hadn't seen Dru Lavigne's article on portupgrade. Good read. 

And this wasn't well documented with me (yet), but it is now:
 the well documented make buildworld, make buildkernel,
 make installkernel, reboot single user, mergemaster -p,
 make installworld, reboot, mergemaster cycle 

I haven't had so much fun since CP/M (on 8 floppy disks)!

Jay O'Brien
Rio Linda, California, USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 Does Not Install on Toshiba Satellite Laptop

2004-11-24 Thread Federico Galvez-Durand Besnard
Lazlo, this is the mobile forum you can search for more info:
http://lists.freebsd.org/pipermail/freebsd-mobile/
I have a Toshiba Satellite2805-S302. It runs FreeBSD since version 3.x, 
If I am not mistaking versions. I am running 5.3 Stable now, just moved 
from 4.10.

To your question... it can be a checksum error in your recorded CD, 
probably in the ISO image (did you check it before burning?). Try the 
boot version (aprox. 20 Mbytes) or the floppies.

FreeBSD is solid rock of performance compared to Linux,  but I recognise 
(*at this moment*) for some users Linux is a better *Desktop* solution. 
If you go for Linux , you may try Fedora Core 3 (latest).

Take care*
Laszlo Antal* lantal at tmail.com 
mailto:freebsd-questions%40freebsd.org?Subject=FreeBSD%205.3%20Does%20Not%20Install%20on%20Toshiba%20Satellite%20LaptopIn-Reply-To=
/Mon Nov 22 23:05:49 GMT 2004/

   * Previous message: vinum + powerfailure - one volume corrupt,
 others unaffected
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/065637.html
   * Next message: FreeBSD 5.3 Does Not Install on Toshiba Satellite
 Laptop
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/065798.html
   * *Messages sorted by:* [ date ]
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/date.html#65638
 [ thread ]
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/thread.html#65638
 [ subject ]
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/subject.html#65638
 [ author ]
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/author.html#65638

Hi,
I am tryin to install FreeBSD 5.3 on my Toshiba Satellite Laptop.
Every time I boot up from the cd it stops loading at
pci0ACPI PCI bus on pcib0
I tryed everything in my bios.I even disable the wirwles card and the 
mouse, unpluged evry extra and still stops.
I tryed boot with ACPI, ACPI disable, Safe Mode.

Same problem.
The same cd does boot correctly on my desktop.
Does anyone could give me Idea what am I doing wrong?
Or if this laptop is not supported.
I appreciate every help
Thank you
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copyright Issues

2004-11-24 Thread Dick Davies
* Jonathan T. Sage [EMAIL PROTECTED] [1102 07:02]:
 Ted Mittelstaedt wrote:
 
 Besides, I am amazed this company hasn't already had problems with theft,
 if one of these condom dispensers showed up around here, I can think of
 a dozen people who would be trying to figure out how to steal it.
 
 
 and on that note, did they continue that copyright infringment on the 
 actual product? Cause my spidey sense is sensing that machine being sold 
 out soon.  (come on, you're all thinking how much you want a daemon 
 packaged condom on your workstation.  admit it.)

Er, it doesn't sell condoms. 

I'll leave it at that O_o


-- 
Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry
Rasputin :: Jack of All Trades - Master of Nuns


pgpObJWKpTut7.pgp
Description: PGP signature


This is a cool shell prompt question

2004-11-24 Thread Mark Jayson Alvarez
Good day!
 I'm just wondrin if its possible for me to run
applications at boot time but on another terminal. I
find it cool to have a huge digital clock (grdc)
running on background so that I can just shift to
another terminal whenever I want to know the time. 
Actually, all I really want is a clock that is
continuously ticking whatever I may be doing(in
terminal window). I've already learned how to set my
prompt to multiple lines and also displaying my
current working directory. But now, I want it even
more informative displaying a ticking digital clock in
my shell prompt like the one i'm seeing in my kde
system tray right now. 
   Is it possible?. Thanks.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mod_jk2 + tomcat + java question

2004-11-24 Thread Mipam
Hi,

Does anybody have experience with tomcat en mod_jk?
I installed java, tomcat5, mod_jk2 and apache2 via the ports.
The mod_jk2 module is now loaded in the httpd.conf
I copied mod_jk.conf in /usr/local/etc/apache2 and it looks now like this:

IfModule mod_jk.c
JkWorkersFile /usr/local/etc/apache2/workers.properties
JkLogFile  logs/jk.log
JkLogLevel warn

# Sample JkMounts.  Replace these with the paths you would
# like to mount from your JSP server.
JkMount /*.jsp myname.com
JkMount /servlet/* myname.com
JkMount /examples/* myname.com

I also copied workers.properties and workers2.properties to
/usr/local/etc/apache2.
However, i see errors in the http log:

[Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file 
/usr/local/conf/workers2.properties
[Wed Nov 24 10:09:50 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:51 2004] [notice] Apache/2.0.52 (FreeBSD) mod_jk2/2.0.2 
PHP/4.3.9 configured -- resuming normal operations
[Wed Nov 24 10:09:51 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:51 2004] [error] mod_jk child init 1 0
[Wed Nov 24 10:09:51 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:51 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:51 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:51 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:57 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:58 2004] [error] shm.init(): No file
[Wed Nov 24 10:09:58 2004] [error] shm.init(): No file

There is a tomcat dir here: /usr/local/jakarta-tomcat5.0

Any hints how i could make things work?
What to change?
Bye,

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


make arguments and buildworld

2004-11-24 Thread Gerard Seibert
I am going to do a fresh install of FreBSD 5.3 this weekend on my
computer. Immediately after the installation I want to do a buildworld
and install a custom kernel.

My question is what special arguments should I use in the 'make.conf'
file for this project.  Is it really necessary to change this file at
all? I was reading the handbook and it mentioned the 'CFLAGGS' entry and
a few others.

I would welcome any feedback that is available.

Thanks!


Gerard E. Seibert
[EMAIL PROTECTED]

They couldn't hit an elephant at this dist. . . .

- Final words of General John Sedgwick, Union Commander, d. 1864
Killed in battle during US Civil War.

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


Re: make arguments and buildworld

2004-11-24 Thread Giorgos Keramidas
On 2004-11-24 05:35, Gerard Seibert [EMAIL PROTECTED] wrote:
 I am going to do a fresh install of FreBSD 5.3 this weekend on my
 computer. Immediately after the installation I want to do a
 buildworld and install a custom kernel.

 My question is what special arguments should I use in the
 'make.conf' file for this project.  Is it really necessary to change
 this file at all? I was reading the handbook and it mentioned the
 'CFLAGGS' entry and a few others.

An /etc/make.conf file shouldn't be required to do a buildworld or
buildkernel.  The defaults should work just fine.

- Giorgos

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


Re: 5.3-STABLE - system after few hours

2004-11-24 Thread Piotr Gnyp
On Tue, Nov 23, 2004 at 10:02:19AM -0600, Dan Nelson wrote:
 Enable crashdumps by setting dumpdev=/path/to/swap/slice in rc.conf,
 wait for the system to crash again, then use the dump to get a stack
 trace, and post that.
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING

here it is:
discordia# kgdb /boot/kernel/kernel /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.
(no debugging symbols found)...0xc04e8cc6 in doadump ()
(kgdb) where
#0  0xc04e8cc6 in doadump ()
#1  0xc04e92bf in boot ()
#2  0xc04e95e5 in panic ()
#3  0xc05f29a0 in trap_fatal ()
#4  0xc05f26e3 in trap_pfault ()
#5  0xc05f233d in trap ()
#6  0xc05e0f4a in calltrap ()
#7  0xc04d0018 in do_execve ()
#8  0xc0517b85 in ttwakeup ()
#9  0xc05167e8 in ttymodem ()
#10 0xc051a4d3 in ptcopen ()
#11 0xc04b16de in spec_open ()
#12 0xc04b1423 in spec_vnoperate ()
#13 0xc0547511 in vn_open_cred ()
#14 0xc05470f6 in vn_open ()
#15 0xc054120f in kern_open ()
#16 0xc0541128 in open ()
#17 0xc05f2cab in syscall ()
#18 0xc05e0f9f in Xint0x80_syscall ()
#19 0x002f in ?? ()
#20 0x002f in ?? ()
#21 0x002f in ?? ()
#22 0x in ?? ()
#23 0x281ddc2d in ?? ()
#24 0xbfbfe4c8 in ?? ()
#25 0xea4e2d74 in ?? ()
#26 0x281df860 in ?? ()
#27 0x281ddc4b in ?? ()
#28 0x283415ec in ?? ()
#29 0x0005 in ?? ()
#30 0x000c in ?? ()
#31 0x0002 in ?? ()
#32 0x282ca517 in ?? ()
#33 0x001f in ?? ()
#34 0x0292 in ?? ()
#35 0xbfbfe46c in ?? ()
#36 0x002f in ?? ()
#37 0x2072746f in ?? ()
#38 0x70796e47 in ?? ()
#39 0x6f682f00 in ?? ()
#40 0x742f656d in ?? ()
#41 0x2fb6d000 in ?? ()
#42 0xc2a7 in ?? ()
#43 0xc2a054b0 in ?? ()
#44 0xea4e2aac in ?? ()
#45 0xea4e2a94 in ?? ()
#46 0xc1c404b0 in ?? ()
#47 0xc04f98c7 in sched_switch ()
Previous frame inner to this frame (corrupt stack?)


pgp3r43yeP4zQ.pgp
Description: PGP signature


Re: How do you make install without direct internet access?

2004-11-24 Thread Dick Davies
* Doug Poland [EMAIL PROTECTED] [1129 21:29]:
 On Tue, Nov 23, 2004 at 01:22:07PM -0800, Ralph wrote:

  actually, since I was in csh, the setenv FTP_PROXY
  my.internal.proxy:80 worked like a charm, except that,
  for some reason, fetch refuses to work without
  internet DNS resolution.  As with our environment, no
  internal hosts have external DNS resolution - how do
  you solve that?
  
 If you have ssh access out through the firewall, you can tunnel DNS (and
 http/ftp) requests through a *well-connected* Unix host.  

Well, yeah, but then you might as well not bother with a proxy...

That sounds like a bug to me - I guess most people use fetch with proxies
so the proxy will cache the distfiles rather than to allow isolated machines
to get on the network, which might explain why it's not been spotted before?

-- 
The State is the kind of organization which, though it does big things
badly, does small things badly too. - John Kenneth Galbraith
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Copyright Issues

2004-11-24 Thread Hexren
PR On Wed, Nov 24, 2004 at 02:01:30AM -0500, Jonathan T. Sage wrote:

 and on that note, did they continue that copyright infringment on the 
 actual product? Cause my spidey sense is sensing that machine being sold 
 out soon.  (come on, you're all thinking how much you want a daemon 
 packaged condom on your workstation.  admit it.)

PR I've heard it called many, many things before but I think that's the
PR first time I've heard somebody refer to it as a workstation. Your
PR partner is either very geeky, or very tolerant...


-

I think a literal Workstation (you know the thingy with the keyboard
and the monitor) was meant not his lil friend ;)

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


Re: nslookup not working on client machines only

2004-11-24 Thread David Jenkins
On Wed, 24 November, 2004 0:47, Nicolas said:
 Hello,

 I've set up a FreeBSD box to provide my home network a NAT access to
 the
 Internet and a DNS caching-only server with bind 8.3.7 (among other
 things).

 It's working perfectly but today I noticed something that I do not
 understand. When trying to $ nslookup google.com on a client host,
 here's what it says :

 8--
 [EMAIL PROTECTED] nslookup google.com
 *** Can't find server name for address 192.168.0.1: Non-existent
 host/domain
 *** Can't find server name for address ::: No response from server
 *** Default servers are not available
 [EMAIL PROTECTED]
 --8

 Now, trying the same thing directly on the DNS box :

 8--
 [EMAIL PROTECTED] nslookup google.com
 Server: 192.168.0.1
 Address:192.168.0.1#53

 Non-authoritative answer:
 Name:   google.com
 Address: 216.239.57.99
 Name:   google.com
 Address: 216.239.37.99
 Name:   google.com
 Address: 216.239.39.99

 [EMAIL PROTECTED]
 --8

 The resolv.conf files are the same on the 2 boxes :

 8--
 [EMAIL PROTECTED] cat /etc/resolv.conf
 search serpe.org
 nameserver 192.168.0.1
 [EMAIL PROTECTED]

 [EMAIL PROTECTED] cat /etc/resolv.conf
 search serpe.org
 nameserver 192.168.0.1
 [EMAIL PROTECTED]
 --8

 Given this, I do not understand why it works on the DNS box and not on
 the client.


I believe this might mean you don't have reverse DNS setup on your
server for you local network.

i.e. when you use nslookup it tries finding out the corresponding
hostname for it's own IP address. So if you have an IP address of
192.168.0.100 on the box that is having trouble with nslookup, you
will need to define what hostname that IP address map's to on your DNS
server.

You need to have the following in named.conf and the corresponding
zone file

zone 0.168.192.in-addr.arpa {
type master;
file localnetwork.rev;
};

which defines your home network and their IP address etc ...

Hope this helps.

David

PS - dig doesn't suffer from those problems AFAIK, so you may be
better of using dig.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make arguments and buildworld

2004-11-24 Thread Nikolas Britton
Gerard Seibert wrote:
I am going to do a fresh install of FreBSD 5.3 this weekend on my
computer. Immediately after the installation I want to do a buildworld
and install a custom kernel.
My question is what special arguments should I use in the 'make.conf'
file for this project.  Is it really necessary to change this file at
all? I was reading the handbook and it mentioned the 'CFLAGGS' entry and
a few others.
 

I'd recommend leaving CFLAGS and COPTFLAGS alone (I've only managed to 
make problems when I set these), but I would change CPUTYPE to your CPU 
Type, options are:

AMD CPU:   athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, k6-3, 
k6-2, k6, k5
Intel CPU:p4, p3, p2, i686, i586/mmx, i586, i486, i386

If you want to rebuild a custom kernel add this:
KERNCONF=FOOBAR
--
For your kernel config file comment out everything you don't need (make 
sure you have a working kernel b4 you buildworld), i.g:

cpu I486_CPU
cpu I586_CPU
device  eisa
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
all the SCSI Controllers
etc.
Don't forget to add in sound support etc. etc.
---
then buildworld:
# cvsup -g -L 2 foobar-supfile (set the cvs release tag to RELENG_5_3)
# cd /usr/src
# make -j2 buildworld  make -j2 buildkernel  make -j2 Installkernel 
 reboot
test your new kernel, if it works drop down to single user mode
# shutdown now
# cd /usr/src
# make installworld
# reboot
If system is still working then mergemaster
# mergemaster
# reboot
Done.

rm -r /usr/obj/*
I would welcome any feedback that is available.
Thanks!
Gerard E. Seibert
[EMAIL PROTECTED]
They couldn't hit an elephant at this dist. . . .
- Final words of General John Sedgwick, Union Commander, d. 1864
Killed in battle during US Civil War.
___
[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: CVSup questions

2004-11-24 Thread Giorgos Keramidas
On 2004-11-23 19:58, Jay O'Brien [EMAIL PROTECTED] wrote:

 I'm attempting to follow Using CVSup and learn how CVSup works.
 See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

 Questions about CVSup:

 1. Where should I place supfile?

Practically, anywhere you want.  I keep mine in `/etc/supfile'.

The rationale behind the choise of /etc as the directory to save the
supfile is that I consider the supfile a part of the system's setup
and configuration options.  These usually live under /etc. QED

 Obviously I could put it anywhere and make it work, but is there a
 usual place for it? I can't find where the manual makes a
 suggestion.

The manual makes no suggestion.  A supfile is a simple text file that
you can put anywhere you want.  In `/root/supfile', `/etc/mysupfile',
`/opt/cvsup/freebsd/current/supfile/src.sup' or whatever.  The CVSup
program doesn't care much about the _path_ of the supfile, as long as
it is readable.

 Do I have a need for more than one supfile?

That depends on what you want to update.  If you want to update many
different collections of files (i.e. the ports, the src tree, the
sources of the documentation, etc.), you may find it easier to create
one supfile for each collection of files being updated.  It's less of
an administrative PITA this way.

 2. I am running 5.3 RELEASE. It appears that if I specify
 *default tag=. that I will be getting updates from current.

Correct.

 Is this what I should do, given that I want to stay current on
 security and bug fixes, but I don't (at this time) intend to get
 involved with beta testing?

No.

See the Handbook section ``FreeBSD-CURRENT vs. FreeBSD-STABLE'' at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
for details.

 Or should I specify *default tag=RELENG_5_3?

Yes.  This would pull in only the 5.3-RELEASE sources and any security
fixes or other updates that are deemed critical enough for backporting
to the `security branch' of 5.3-RELEASE (the RELENG_5_3 branch).

 And, if I do that, will the ports be updated, including adding new
 ports?

No.  The Ports do not have security branches.
There is only one ports/ tree.

 3. The tutorial at http://www.us-webmasters.com/FreeBSD/Install/
 after item 68 describes CVSup. It suggests using the supfile
 /usr/share/examples/cvsup/ports-supfile which gets the ports-all
 collection. However, the Using CVSup manual says to get src-all,
 that includes ports-all. Is there some reason to use ports-all, not
 src-all as suggested by the handbook?

Each collection pulls in a different set of files.  The ports-all
collection updates the files of the Ports collection, usually located
under `/usr/ports'.  The src-all collection updates `/usr/src', where
the base-system sources live.

 4. The tutorial (see 3 above) item 97 concludes, after running
 cvsup, FreeBSD is installed, CONGRATULATIONS!

Poor wording.  It should probably say ``If you reached this point and
everything has worked correctly so far, congratulations!  Your source
trees have been updated.  You may now proceed by building the system
from source as described in `_Rebuilding world_'.''

 Isn't this a bit premature?  It seems to me that at that point I
 need to rebuild world per
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#MAKEWORLD
 to apply the new files and bring the system up to date.
 Am I missing something?

Correct.

- Giorgos

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


Re: php4-extensions

2004-11-24 Thread Uwe Laverenz
On Wed, Nov 24, 2004 at 09:12:48AM +0200, Cristi Tauber wrote:

 I searched the google and i found something about libmagic
 and to reinstall it. But i cannot find such a package/port . Anyone bump

IIRC libmagic is included in /usr/ports/sysutils/file .

cu,
Uwe

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


Disappearing directory/mount and Crash on umount since 5.3

2004-11-24 Thread Vince Hoffman
I'm having a reoccuring problem with one of my mounts,
I have a disk i mount at /usr/scratch which is also exported via samba.
since upgrading to 5.3 after a little while (sorry no exact timings 
yet,) an ls /usr/scratch gives ls: /usr/scratch: Bad file descriptor

[EMAIL PROTECTED]
(11:19:06 /usr) 0 # mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
/dev/ad2s1c on /usr/scratch (ufs, local, soft-updates)
/dev/ad3s1a on /big (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
[EMAIL PROTECTED]
(11:19:10 /usr) 0 # ls
ls: scratch: Bad file descriptor
.snap/ bin/   home/  libdata/   obj/   share/
@LongLink  compat/include/   libexec/   ports/ src/
X11R6/ games/ lib/   local/ sbin/  sup/
[EMAIL PROTECTED]
trying to umount /usr/scratch will crash the machine, (will do it once 
more this evening and write down the error that pops up.)

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


Re: php4-extensions

2004-11-24 Thread Cristi Tauber
It works  Thanks a lot Uwe ..
 Cristi

Uwe Laverenz wrote:

 On Wed, Nov 24, 2004 at 09:12:48AM +0200, Cristi Tauber wrote:

  I searched the google and i found something about libmagic
  and to reinstall it. But i cannot find such a package/port . Anyone bump

 IIRC libmagic is included in /usr/ports/sysutils/file .

 cu,
 Uwe

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

 ---
 This message and its contents have been scanned and certified for
 transmission as being free from malicious code by eTrust Antivirus. This
 message may contain confidential, privileged or other legally protected
 information. It is intended for the addressee(s) only. If you are not the
 addressee, or someone the addressee authorized to receive this message, you
 are prohibited from copying, distributing or otherwise using it. Please
 notify the sender and return it.Thank you.




---
This message and its contents have been scanned and certified for
transmission as being free from malicious code by eTrust Antivirus. This
message may contain confidential, privileged or other legally protected
information. It is intended for the addressee(s) only. If you are not the
addressee, or someone the addressee authorized to receive this message, you
are prohibited from copying, distributing or otherwise using it. Please
notify the sender and return it.Thank you.
  
 

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


Re: This is a cool shell prompt question

2004-11-24 Thread Conrad J. Sabatier
On Wed, 24 Nov 2004 01:24:51 -0800 (PST), Mark Jayson Alvarez
[EMAIL PROTECTED] wrote:

 Good day!
  I'm just wondrin if its possible for me to run
 applications at boot time but on another terminal. I
 find it cool to have a huge digital clock (grdc)
 running on background so that I can just shift to
 another terminal whenever I want to know the time. 
 Actually, all I really want is a clock that is
 continuously ticking whatever I may be doing(in
 terminal window). I've already learned how to set my
 prompt to multiple lines and also displaying my
 current working directory. But now, I want it even
 more informative displaying a ticking digital clock in
 my shell prompt like the one i'm seeing in my kde
 system tray right now. 
Is it possible?. Thanks.

Depending on which shell you're using, I'd say yes, since just about
anything is possible under Unix.  :-)

However, how to do this is not immediately obvious to me.  Sorry.  :-)

Might be a good question for the comp.unix.shell newsgroup.  Some
serious shell gurus hanging out over there, and they always rise to a
good challenge. :-)

If you do find out anything, a followup here would be nice.  Thanks!

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


Re: How do you make install without direct internet access?

2004-11-24 Thread Vittorio
I'm attaching here the answer to a mail of mine on a simmilar subject. 
The suggested solutions is working smoothly  flawlessly for me under 
freebsd 5.2.1  5.3.

Ciao
Vittorio

On Thu, 11 Nov 2004 13:55:43 +, Vittorio [EMAIL PROTECTED] 
wrote:
 Old linux user now moving gradually to freebsd 5.2.1, at office we 
have
 a lan
 1) with an http proxy for which authentication via userid  passwd is
 needed AND
 2) ftp is blocked, not permitted.
 
 I want to use the ports and compile my programs. I have already tried 
to
 set the http proxy (as under linux, by the way!)  issuing:
 
 env HTTP_PROXY=http://userid:[EMAIL PROTECTED]:8080
 
 to no avail; freebsd complains endlessly that
 ...
 fetch: ftp://: Host not found
 .

Try putting in the following in /etc/make.conf

FETCH_ENV=      FTP_PROXY=http://userid:[EMAIL PROTECTED]:8080
FETCH_ENV=      HTTP_PROXY=http://userid:[EMAIL PROTECTED]:8080

To be honest, haven't tried it with authentication but the above would
be the correct way to make use of a proxy for ports.

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


Re: 4 part domain names

2004-11-24 Thread Dick Davies
* stheg olloydson [EMAIL PROTECTED] [1157 00:57]:

 .. Generally, however,
 the tertiary domain level is the system's function: www, ftp, mail,
 etc. if the system is public.

nitpick
the function is often the leftmost component, not the tertiary - plenty
of domains have more than 2 domain components.
/nitpick

-- 
In the beginning the Universe was created. This has made a lot of people
very angry and been widely regarded as a bad move. - The Guide
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange problem with pxeboot

2004-11-24 Thread Erik Norgaard
Hi,
Sorry - I have no more descriptive subject because this is really strange:
I have set up a server to serve clients booting with pxeboot and 
fetching kernel and a memory disk root file system with tftp. So far so 
good. What is strange is this:

1) If the local harddrive (which contains an old FreeBSD 4.9) is 
installed, the client correctly configures the ethernet card (vr0) and 
tries to mount a root file system using NFS - but the whole idea was to 
avoid using NFS at all.

If I leave the root-path unset in the dhcpd.conf the client will try to 
mount the root file system from next-server:/pxeroot

2) If I remove the harddrive, then it mounts the memory file system as 
root file system and launches sysinstall (which is what I really want) - 
however, it fails to initialize the network card, and there is 
(obviously) no disk to install on.

the ethernet driver is compiled into the kernel - no modules need to be 
loaded, these are my loader files:

loader.rc:
include /boot/loader.4th
start
loader.conf:
init_path=/sbin/init:/stand/sysinstall
rootfs_load=YES
rootfs_name=/boot/mfsroot
rootfs_type=mfs_root
autoboot_delay=5
boot/ on tftp server:
defaultskernel  loader.gz   pxeboot
device.hintsloader.4th  loader.rc   support.4th
frames.4th  loader.conf mfsroot
Any hints would be greatly appreciated!
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make arguments and buildworld

2004-11-24 Thread Conrad J. Sabatier
On Wed, 24 Nov 2004 05:18:08 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:

 Gerard Seibert wrote:
 
 I am going to do a fresh install of FreBSD 5.3 this weekend on my
 computer. Immediately after the installation I want to do a
 buildworld and install a custom kernel.
 
 My question is what special arguments should I use in the 'make.conf'
 file for this project.  Is it really necessary to change this file at
 all? I was reading the handbook and it mentioned the 'CFLAGGS' entry
 and a few others.
   
 
 I'd recommend leaving CFLAGS and COPTFLAGS alone (I've only managed to
 make problems when I set these),

Well, that, of course, is a matter of opinion.  If you want the most
optimization possible, you could try using -O2 or even -O3.  I've
been using -O3 quite successfully here lately, with the exception of a
couple of ports which required changing it to -O2.

I believe the -pipe switch is on by default (as well as -O, but if
not, it does help to speed up builds a bit as well.

 but I would change CPUTYPE to your
 CPU Type, options are:
 
 AMD CPU:   athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, k6-3,
 k6-2, k6, k5

And don't forget athlon64!  In fact, I initially setup my amd64 box by
installing from an i386 CD set I had here, then cross-compiling the
world and kernel using -march=athlon64 -m64.

 Intel CPU:p4, p3, p2, i686, i586/mmx, i586, i486, i386
 
 If you want to rebuild a custom kernel add this:
 KERNCONF=FOOBAR

And copy /usr/src/sys/${ARCH}/conf/GENERIC to
/usr/src/sys/${ARCH}/conf/FOOBAR and edit to taste, where ${ARCH} equals
your machine architecture (i386, amd64, etc.).

 --
 For your kernel config file comment out everything you don't need
 (make sure you have a working kernel b4 you buildworld), i.g:
 
 cpu I486_CPU
 cpu I586_CPU
 device  eisa
 device  atapifd # ATAPI floppy drives
 device  atapist # ATAPI tape drives
 all the SCSI Controllers
 etc.
 Don't forget to add in sound support etc. etc.
 
 ---
 then buildworld:
 # cvsup -g -L 2 foobar-supfile (set the cvs release tag to RELENG_5_3)
 # cd /usr/src
 # make -j2 buildworld  make -j2 buildkernel  make -j2
 Installkernel  reboot
 test your new kernel, if it works drop down to single user mode
 # shutdown now
 # cd /usr/src
 # make installworld
 # reboot
 If system is still working then mergemaster
 # mergemaster
 # reboot
 Done.
 
 rm -r /usr/obj/*
 
 I would welcome any feedback that is available.
 
 Thanks!

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


Re: Updating and installing programmes.

2004-11-24 Thread David Fleck
On Mon, 22 Nov 2004, Richard Chr. Farnes wrote:
Could you please tell me which link I put into my supfile to update 
programmes and packages.
Not quite sure what you mean, but it should simply be a matter of making 
sure that the 'ports-all' line of your ports-supfile is uncommented, i.e.:

   # The easiest way to get the ports tree is to use the ports-all
   # mega-collection.  It includes all of the individual ports-*
   # collections,
   ports-all
running cvsup with this file *should* get you what I think you want. 
Similarly,

   # The easiest way to get the main source tree is to use the src-all
   # mega-collection.  It includes all of the individual src-* collections.
   src-all
for the base system code.
Or am I misunderstanding what you're looking for?
--
David Fleck
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netstat not working?

2004-11-24 Thread Paul Reece
Hi Everyone,

I've recently installed 5.3-RELEASE on a dual processor machine.  It appears
that in an SMP configuration 'netstat' does not show
any of the active TCP connections to the machine (only UDP).  Same goes for
showing what TCP ports the machine is listening on..

Have I missed something in my install or kernel configuration ?  I've tried
setting debug.mpsafenet to 0 as it was mentioned that this causes problems
with netstat -m in an SMP configuration but obviously still no luck...

Cheers,
Paul.


machine i386
ident   XXX
cpu I686_CPU

options QUOTA
options IPFILTER
options IPFILTER_LOG

options SMP

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC
device  isa
device  eisa
device  pci
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver
device  sc
device  npx

device  pmtimer

device  sio # 8250, 16[45]50 based serial ports

device  miibus  # MII bus support
device  vr  # VIA Rhine, Rhine II

device  loop# Network loopback
device  mem # Memory and kernel memory devices
device  io  # I/O device
device  random  # Entropy device
device  ether   # Ethernet support
device  ppp # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks

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


HI

2004-11-24 Thread LEONAT
Hi,

Can you , please send me a link, where from I would load a freeBSD OS.

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


Re: HI

2004-11-24 Thread Joshua Lokken
On Tue, 23 Nov 2004 13:53:55 -0500, LEONAT [EMAIL PROTECTED] wrote:
 Hi,
 
 Can you , please send me a link, where from I would load a freeBSD OS.
 
 Thanks,
 Leon.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
ftp://ftp.freebsd.org
ftp://ftp1.freebsd.org
ftp://ftp2.freebsd.org
ftp://ftp3.freebsd.org
ftp://ftp4.freebsd.org
ftp://ftp5.freebsd.org
ftp://ftp6.freebsd.org

and lots, lots more:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

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


Re: mod_jk2 + tomcat + java question

2004-11-24 Thread David E. Meier
 Does anybody have experience with tomcat en mod_jk?

Well, I got Apache2, mod_jk2 with Tomcat 4.1.29 running on FreeBSD 4.9. So
I might not be fully up-to-date.

First, this seems to bite:

 JkWorkersFile /usr/local/etc/apache2/workers.properties
   ^^^
 [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file
 /usr/local/conf/workers2.properties
 

I did not specify a JkWorkersFile in httpd.conf. Just put the
workers.properties file into /usr/local/conf directory. Apache seems to
try to read the file from the default location.

 [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file

This is a follow-up error since the shm file is declared in
workers2.properties.

HTH, Dave


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


Re: 4 part domain names

2004-11-24 Thread Jonathon McKitrick
: Every unique combination of subdomain.domain.tld could point to an
: arbitray other URL or IP.
: For example
: us.510.mail.example.com = example.com
: de.510.mail.example.com = europe.mail.example.com

I guess my question is this...

if 'us' is the name of the node (machine) and 'example.com' is the
registered domain name, what do the '510' and 'mail' parts uniquely
identify?  Why not just 'us.example.com'?

jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound mysteriously not working

2004-11-24 Thread Chuck Teal
I had a similar issue.  For me it was that the sound
volumes were set to 0.  Type the command mixer and if
it gives you zeros for the settings then that is what
is going on.

I used the mixer command to set these.  It modified my
config files for me and works fine now.

Hope this helps.

Chuck

--- Kevin Smith [EMAIL PROTECTED] wrote:

 sorry, a typo...
 
 I booted windows on the same system and the sound
 card/speakers are not 
 working..
 
 meant is say sound card/speakers is working
 with windows.
 
 Kevin Smith wrote:
 
  I had followed the handbook to configure sound
 (sound blaser Live!)  
  on my new 5.3 installation.  It was working
 yesterday but it doesn't 
  work now.  Just to verify, I booted windows on the
 same system and the 
  sound card/speakers are not working.
 
  Here is my dmesg output and sndstat:
 
   dmesg|fgrep pcm0
  pcm0: Creative EMU10K1 port 0xc800-0xc81f irq 18
 at device 2.0 on pci2
  pcm0: TriTech TR28602 AC97 Codec
 
  /home/kevin cat /dev/sndstat
  FreeBSD Audio Driver (newpcm)
  Installed devices:
  pcm0: Creative EMU10K1 at io 0xc800 irq 18 kld
 snd_emu10k1 (4p/2r/0v 
  channels duplex default)
 
  Any suggestions on what to try next ?
 
  -Kevin
 
 
  ___
  [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: 4 part domain names

2004-11-24 Thread Peter Risdon
Jonathon McKitrick wrote:
: Every unique combination of subdomain.domain.tld could point to an
: arbitray other URL or IP.
: For example
: us.510.mail.example.com = example.com
: de.510.mail.example.com = europe.mail.example.com
I guess my question is this...
if 'us' is the name of the node (machine) and 'example.com' is the
registered domain name, what do the '510' and 'mail' parts uniquely
identify?  Why not just 'us.example.com'?

I'm not an expert (IANAE should perhaps be a new acronym...), but here's 
how I understand it. The domain name system is completely open-ended and 
hierarchical. I tend to use djbdns for DNS servers, but found the bind 
concept of zones (and therefore zone files) very helpful.

The top level is . and this is managed by the top level name servers, 
which have to be hard-wired into any name server. These name servers 
delegate responsibility for the next level down to other name servers, 
so .com. (the trailing dot is left out for most purposes, but not all - 
see your hosts file as generated by sysinstall) is managed by a number 
of servers, .uk. by others, and so on. These name servers delegate 
authority for zones within their zones to yet more name servers. This is 
where we come in with .com. domains, but not .uk. where there is another 
layer of delegation before we ordinary mortals start managing delegated 
zones.

If you have registered example.com then authority for the whole zone of 
the internet, or the domain name system, below example.com. is delegated 
to you. You normally run name servers which publish information about 
hosts within this zone, but this is not the only thing you can do. You 
can also delegate authority for zones within this zone. Thus, there is a 
private company in the UK that delegates authority for zones below 
.uk.com. and thereby operates as a sort of private domain name registry.

So you could delegate authority to stated nameservers for a zone such as 
 mailservers.example.com and host information (A records) could be 
published by them for hosts such as smtp.mailservers.example.com. Of 
course, some of these could be aliases, and point to other hosts, but 
they don't have to be.

And so it goes on; there's no limit to the possible delegation of zones 
beyond common sense and convenience. The fact that we normally manage 
second level domains is a function of normal practice, it isn't 
intrinsic to the system and it isn't the case in the UK where we 
normally manage third level domains.

A DNS lookup for smtp.mailservers.example.com. would run as follows:
1. Look up in the static table of root name servers at least one value 
for a namserver that is authoritiative for .
2. Ask the . nameserver who is authoritative for .com.
3. Ask the .com. nameserver who is authoritative for example.com.
4. Ask the example.com. nameserver who is authoritative for 
mailservers.example.com.
5. Ask the mailservers.example.com. nameserver for the ip address of the 
host smtp.mailservers.example.com.

The following article explains how to delegate sub domains to name 
servers using bind. I can't find an equivalent for djbdns and suspect 
there might be a limitation in that software:

http://www.zytrax.com/books/dns/ch9/delegate.html

Corrections welcome...
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restarting rc.conf

2004-11-24 Thread Ruben de Groot
On Mon, Nov 22, 2004 at 12:15:36PM -0600, Paul Schmehl typed:
 --On Monday, November 22, 2004 12:34:58 PM + David Jenkins 
 [EMAIL PROTECTED] wrote:
 
 I would imagine for convenience - if their reasons are similar to what
 mine were.
 
 i.e if you have made several changes to rc.conf then manually
 restarting several services via /etc/rc.d or /usr/local/etc/rc.d or
 running ifconfig is monotonous.
 
 How monotonous is:
 
 cd /usr/local/etc/rc.d./
 foreach file in .
 do
 $file restart
 done

Try doing this in /etc/rc.d ... not ;-)

Ruben

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


Re[2]: 4 part domain names

2004-11-24 Thread Hexren
JM : Every unique combination of subdomain.domain.tld could point to an
JM : arbitray other URL or IP.
JM : For example
JM : us.510.mail.example.com = example.com
JM : de.510.mail.example.com = europe.mail.example.com

JM I guess my question is this...

JM if 'us' is the name of the node (machine) and 'example.com' is the
JM registered domain name, what do the '510' and 'mail' parts uniquely
JM identify?  Why not just 'us.example.com'?


-


Imagine not beeing a person with very simple needs like me or you but
a big corporation. The corp where I work for example has adresses like
uws015.ham.example.com and uws015.fra.example.com uws015 stands for
unix workstation number 15 ham stands for
Hamburg and fra for Frankfurt (actually these are 3 letter airport codes as
I'm employed by an airline) that makes sense as you now can delegate
the numbering of workstations to the local sysadmins in Hamburg and
Frankfurt. Whichout them having to worry about taking a number that is
already used.

For your question it is very likely that example.com is a big webmail
provider it would therefore make sense for them to have many different
login servers all over the world. I could guess that mail identifies a
mail server (big surprise there) and us.mail.example.com would
therefore be a mail server in the United States whereas
de.mail.example.com would be a mail server in Germany. Why they use
mail.example.com, because they maybe also have us.news.example.com used. So it
makes sense to group their many servers by function first and then by
location. 510 could identify a rack or a datacenter so that
us.510.mail.example.com means a mail server in the datecenter with
the id 510 which serves the United States.
But be aware that that extra meaning is arbitrary choosen by the Sysadmins at 
example.com
they could aswell setup something like only.dump.persons.login.here.example.com 
and
point their accountants to this server for login purposes. So if you
are interested into why some specific specific subdomain names where
choosen it would be wissest to ask the Sysadmins wo administer DNS for
that domain.

Hexren

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


Re: 4 part domain names

2004-11-24 Thread Jonathon McKitrick
On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
: location. 510 could identify a rack or a datacenter so that
: us.510.mail.example.com means a mail server in the datecenter with
: the id 510 which serves the United States.

So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a unit
identify a certain node, and are selected purely for convenience of human
operators, right?

I'm just making sure that the network doesn't treat 'us.510.mail' any
different than it would treat 'foobar', right?

I was thinking in java/python mode, where each 'dot-level' actually pointed
to a node in the network, while what I understand now is that once you go
beyond the domain name, the way you handle the other nodes is just up to the
sysadmin, and is purely for human readability, right?

jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DHCPClient

2004-11-24 Thread Adam Stroud
I have recently installed FBSD 5.3 and I am having problems using
DHCP.  I get an IP address, however I get no DNS resolution on the
address I get leased.  This machine previously used 5.2.1 and I had no
problems.  I have not touched the /etc/dhclient.conf file, it is still
empty.  Does anyone have any ideas?

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


securing mailserver address

2004-11-24 Thread Jobert
Hello Guys;

Good Day can anyone help give me documentations about
on how to filter/stop  secure, on using my own email
address as spam.

From: [EMAIL PROTECTED]
Subject: RE: Hello
To: [EMAIL PROTECTED]

I'm using imap n sendmail, Thanks on advance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: 4 part domain names

2004-11-24 Thread Hexren
JM On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
JM : location. 510 could identify a rack or a datacenter so that
JM : us.510.mail.example.com means a mail server in the datecenter with
JM : the id 510 which serves the United States.

JM So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a unit
JM identify a certain node, and are selected purely for convenience of human
JM operators, right?

I would say yes.


JM I'm just making sure that the network doesn't treat 'us.510.mail' any
JM different than it would treat 'foobar', right?

I would say yes too.

JM I was thinking in java/python mode, where each 'dot-level' actually pointed
JM to a node in the network, while what I understand now is that once you go
JM beyond the domain name, the way you handle the other nodes is just up to the
JM sysadmin, and is purely for human readability, right?

I would say yes yet again, only I do not know anything about python (exept
the name) so I cannot really say anything about that.


-

Answers inline with the original Mail.

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


Re: 4 part domain names

2004-11-24 Thread Peter Risdon
Jonathon McKitrick wrote:
On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
: location. 510 could identify a rack or a datacenter so that
: us.510.mail.example.com means a mail server in the datecenter with
: the id 510 which serves the United States.
So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a unit
identify a certain node, and are selected purely for convenience of human
operators, right?
I'm just making sure that the network doesn't treat 'us.510.mail' any
different than it would treat 'foobar', right?
No, I don't think this is right. mail can be a zone beneath example.com, 
510 a zone beneath that and us a hostname.

This host might be aliased to foobar.example.com but it doesn't have to be.
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCPClient

2004-11-24 Thread Hexren
AS I have recently installed FBSD 5.3 and I am having problems using
AS DHCP.  I get an IP address, however I get no DNS resolution on the
AS address I get leased.  This machine previously used 5.2.1 and I had no
AS problems.  I have not touched the /etc/dhclient.conf file, it is still
AS empty.  Does anyone have any ideas?

AS A


-

Please attach the relevant zone files from BIND (or the equivalent for
your DNS server) and the dhcpd.conf file from the dhcp Server (this
file is /usr/local/etc/dhcpd.conf in the standard config)

Should the DNS name be dynamicly updated when the lease is given out
or is it static ?

Hexren

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


Re: How do you make install without direct internet access?

2004-11-24 Thread Kris Kennaway
On Wed, Nov 24, 2004 at 11:04:46AM +, Dick Davies wrote:
 * Doug Poland [EMAIL PROTECTED] [1129 21:29]:
  On Tue, Nov 23, 2004 at 01:22:07PM -0800, Ralph wrote:
 
   actually, since I was in csh, the setenv FTP_PROXY
   my.internal.proxy:80 worked like a charm, except that,
   for some reason, fetch refuses to work without
   internet DNS resolution.  As with our environment, no
   internal hosts have external DNS resolution - how do
   you solve that?
   
  If you have ssh access out through the firewall, you can tunnel DNS (and
  http/ftp) requests through a *well-connected* Unix host.  
 
 Well, yeah, but then you might as well not bother with a proxy...
 
 That sounds like a bug to me - I guess most people use fetch with proxies
 so the proxy will cache the distfiles rather than to allow isolated machines
 to get on the network, which might explain why it's not been spotted before?

No, most people who have proxies that allow them to fetch from the
internet have DNS servers that let them resolve the internet - that's
a very weird setup you have there, and not very useful, as you have
discovered.

Kris


pgpwrV9OuWsHg.pgp
Description: PGP signature


Re: 4 part domain names

2004-11-24 Thread Peter Risdon
Hexren wrote:
JM On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
JM : location. 510 could identify a rack or a datacenter so that
JM : us.510.mail.example.com means a mail server in the datecenter with
JM : the id 510 which serves the United States.
JM So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a unit
JM identify a certain node, and are selected purely for convenience of human
JM operators, right?
I would say yes.
JM I'm just making sure that the network doesn't treat 'us.510.mail' any
JM different than it would treat 'foobar', right?
I would say yes too.

How does this square with the fact, as I understand it, that I can 
delegate authority for mail.example.com to new nameservers which can 
then publish host information about this zone? Here's the example zone 
file extracts from the article I linked to in an earlier mail, which is 
delegating authority for the sub domain us.example.com:

quote
; zone fragment for 'zone name' example.com
; name servers in the same zone
example.com.  IN  SOA   ns1.example.com. root.example.com. (
   2003080800 ; serial number
   2h ; refresh =  2 hours
   15M; update retry = 15 minutes
   3W12h  ; expiry = 3 weeks + 12 hours
   2h20M  ; minimum = 2 hours + 20 minutes
   )
; main domain name servers
  IN  NS ns1.example.com.
  IN  NS ns2.example.com.
; mail domain mail servers
  IN  MX  mail.example.com.
; A records for name servers above
ns1   IN  A  192.168.0.3
ns2   IN  A  192.168.0.4
; A record for mail server above
mail  IN  A  192.168.0.5

; sub-domain definitions
$ORIGIN us.example.com.
; we define two name servers for the sub-domain
@ IN  NS ns3.us.example.com.
; the record above could have been written without the $ORIGIN as
; us.example.com. IN NS ns1.us.example.com.
ns3   IN  A  10.10.0.24 ; 'glue' record
; the record above could have been written as
; ns3.us.example.com. A 10.10.0.24 if it's less confusing
/quote
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4 part domain names

2004-11-24 Thread Chad Leigh -- Shire.Net LLC

the zone description listed was pretty good.
Basically, the leftmost name in a fully qualified domain name is the 
host (which could really be an alias or something) and the rest is 
the domain name.  So for example

u17.us.mail.somecompany.com
u17 is the host (in this fictional account, a departmental mail 
server in the US division of somecompany)

us.mail.somecompany.com  is the domain
The names get more general from left to right.  It is a hierarchy.
Similar to a postal address.
For example
John Doe
17 Main Street
Anytown, TX  75263
USA
John Doe is the host
17 is a specific location on a general street Main Street which is 
found in Anytown which is found in TX which is found in the USA.  As a 
domain name it might be written

JohnDoe.17.MainStreet.75263.Anytown.TX.USA
Alfons Mueller
Schardthof 10
D-84051 Essenbach
Germany
would be the same.
AlfonsMueller.10.Schardthof.84051.Essenbach.Bayern.Germany
is a progressively more general description of where Mr. Alfons Mueller 
can be located.

When you send a postal letter to one of these people (John Doe or 
Alfons Mueller), the letter is sent to the respective country's main 
postal office, then to a regional and then a city and then maybe a 
neighborhood (depending on your area) post office before being 
delivered.  The hierarchy helps the routing of the mail.

Same with domain names.  The hierarchy helps to keep trach of the 
complexity in a delegated fashion

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


Re: Re[2]: DHCPClient

2004-11-24 Thread Adam Stroud
The DNS server is a unix box that I dont have access to.  I know that
makes things difficult.  My main question is why would this have
stopped working from 5.2.1 to 5.2


On Wed, 24 Nov 2004 16:47:07 +0100, Hexren [EMAIL PROTECTED] wrote:
 AS The DHCP server is a windows box.
 
 
 
 -
 
 and the DNS server ?
 
 please send your mail to the list and only CC it to me, the chance
 taht somebody can help you is much greater than with just me ;)
 

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


Re: ffs_clusteralloc

2004-11-24 Thread Dan Nelson
In the last episode (Nov 24), FreeBSD Questions said:
 I have a 5.2 box which I use as a general purpose server in my house.
 It has been a very good box up to now.  I noticed that it wasn't
 responding last night so I took a look at it and there was a message
 which read: panic: ffs_clusteralloc: map mismatch.
 
 Not thinking much of it other than Oh an error, oh well reboot. 
 I rebooted it.  Now it refuses to boot.  As soon as the login prompt
 appears I receive the same panic and the machine reboots.

Chances are your filesystem has an error in it that's not caught by the
preliminary fsck, the system boots normally, the background fsck kicks
off, the kernel hits the corrupt block and panics, and repeats the
loop.  Try booting into single-user and run fsck -p, then reboot again
and see if the problem's gone.

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


httpd.conf

2004-11-24 Thread metallarch
 
I made a virtualhost on apache 2.0 ..  
Here is my configs
rc.conf:
gateway_enable=yes
ifconfig_rl0=inet 192.168.0.249 netmask 255.255.255.0
ifconfig_rl0_alias0=inet 192.168.1.35 netmask 255.255.255.0
httpd.conf:
Listen 80
ServerName 192.168.0.249:80
DocumentRoot /../../../ (e.t.c)
NameVirtualHost 192.168.1.35:80
VirtualHost 192.168.1.35
 DocumentRoot /../../../
 Servername 192.168.1.35 
/VirtualHost 

And after starting apache when i write
links 192.168.1.35  it gives me error 403 Forbidden 
 you don`t have permission to access  192.168.1.35:80
What i`m i doing wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4 part domain names

2004-11-24 Thread Dick Davies
* Peter Risdon [EMAIL PROTECTED] [1140 15:40]:
 Hexren wrote:
 JM On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
 JM : location. 510 could identify a rack or a datacenter so that
 JM : us.510.mail.example.com means a mail server in the datecenter with
 JM : the id 510 which serves the United States.
 
 JM So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a 
 unit
 JM identify a certain node, and are selected purely for convenience of 
 human
 JM operators, right?
 
 I would say yes.
 
 
 JM I'm just making sure that the network doesn't treat 'us.510.mail' any
 JM different than it would treat 'foobar', right?
 
 I would say yes too.
 
 
 How does this square with the fact, as I understand it, that I can 
 delegate authority for mail.example.com to new nameservers which can 
 then publish host information about this zone?

That's got nothing to do with the network.
For example, I can create a host in example.com called
 
us.510.mail

and you can't stop me (evil laughter).


-- 
Robots don't have emotions, and that sometimes makes me feel sad. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd.conf

2004-11-24 Thread Dick Davies
* metallarch [EMAIL PROTECTED] [1131 16:31]:
  
 I made a virtualhost on apache 2.0 ..  
 Here is my configs
 rc.conf:
 gateway_enable=yes
 ifconfig_rl0=inet 192.168.0.249 netmask 255.255.255.0
 ifconfig_rl0_alias0=inet 192.168.1.35 netmask 255.255.255.0
 httpd.conf:
 Listen 80
 ServerName 192.168.0.249:80
 DocumentRoot /../../../ (e.t.c)
 NameVirtualHost 192.168.1.35:80
 VirtualHost 192.168.1.35
  DocumentRoot /../../../
  Servername 192.168.1.35 
 /VirtualHost 
 
 And after starting apache when i write
 links 192.168.1.35  it gives me error 403 Forbidden 
  you don`t have permission to access  192.168.1.35:80

You don't have permission to show the contents of the docroot
and it won't show you an index because you haven't configured it.

-- 
Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: 4 part domain names

2004-11-24 Thread Hexren
JM : Every unique combination of subdomain.domain.tld could point to an
JM : arbitray other URL or IP.
JM : For example
JM : us.510.mail.example.com = example.com
JM : de.510.mail.example.com = europe.mail.example.com

JM I guess my question is this...

JM if 'us' is the name of the node (machine) and 'example.com' is the
JM registered domain name, what do the '510' and 'mail' parts uniquely
JM identify?  Why not just 'us.example.com'?


-


Imagine not beeing a person with very simple needs like me or you but
a big corporation. The corp where I work for example has adresses like
uws015.ham.example.com and uws015.fra.example.com uws015 stands for
unix workstation number 15 ham stands for
Hamburg and fra for Frankfurt (actually these are 3 letter airport codes as
I'm employed by an airline) that makes sense as you now can delegate
the numbering of workstations to the local sysadmins in Hamburg and
Frankfurt. Whichout them having to worry about taking a number that is
already used.

For your question it is very likely that example.com is a big webmail
provider it would therefore make sense for them to have many different
login servers all over the world. I could guess that mail identifies a
mail server (big surprise there) and us.mail.example.com would
therefore be a mail server in the United States whereas
de.mail.example.com would be a mail server in Germany. Why they use
mail.example.com, because they maybe also have us.news.example.com used. So it
makes sense to group their many servers by function first and then by
location. 510 could identify a rack or a datacenter so that
us.510.mail.example.com means a mail server in the datecenter with
the id 510 which serves the United States.
But be aware that that extra meaning is arbitrary choosen by the Sysadmins at 
example.com
they could aswell setup something like only.dump.persons.login.here.example.com 
and
point their accountants to this server for login purposes. So if you
are interested into why some specific specific subdomain names where
choosen it would be wissest to ask the Sysadmins wo administer DNS for
that domain.

Hexren

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


Re: 4 part domain names

2004-11-24 Thread Peter Risdon
Dick Davies wrote:
* Peter Risdon [EMAIL PROTECTED] [1140 15:40]:
Hexren wrote:
JM On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
JM : location. 510 could identify a rack or a datacenter so that
JM : us.510.mail.example.com means a mail server in the datecenter with
JM : the id 510 which serves the United States.
JM So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a 
unit
JM identify a certain node, and are selected purely for convenience of 
human
JM operators, right?

I would say yes.
JM I'm just making sure that the network doesn't treat 'us.510.mail' any
JM different than it would treat 'foobar', right?
I would say yes too.

How does this square with the fact, as I understand it, that I can 
delegate authority for mail.example.com to new nameservers which can 
then publish host information about this zone?

That's got nothing to do with the network.
For example, I can create a host in example.com called
 
us.510.mail

and you can't stop me (evil laughter).
Hmmm... RFC921:
quote
 There are some limits on these names.
 They must start with a letter, end with a letter or digit and
 have only letters or digits or hyphen as interior characters.
 Case is not significant.
For example:  USC-ISIF
  Hierarchical Names
 Because of the growth of the Internet, structured names (or
 domain style names) have been introduced.  Each element of the
 structured name will be a character string (with the same
 constraints that previously applied to the simple names).  The
 elements (or components) of the structured names are separated
 with periods, and the elements are written from the most
 specific on the left to the most general on the right.
/quote
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4 part domain names

2004-11-24 Thread Peter Risdon
Dick Davies wrote:
* Peter Risdon [EMAIL PROTECTED] [1140 15:40]:
Hexren wrote:
JM On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote:
JM : location. 510 could identify a rack or a datacenter so that
JM : us.510.mail.example.com means a mail server in the datecenter with
JM : the id 510 which serves the United States.
JM So 'us.510.mail' is an atomic, arbitrary identifier.  All three as a 
unit
JM identify a certain node, and are selected purely for convenience of 
human
JM operators, right?

I would say yes.
JM I'm just making sure that the network doesn't treat 'us.510.mail' any
JM different than it would treat 'foobar', right?
I would say yes too.

How does this square with the fact, as I understand it, that I can 
delegate authority for mail.example.com to new nameservers which can 
then publish host information about this zone?

That's got nothing to do with the network.
For example, I can create a host in example.com called
 
us.510.mail

and you can't stop me (evil laughter).

Sent the RFC mail prematurely...
RFC 952 says:
quote A name (Net, Host, Gateway, or Domain name) is a text string 
up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus 
sign (-), and period (.). Note that periods are only allowed when they 
serve to delimit components of domain style names. (See RFC-921, 
Domain Name System Implementation Schedule, for background).
/quote

So I guess you could, but it wouldn't be canonical. If authority ever 
gets delegated for mail.example.com, then for 510.mail.example.com, then 
a host called us is published, there's going to be a bit of a problem 
with your network.

Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perl Proc::Processtable module and FreeBSD

2004-11-24 Thread stan
I planed on writing a perl script on my FreeBSD laptop over the holidays,
that would ultimetly be deployed on Solaris.

I was planing on using the Proc::ProcessTable perl module in this script to
collect memory usage data.

Looks like this module does nt support memory statistics under FreeBSD,
even though ps ddoes. 

Is there a better module to se, or should I just resort to useing a direct
call to ps (which will of course be different on the 2 OS'es?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3-STABLE - system after few hours

2004-11-24 Thread Piotr Gnyp
On Tue, Nov 23, 2004 at 10:02:19AM -0600, Dan Nelson wrote:
 Enable crashdumps by setting dumpdev=/path/to/swap/slice in rc.conf,
 wait for the system to crash again, then use the dump to get a stack
 trace, and post that.
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING

here it is:
discordia# kgdb /boot/kernel/kernel /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.
(no debugging symbols found)...0xc04e8cc6 in doadump ()
(kgdb) where
#0  0xc04e8cc6 in doadump ()
#1  0xc04e92bf in boot ()
#2  0xc04e95e5 in panic ()
#3  0xc05f29a0 in trap_fatal ()
#4  0xc05f26e3 in trap_pfault ()
#5  0xc05f233d in trap ()
#6  0xc05e0f4a in calltrap ()
#7  0xc04d0018 in do_execve ()
#8  0xc0517b85 in ttwakeup ()
#9  0xc05167e8 in ttymodem ()
#10 0xc051a4d3 in ptcopen ()
#11 0xc04b16de in spec_open ()
#12 0xc04b1423 in spec_vnoperate ()
#13 0xc0547511 in vn_open_cred ()
#14 0xc05470f6 in vn_open ()
#15 0xc054120f in kern_open ()
#16 0xc0541128 in open ()
#17 0xc05f2cab in syscall ()
#18 0xc05e0f9f in Xint0x80_syscall ()
#19 0x002f in ?? ()
#20 0x002f in ?? ()
#21 0x002f in ?? ()
#22 0x in ?? ()
#23 0x281ddc2d in ?? ()
#24 0xbfbfe4c8 in ?? ()
#25 0xea4e2d74 in ?? ()
#26 0x281df860 in ?? ()
#27 0x281ddc4b in ?? ()
#28 0x283415ec in ?? ()
#29 0x0005 in ?? ()
#30 0x000c in ?? ()
#31 0x0002 in ?? ()
#32 0x282ca517 in ?? ()
#33 0x001f in ?? ()
#34 0x0292 in ?? ()
#35 0xbfbfe46c in ?? ()
#36 0x002f in ?? ()
#37 0x2072746f in ?? ()
#38 0x70796e47 in ?? ()
#39 0x6f682f00 in ?? ()
#40 0x742f656d in ?? ()
#41 0x2fb6d000 in ?? ()
#42 0xc2a7 in ?? ()
#43 0xc2a054b0 in ?? ()
#44 0xea4e2aac in ?? ()
#45 0xea4e2a94 in ?? ()
#46 0xc1c404b0 in ?? ()
#47 0xc04f98c7 in sched_switch ()
Previous frame inner to this frame (corrupt stack?)



pgpMPeyEFBOFa.pgp
Description: PGP signature


partition full, recreating a tape device

2004-11-24 Thread David Newman
Greetings. This is regarding a FSBD 4.10-RELEASE system.
df -h shows the root file system is 109 percent utilized:
Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/aacd0s1a   126M   126M  -9.9M   109%/
The culprit is a rewindable tape drive in /dev. It shows up as an ordinary 
file, not as a device (like the nonrewindable device, /dev/nsa1):

-rw-r--r--  1 root  wheel  83046400 Nov 20 01:02 /dev/nsa1
crw-r-  1 root  wheel   14,  16 Nov 24 05:50 /dev/rsa1
Question: How do I correct this so that:
1. /dev/nsa1 shows up as a regular device; and
2. /dev/nsa1 doesn't fill up the filesystem
Many thanks.
Regards,
David Newman
Network Test

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


Re: partition full, recreating a tape device

2004-11-24 Thread Dan Nelson
In the last episode (Nov 24), David Newman said:
 Greetings. This is regarding a FSBD 4.10-RELEASE system.
 
 df -h shows the root file system is 109 percent utilized:
 
 Filesystem  Size   Used  Avail Capacity  Mounted on
 /dev/aacd0s1a   126M   126M  -9.9M   109%/
 
 The culprit is a rewindable tape drive in /dev. It shows up as an ordinary 
 file, not as a device (like the nonrewindable device, /dev/nsa1):
 
 -rw-r--r--  1 root  wheel  83046400 Nov 20 01:02 /dev/nsa1
 crw-r-  1 root  wheel   14,  16 Nov 24 05:50 /dev/rsa1
 
 Question: How do I correct this so that:
 
 1. /dev/nsa1 shows up as a regular device; and
 2. /dev/nsa1 doesn't fill up the filesystem

Remove /dev/nsa1, and run ./MAKEDEV sa1, which will recreate all the
device nodes for sa1, including nsa1.

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


PXEBoot fails in last stage

2004-11-24 Thread Erik Norgaard
Hi,
I have set up a server (dhcp/tftp/ftp, no nfs configured) as a jumpstart 
server for pxeboot and compiled kernel with -DLOADER_TFTP_SUPPORT=YES.
The client machine is a VIA EPIA CL1000 with a 60GB hdd with a FreeBSD 
4.9, I want to reinstall to get 5.3.

Kernel is compiled with option BOOTP and support for memory filesystem 
as root device.

The client machine boots up and goes through stage 1-3, fetching kernel 
and memory file system with tftp. But I have problem launching into the 
final stage which sould launch sysinstall and run an installation script.

The client correctly configures the ethernet card (vr0) but then tries 
to mount a root file system using NFS! - the whole idea was to avoid 
messing around with NFS.

If I leave the root-path unset or define it as  in the dhcpd.conf the 
client will keep requesting a root-path.

From what is written on the screen it doesn't mount the local HDD.
How to I force it to use the memory file system as root device?
An interesting sidenote: I first had the kernel compiled without option 
BOOTP, then the client would correctly mount the memory file system, 
but only if the local harddrive was NOT present!!

These are my loader files set up as described on www.m0n0.ch/wall/hack/
loader.rc:
include /boot/loader.4th
start
loader.conf:
init_path=/sbin/init:/stand/sysinstall
rootfs_load=YES
rootfs_name=/boot/mfsroot
rootfs_type=mfs_root
autoboot_delay=5
boot/ on tftp server:
defaultskernel  loader.gz   pxeboot
device.hintsloader.4th  loader.rc   support.4th
frames.4th  loader.conf mfsroot
Any hints would be greatly appreciated!
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: partition full, recreating a tape device

2004-11-24 Thread David Newman
On Wed, 24 Nov 2004, Dan Nelson wrote:
1. /dev/nsa1 shows up as a regular device; and
2. /dev/nsa1 doesn't fill up the filesystem
Remove /dev/nsa1, and run ./MAKEDEV sa1, which will recreate all the
device nodes for sa1, including nsa1.
Worked like a charm. Thanks for your speedy reply!
dn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't reach to a FreeBSD 5.3 machine trough a ppp connection

2004-11-24 Thread Mauricio Brunstein
 
Hi!

I'm installing a machine that will be a firewall and a samba server for a 4
people office. The machine has 2 NICs and is connecting to the Internet
using PPPoE. It is using pf and ALTQ. Initially there was problems to
establish the PPPoE connection in the office, using the same ppp.conf that
previously worked in my lab (only changing the username/passwd). Here is my
ppp.conf file:

 server:~ $ sudo cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 set device PPPoE:fxp0 
 set mtu 1492
 set mru 1492
 enable mssfixup
 set speed sync
 disable acfcomp protocomp
 deny acfcomp
 set authname x
 set authkeyx
 add default HISADDR
 enable lqr
 set lqrperiod 25
 enable dns

I got some messages in ppp.log like this one, 

Nov 23 15:00:35 server ppp[533]: tun0: LCP: deflink: -- Protocol 0x8057
(Internet Protocol V6 Control Pro
tocol) was rejected!
Nov 23 15:00:41 server ppp[533]: tun0: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !

After that added  disable ipv6cp, and commented out  enable lqr and
set lqrperiod 25 and the connection didn't drop anymore.  It seems that
this provider doesn't support lqr.

It appeared that everything was working fine, but when I tried to use ssh to
login to this box from outside was not possible.  After some time of issuing
the ssh command, get the following error:
ssh: connect to host dsuaya.ath.cx port 22: Operation timed out.

After some tests, I discovered that changing router_enable to YES in the
/etc/rc.conf  solved the problem. 

But in the section 21.2.1.5 Final System Configuration of the FreeBSD
handbook  states:

Make sure the router program set to NO with following line in your
/etc/rc.conf:
router_enable=NO
It is important that the routed daemon is not started (it is by default), as
routed tends to delete the default routing table entries created by ppp.

So, is there another manner to resolve this? Note that I'm always able to
establish connections from this box to a host in the Internet but I can't
establish a connection from that hosts to this one if router_enable=NO.

Thanks in advance,

Mauricio.

Some data of interest:

server:~ $ uname -a
FreeBSD server.estudio 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #1: Tue Nov 23
02:13:24 ART 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICWALTQ
i386
server:~ $


server:~ $ cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sun Nov 21 13:07:41 2004
# Created: Sun Nov 21 13:07:41 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#
hostname=server.estudio
ifconfig_rl0=inet 192.168.2.1  netmask 255.255.255.0
netd_enable=YES
saver=dragon
scrnmap=NO
sshd_enable=YES
sshd_flags=-4 -p 22
usbd_enable=YES
network_interfaces=lo0 tun0 rl0
fconfig_tun0=
router_enable=YES# remember to disable this!
#router_enable=NO  # Set to YES to enable a routing daemon.
router=/sbin/routed   # Name of routing daemon to use if enabled.
router_flags=-q   # Flags for routing daemon.

gateway_enable=YES  # Set to YES if this host will be a gateway
pf_enable=YES # Enable PF (load module if required)
pf_rules=/etc/pf.conf # rules definition file for pf
pf_flags= # additional flags for pfctl startup
#pflog_enable=YES  # start pflogd(8)
#pflog_logfile=/var/log/pflog  # where pflogd should store the logfile
#pflog_flags=  # additional flags for pflogd startup

inetd_enable=YES   # Run the network daemon dispatcher
(YES/NO).
inetd_program=/usr/sbin/inetd # path to inetd, if you want a different
one.
inetd_flags=-wW -C 60 # Optional flags to inetd

server:~ $

server:~ $ cat /etc/start_if.tun0
ppp -ddial default; /usr/local/etc/ez-ipupdate.conf


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
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]


How to send output to another terminal?

2004-11-24 Thread Karel Miklav
I'm playing with functional languages and I'd like to send text 
selections from vim to another xterm running language interpreter. 
Echoing from one terminal to another via /dev/tty* gets the message 
through, but it's invisible to the interpreter.

Could you please give me some hints as to what knowledge do I miss to 
make it happen and if I'm on the right track at all?

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


Re: httpd.conf

2004-11-24 Thread Joshua Lokken
On Wed, 24 Nov 2004 16:35:02 +, Dick Davies
[EMAIL PROTECTED] wrote:
 * metallarch [EMAIL PROTECTED] [1131 16:31]:
 
 
 
  I made a virtualhost on apache 2.0 ..
  Here is my configs
  rc.conf:
  gateway_enable=yes
  ifconfig_rl0=inet 192.168.0.249 netmask 255.255.255.0
  ifconfig_rl0_alias0=inet 192.168.1.35 netmask 255.255.255.0

Perhaps I'm 'whacked', but I believe the alias(es) for your NIC need
to have a netmask of all 1s.

ifconfig_rl0=inet xxx.xxx.xxx.xxx netmask 255.255.255.0
ifconfig_rl0_alias0=inet xxx.xxx.xxx.xxx netmask 255.255.255.255

Please correct me if I'm wrong.  This may not be what's causing you
problems, but something that jumped out at me.

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


error downloading

2004-11-24 Thread Vijay Anand
Hi 

When i try to download from cvsweb i get the following error.I checked for 
folders and permission.

please help me in this regard.

Error Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute 
module reference invalid: `/Motolog/MotoLogDLL.vbp' 
Check whether the directory /cm/vault/automation_utilities/CVSROOT exists 
and the script has write-access to the CVSROOT/history file if it exists.
The script needs to place lock files in the directory the file is in as 
well. 



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


Re: 4 part domain names

2004-11-24 Thread Dick Davies
* Peter Risdon [EMAIL PROTECTED] [1153 16:53]:

 For example, I can create a host in example.com called
  
 us.510.mail
 
 and you can't stop me (evil laughter).

 Sent the RFC mail prematurely...
 
 RFC 952 says:
 
 quote A name (Net, Host, Gateway, or Domain name) is a text string 
 up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus 
 sign (-), and period (.). Note that periods are only allowed when they 
 serve to delimit components of domain style names. (See RFC-921, 
 Domain Name System Implementation Schedule, for background).
 /quote
 
 
 So I guess you could, but it wouldn't be canonical. If authority ever 
 gets delegated for mail.example.com, then for 510.mail.example.com, then 
 a host called us is published, there's going to be a bit of a problem 
 with your network.

Oh my god yes. I've done this for shuddercustomers/shudder.
It works. And is horribly confusing for everyone.

I stand by my demented cackle ^_^

-- 
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mbuf error

2004-11-24 Thread Akhthar Parvez. K
Hi All,

Mysql service is going down continously in my system due to lack of memory 
space.

I checked the messages log and found the following error message.

All mbuf clusters exhausted, please see tuning(7).

I have no idea about mbuf cluster. Can anyone please help me to fix the issue.

I hope the information below will help you.

Following is the output of top.

last pid: 84718;  load averages:  2.56,  2.29,  2.55

up 2+03:59:04  13:27:58
195 processes: 2 running, 193 sleeping
CPU states: 26.2% user,  0.0% nice, 10.0% system,  5.0% interrupt, 58.8% idle
Mem: 1912M Active, 995M Inact, 421M Wired, 132M Cache, 199M Buf, 27M Free
Swap: 2048M Total, 34M Used, 2014M Free, 1% Inuse

Following is the output of netstat -m

3797/14672/26624 mbufs in use (current/peak/max):
3791 mbufs allocated to data
2 mbufs allocated to fragment reassembly queue headers
4 mbufs allocated to socket names and addresses
3704/6656/6656 mbuf clusters in use (current/peak/max)
16980 Kbytes allocated to network (85% of mb_map in use)
106522 requests for memory denied
1545 requests for memory delayed
0 calls to protocol drain routines

Please let me know if you need more info regarding this.
Thank you in advance. 
-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala.

-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mbuf error

2004-11-24 Thread Kris Kennaway
On Thu, Nov 25, 2004 at 12:41:33AM +0530, Akhthar Parvez. K wrote:
 Hi All,
 
 Mysql service is going down continously in my system due to lack of memory 
 space.
 
 I checked the messages log and found the following error message.
 
 All mbuf clusters exhausted, please see tuning(7).
 
 I have no idea about mbuf cluster. Can anyone please help me to fix the issue.

And did you read the tuning(7) manpage, as directed?

Kris


pgpAcOM5o9Z31.pgp
Description: PGP signature


Re: httpd.conf

2004-11-24 Thread Peter Risdon
Joshua Lokken wrote:
On Wed, 24 Nov 2004 16:35:02 +, Dick Davies
[EMAIL PROTECTED] wrote:
* metallarch [EMAIL PROTECTED] [1131 16:31]:

I made a virtualhost on apache 2.0 ..
Here is my configs
rc.conf:
gateway_enable=yes
ifconfig_rl0=inet 192.168.0.249 netmask 255.255.255.0
ifconfig_rl0_alias0=inet 192.168.1.35 netmask 255.255.255.0

Perhaps I'm 'whacked', but I believe the alias(es) for your NIC need
to have a netmask of all 1s.
ifconfig_rl0=inet xxx.xxx.xxx.xxx netmask 255.255.255.0
ifconfig_rl0_alias0=inet xxx.xxx.xxx.xxx netmask 255.255.255.255
Please correct me if I'm wrong.  This may not be what's causing you
problems, but something that jumped out at me.
ifconfig_rl0=inet 192.168.0.249 netmask 255.255.255.0
is a different network to
ifconfig_rl0_alias0=inet 192.168.1.35 netmask 255.255.255.0
so the rc.conf is OK. The netmask needs to be 0x when both cards 
are on the same network.

Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SSH Taking a long time then kicking me out

2004-11-24 Thread Andrew Brampton
Hi,
I've just setup a FreeBSD 5.3 machine for a friend, its very minimal and 
only has things like apache, MySQL, no X or other applications since this 
machine is decided to be a webserver.

It has ssh running on it and for the past few days it has been letting me 
login and change settings etc

Yesterday I gave the machine back to my friend and he has taken it far away 
and now turn it on... The webserver  MySQL are running great on the machine 
however SSH is not :(

When I try and log in I get to the username prompt, type my name in, and 
then it just hangs. The password prompt does not appear, and after about 
2minutes my ssh client says the remote machine closed the connection.

Here is the output from a command line ssh
F:\Documents and Settings\Andrewssh -2v [EMAIL PROTECTED]
OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Connecting to carbon.viavillas.com [X.X.X.X] port 22.
debug1: Connection established.
debug1: identity file /cygdrive/f/Documents and Settings/Andrew/.ssh/id_rsa 
type -1
debug1: identity file /cygdrive/f/Documents and Settings/Andrew/.ssh/id_dsa 
type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 
FreeBSD-20040419
debug1: match: OpenSSH_3.8.1p1 FreeBSD-20040419 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'carbon.viavillas.com' is known and matches the DSA host key.
debug1: Found key in /cygdrive/f/Documents and 
Settings/Andrew/.ssh/known_hosts:1
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
{hangs here for 30seconds}
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /cygdrive/f/Documents and 
Settings/Andrew/.ssh/id_rsa
debug1: Trying private key: /cygdrive/f/Documents and 
Settings/Andrew/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
{hangs here for another 2 minutes}
Connection closed by X.X.X.X

Now what's interesting is that it hangs at two different places.
I've seen this hanging issue before with poorly configured DNS, but I've 
never seen it close the connection like this.

Does anyone know what could be causing this problem?
I would provide more information on the box such as a uname -a but I'm 
unable to log in to get this :(. But I can say it was installed from the 
latest 5.3 ISOs, and nothing major has been tweaked/changed.

Please help, thanks
Andrew 

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


Re: iicbb - OK with 4.8, broken with 5.3

2004-11-24 Thread rotenber
Kevin Kinsey

Thank you for your suggestion about bktr_mem.ko.
I loaded it on the 5.3-RELEASE system with these results:

 kldload -v bktr_mem.ko
bktr_mem: memory holder loaded
Loaded bktr_mem.ko, id=7
 tuneradio -f 10110
bktr0: arg=10110 temp=10110
bktr0: tv_freq returned: -1

My best guess is that there is a problem with iicbb.

Happy holidays.
 J.M. Rotenberry

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


Re: Copyright Issues

2004-11-24 Thread Thierry Thomas
Le Mer 24 nov 04 à  7:24:48 +0100, Ted Mittelstaedt [EMAIL PROTECTED]
 écrivait :
 That is not true.  All that is required is that it closely resembles the
 image, I believe the language is something along the lines that if it is
 likely
 consumers would confuse the images then it's a violation.

The BSD demon is very popular: see http://www.lefaillitaire.com/.
This society always uses the demon as their logo, and they have big
posters along the roads in France.
-- 
Th. Thomas.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup to 5.3?

2004-11-24 Thread Damien Hull
I'm using 4.10. How much free space do I need to cvsup?

I had a lot of space until I installed KDE. /usr is down to 2.3G. If
this isn't enough space can I move everything to another drive with more
space in /usr?

-- 
Damien Hull [EMAIL PROTECTED]

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


Solved: PXEBoot fails in last stage

2004-11-24 Thread Erik Norgaard
Erik Norgaard wrote:
I have set up a server (dhcp/tftp/ftp, no nfs configured) as a jumpstart 
server for pxeboot and compiled kernel with -DLOADER_TFTP_SUPPORT=YES.
The client machine is a VIA EPIA CL1000 with a 60GB hdd with a FreeBSD 
4.9, I want to reinstall to get 5.3.

Kernel is compiled with option BOOTP and support for memory filesystem 
as root device.
Aparently the loader does not respect the value of rootfs, it _will_ try 
nfs if it can! I removed all options related to nfs in the kernel 
configuration file - it was _not_ enough to remove option nfs_root.

I guess this should result in a bug report.
Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup to 5.3?

2004-11-24 Thread Erik Norgaard
Damien Hull wrote:
I'm using 4.10. How much free space do I need to cvsup?
I had a lot of space until I installed KDE. /usr is down to 2.3G. If
this isn't enough space can I move everything to another drive with more
space in /usr?
First, you can probably save a lot of disk space cleaning up 
/usr/ports/distfiles, and did you make clean after installing your ports?

Sencond:
# du -d 1 /usr
407574  /usr/src
558236  /usr/obj
162600  /usr/nclt
This was after make buildworld, make buildkernel, make installkernel and 
make installworld, and with two different kernel configs. I installed 
everything into /usr/nclt. Summing up, you should be ok with 2G

Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup to 5.3?

2004-11-24 Thread Kent Stewart
On Wednesday 24 November 2004 12:38 pm, Damien Hull wrote:
 I'm using 4.10. How much free space do I need to cvsup?

 I had a lot of space until I installed KDE. /usr is down to 2.3G. If
 this isn't enough space can I move everything to another drive with
 more space in /usr?

Well, my /usr/src is 358 MB and /usr/obj is 326 MB. Your src is probably 
already filled and it depends on whether you have ever updated your 
system on /usr/obj.

Did you install KDE as packages or did you build the ports?. If you 
built the ports, did you do a make clean when you got through. If you 
didn't do the clean, you would recover space.

I have 2.7 GB of dist files and 1.8 GB of packages that I have built. If 
there are new versions, you don't need the old distfiles.

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: cvsup to 5.3?

2004-11-24 Thread Kent Stewart
On Wednesday 24 November 2004 12:38 pm, Damien Hull wrote:
 I'm using 4.10. How much free space do I need to cvsup?

 I had a lot of space until I installed KDE. /usr is down to 2.3G. If
 this isn't enough space can I move everything to another drive with
 more space in /usr?

Oops, I was on the wrong xterm session. The /usr/src and /usr/obj on my 
5.3-stable machine are 398 MB and 889 MB. You might do a du -h in 
each and see what you already have.

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: make arguments and buildworld

2004-11-24 Thread Nikolas Britton
Conrad J. Sabatier wrote:
On Wed, 24 Nov 2004 05:18:08 -0600, Nikolas Britton
[EMAIL PROTECTED] wrote:
 

Gerard Seibert wrote:
   

I am going to do a fresh install of FreBSD 5.3 this weekend on my
computer. Immediately after the installation I want to do a
buildworld and install a custom kernel.
My question is what special arguments should I use in the 'make.conf'
file for this project.  Is it really necessary to change this file at
all? I was reading the handbook and it mentioned the 'CFLAGGS' entry
and a few others.
 

I'd recommend leaving CFLAGS and COPTFLAGS alone (I've only managed to
make problems when I set these),
   

Well, that, of course, is a matter of opinion.  If you want the most
optimization possible, you could try using -O2 or even -O3.  I've
been using -O3 quite successfully here lately, with the exception of a
couple of ports which required changing it to -O2.
 

-O is the only officially supported optimization, that of course is a 
matter of opinion, but I like to error on the side of caution.

# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings other than -O and -O2 are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to -O before submitting bug reports
# without patches to the developers.
# Note also that at this time the -O2 setting is known to expose bugs in
# libalias(3), and possibly other parts of the system.
I believe the -pipe switch is on by default (as well as -O, but if
not, it does help to speed up builds a bit as well.
 

that is correct, -O and -pipe are on by default so there is no need to 
add them to CFLAGS and COPTFLAGS.

 

but I would change CPUTYPE to your
CPU Type, options are:
AMD CPU:   athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, k6-3,
k6-2, k6, k5
   

And don't forget athlon64!  In fact, I initially setup my amd64 box by
installing from an i386 CD set I had here, then cross-compiling the
world and kernel using -march=athlon64 -m64.
 

AMD CPU: athlon64, athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, 
k6-3, k6-2, k6, k5
Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
Intel ia64 architecture: itanium
CPUTYPE?=Foobar allows to buildworld for a different CPUTYPE.

man make.conf
and read this for me examples:
/usr/share/examples/etc/make.conf
 

Intel CPU:p4, p3, p2, i686, i586/mmx, i586, i486, i386
If you want to rebuild a custom kernel add this:
KERNCONF=FOOBAR
   

And copy /usr/src/sys/${ARCH}/conf/GENERIC to
/usr/src/sys/${ARCH}/conf/FOOBAR and edit to taste, where ${ARCH} equals
your machine architecture (i386, amd64, etc.).
 

--
For your kernel config file comment out everything you don't need
(make sure you have a working kernel b4 you buildworld), i.g:
cpu I486_CPU
cpu I586_CPU
device  eisa
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
all the SCSI Controllers
etc.
Don't forget to add in sound support etc. etc.
---
then buildworld:
# cvsup -g -L 2 foobar-supfile (set the cvs release tag to RELENG_5_3)
# cd /usr/src
# make -j2 buildworld  make -j2 buildkernel  make -j2
Installkernel  reboot
test your new kernel, if it works drop down to single user mode
# shutdown now
# cd /usr/src
# make installworld
# reboot
If system is still working then mergemaster
# mergemaster
# reboot
Done.
rm -r /usr/obj/*
   

http://archive.pilgerer.org/mharc/html/freebsd-questions/2004-11/msg00173.html
   

I would welcome any feedback that is available.
Thanks!
 

 

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


extracting a single file from a package

2004-11-24 Thread Abid Saigol
I have installed courier mail server from packages.  It seems that a single
executable file is corrupted.  I don't want to reinstall the package as I
don't want to reset my configuration info.  Is there any way to extract a
single binary file from the package archive?


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


Re: extracting a single file from a package

2004-11-24 Thread Kris Kennaway
On Wed, Nov 24, 2004 at 04:19:54PM -0500, Abid Saigol wrote:
 I have installed courier mail server from packages.  It seems that a single
 executable file is corrupted.  I don't want to reinstall the package as I
 don't want to reset my configuration info.  Is there any way to extract a
 single binary file from the package archive?

It's just a compressed tarball, so you'd use tar.  Reinstalling the
package shouldn't destroy your configuration though, unless there's a
serious problem with the package.

Kris


pgpFF4q6FEUVg.pgp
Description: PGP signature


DVD burner error

2004-11-24 Thread Edvard Fagerholm
Hello!

I get sometimes the following error when I burn DVDs. Actually it happens
more often than not... When burning a DVD with growisofs, burning stops with
the following message:

acd0 WARNING - removed from configuration
:-( unable to [EMAIL PROTECTED]: Input/output error
builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
:-( write failed: Input/output error
/dev/pass0: flushing cache
(cd0:ata1:0:0:0): lost device
(probe0:ata1:0:0:0): Lost target 0???
:-( unable to FLUSH CACHE: Input/output error
:-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
(cd0:ata1:0:0:0): removing device entry

The funny thing is that this seems to be very file dependent. If I create an
ISO it might work fine and I can burn it many times with no failures. However,
some files always fail. With burncd I can burn every file, but fixating doesn't
work. The error message I get with burncd is TEST_UNIT_READY Illegal request. I
can get the exact data later (i.e. the next time I want to destroy yet another
DVD).

My DVD drive is an LG GSA-4160B

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


Failure to initialise network infterface after pxeboot

2004-11-24 Thread Erik Norgaard
Hi,
- again - sorry to bother you all, but at least I progress :-)
I have a VIA C3 Nehemiah (CL1000), 256MB ram, 60GB HDD. CL1000 comes 
with two ethernet interfaces, both VIA Rhine III 10/100, on my system 
(from FreeBSD 4.10 dmesg):

vr0: VIA VT6105 Rhine III 10/100BaseTX port 0xd000-0xd0ff mem 
0xde00-0xdeff irq 12 at device 15.0 pci0
vr0: Ethernet address: 00:40:63:d4:89:72
miibus0: MII bus on vr0

vr1: VIA VT6102 Rhine III 10/100BaseTX port 0xe800-0xe8ff mem 
0xde002000-0xde0020ff irq 11 at device 18.0 pci0
vr1: Ethernet address: 00:40:63:d4:89:71
miibus1: MII bus on vr1

VIA supports pxeboot so I wanted to use this with dhcp/tftp/ftp to 
reinstall the system as I have no spare cd drive.

I have succesfully set up the server for dhcp, tftp and ftp. The VIA 
machine correctly loads the pxeboot file, fetches a memory filesystem 
and mounts it as root. All on vr0.

The problem comes when the machine ends stage 3. It does no longer find 
vr0!?

I previously had problems forcing the boot loader to use the memory file 
system as root device. I then had compiled the kernel with NFSCLIENT and 
NFS_ROOT options along with MD_ROOT. With this config the machine tried 
to nfs mount a root file system over vr0 - no problem finding the 
interface.

I have now removed all options refering to NFS - BOOTP is still there. 
Now vr0 is not found.

Any help would be greatly appreciated! Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup to 5.3?

2004-11-24 Thread Nikolas Britton
Damien Hull wrote:
I'm using 4.10. How much free space do I need to cvsup?
I had a lot of space until I installed KDE. /usr is down to 2.3G. If
this isn't enough space can I move everything to another drive with more
space in /usr?
 

If you have done a buildworld in the past you can delete everything in 
/usr/obj/, rm -r /usr/obj/*
if you have lots of installed ports/upgraded ports run portclean -CDD 
(portclean is part of the portupdate suite of tools)
if you still need more space delete everything in /usr/ports/distfiles/  
(unless your on a dial-up modem, it would take forever to redownload 
everything.)

As far as having enough space to buildword, 2.3GB sounds like enough but 
don't quote me on that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup to 5.3?

2004-11-24 Thread Erik Norgaard
Damien Hull wrote:
Looks like I didn't do a make clean when I installed kde. I know have
3.5G in /usr. 

Is there an easy way to find out which ports need to have make clean
done?
I have a script: cleans up ports with a work dir and removes distfiles 
that no port is refering to. Not perfect - it doesn't descend deeply 
into distfiles directories. Also, I'd like to add the posibility of 
removing old packages if you make package.

But, it works good enough :-)
you can also make NOCLEANDEPENDS=yes clean in /usr/ports, but this 
won't remove old distfiles. If you do not use NOCLEANDEPENDS=yes, make 
clean will clean out dependencies for each port which will do multimple 
cleans on a lot of ports. Takes extra time.

Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
#!/usr/bin/perl -w
#
# $Id$
#
# This script cleans up the ports tree removing work-directories and
# moving created packages to /var/pkg

use strict;
use warnings;

#
use File::Copy;
#
my $ports_dir = /usr/ports;   # Ports directory to clean
my $pkg_dir   = ; # Directory to store packages

my %distfile;

foreach my $group (glob($ports_dir/*)) {
  next unless -d $group;# Can't descend into a file

  # skip ports special directories
  next if $group =~ /$ports_dir\/(distfiles|Mk|Templates|Tools)/;

  print Descending into $group:\n;
  foreach my $port (glob($group/*)) {

if (-d $port/work) { # Clean up ports work directory.
  printCleaning up $port\n;
  system(make -C $port NOCLEANDEPENDS=yes clean)
and warnUnable to cleanup $port: $!;
};

if (-f $port/distinfo) { # Read distinfo to clean up distfiles dir
  open(DIST,,$port/distinfo)
or warnFailed reading $port/distinfo: $!\n and next;
  while(my $line = DIST) {
if ($line =~ /MD5 \((.*?)\)\s*=\s*(\w+)/) {
  $distfile{$1} = $2;
}
  }
  close(DIST);
};

if ($pkg_dir) {
  foreach my $pkg (glob($port/*.tgz), glob($port/*.tbz)) {
printMoving package to $pkg_dir:\n;
# Do stuff
  }
};
  };
};

# We could recurse deep, but there are no sub-sub directories.
print Cleaning up distfiles directory: \n;
foreach my $file (glob($ports_dir/distfiles/*)) {
  if (-d $file) {
foreach my $subfile (glob($file/*)) {
  -d $subfile and warn Found deep directory: $subfile\n and next;
  my ($base) = $subfile =~ /$ports_dir\/distfiles\/(.*)/;
  if (! defined $distfile{$base} ) {
print Removing old distfile: $base\n;
unlink $subfile;
  };
}
  }
  else { # Remove unknown source files
my ($base) = $file =~ /$ports_dir\/distfiles\/(.*)/;
if (! defined $distfile{$base} ) {
  print Removing old distfile: $base\n;
  unlink $file;
};
  };
};
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: extracting a single file from a package

2004-11-24 Thread David Jenkins
On Wed, 24 November, 2004 21:19, Abid Saigol said:
 I have installed courier mail server from packages.  It seems that a
 single
 executable file is corrupted.  I don't want to reinstall the package
 as I
 don't want to reset my configuration info.  Is there any way to
 extract a
 single binary file from the package archive?

Hi,

Try

# tar xvjpf PACKAGENAME.tbz

Then copy over the required binary to the relevant place.

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


Re: cvsup to 5.3?

2004-11-24 Thread Nikolas Britton
Nikolas Britton wrote:
Damien Hull wrote:
I'm using 4.10. How much free space do I need to cvsup?
I had a lot of space until I installed KDE. /usr is down to 2.3G. If
this isn't enough space can I move everything to another drive with more
space in /usr?
 

If you have done a buildworld in the past you can delete everything in 
/usr/obj/, rm -r /usr/obj/*
if you have lots of installed ports/upgraded ports run portclean 
-CDD (portclean is part of the portupdate suite of tools)
if you still need more space delete everything in 
/usr/ports/distfiles/  (unless your on a dial-up modem, it would take 
forever to redownload everything.)

As far as having enough space to buildword, 2.3GB sounds like enough 
but don't quote me on that.

Sorry... that's portsclean -CDD not portclean -CDD
man portsclean for more info and flags
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD burner error

2004-11-24 Thread Edvard Fagerholm
On Wed, Nov 24, 2004 at 11:27:03PM +0200, Edvard Fagerholm wrote:
 Hello!
 
 I get sometimes the following error when I burn DVDs. Actually it happens
 more often than not... When burning a DVD with growisofs, burning stops with
 the following message:
 
 acd0 WARNING - removed from configuration
 :-( unable to [EMAIL PROTECTED]: Input/output error
 builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
 :-( write failed: Input/output error
 /dev/pass0: flushing cache
 (cd0:ata1:0:0:0): lost device
 (probe0:ata1:0:0:0): Lost target 0???
 :-( unable to FLUSH CACHE: Input/output error
 :-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
 (cd0:ata1:0:0:0): removing device entry
 
 The funny thing is that this seems to be very file dependent. If I create an
 ISO it might work fine and I can burn it many times with no failures. However,
 some files always fail. With burncd I can burn every file, but fixating 
 doesn't
 work. The error message I get with burncd is TEST_UNIT_READY Illegal request. 
 I
 can get the exact data later (i.e. the next time I want to destroy yet another
 DVD).
 
 My DVD drive is an LG GSA-4160B
 
 Regards,
 Edvard

Ok, I forgot to add that I'm running FreeBSD 5.3R. I also tried to use burncd
to get the error message I mentioned in my earlier mail, but this time I got a
kernel panic instead. I didn't see exactly what happened, but when I returned
to the computer I saw this:

burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
...
burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc0440470
stack pointer   = 0x10:0xd4030bfc
frame pointer   = 0x10:0xd4030c08
code segment= base 0x0, limit 0x, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 2 (g_event)
trap number = 12
panic: page fault

I'm happy to provide extra information. I could look up the offending code with
the kernel debugger tomorrow (it's 1AM, so I don't feel like it now).

dmesg output as attachment.

- edvard
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov 19 21:38:04 EET 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/PAM
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Celeron (902.05-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 536870912 (512 MB)
avail memory = 519892992 (495 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 7 Entries on motherboard
pci0: PCI bus on pcib0
agp0: VIA 82C691 (Apollo Pro) host to PCI bridge mem 0xd800-0xdbff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686A UDMA66 controller port 
0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f at device 7.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fxp0: Intel 82559 Pro/100 Ethernet port 0xdc00-0xdc3f mem 
0xdf00-0xdf0f,0xdf30-0xdf300fff irq 11 at device 8.0 on pci0
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:90:27:91:25:f6
fxp1: Intel 82559 Pro/100 Ethernet port 0xe000-0xe03f mem 
0xdf10-0xdf1f,0xdf302000-0xdf302fff irq 10 at device 9.0 on pci0
miibus1: MII bus on fxp1
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:90:27:be:ae:49
fxp2: Intel 82559 Pro/100 Ethernet port 0xe400-0xe43f mem 
0xdf20-0xdf2f,0xdf301000-0xdf301fff irq 11 at device 12.0 on pci0
miibus2: MII bus on fxp2
inphy2: i82555 10/100 media interface on 

Re: DVD burner error

2004-11-24 Thread Andrew L. Gould
On Wednesday 24 November 2004 05:02 pm, Edvard Fagerholm wrote:
 On Wed, Nov 24, 2004 at 11:27:03PM +0200, Edvard Fagerholm wrote:
  Hello!
 
  I get sometimes the following error when I burn DVDs. Actually it
  happens more often than not... When burning a DVD with growisofs,
  burning stops with the following message:
 
  acd0 WARNING - removed from configuration
 
  :-( unable to [EMAIL PROTECTED]: Input/output error
 
  builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
 
  :-( write failed: Input/output error
 
  /dev/pass0: flushing cache
  (cd0:ata1:0:0:0): lost device
  (probe0:ata1:0:0:0): Lost target 0???
 
  :-( unable to FLUSH CACHE: Input/output error
  :-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
 
  (cd0:ata1:0:0:0): removing device entry
 
  The funny thing is that this seems to be very file dependent. If I
  create an ISO it might work fine and I can burn it many times with
  no failures. However, some files always fail. With burncd I can
  burn every file, but fixating doesn't work. The error message I get
  with burncd is TEST_UNIT_READY Illegal request. I can get the exact
  data later (i.e. the next time I want to destroy yet another DVD).
 
  My DVD drive is an LG GSA-4160B
 
  Regards,
  Edvard

 Ok, I forgot to add that I'm running FreeBSD 5.3R. I also tried to
 use burncd to get the error message I mentioned in my earlier mail,
 but this time I got a kernel panic instead. I didn't see exactly what
 happened, but when I returned to the computer I saw this:

 burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
 burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
 burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
 ...
 burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured

 Fatal trap 12: page fault while in kernel mode
 fault virtual address = 0x0
 fault code= supervisor read, page not present
 instruction pointer   = 0x8:0xc0440470
 stack pointer = 0x10:0xd4030bfc
 frame pointer = 0x10:0xd4030c08
 code segment  = base 0x0, limit 0x, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
 processor eflags  = interrupt enabled, resume, IOPL = 0
 current process   = 2 (g_event)
 trap number   = 12
 panic: page fault

 I'm happy to provide extra information. I could look up the offending
 code with the kernel debugger tomorrow (it's 1AM, so I don't feel
 like it now).

 dmesg output as attachment.

 - edvard

See the following links regarding burning cd's and dvd's.  With a DVD 
burner, you need to add atapicam to the your kernel.  The use of 
atapicam will also mean, however, that you will need to burn cd's using 
cdrecord rather than burncd.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

Best of luck,

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


Re: DVD burner error

2004-11-24 Thread cpghost
On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
 See the following links regarding burning cd's and dvd's.  With a DVD 
 burner, you need to add atapicam to the your kernel.  The use of 
 atapicam will also mean, however, that you will need to burn cd's using 
 cdrecord rather than burncd.

Is it absolutely necessary to use cdrecord once atapicam is in the
kernel? I'm using
  # growisofs -Z /dev/cd0 -R -J /path/to/files
for burning dvds and
  # burncd -f /dev/acd0 -s 4 data /path/to/isofile fixate
for burning cds interchangeably without problems.

At least, no problems cropped up yet.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

Thanks,
cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GEOM vs. vinum in FreeBSD 5.3

2004-11-24 Thread Greg 'groggy' Lehey
On Wednesday, 24 November 2004 at 15:10:47 +0800, Rene C. Mendoza wrote:
 Hi!

 I'm supposed to mirror 2 similar disk drives using FreeBSD 5.3  The
 thing  is, I am confused which utility to use: vinum, gvinum, or geom.
 As I understand it, geom is still fairly new but very promising.

GEOM is completely different from Vinum and gvinum.

 Vinum, on the other hand, seems to be stable but not as extensible
 as geom.

They're not related.

 Gvinum seems to be mixture of the two.

No, gvinum is the GEOM-aware version of Vinum and will replace it when
it is complete.

 Personally, I would like to try out gvinum or geom but I don't know
 if these two would be suitable for production environments.  Now, my
 questions are:

 1. Is gvinum mature enough for production environments?

No, I don't think so.

 2. Is geom mature enough for production environments?

Probably.

 3. Which among the three, vinum, gvinum or geom should you
recommend?

They're not a choice.  5.3 uses GEOM, and you can't get past that.
You have the choice of using Vinum (old, stable, but not updated for
GEOM, so of only limited use) or gvinum (new, incomplete, will
eventually replace Vinum).  I wouldn't want to make the choice.  Read
the release notes.

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.


pgp5DgU9LmZTU.pgp
Description: PGP signature


FreeBSD 5.3 problems

2004-11-24 Thread Stefan Moro
Hello..

I've been having some problems with fbsd 5.3.

While using my computer under X (xorg 6.7) it suddenly hangs.. These
crashes seems to be somewhat random. They have occurd while i'm using
firefox or valknut and performing some sort of action, pressing the
refresh button or something like that..

The only thing that still responds after the crash is the mouse.

I don't know of any logs being created when rebooting by pressing reset.
I'll attach my dmesg that was created during reboot after a crash..

Any help appreciated..

//Stefan



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


Re: securing mailserver address

2004-11-24 Thread Olivier Nicole
Hi,

 Good Day can anyone help give me documentations about
 on how to filter/stop  secure, on using my own email
 address as spam.

Your question is unclear to me.

To filter spam, I'd recommend SpamAssassin (www.spamassassin.org)

To filter viruses (is that what you mean by secure) you could look
at Amavis (www.amavis.org)

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


Don't know what else to do - NetGEAR WG311 54Mbps PCI card not recognized

2004-11-24 Thread Dundar Turker
Hi There,

I installed FreeBSD 5.3 from CD and later downloaded RELENG_5_3 from a FreeBSD 
CVS site, then added ath and ath_hal as devices in the kernel configuration 
file. I generated the new kernel and rebooted the machine with it successfully. 
 However, still I cannot get the kernel to recognize my WG311 NetGEAR PCI card. 
 I searched the net for possible solutions people provided but found none... 
There are a number of people repoting the same driver (or configuration) 
problem but there is no answer I could find. 

I am very desperate now and not sure where to go from here...  Could you please 
help to get this wireless network adapter to work. I looked into the output 
from dmesg and there is not even a word to show it was seen by the kernel.

Many thanks,
Turker Dundar

[EMAIL PROTECTED]




The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  


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


Why can't I mount a Video CD in FreeBSD??

2004-11-24 Thread Mark Jayson Alvarez
Good day!
   I'm getting an error whenever I mount a video cd. I
can't remember the error right now because I already
brought it back to the rental shop (its already
overdue). I was also told by my friend that he too
can't mount a video cd in his linux box. Do you happen
to know why?

Thanks.



__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


diskspace used on full install?

2004-11-24 Thread J.D. Bronson
I did a full install of 5.3 and I was wondering about how much typically 
ends up in / ?

I setup my mounts like this:
/
/usr
/var
/home
/tmp
and I am seeing this for / :
Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/da0s1a507630  106656  36036423%/
Does that seem right or have I lost space in / recently ?
I dont have a baseline to compare this by since installing 1 week ago :(
thanks guys-
 -JDB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix.

2004-11-24 Thread Cheebah
Hi how are you going? I am just emailing you regarding the following
post.  
 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/045744.htm
l
 
 
I am receiving the same errors and am wondering if you ever had any joy
in solving this problem?
 
Any suggestions would be greatly appreciated.
 
Have a great day.
 
Cheers
Cheebah
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why can't I mount a Video CD in FreeBSD??

2004-11-24 Thread Murray Taylor
On Thu, 2004-11-25 at 12:40, Mark Jayson Alvarez wrote:
 Good day!
I'm getting an error whenever I mount a video cd. I
 can't remember the error right now because I already
 brought it back to the rental shop (its already
 overdue). I was also told by my friend that he too
 can't mount a video cd in his linux box. Do you happen
 to know why?
 
 Thanks.
 

Guessing here 

Because its a video disk, not a filesystem disk

CDROM - has iso9660 filesystem - mounts on BSD, 
similarly usable on Win as a data disk
Audio CD - not a file system - 'playable' on BSD
visible tracks simulated as filenames in Win
Video CD - not a file system - 'playable' on BSD
visible tracks simulated as filenames in Win

There may be ports that let you see the audio / video tracks 
as 'files' for manipulation thjough ...

my 2c - and possibly only worth 1c as I am guessing.

mjt


 
   
 __ 
 Do you Yahoo!? 
 All your favorites on one personal page  Try My Yahoo!
 http://my.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 This Email has been scanned for Viruses by MailMarshal.
 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: Why can't I mount a Video CD in FreeBSD??

2004-11-24 Thread Adam Fabian
On Wed, Nov 24, 2004 at 05:40:09PM -0800, Mark Jayson Alvarez wrote:
 Good day!
I'm getting an error whenever I mount a video cd. I
 can't remember the error right now because I already
 brought it back to the rental shop (its already
 overdue). I was also told by my friend that he too
 can't mount a video cd in his linux box. Do you happen
 to know why?

A video CD does not have a filesystem, therefore it can't be mounted.
You may be able to play it with the appropriate program, or extract
the video data to files.

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


Error and install stops for KDE

2004-11-24 Thread Doug Van Allen
I just installed 5.3 and Xorg on a new box.  Went to install KDE, and
the install stopped.  This was the error:
[code]
Fetch:ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fam/fam-2.6.9.tar.gz:
Service not available, closing control connection
Couldn't fetch it - please try to retrieve this
Port manually into /usr/ports/distfiles/fam and try again
*** Error code 1

Stop in /usr/ports/devel/fam.
*** Error code 1

Stop in /usr/ports/X11/kdelibs3.
*** Error code 1

Stop in /usr/ports/X11/kdebase3.
*** Error code 1

Stop in /usr/ports/X11/kdebase3.
*** Error code 1

Stop in /usr/ports/X11/kde3.
*** Error code 1
[/code]

I dont know what I should do.  Should I uninstall KDE, install fam,
and then try KDE again?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free-BSD FTP Passive Ports?

2004-11-24 Thread robg
Hi:

I'm running the built-in FTP program in FreeBSD, but I can't figure
out how to specify passive ports.  Could someone point me in the right
direction

Thanks.


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


Re: diskspace used on full install?

2004-11-24 Thread Kevin D. Kinsey, DaleCo, S.P.
J.D. Bronson wrote:
I did a full install of 5.3 and I was wondering about how much 
typically ends up in / ?

I setup my mounts like this:
/
/usr
/var
/home
/tmp
and I am seeing this for / :
Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/da0s1a507630  106656  36036423%/
Does that seem right or have I lost space in / recently ?
I dont have a baseline to compare this by since installing 1 week ago :(
thanks guys-
 -JDB 

Output from df(1) appears in your nightly emails (from Charlie Root.)
It helps in trying to figure out maybe *when* something might have
changed.  You should have mail from Charlie somewhere (if you haven't
set up where to send it in /etc/mail/aliases, then login as root and
type mail, or point an editor at /var/mail/root.
The full output of mount(8) might be helpful to us on the list.
Also, for your own use, (as root) you might try:
# cd /
# du -hxm  | sort -n
Which should get you human readable output on the disk
usage of your root file system, without crossing mount points,
output in megabytes and sorted in order by size.  Might take
a moment to output it, though...
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error and install stops for KDE

2004-11-24 Thread Kevin D. Kinsey, DaleCo, S.P.
Doug Van Allen wrote:
I just installed 5.3 and Xorg on a new box.  Went to install KDE, and
the install stopped.  This was the error:
[code]
Fetch:ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fam/fam-2.6.9.tar.gz:
Service not available, closing control connection
 

Couldn't fetch it - please try to retrieve this
Port manually into /usr/ports/distfiles/fam and try again
 

*** Error code 1
 

Either try it again, or fetch it manually, as it says.
I just hopped over there, and the file is available.
There is a usage limit on that server (# of simultaneous
connections), so perhaps that was it?
To fetch it manually, do (as root):
# cd /usr/ports/distfiles
# fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fam/fam-2.6.9.tar.gz

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


Re: Error and install stops for KDE

2004-11-24 Thread Lars Eighner
On Wed, 24 Nov 2004, Doug Van Allen wrote:
I just installed 5.3 and Xorg on a new box.  Went to install KDE, and
the install stopped.  This was the error:
[code]
Fetch:ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fam/fam-2.6.9.tar.gz:
Service not available, closing control connection
Couldn't fetch it - please try to retrieve this
Port manually into /usr/ports/distfiles/fam and try again
*** Error code 1
Stop in /usr/ports/devel/fam.
*** Error code 1
Stop in /usr/ports/X11/kdelibs3.
*** Error code 1
Stop in /usr/ports/X11/kdebase3.
*** Error code 1
Stop in /usr/ports/X11/kdebase3.
*** Error code 1
Stop in /usr/ports/X11/kde3.
*** Error code 1
[/code]
I dont know what I should do.  Should I uninstall KDE, install fam,
and then try KDE again?
Try to ftp the file yourself and place it in /usr/ports/distfiles/ .
If you didn't make clean in kde3, you can simply return to the
kde3 directly and enter make again.
Kde3 is pseudoport.  It is just a way of building a whole bunch
of kde components by claiming the pseudoport depends on them.
It will skip the parts that have already been built and
begin again with fam.  It is pointless to uninstall kde.
You can try to build fam on its own and then return to kde3
and make.  In that case fam will be skipped too along with the
other components that have already been built.
The problem seems to be getting the file, and if you can't do
that manually, the ports won't be able to either.

--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD burner error

2004-11-24 Thread Andrew L. Gould
On Wednesday 24 November 2004 05:38 pm, [EMAIL PROTECTED] wrote:
 On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
  See the following links regarding burning cd's and dvd's.  With a
  DVD burner, you need to add atapicam to the your kernel.  The use
  of atapicam will also mean, however, that you will need to burn
  cd's using cdrecord rather than burncd.

 Is it absolutely necessary to use cdrecord once atapicam is in the
 kernel? I'm using
   # growisofs -Z /dev/cd0 -R -J /path/to/files
 for burning dvds and
   # burncd -f /dev/acd0 -s 4 data /path/to/isofile fixate
 for burning cds interchangeably without problems.

 At least, no problems cropped up yet.

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
 cds.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
 dvds.html

 Thanks,
 cpghost.

Based upon your experience, the change to cdrecord would appear to be 
optional.  Can you still mount /dev/acd0 to /cdrom?

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


Re: Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix.

2004-11-24 Thread Kevin D. Kinsey, DaleCo, S.P.
Cheebah wrote:
Hi how are you going? I am just emailing you regarding the following
post.  

http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/045744.html
I am receiving the same errors and am wondering if you ever had any joy
in solving this problem?
Any suggestions would be greatly appreciated.
Have a great day.
Cheers
Cheebah
What is the output of uname -a for this machine?
How old a build is it?
Also, have your read /usr/ports/UPDATING?
Given that this problem is several months old,
it may be that your installation is out of date
as well ...
Just a hunch.  :-
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stuff reset after adding libraries

2004-11-24 Thread RL
I found this odd, but maybe it's normal.  I installed a bunch of
system libraries I didn't have before in /stand/sysinstall using the
CD. After that my login name (root was still there) was gone from
/etc/password (home directory was still there though), in which I
couldn't log in as non-root.  Also, my /etc/hosts was reset to the
default; my entries in that was gone.  Is this normal after installing
a bunch of libraries in sysinstall from the CD?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restarting rc.conf

2004-11-24 Thread Rob
Paul Schmehl wrote:
--On Monday, November 22, 2004 12:34:58 PM + David Jenkins 
[EMAIL PROTECTED] wrote:

I would imagine for convenience - if their reasons are similar to what
mine were.
i.e if you have made several changes to rc.conf then manually
restarting several services via /etc/rc.d or /usr/local/etc/rc.d or
running ifconfig is monotonous.
How monotonous is:
cd /usr/local/etc/rc.d./
foreach file in .
do
$file restart
done
This does not work if a service has been changed from YES to NO (or has
been removed from rc.conf). Therefore I think this is better:
 foreach dir in /etc/rc.d /usr/local/etc/rc.d
 do
   cd $dir
   foreach file in *
   do
 $file forcestop
 $file start
   done
 done
The forcestop will stop the service, no matter what's in the rc.conf file.
The start will only start the service, if the service is allowed in rc.conf.
Moreover, I believe this works for 5.X only.
Of course, you'd better sit at the console when you do this!
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >