Re: Help with Vinum disk crash...

2004-02-24 Thread Danny Carroll
 No, that's not correct.  It does happen if you choose too small a
 stripe size, but that's the best reason for choosing larger stripes.
 That's described in much detail in the man page.

How can it not be correct?  When you write some data, it writes to all 4 disks,
when you read it reads from 3 of them right?


-D

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


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Kris Kennaway
On Tue, Feb 24, 2004 at 08:50:44AM +0100, Bernard El-Hagin wrote:

  Sorry, I should have mentioned that. I'm running 5.1-Release.
 
 I think there's something in one of the included makefiles that relies
 on a change to make(1) that happened after 5.1-RELEASE.  Note that
 only the most recent release is supported by the ports collection
 (http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
 should fix the problem.
 
 
 Wow, that really sucks, since I've had zero luck updating to 5.2 the two
 times I tried, and going with 4.9 from 5.1R means a reinstall, rather
 than an upgrade (I'm led to believe).
 
 
 Thanks for your help.

You could try contacting the maintainer and ask them to test it on the
older release and develop a patch, or if someone else comes up with a
patch the maintainer may be willing to commit it.

Kris


pgp0.pgp
Description: PGP signature


Re: serial multi-port

2004-02-24 Thread Ryan Merrick
Jim Pazarena wrote:
I purchased a comtrol rocketport (PCI) with the intention of loading
on FreeBSD.
I cannot see where/how I get the kernel to acknowledge the card.

Can anyone offer suggestions?

TIA

--
Jim Pazarenamailto:[EMAIL PROTECTED]
http://www.qcislands.net/paz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

# Rocketport driver
device  rp
There is a section listed in LINT.

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


Re: Help with Vinum disk crash...

2004-02-24 Thread Greg 'groggy' Lehey
On Tuesday, 24 February 2004 at  8:56:58 +0100, Danny Carroll wrote:
 No, that's not correct.  It does happen if you choose too small a
 stripe size, but that's the best reason for choosing larger stripes.
 That's described in much detail in the man page.

 How can it not be correct?  When you write some data, it writes to
 all 4 disks, when you read it reads from 3 of them right?

No.

It's described in the man page and on the web site.

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
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: How to switching between INIT 3 and INIT 5

2004-02-24 Thread Ryan Merrick
Stephen Liu wrote:
Hi folks,

5.2
==
Kindly advise the key combination switching between INIT 3 and INIT 5

Ctrl + Alt + F2 = INIT 3/Text mode (works)
Ctrl + Alt + F7 = INIT 5/Graphic mode (does not work)
and the method switching to multi-user-mode from single-user-mode 
instead of rebooting PC

TIA

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

Hi,

To get to single user mode without rebooting #kill 1 to get back to 
multiuser mode exit the single user shell and the rc scripts will rerun.

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


Re: How to switching between INIT 3 and INIT 5

2004-02-24 Thread Stephen Liu
Hi Dan,

FreeBSD does not have init levels.  You've got off, single-user, and
multi-user.
 

Noted with thanks

and the method switching to multi-user-mode from single-user-mode 
instead of rebooting PC
   

Exit the single-user shell, and the system will bring itself to
multi-user mode automatically.
 

After
..  /bin/sh:
appeared it runs on single-user shell.
Is it typing 'exit' + ENTER to turn to multi-user shell?

TIA

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


Re: How to switching between INIT 3 and INIT 5

2004-02-24 Thread Stephen Liu
Hi Matt,

- snip -

FreeBSD does not have init levels.  You've got off, single-user, and
multi-user.
   

As Dan said, FreeBSD does not have init levels but you can switch to a text 
console from X-windows Ctrl + Alt + F[1-8] will all take you to a login 
prompt, Ctrl + Alt + F9 will take you back to X-Windows. Note that X must be 
running for this to work, otherwise you'll just have text consoles available. 
The number of consoles is configurable somewhere, I just can't remember 
where.
 

Noted with tks.  Do you know the heading/topic of configuring consoles 
which will assists me to search on forum/handbook.   FreeBSD is quite 
new to me.  Tks

and the method switching to multi-user-mode from single-user-mode
instead of rebooting PC
 

To go to single-user do 'shutdown now' as root, It'll ask you for a path to a 
shell or you can hit enter for /bin/sh
 

Noted with tks

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


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Uwe Doering
Bernard El-Hagin wrote:
Kris Kennaway [EMAIL PROTECTED] wrote:

On Tue, Feb 24, 2004 at 07:44:45AM +0100, Bernard El-Hagin wrote:

Since I have this same problem I ran 'make describe' and here's the
result:
-
=== devel/sparc-rtems-gdb
*** Error code 1
Stop in /usr/ports/devel.
*** Error code 1
Stop in /usr/ports.
-
What version of FreeBSD are you running?
Sorry, I should have mentioned that. I'm running 5.1-Release.
I think there's something in one of the included makefiles that relies
on a change to make(1) that happened after 5.1-RELEASE.  Note that
only the most recent release is supported by the ports collection
(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
should fix the problem.
Wow, that really sucks, since I've had zero luck updating to 5.2 the two
times I tried, and going with 4.9 from 5.1R means a reinstall, rather
than an upgrade (I'm led to believe).
If you have the OS sources installed you could selectively upgrade the 
source files of make(1) via cvsup(1) and just install it.  No need to 
upgrade the whole OS only because make(1) got an additional command line 
option.  We recently did this for our 4.5 based systems.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Bernard El-Hagin
Uwe Doering wrote:

Bernard El-Hagin wrote:
 Kris Kennaway [EMAIL PROTECTED] wrote:
 
On Tue, Feb 24, 2004 at 07:44:45AM +0100, Bernard El-Hagin wrote:

Since I have this same problem I ran 'make describe' and here's the
result:

-
=== devel/sparc-rtems-gdb
*** Error code 1

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

Stop in /usr/ports.
-

What version of FreeBSD are you running?

Sorry, I should have mentioned that. I'm running 5.1-Release.

I think there's something in one of the included makefiles that relies
on a change to make(1) that happened after 5.1-RELEASE.  Note that
only the most recent release is supported by the ports collection
(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
should fix the problem.
 
 Wow, that really sucks, since I've had zero luck updating to 5.2 the two
 times I tried, and going with 4.9 from 5.1R means a reinstall, rather
 than an upgrade (I'm led to believe).

If you have the OS sources installed you could selectively upgrade the 
source files of make(1) via cvsup(1) and just install it.  No need to 
upgrade the whole OS only because make(1) got an additional command line 
option.  We recently did this for our 4.5 based systems.


Could you please explain how that's done? I've never selectively
upgraded the source and I'm afraid of screwing something up.


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


Re: Kernel build problem after make world

2004-02-24 Thread fjaspers
HI,

Sorry my information was somewhat obscure, you're answer however wasn't.
The 4BSD_SCHED option did the trick.

The real problem was mee being impatient trying to build a 5.2 KERNEL with
a 5.0 config file.
I made a new config file patiently copying lines in from NOTES and GENERIC.
Now the world smiles again. :)

Thnx for your help.


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


Re: backup

2004-02-24 Thread Peter Schuller
 You would need to use piping to restore the backup, though and that can
 get tricky if your new system that you need to restore the data to isn't
 sized the same as the old and isn't using the same version of dump.

Woha, timeout. Are you saying 'dump' produces files in a format *not* 
guaranteed to work with 'restore' on another system if it is not running the 
exact same version of FreeBSD? Or having the same file system size?

I had always assumed - given that it's a backup tool - that the format of the 
dump was portable. 

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: FreeBSD 5.3

2004-02-24 Thread Jorge Mario G.
 --- Caio Souza Mendes [EMAIL PROTECTED]
escribió:  Hello,
 
 It would like to know if the next version to the
 FreeBSD, the 5.3 will be same stable?  If yes, for
 when is foreseen the launching of exactly?
 
 
Hi there

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/schedule.html

Jorge

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cardbus configuration from FreeBSD 4.9 to 5.2.1 RC2

2004-02-24 Thread Andrew L. Gould
I have a Compaq Presario 910US that dual boots Win2K Pro and FreeBSD 4.9 
STABLE.  I installed 5.2.1 RC2 on a spare hard drive this morning; but can't 
get it to detect my wireless card (Linksys WPC11 v.3).  In FreeBSD 4.9, I got 
my wireless card working by:

1. Commenting out the irq and io lines in /etc/defaults/pccard.conf

2. Adding the following lines to /etc/pccard.conf:
 debuglevel 4
 irq 4 7
 io 0x278-0x378

3. Adding the following line to /etc/rc.conf:
 pccard_enable=YES

In FreeBSD 5.2.1 RC2:

1. I performed all of the steps described above for FreeBSD 4.9

2. I added the following line to /etc/rc.conf:
 devd_enable=YES

Unfortunately, my wireless card is still not detected.  Here are some relevant 
lines from dmesg:

cbb0: TI1410 PCI-CardBus Bridge mem 0xffbfe000-0xffbfefff at device 10.0 on 
pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pcib0: device has no interrupts
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12

Adding the following lines to /boot/device.hints and rebooting did not help:

hint.cbb.0.at=pci
hint.cbb.0.irq=4
hint.cbb.0.maddr=0x278

I am still running the GENERIC kernel.

Any advice?

Thanks,

Andrew Gould

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


Re: How to switching between INIT 3 and INIT 5

2004-02-24 Thread Mark Weinem
On Tue, 24 Feb 2004, Stephen Liu wrote:

 After ..  /bin/sh: appeared it runs on single-user shell.
 
 Is it typing 'exit' + ENTER to turn to multi-user shell?

Correct.

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


Re: famous 'mac read failed 5'

2004-02-24 Thread C.L. Lai [ALAN]
On Tue, 24 Feb 2004, C.L. Lai [ALAN] wrote:

 
 i m not the only one... google says
 but there still isn't a solution.
 
 the problem is, i m using a pcmcia-pci bridge (plx pci9052) w/ a wireless
 pcmcia card(prism2.5)
 together w/ fbsd5.2rc2-sparc64's if_wi driver
 right after the module loading, displaying a few wi0 words, and then says
 'mac read failed 5'
 then it failed to inilize my wireless device.
 
 so my question is, is there anyway to solve this problem or other ways to
 get my pci9052 + prism2.5 working on my fbsd
 
 thank u for reading
 
 alan

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


RE: where do i get freebsd kernel source code only

2004-02-24 Thread Remko Lodder
use cvsup, or cvs to fetch it from the cvs servers worldwide.

a little search on the website;
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
resulted in that,

Hope this helps,

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Ashok Raj
Verzonden: dinsdag 24 februari 2004 7:45
Aan: [EMAIL PROTECTED]
Onderwerp: where do i get freebsd kernel source code only


hello,

  i am interested in looking at the source code of
freebsd. but i was unable to find only source code in
ur ftp sites. so i want to know the path from where i
can download only the source code of freebsd (without
installing freebsd).

regards,
ashok

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[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: Fail to start KDE

2004-02-24 Thread Stephen Liu

- snip -

2)
After starting 3 'Xterm windows' I can start KDE 3.1 from any one of the 
'Xterm window' with;

# startkde

It worked with KDE started.

3) On INIT 3/text mode I can login either as 'root' or as 'user' with 
correct password without problem
   

I haven't used xdm in ttys for a long time, and suspect this is an
obsolete method.  If you enter kdm  at a root prompt, kdm should
start.  

Hi Mike,

Tks for your advice which works. 

What is '' for

I don't see why you shouldn't put it into /usr/local/etc/rc.d
to make it work on startup, and I am pretty sure I used to run it 
that way.
 

/usr/local/etc/rc.d  is a directory.  Whether you recommend to create a 
file with only a single line :- 'Kdm ' (without quote) on it and save 
it to  /usr/local/etc/rc.d/

Shall I 'chmod 775' the file created?  Files in /usr/local/etc/rc.d/ 
directory have an extension '.h'.  Shall I name the file as xxx.h?

TIA

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


KDE 3.1 start up too slow

2004-02-24 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2

I encountered problem of slow startup of KDE 3.1, first popup desktop 
icrons, then bottom tool-bar, then welcome screen, etc., one by one 
taking prolonged time.   Starting K package also takes lengthy time.   
Closing/exiting KDE is equally slow.

Immediate after installation (from CD1) completed it worked perfectly.   
IIRC, only after playing around to configure network card, ppp, etc. 
which are still not completed yet, KDE startup became terrible slow.

Kindly advise.

TIA

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


Re: obsolete files?

2004-02-24 Thread jsha

damn, this sounds bad.

so what, freebsd from scratch is the only way to avoid this?

and how come make/install world is made like that? shouldn't
the developers try to avoid this kind of thing?

thanks.

On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
 On Saturday 21 February 2004 11:24 pm, jsha wrote:
  hello.
 
  does make world leave obsolete files on your system
  after install? without even the slightest effort to
  remove them?
 
  please say it isn't so. i like make world.
 
 
 Worse, it is known to cause fatal situations where you have to use the 
 fixit disk to recover your system or do a reinstall. If you upgrade a 
 kernel that panics, you will be committed to using the bad build. The 
 installworld being run after the installkernel and reboot to single 
 user mode is for your protection.
 
 FWIW, even installworld leaves obsolete files on your system at various 
 times.
 
 Kent
 
 -- 
 Kent Stewart
 Richland, WA
 
 http://users.owt.com/kstewart/index.html

--
j.

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


4.7 Release

2004-02-24 Thread Rafael Monterroza Barrios
Hello Freebsd Team.

I installed a 4.7RELEASE FreeBSD based machine to run a software that is
designed for that version of FreeBSD. My machine crashed and now I need
to reinstall the system with the same version, but unfortunately, I lost
my 4.7RELEASE CD, and now looking on your website for the ISO image for
that version, I didn't find it. How can I get this version? 

Thanks for your help.

__
Ing. Rafael Monterroza Barrios
Director Regional Cartagena
Desarrollos Tecnológicos S.A. / Detec S.A.
Tel: 575-6641079
Cartagena - Colombia
www.detecsa.net

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


Not able install FreeBSD 5.1 properly

2004-02-24 Thread Sushobhan Das
Hi,

I am facing problem in installation of FreeBSD 5.1. 
The system configuration is  
P IV 2.4 GHz with two hard drives  1 CDROM  1 CDRW.
I am trying to install FreeBSD in primary slave, in a primary partition of size 4GB. I 
have given 200MB as swap, 1500MB as /usr and rest to / .
When it asks for installation source, I selected CDRW. But during the installation 
process, it never asked for Disk 2. So, it said that it could not find some packages. 
How can I use Disk 2 during installation?

Also,
I copied both disk 1  2 in C:/FREEBSD (this is in primary master harddrive) and tried 
to do the installation using the DOS option that comes during installation. But 
It says it could not find any dos partition.

Please help

Regards,
Sushobhan 

__
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

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


FBSD 5.1R usb probe order

2004-02-24 Thread dayton

Folks,

I'm running Release 5.1 on an IBM Xseries 220.  I've recently attached a HP
psc 2175 printer/scanner which includes photo memory card slots.  It
connects via usb.  As you can see at the tail of the dmesg output below that
when the printer is powered on the usb driver sets up ulpt0 and da1.  The
da1 is setup to handle the photo memory cards.

The problem is that if the printer is plugged in and turned on at boot time
the driver assigns da0 to the umass device which is where the kernel expects
to find my root file system.  So, the system hangs.

I see three possible methods to work around this:

 1) Remove usb from the kernel and load usb.ko after the system has booted.

 2) Somehow change the order of device probes by the kernel so that the
kernel probes for scsi devices before usb devices.

 3) Specify somehow via device.hints that the usb driver should assign da1
to the umass device

I'm suspect that #1 will work (I haven't tried it yet) but I'm interested in
#2  #3.  I haven't found an answer in the documentation.

Is there a (not too convoluted) way to change the boot time probe sequence?

Can device hints assign device numbers either in general or specifically for
umass devices?

thanks
dayton

PS.  There doesn't appear to be a way to disable the memory card ports on
the printer.





Copyright (c) 1992-2003 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.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0689000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 932892131 Hz
CPU: Intel Pentium III (932.89-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 134139904 (127 MB)
avail memory = 123236352 (117 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: ServerWorks NB6635 3.0LE host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pci0: display, VGA at device 1.0 (no driver attached)
fxp0: Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet port 0x2000-0x203f mem 
0xfea0-0xfeaf,0xfeb7f000-0xfeb7 irq 11 at device 2.0 on pci0
fxp0: Ethernet address 00:02:55:6d:12:f4
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge port 0x440-0x44f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 UDMA33 controller port 0x700-0x70f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfeb7e000-0xfeb7efff irq 10 at device 15.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: ServerWorks NB6635 3.0LE host to PCI bridge at pcibus 1 on motherboard
pci1: PCI bus on pcib1
ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0x2100-0x21ff mem 
0xe000-0xefff irq 9 at device 3.0 on pci1
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
orm0: Option ROM at iomem 0xc-0xc9fff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0303 can't assign resources (port)
Timecounters tick every 10.000 msec
acd0: CDROM LG CD-ROM CRD-8484B at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: IBM-ESXS ST318305LW!# B244 Fixed Direct Access SCSI-3 

Re: KDE startup slowly on initializing system service

2004-02-24 Thread Andrew Hall
FWIW I noticed on my 5.2 box today kinit was using 60% of the
processor.  I restarted KDE and kinit's usage dropped to ~1%.

Drew

On Tue, 2004-02-24 at 01:49, Stephen Liu wrote:
 Hi Teodor,
 
 FreeBSD 5.2
 
 
 I encounter the same problem. KDE starts very slow, first popup desktop 
 icrons, bottom tool-bar, welcome screen, etc., one by one taking 
 prolonged time. Starting K package from desktop also takes lengthy time 
 to start.
 
 Immediate after installation from CD1 completed it worked perfectly. 
 After playing around to configure network card, ppp, etc. KDE starting 
 became terrible slow.
 
 FreeBSD chinhngt.b.gz.ru 4.9-STABLE FreeBSD 4.9-STABLE #0:
   
 
 
 I would recommend adding something like this to your /etc/hosts:
 127.0.0.1localhost.localdomain   chinhngt.b.gz.ru
 
 I have noticed this problem when you change your domain from the classic
 'localhost.localdomain' to something else, and KDE does not know how to
 resolve it, thus the slowdowns.
   
 
 # /etc/hosts
 
 I changed
 :: 1 localhost localhost.my.domain
 127.0.01 localhost localhost.my.domain
 
 to
 :: 1 localhost.localdomain
 127.0.01 localhost.localdomain
 
 It complained at booting with following warning;
 
 Starting sshd.
 554 5.3.0 host localhost unknown: Invalid argument
 . sm-mta[432]: NOQREUE: SYSERR(root) :host localhost unknown: 
 Invalid argument
 .
 
 Kindly advise how to fix the problem
 
 TIA
 
 B.R.
 Stephen Liu
 ___
 [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: obsolete files?

2004-02-24 Thread Lowell Gilbert
Please don't top-post.

 On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
  On Saturday 21 February 2004 11:24 pm, jsha wrote:
   hello.
  
   does make world leave obsolete files on your system
   after install? without even the slightest effort to
   remove them?
  
   please say it isn't so. i like make world.
  
  
  Worse, it is known to cause fatal situations where you have to use the 
  fixit disk to recover your system or do a reinstall. If you upgrade a 
  kernel that panics, you will be committed to using the bad build. The 
  installworld being run after the installkernel and reboot to single 
  user mode is for your protection.
  
  FWIW, even installworld leaves obsolete files on your system at various 
  times.
  
  Kent

jsha [EMAIL PROTECTED] writes:

 damn, this sounds bad.
 
 so what, freebsd from scratch is the only way to avoid this?
 
 and how come make/install world is made like that? shouldn't
 the developers try to avoid this kind of thing?

Following the documented upgrade path (including checking UPDATING
for any special actions needed at a particular point) will avoid
having an unbootable system.  Kent Stewart was explaining why 
using make world is less safe than using the documented procedure.

And having a few obsolete files left behind is not generally a
problem.  It's possible to find some and weed them out, but it's not
worth worrying about.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE startup slowly on initializing system service

2004-02-24 Thread Stephen Liu
Hi Andrew,

Tks for your response.

What I can't resolve is KDE was working without problem before.  After I 
played around to setup network/Internet connection which is still 
unfinished it became terrible slow in operation.

B.R.
Stephen
FWIW I noticed on my 5.2 box today kinit was using 60% of the
processor.  I restarted KDE and kinit's usage dropped to ~1%.
Drew

On Tue, 2004-02-24 at 01:49, Stephen Liu wrote:
 

Hi Teodor,

FreeBSD 5.2

I encounter the same problem. KDE starts very slow, first popup desktop 
icrons, bottom tool-bar, welcome screen, etc., one by one taking 
prolonged time. Starting K package from desktop also takes lengthy time 
to start.

Immediate after installation from CD1 completed it worked perfectly. 
After playing around to configure network card, ppp, etc. KDE starting 
became terrible slow.

   

FreeBSD chinhngt.b.gz.ru 4.9-STABLE FreeBSD 4.9-STABLE #0:



I would recommend adding something like this to your /etc/hosts:
127.0.0.1   localhost.localdomain   chinhngt.b.gz.ru
I have noticed this problem when you change your domain from the classic
'localhost.localdomain' to something else, and KDE does not know how to
resolve it, thus the slowdowns.
 

# /etc/hosts

I changed
:: 1 localhost localhost.my.domain
127.0.01 localhost localhost.my.domain
to
:: 1 localhost.localdomain
127.0.01 localhost.localdomain
It complained at booting with following warning;

Starting sshd.
554 5.3.0 host localhost unknown: Invalid argument
. sm-mta[432]: NOQREUE: SYSERR(root) :host localhost unknown: 
Invalid argument
.

Kindly advise how to fix the problem

TIA

B.R.
Stephen Liu
___
[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: backup

2004-02-24 Thread Jerry McAllister
 
  You would need to use piping to restore the backup, though and that can
  get tricky if your new system that you need to restore the data to isn't
  sized the same as the old and isn't using the same version of dump.
 
 Woha, timeout. Are you saying 'dump' produces files in a format *not* 
 guaranteed to work with 'restore' on another system if it is not running the 
 exact same version of FreeBSD? Or having the same file system size?
 
 I had always assumed - given that it's a backup tool - that the format of the 
 dump was portable. 

Generally, dump files are portable within the same OS but different
versions.  eg a dump in FreeBSd 3.xx can be restore in FreeBSD 4.xx, etc.
But, unfortunately dump files are often not portable between OSen,
especially vendor supported proprietary versions of UNIX.  It is also
possible that it might not be portable between OS versions, but mostly
it hasn't been changing as much lately so that isn't so much a problem
as it was a few years ago.   

dump puts a magic number in the dump file header and restore will refuse 
to work on files that have the wrong magic number.  The magic number is
only supposed to change if a new version of dump now generates a file
that is incompatible with previous versions, but I don't know how
precise developers have been with adhering to this imperative.  
Especially between vendors, they may have changed the magic number
just because it is a different vendor and not because the file format
is any different.   But, I don't think you will find that happening
within FreeBSD. 

The issue of not being able to restore a dump if it was piped from one
system to another comes up if the two systems are different - namely
different vendors.  If you dump a FreeBSD file system and pipe it
to a SUN OS system for writing to media, for example, then a SUN OS
version of restore may well not be able to read that dump.   You 
would need to pipe it to a restore running on a FreeBSD system.   That
works OK for full restores, but can be rather nasty for restoring just
a few files or doing an interactive restore. 

But, if you pipe a dump of a FreeBSD file system to another FreeBSD
system for writing.  Then restore on that other FreeBSD system will
almost assuredly be able to read the dump.   You might want to 
experiment a little to be clear on procedures if you plan to do this.

So, all this may sound iffy, but really, if you use dump in FreeBSD
to back up a file system, (and if the media stays good, of course)
you should have no problem restoring from that dump.

And, really, for most cases of making a backup against disk failures
(and fat finger or caffeine haze failures) that would be used to 
recover files on the same system, dump is generally the best choice.
It maintains the information in a manner that can be restored to
a full working version of the filesystem with all file information
kept intact.  The other methods do not guarantee that in all cases.

dump's main weakness is that it works on a filesystem rather than 
some subset such as a few files or a specific directory tree.  

So, if you want to make a backup of just one or two directory trees 
within a filesystem, then probably tar is your best bet.   Also, if 
you want to make something that is more guaranteed to be portable 
across OS boundaries, then tar is a good choice.   Otherwise, use dump.

jerry

 
 -- 
 / Peter Schuller, InfiDyne Technologies HB
 
 PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
 Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
 E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org
 
 ___
 [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.7 Release

2004-02-24 Thread Julien Gabel
 Hello Freebsd Team.

 I installed a 4.7RELEASE FreeBSD based machine to run a software
 that is designed for that version of FreeBSD. My machine crashed
 and now I need to reinstall the system with the same version, but
 unfortunately, I lost my 4.7RELEASE CD, and now looking on your
 website for the ISO image for that version, I didn't find it. How
 can I get this version?

 Thanks for your help.

You can get what you want at: http://mirrorlist.freebsd.org.

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


Re: obsolete files?

2004-02-24 Thread Stephen Liu
Hi jsha,

so what, freebsd from scratch is the only way to avoid this?
 

Where can I find information on 'freebsd from scratch'. Pointers would 
be appreciated.

TIA

B.R.
Stephen Liu
and how come make/install world is made like that? shouldn't
the developers try to avoid this kind of thing?
thanks.

On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
 

On Saturday 21 February 2004 11:24 pm, jsha wrote:
   

hello.

does make world leave obsolete files on your system
after install? without even the slightest effort to
remove them?
please say it isn't so. i like make world.

 

Worse, it is known to cause fatal situations where you have to use the 
fixit disk to recover your system or do a reinstall. If you upgrade a 
kernel that panics, you will be committed to using the bad build. The 
installworld being run after the installkernel and reboot to single 
user mode is for your protection.

FWIW, even installworld leaves obsolete files on your system at various 
times.

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: obsolete files?

2004-02-24 Thread Julien Gabel
 so what, freebsd from scratch is the only way to avoid this?

 Where can I find information on 'freebsd from scratch'. Pointers
 would be appreciated.

You can find that 'article' in the FreeBSD Documentation Set:
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/\
  fbsd-from-scratch/index.html

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


Re: filesystem permissions using dump on live filesystem

2004-02-24 Thread Ruben de Groot
On Tue, Feb 24, 2004 at 12:32:07AM -0500, Garance A Drosihn typed:
 At 11:47 PM -0500 2/23/04, Aaron Peterson wrote:
   i put a user in the operator group in /etc/group:
 
 -snip-
 
  and attempted to dump a live filesystem:
 
 -snip-
 
  what am i missing here?
 
 nevermind.  i had to log out and log back in.  that solved my
 problems.   now my only question is why does one have to log
 out and log in for addition to a new group to take effect?
 
 It is expected that the list of groups that you are a member of
 will not change very frequently.  Thus, the list of your groups
 is computed at login time, and is kept in memory.
 
 If this was not done, then *anything* which checked your groups
 for access (such as reading a file) would have to read through
 all of /etc/group to re-calculate that list of groups.  Now, it
 would be easy enough to optimize that simple case (on a machine
 using just /etc/group), but there is no simple optimization if
 on machines which are using something like NIS+ or other network
 directory services to hold the group information.
 
 If we really really had to, we could implement something that
 did that job acceptably well, but it's much easier to just
 tell people log out, and log back in.  Or don't even logout,
 just 'ssh -l localhost' and start a new session.

I would usually just type newgrp operators

Ruben

 -- 
 Garance Alistair Drosehn=   [EMAIL PROTECTED]
 Senior Systems Programmer   or  [EMAIL PROTECTED]
 Rensselaer Polytechnic Instituteor  [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: Kernel build problem after make world

2004-02-24 Thread Kent Stewart
On Tuesday 24 February 2004 03:43 am, [EMAIL PROTECTED] wrote:
 HI,

 Sorry my information was somewhat obscure, you're answer however
 wasn't. The 4BSD_SCHED option did the trick.

I was kind of stretching on that one. It was the only sched option you 
were missing that I had and it stood out. 


 The real problem was mee being impatient trying to build a 5.2 KERNEL
 with a 5.0 config file.
 I made a new config file patiently copying lines in from NOTES and
 GENERIC. Now the world smiles again. :)

 Thnx for your help.


Great!!

I think it is important to cp GENERIC to your kernel config for each 
major update. Then, start adding # in column 1 to comment out 
features. It may seem like work but it saves more time trying to figure 
out why something is broken. 

My systems are pretty simple when it comes to the configuration and I 
can take a GENERIC and convert it into a new config file in probably 
less than 5-10 minutes. If you keep a copy of the old one around, you 
can run diff on your old and new config and see what is different.

When you start with a copy of GENERIC and delete features, your kernel 
config file is much more self documenting. Saving a few 100 bytes is 
not as important as keeping the structure of your config file so that 
people can key in very quickly on what you changed. This is especially 
true when you want free support :).

I am retired but got talked into helping resurect an old project for a 
couple of weeks for an old friend. That dropped 8 hours a day from the 
time I had available to figure out FreeBSD errors. I simply didn't have 
the time to take a 5.2 GENERIC and see what you had chosen to use.

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]


X-4.3.0_6 not building from /usr/ports

2004-02-24 Thread Noah

FreeBSD-4.9-STABLE


okay I have placed XFree86 on two other FreeBSD boxes but there is a stubborn
box not allowing it.

I have deinstalled all XFree86 related programs.  re-cvsup'ed both
/usr/ports/imake-4 and /usr/ports/x11 directories completely.  and this is
what the 'make install clean' from /usr/ports/x11/XFree86-4 is resulting.  I
found similar situations from a google search but each was solved by
re-cvsup'ing the above directories.  

Have XFREE86_VERSION=4 in /etc/make.conf

I have no clue what is going on here.  What is so hosed?


===   XFree86-4.3.0,1 depends on shared library: X11.6 - not found
===Verifying install for X11.6 in /usr/ports/x11/XFree86-4-libraries
===   XFree86-libraries-4.3.0_6 depends on file: /usr/X11R6/lib/X11/config/date
.def - found
===   XFree86-libraries-4.3.0_6 depends on shared library: freetype.9 - found
===   XFree86-libraries-4.3.0_6 depends on shared library: fontconfig.1 - found
===  Configuring for XFree86-libraries-4.3.0_6
cd ./config/imake  make   -D INSTALLS_DEPENDS -f Makefile.ini BOOTSTRAPCFLAGS=
 CC=cc
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR= in
 config/imake
`imake' is up to date.
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./c
onfig/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
cd ./config/makedepend  rm -f -r Makefile Makefile.dep makedepend *.o bootstra
p
cd ./config/makedepend  make -f Makefile.proto bootstrap
./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f ./config
/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap
cd ./config/imake  make -f Makefile.proto bootstrapdepend
cd ./config/imake  make   -D INSTALLS_DEPENDS -f Makefile.ini BOOTSTRAPCFLAGS=
 CC=cc bootstrap
`bootstrap' is up to date.
cd ./config/imake  make -f Makefile.proto all
make   -D INSTALLS_DEPENDS xmakefile
rm -f xmakefile
./config/imake/imake -I./config/cf  -s xmakefile -DTOPDIR=. -DCURDIR=.
rm -f ./config/imake/Makefile.proto
making Makefiles in include/bitmaps...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
making Makefiles in include/extensions...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
making Makefiles in include/fonts...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
making Makefiles in include/GL...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
making Makefiles in include/DPS...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
making Makefiles in lib/xtrans...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xau...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xdmcp...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/XThrStub...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/X11...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/oldX...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/ICE...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/SM...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xext...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xt...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xss...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xxf86misc...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xxf86vm...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xxf86dga...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xmu...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xmuu...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xpm...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xaw6...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xaw...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xi...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/Xtst...
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
making Makefiles in lib/FS...
*** Error code 127

Stop in 

Re: KDE startup slowly on initializing system service

2004-02-24 Thread Andrew Hall
Stephen,

The network changes might not releated to the issues w/ KDE.  I would
first verify that no other program is trashing your resources.  Then
check to make sure you have a newer version of KDE.  Did you look at the
KDE site for known bugs, maybe?

HTH,

Drew

On Tue, 2004-02-24 at 09:55, Stephen Liu wrote:
 Hi Andrew,
 
 Tks for your response.
 
 What I can't resolve is KDE was working without problem before.  After I 
 played around to setup network/Internet connection which is still 
 unfinished it became terrible slow in operation.
 
 B.R.
 Stephen
 
 FWIW I noticed on my 5.2 box today kinit was using 60% of the
 processor.  I restarted KDE and kinit's usage dropped to ~1%.
 
 Drew
 
 On Tue, 2004-02-24 at 01:49, Stephen Liu wrote:
   
 
 Hi Teodor,
 
 FreeBSD 5.2
 
 
 I encounter the same problem. KDE starts very slow, first popup desktop 
 icrons, bottom tool-bar, welcome screen, etc., one by one taking 
 prolonged time. Starting K package from desktop also takes lengthy time 
 to start.
 
 Immediate after installation from CD1 completed it worked perfectly. 
 After playing around to configure network card, ppp, etc. KDE starting 
 became terrible slow.
 
 
 
 FreeBSD chinhngt.b.gz.ru 4.9-STABLE FreeBSD 4.9-STABLE #0:
  
 
 
 I would recommend adding something like this to your /etc/hosts:
 127.0.0.1  localhost.localdomain   chinhngt.b.gz.ru
 
 I have noticed this problem when you change your domain from the classic
 'localhost.localdomain' to something else, and KDE does not know how to
 resolve it, thus the slowdowns.
  
 
   
 
 # /etc/hosts
 
 I changed
 :: 1 localhost localhost.my.domain
 127.0.01 localhost localhost.my.domain
 
 to
 :: 1 localhost.localdomain
 127.0.01 localhost.localdomain
 
 It complained at booting with following warning;
 
 Starting sshd.
 554 5.3.0 host localhost unknown: Invalid argument
 . sm-mta[432]: NOQREUE: SYSERR(root) :host localhost unknown: 
 Invalid argument
 .
 
 Kindly advise how to fix the problem
 
 TIA
 
 B.R.
 Stephen Liu
 ___
 [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: KDE startup slowly on initializing system service

2004-02-24 Thread Stephen Liu
Hi Andrew,

5.2
==
The network changes might not releated to the issues w/ KDE.  I would
first verify that no other program is trashing your resources.
I suspect whether 'vi editor' having problem because each time when I 
boot the PC, the screen pauses on;-
...

Recovering vi editor sessions:

another is;-
Starting sshd:
taking prolonged time before continue to run.  What is the esay/quick 
way to remove 'vi' from FreeBSD.  I don't need it.  I use 'ee'

 Then
check to make sure you have a newer version of KDE.  Did you look at the
KDE site for known bugs, maybe?
 

KDE 3.1 is quite new and stable.  I have it running on Gentoo, Debian 
and RH PCs respectively without problem but I will check KDE site later.

What I am worrying is OpenOffice 1.1.  Of the 3 OSs, Gentoo 1.4, Debian 
3.0 and RH9 which I am running, OOo1.1 only works fine on Debian 3.0.  
OOo1.1 and RH9 are poor combination.  It takes long time to start.  You 
will find lot of complaints on its mailing list.  I am looking forward 
to see how it will work on FreeBSD 5.2

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


Re: KDE startup slowly on initializing system service

2004-02-24 Thread Norberto Bensa
Hello list,

Stephen Liu wrote:
 What I am worrying is OpenOffice 1.1.  Of the 3 OSs, Gentoo 1.4, Debian
 3.0 and RH9 which I am running, OOo1.1 only works fine on Debian 3.0.
 OOo1.1 and RH9 are poor combination.  It takes long time to start.

How long is a long time? I run Gentoo and OOo1.1 takes 3-4 secs to start*. I 
don't know if that is too long or not as Gentoo is the only flavor of Linux 
I've used.


 I am looking forward 
 to see how it will work on FreeBSD 5.2

Yeah, me too. I just burnt the two install discs :-)

I heard FreeBSD is faster than Linux... We'll see if that's actually true ;-)

Regards,
Norberto

* the box is a Pentium III 1Ghz, 512MB RAM. Gentoo 1.4, Linux Kernel 
2.6.3-mm3. OOo was compiled with gcc 3.3.2 IIRC. Everything uses -Os as I 
found it's -in general- faster than -O{2,3}


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


Re: Not able install FreeBSD 5.1 properly

2004-02-24 Thread Robert Woolley
On Tue, 24 Feb 2004, Sushobhan Das wrote:

 Hi,

 I am facing problem in installation of FreeBSD 5.1.  The system
 configuration is  P IV 2.4 GHz with two hard drives  1 CDROM  1
 CDRW. I am trying to install FreeBSD in primary slave, in a primary
 partition of size 4GB. I have given 200MB as swap, 1500MB as /usr and
 rest to / . When it asks for installation source, I selected CDRW. But
 during the installation process, it never asked for Disk 2. So, it said
 that it could not find some packages.

I don't recall using disk 2 during installation; I think it's just a
rescue disk.

I'm wondering if you have simply run out of space on /usr, 1.5GB is quite
small. A default FreeBSD installation will allocate only a few hundred MB
for /, and give almost all the space to /usr (/home is then linked to
/usr/home).

However, if I were you, I wouldn't install 5.1 at all, now that 5.2 is
available.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE

2004-02-24 Thread Mike Jeays
On Tue, 24 Feb 2004 21:51:14 +0800
Stephen Liu [EMAIL PROTECTED] wrote:

 
 - snip -
 
 
 2)
 After starting 3 'Xterm windows' I can start KDE 3.1 from any one of the 
 'Xterm window' with;
 
 # startkde
 
 It worked with KDE started.
 
 
 3) On INIT 3/text mode I can login either as 'root' or as 'user' with 
 correct password without problem
 
 
 
 I haven't used xdm in ttys for a long time, and suspect this is an
 obsolete method.  If you enter kdm  at a root prompt, kdm should
 start.  
 
 Hi Mike,
 
 Tks for your advice which works. 
 
 What is '' for
 
 I don't see why you shouldn't put it into /usr/local/etc/rc.d
 to make it work on startup, and I am pretty sure I used to run it 
 that way.
   
 
 /usr/local/etc/rc.d  is a directory.  Whether you recommend to create a 
 file with only a single line :- 'Kdm ' (without quote) on it and save 
 it to  /usr/local/etc/rc.d/
 
 Shall I 'chmod 775' the file created?  Files in /usr/local/etc/rc.d/ 
 directory have an extension '.h'.  Shall I name the file as xxx.h?
 
 TIA
 
 B.R.
 Stephen
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

The  makes it run the command as a background job, so that the
prompt re-appears immedidately, and you can go on working in that
shell.  In this case, it just means that if you go back to
that virtual terminal (with CTRL-Alt-F1 or whatever) you can run
more commands outside KDE.

I think the rule for scripts in /usr/local/etc/rc.d is that they
will all be run on startup, provided they are executable.  The
convention is to name them xxx.sh, but I don't know if that is
actually required.  So a chmod 500 should be the minimum required
permissions (-r-x--), and 755 will work OK.

-- 
Personal : Mike.Jeays -at- rogers.com  Phone : 613-724-4510
Work : Mike.Jeays -at- statcan.ca  Phone : 613-951-9929 FAX 613-951-0395
Web page : http://members.rogers.com/mike.jeays
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shell scripting woes

2004-02-24 Thread mathias
Hello guys! I have two questions about shellscripts:

1) I have a backup job that 'tar's a lot of files and currently I redirect
all output of the job to a log. Tar unfortunately lists all directories
that it goes through, even if nothing is 'tar'ed in those directories. So
my logfile contains all my directories. I want to filter out all lines in
my tar-log that ends with slash (/) since those are directories. I want
to sort of do an inverse grep on the last character when tarring. Like:
tar -cvf myback.tar |grep -v all lines that end with slash  log.txt.
All files that are backed up contain the whole directory path (that's how
I want it) - so I can't simply do a reverse grep for the slash-char. Maybe
you could do something with awk? I'm a total rookie with awk, so I'm lost
there...

2) The same backup job - is written as a bash script, and it works
perfectly when run by hand, but it won't run as a cron job. In fact I
can't seem to run even the simplest of shellscripts as a cronjob. I've
searched a lot on Google, but even though I guess that this is really
simple, I can't find what's blocking shellscripts in Cron. Other cronjobs
but shellscripts run fine. I've tried to enter the SHELL parameter in
crontab too...

Thanks for any feedback!

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


Re: KDE startup slowly on initializing system service

2004-02-24 Thread Jerry McAllister
 
 Hi Andrew,
 
 5.2
 ==
 
 The network changes might not releated to the issues w/ KDE.  I would
 first verify that no other program is trashing your resources.
 
 I suspect whether 'vi editor' having problem because each time when I 
 boot the PC, the screen pauses on;-

What has happened in this case is that you [or someone has] have left 
some vi session[s] open when either a connection was ended or the system 
was taken down.  It tries to recover those edit sessions and let the id 
that was editing know via an Email message where to get the information back.  

jerry

 ...
 
 Recovering vi editor sessions:
 
 another is;-
 Starting sshd:
 
 taking prolonged time before continue to run.  What is the esay/quick 
 way to remove 'vi' from FreeBSD.  I don't need it.  I use 'ee'
 
   Then
 check to make sure you have a newer version of KDE.  Did you look at the
 KDE site for known bugs, maybe?
   
 
 KDE 3.1 is quite new and stable.  I have it running on Gentoo, Debian 
 and RH PCs respectively without problem but I will check KDE site later.
 
 What I am worrying is OpenOffice 1.1.  Of the 3 OSs, Gentoo 1.4, Debian 
 3.0 and RH9 which I am running, OOo1.1 only works fine on Debian 3.0.  
 OOo1.1 and RH9 are poor combination.  It takes long time to start.  You 
 will find lot of complaints on its mailing list.  I am looking forward 
 to see how it will work on FreeBSD 5.2
 
 B.R.
 Stephen
 ___
 [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]


How to upgrade firmware on PCMCIA card.

2004-02-24 Thread Adam M Ryan

Linksys wpc11 v3
Frebsd 5.2.1  

I know I need to update the firmware, but I really don't know how.
If anyone could give me a hand it would be great, linksys site wasn't too
much help.

Here is the error:

kernel: wi0: device timeout
kernel: wi0: timeout in wi_cmd 0x0002; event status 0x8000
kernel: wi0: timeout in wi_cmd 0x; event status 0x8000
kernel: wi0: wi_cmd: busy bit won't clear.
kernel: wi0: wi_cmd: busy bit won't clear.
kernel: wi0: init failed
kernel: wi0: wi_cmd: busy bit won't clear.
last message repeated 19 times
kernel: wi0: failed to allocate 2372 bytes on NIC
kernel: wi0: tx buffer allocation failed (error 12)
kernel: wi0: interface not running

Found this: http://www.freebsd.org/cgi/query-pr.cgi?pr=53927
Fix
Update WLAN card firmware.
from
wi0: Intersil Firmware: Primary (1.0.5), Station (1.3.4) to
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)





Thanks

Adam

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


Re: KDE startup slowly on initializing system service

2004-02-24 Thread Stephen Liu
Hi Jerry,

I suspect whether 'vi editor' having problem because each time when I 
boot the PC, the screen pauses on;-
   

What has happened in this case is that you [or someone has] have left 
some vi session[s] open when either a connection was ended or the system 
was taken down.  It tries to recover those edit sessions and let the id 
that was editing know via an Email message where to get the information back.  
 

It happens each time when I boot the PC or reboot the PC.  It pauses 
there for prolonged. time

Kindly advise how can I fix this problem.

B.R.
Stephen

Recovering vi editor sessions:
another is;-
Starting sshd:
taking prolonged time before continue to run.  What is the esay/quick 
way to remove 'vi' from FreeBSD.  I don't need it.  I use 'ee'

   

Then
check to make sure you have a newer version of KDE.  Did you look at the
KDE site for known bugs, maybe?
 

KDE 3.1 is quite new and stable.  I have it running on Gentoo, Debian 
and RH PCs respectively without problem but I will check KDE site later.

What I am worrying is OpenOffice 1.1.  Of the 3 OSs, Gentoo 1.4, Debian 
3.0 and RH9 which I am running, OOo1.1 only works fine on Debian 3.0.  
OOo1.1 and RH9 are poor combination.  It takes long time to start.  You 
will find lot of complaints on its mailing list.  I am looking forward 
to see how it will work on FreeBSD 5.2

B.R.
Stephen
___
[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: Shell scripting woes

2004-02-24 Thread Peter Risdon
[EMAIL PROTECTED] wrote:

Hello guys! I have two questions about shellscripts:

2) The same backup job - is written as a bash script, and it works
perfectly when run by hand, but it won't run as a cron job. 

Are you using a full path in the shebang at the top of the script? Such as:

#!/bin/sh

or

#!/usr/local/bin/bash

or whatever.

PWR.

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


Re: Not able install FreeBSD 5.1 properly.

2004-02-24 Thread Julien Gabel
 I am facing problem in installation of FreeBSD 5.1.  The system
 configuration is – P IV 2.4 GHz with two hard drives  1 CDROM
  1 CDRW. I am trying to install FreeBSD in primary slave, in a
 primary partition of size 4GB. I have given 200MB as swap, 1500MB
 as /usr and rest to / . When it asks for installation source, I
 selected CDRW. But during the installation process, it never asked
 for Disk 2. So, it said that it could not find some packages.

 I don't recall using disk 2 during installation; I think it's just
 a rescue disk.

The 'disc2' is a livefs which can be used for emergency purpose, not
for installation.

 I'm wondering if you have simply run out of space on /usr, 1.5GB is
 quite small. A default FreeBSD installation will allocate only a few
 hundred MB for /, and give almost all the space to /usr (/home is
 then linked to /usr/home).

Maybe you can learn more on the real problem by watching the messages
on the second virtual console by pressing 'Alt+F2' during the
installation process.

 However, if I were you, I wouldn't install 5.1 at all, now that 5.2
 is available.

Completely, but the installation should function for the old version
too.

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


Re: Shell scripting woes.

2004-02-24 Thread Mathias Haas
Julien Gabel wrote:

Hello guys! I have two questions about shellscripts:
2) The same backup job - is written as a bash script, and it works
perfectly when run by hand, but it won't run as a cron job.
 

Are you using a full path in the shebang at the top of the script?
Such as:
#!/bin/sh
or
#!/usr/local/bin/bash
   

And more generally, is the ${PATH} variable set correctly according
to all the tools/utility used along your script?
 

As a reply to both answers, here's a script that wont' run:
#!/usr/local/bin/bash
echo start  test.txt
...and here is bash:
[EMAIL PROTECTED] /usr/local/etc] whereis bash
bash: /usr/local/bin/bash
this is /var/log/cron
Feb 24 19:20:00 p3-550 /usr/sbin/cron[27988]: (root) CMD 
(/usr/local/etc/test.sh)

This is the crontab entry:
* * * * * /usr/local/etc/test.sh
(At the moment, I have no shell parameters or other parameters in 
crontab, another crontab-job runs fine, but that's an executable file.)

/mathias



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


Re: Shell scripting woes.

2004-02-24 Thread Julien Gabel
 Hello guys! I have two questions about shellscripts:
 2) The same backup job - is written as a bash script, and it
 works perfectly when run by hand, but it won't run as a cron job.

 Are you using a full path in the shebang at the top of the script?
 Such as:

 #!/bin/sh
 or
 #!/usr/local/bin/bash

And more generally, is the ${PATH} variable set correctly according
to all the tools/utility used along your script?

 As a reply to both answers, here's a script that wont' run:
 #!/usr/local/bin/bash
 echo start  test.txt

 ...and here is bash:
 [EMAIL PROTECTED] /usr/local/etc] whereis bash
 bash: /usr/local/bin/bash

 this is /var/log/cron
 Feb 24 19:20:00 p3-550 /usr/sbin/cron[27988]: (root) CMD
 (/usr/local/etc/test.sh)

 This is the crontab entry:
 * * * * * /usr/local/etc/test.sh
 (At the moment, I have no shell parameters or other parameters in
 crontab, another crontab-job runs fine, but that's an executable
 file.)

Here it runs fine... but /usr/local/etc/test.sh is and must be
executable.

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


Mounting a network tape drive

2004-02-24 Thread [EMAIL PROTECTED]
Hi,
I need to take a backup of some data on my system.But the problem is the
tape drive is on a Windows box on the network.Is it possible to share this
drive on the windows box and mount it on the freebsd system? If yes, how do
I go about doing it as I have never done anything similar.

Thanks,
akshay.


mail2web - Check your email from the web at
http://mail2web.com/ .


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


postgresql client

2004-02-24 Thread mikko
I run into something weird. Is it so, that you cannot have both; the
postgresql server, and postgresql client, installed at the same time?

When I first install one or the other from ports, and after I try to
install the other, I am informed that:

===  postgresql-client-7.4.1_1 conflicts with installed package(s):
  postgresql-7.4.1_1
  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

and same vice versa.

I am almost certain that I've had both installed.
(running 5.2-ALMOST-CURRENT)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: postgresql client

2004-02-24 Thread Reko Turja
 I run into something weird. Is it so, that you cannot have both; the
 postgresql server, and postgresql client, installed at the same time?

AFAIK the PGSQL server port contains the client as well and installs it
by default.

-Reko

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


Re: ImageMagick portupgrade error

2004-02-24 Thread Aaron Sloan
On 18 Feb 2004 20:25:31 -0500
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Aaron Sloan [EMAIL PROTECTED] writes:
 
  Magick.xs:3557: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:3600: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs: In function `XS_Image__Magick_ImageToBlob':
  Magick.xs:4163: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs: In function `XS_Image__Magick_QueryFont':
  Magick.xs:7194: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7198: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7202: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7210: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7214: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7218: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7222: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7226: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs: In function `XS_Image__Magick_QueryFormat':
  Magick.xs:7633: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  Magick.xs:7637: warning: passing arg 1 of `Perl_newSVpv' discards qualifiers from 
  pointer target type
  gmake[3]: *** [Magick.o] Error 1
  gmake[3]: Leaving directory 
  `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/PerlMagick'
  gmake[2]: *** [install-exec-perl] Error 2
  gmake[2]: Leaving directory 
  `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7'
  gmake[1]: *** [install-am] Error 2
  gmake[1]: Leaving directory 
  `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7'
  gmake: *** [install-recursive] Error 1
  *** Error code 2
  
  Stop in /usr/ports/graphics/ImageMagick.
 
 You didn't mention what FreeBSD version you were using, or where you got
 your ports from, or whether you had any pkgtools.conf or make.conf
 settings that would affect the build, so all I can say is that it built
 for me this afternoon with a ports tree I'd updated just before...
 


Hi Lowell,

I have to work on being a bit more verbose. The day after I posted the problem the 
maintainer patched it and installed fine after that. I am running 4.9 and I haven't 
explored the make.conf yet, not active.
You can view my OS, version, and mail client in my mail header as well. I guess I must 
use that more than others. Of course the question doesn't have to apply to puter I'm 
using.  Thank you for taking the time to answer me though, appreciate it.
Aaorn 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mount questions

2004-02-24 Thread Osmany Guirola Cruz
I need mount a fat32 partition in two diferent places.
when i try to do it the second time the system says device busy.. 
What can i do? 



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


Re: FreeBSD 5.3

2004-02-24 Thread Caio Souza Mendes
Jorge,

Then, it wants to say that version 5.3 will not be
stable and yes release? 


--- Jorge Mario G. [EMAIL PROTECTED] escreveu:
  --- Caio Souza Mendes [EMAIL PROTECTED]
 escribió:  Hello,
  
  It would like to know if the next version to the
  FreeBSD, the 5.3 will be same stable?  If yes, for
  when is foreseen the launching of exactly?
  
  
 Hi there
 

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/schedule.html
 
 Jorge
 

_
 Do You Yahoo!?
 Información de Estados Unidos y América Latina, en
 Yahoo! Noticias.
 Visítanos en http://noticias.espanol.yahoo.com 

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount questions

2004-02-24 Thread Jerry McAllister
 
 I need mount a fat32 partition in two diferent places.
 when i try to do it the second time the system says device busy.. 
 What can i do? 

Why would you need to mount it in two different places (I presume
you mean at the same time)?

If you want to use it as a different file path string, then
mount it one way and create a symlink to it with the other
name.

Or, if they don't need to both be mounted at the same time, you need to 
umount it from one mount in order to mount it the other way.  It doesn't 
like two separate mounts of the same device at the same time.

jerry

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


Re: Shell scripting woes.

2004-02-24 Thread Lowell Gilbert
Mathias Haas [EMAIL PROTECTED] writes:

 As a reply to both answers, here's a script that wont' run:
 #!/usr/local/bin/bash
 echo start  test.txt

Is it executable?
Does the last line have a newline at the end?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting woes.

2004-02-24 Thread Mathias Haas
It is executable and it didn't have a newline at the end, it does now - 
but there's still no difference...
Do you have to do something to get FreeBSDs (4.6.2)  cron to run 
shellscripts?
..and I can still run the script by hand

Lowell Gilbert wrote:

Mathias Haas [EMAIL PROTECTED] writes:

 

As a reply to both answers, here's a script that wont' run:
#!/usr/local/bin/bash
echo start  test.txt
   

Is it executable?
Does the last line have a newline at the end?
___
[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: Shell scripting woes.

2004-02-24 Thread Andrew Hall
You might wanna check the users mailbox.  Cron send mail on errors. 

Drew

On Tue, 2004-02-24 at 16:11, Mathias Haas wrote:
 It is executable and it didn't have a newline at the end, it does now - 
 but there's still no difference...
 Do you have to do something to get FreeBSDs (4.6.2)  cron to run 
 shellscripts?
 ..and I can still run the script by hand
 
 Lowell Gilbert wrote:
 
 Mathias Haas [EMAIL PROTECTED] writes:
 
   
 
 As a reply to both answers, here's a script that wont' run:
 #!/usr/local/bin/bash
 echo start  test.txt
 
 
 
 Is it executable?
 Does the last line have a newline at the end?
 ___
 [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]


4.9 stable release installation probs on x86

2004-02-24 Thread AdamWilson

Hello,
  I am having problems getting FreeBSD to load after
an installation on x86.  The pc is a Pentium III
that was running Redhat 7.2 Linux with no problems before.
I downloaded the mini iso image, burned it to a CD, and
used it to boot the pc to the installation program for
BSD.  I have tried various iterations of the installation
all with different, unsuccessful results.  At first I picked
a standard install minus games but with binaries, and a
standard boot loader.  It gave an error about not having
the FreeBSD package loader on the disc I was booting 
from but I still got the successful installation message
at the end.  After the reboot, once the BIOS loaded, I
got some random HEX chars on the screen and then nothing.
  Subsequent installation attempts, selecting the bare,
standard installation with binaries and source I think (the
last option for BSD options to load) have given me customization
options at the end including network cards, console conf
settings, etc.  When I boot after the installation the
boot loader gives an option (F1) to load FreeBSD but when
I hit enter, F1, or just let it time out and make the
selection, it does nothing except turn off the monitor and
reboot the system back into the BIOS, over, and over, and
over again.  I have made sure in the BIOS that it is booting
from the hard disks and hit F12 to select boot source a
few times to make sure it is doing the hard disk.
  Can someone give me an idea of what's going on?  Hopefully
I provided enough info to give a picture of what I'm
doing.  BTW, a note about my background in case it matters,
I'm a Unix Sys Admin/Perl developer and have worked
with UNIX/Linux for 8+ years.

Thanks,
Adam Wilson

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


Re: Shell scripting woes.

2004-02-24 Thread Jason Taylor
Mathias Haas wrote:
Julien Gabel wrote:

Hello guys! I have two questions about shellscripts:
2) The same backup job - is written as a bash script, and it works
perfectly when run by hand, but it won't run as a cron job.

Are you using a full path in the shebang at the top of the script?
Such as:
#!/bin/sh
or
#!/usr/local/bin/bash
  


And more generally, is the ${PATH} variable set correctly according
to all the tools/utility used along your script?
 

As a reply to both answers, here's a script that wont' run:
#!/usr/local/bin/bash
echo start  test.txt
...and here is bash:
[EMAIL PROTECTED] /usr/local/etc] whereis bash
bash: /usr/local/bin/bash
this is /var/log/cron
Feb 24 19:20:00 p3-550 /usr/sbin/cron[27988]: (root) CMD 
(/usr/local/etc/test.sh)

This is the crontab entry:
* * * * * /usr/local/etc/test.sh
(At the moment, I have no shell parameters or other parameters in 
crontab, another crontab-job runs fine, but that's an executable file.)

/mathias

Have you checked write permissions on whatever directory test.txt is 
trying to be created in?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting woes.

2004-02-24 Thread Julien Gabel
 As a reply to both answers, here's a script that wont' run:
 #!/usr/local/bin/bash
 echo start  test.txt

 ...and here is bash:
 [EMAIL PROTECTED] /usr/local/etc] whereis bash
 bash: /usr/local/bin/bash

 this is /var/log/cron
 Feb 24 19:20:00 p3-550 /usr/sbin/cron[27988]: (root) CMD
 (/usr/local/etc/test.sh)

 This is the crontab entry:
 * * * * * /usr/local/etc/test.sh
 (At the moment, I have no shell parameters or other parameters in
 crontab, another crontab-job runs fine, but that's an executable
 file.)


The following works fine, here is the detail:

$ date ; ls -lF /tmp/test.*
Tue Feb 24 22:50:11 CET 2004
-rwxr-x---  1 jgabel  wheel  49 Feb 24 22:50 /tmp/test.bash*
$
$ cat /tmp/test.bash
#!/usr/local/bin/bash
echo start  /tmp/test.txt
$
$ crontab -l
* * * * * /tmp/test.bash
$
$ date ; ls -lF /tmp/test.*
Tue Feb 24 22:51:17 CET 2004
-rwxr-x---  1 jgabel  wheel  49 Feb 24 22:46 /tmp/test.bash*
-rw-r--r--  1 jgabel  wheel   6 Feb 24 22:51 /tmp/test.txt
$
$ cat /tmp/test.txt
start
$

Can you try *stricly* the same thing?

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


help for a poor windoze luser?

2004-02-24 Thread [EMAIL PROTECTED]
Hi - 

I'm trying to compile a kernel with IPFILTER.  This is
on a brand new install from 5.2-REL iso file I
downloaded last friday (2/21).  The kernel conf is
below, and after doing config, make depend, and then
make, I get:

cc -c -O -pipe -mcpu=pentiumpro -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc
-I-  -I. -I../../.. -I../../../contrib/dev/acpica
-I../../../contrib/ipfilter -I../../../contrib/dev/ath
-I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include
opt_global.h -fno-common -finline-limit=15000
-fno-strict-aliasing  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror 
../../../contrib/ipfilter/netinet/ip_fil.c
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `fr_check_wrapper':
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
`PFIL_OUT' undeclared (first use in this function)
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
(Each undeclared identifier is reported only once
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
for each function it appears in.)
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `iplattach':
../../../contrib/ipfilter/netinet/ip_fil.c:376:
warning: unused variable `ph_inet'
../../../contrib/ipfilter/netinet/ip_fil.c: At top
level:
../../../contrib/ipfilter/netinet/ip_fil.c:317:
warning: `fr_check_wrapper' defined but not used
*** Error code 1

Stop in /usr/src/sys/i386/compile/ODIN.

%uname -a
FreeBSD bsd52.fake.domain.name 5.2-RELEASE FreeBSD
5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

%less /sys/i386/conf/ODIN
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.2
2003/12/07 23:52:53 scottl Exp $

machine i386
cpu I686_CPU
ident   odin

#To statically compile in device wiring instead of
/boot/device.hints
#hints  GENERIC.hints #Default places to look for
devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug
symbols

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 MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires
PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B
real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in
/dev
options AHC_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~215k to driver.

# Debugging for use in -current
#optionsDDB #Enable the kernel debugger
#optionsINVARIANTS  #Enable calls of extra sanity
checking
options INVARIANT_SUPPORT   #Extra sanity checks of
internal structures, required by INVARIANTS
#optionsWITNESS #Enable checks to detect deadlocks
and cycles
#optionsWITNESS_SKIPSPIN#Don't run witness on
spinlocks for speed

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers

# SCSI peripherals

# RAID controllers interfaced to the SCSI subsystem

# RAID controllers

# atkbdc0 controls both the keyboard and the PS/2
mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver
support

# syscons is the default console driver, resembling an
SCO console
device  sc

device  agp # support several 

RE: help for a poor windoze luser?

2004-02-24 Thread Remko Lodder
Dude :)

add
options PFIL_HOOKS

to your kernel config,

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
Verzonden: dinsdag 24 februari 2004 23:00
Aan: [EMAIL PROTECTED]
Onderwerp: help for a poor windoze luser?


Hi -

I'm trying to compile a kernel with IPFILTER.  This is
on a brand new install from 5.2-REL iso file I
downloaded last friday (2/21).  The kernel conf is
below, and after doing config, make depend, and then
make, I get:

cc -c -O -pipe -mcpu=pentiumpro -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc
-I-  -I. -I../../.. -I../../../contrib/dev/acpica
-I../../../contrib/ipfilter -I../../../contrib/dev/ath
-I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include
opt_global.h -fno-common -finline-limit=15000
-fno-strict-aliasing  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../contrib/ipfilter/netinet/ip_fil.c
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `fr_check_wrapper':
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
`PFIL_OUT' undeclared (first use in this function)
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
(Each undeclared identifier is reported only once
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
for each function it appears in.)
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `iplattach':
../../../contrib/ipfilter/netinet/ip_fil.c:376:
warning: unused variable `ph_inet'
../../../contrib/ipfilter/netinet/ip_fil.c: At top
level:
../../../contrib/ipfilter/netinet/ip_fil.c:317:
warning: `fr_check_wrapper' defined but not used
*** Error code 1

Stop in /usr/src/sys/i386/compile/ODIN.

%uname -a
FreeBSD bsd52.fake.domain.name 5.2-RELEASE FreeBSD
5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

%less /sys/i386/conf/ODIN
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.2
2003/12/07 23:52:53 scottl Exp $

machine i386
cpu I686_CPU
ident   odin

#To statically compile in device wiring instead of
/boot/device.hints
#hints  GENERIC.hints #Default places to look for
devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug
symbols

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 MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires
PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B
real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in
/dev
options AHC_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~215k to driver.

# Debugging for use in -current
#optionsDDB #Enable the kernel debugger
#optionsINVARIANTS  #Enable calls of extra sanity
checking
options INVARIANT_SUPPORT   #Extra sanity checks of
internal structures, required by INVARIANTS
#optionsWITNESS #Enable checks to detect deadlocks
and cycles
#optionsWITNESS_SKIPSPIN#Don't run witness on
spinlocks for speed

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers

# SCSI peripherals

# RAID controllers interfaced to the SCSI subsystem

# RAID controllers

# atkbdc0 controls both the 

Racoon / Draytek Setup

2004-02-24 Thread Steve Greenshaw
Hi,

I'm having trouble attempting to set up a lan to lan VPN between FreeBSD 4.9
and a Draytek 'Vigor2900 router'. I'm trying to use IPSec tunnelling.

My aim is to connect 192.168.32.0/24 (FreeBSD) to 192.168.1.0/24 (Draytek)

On the FreeBSD box I've gone ahead and created a tunnel (gif)
AAA.AAA.AAA.AAA = BBB.BBB.BBB.BBB
This tunnel joins 192.168.32.1 and 192.168.1.1
There's a route to 192.168.1.0/24 via 192.168.1.1 added and present in the
routing table.

I've completd the VPN setup on the Draytek Vigor2900.

I've removed all firewall or filtering rules so these are not an issue.

Running racoon in verbose mode, when I try to start the connection from the
Draytek I see:

2004-02-24 21:46:36: INFO: isakmp.c:892:isakmp_ph1begin_r(): respond new
phase 1 negotiation: AAA.AAA.AAA.AAA[500]=BBB.BBB.BBB.BBB[500]
2004-02-24 21:46:36: INFO: isakmp.c:897:isakmp_ph1begin_r(): begin
Aggressive mode.
2004-02-24 21:46:36: NOTIFY: oakley.c:2084:oakley_skeyid(): couldn't find
the proper pskey, try to get one by the peer's address.
2004-02-24 21:46:38: INFO: isakmp.c:2410:log_ph1established(): ISAKMP-SA
established AAA.AAA.AAA.AAA[500]-BBB.BBB.BBB.BBB[500]
spi:361b8dc6e371b85c:30034bf29701e1a1
2004-02-24 21:46:38: INFO: isakmp.c:1047:isakmp_ph2begin_r(): respond new
phase 2 negotiation: AAA.AAA.AAA.AAA[0]=BBB.BBB.BBB.BBB[0]
2004-02-24 21:46:38: INFO: pfkey.c:1197:pk_recvupdate(): IPsec-SA
established: ESP/Tunnel BBB.BBB.BBB.BBB-AAA.AAA.AAA.AAA
spi=227581104(0xd909cb0)
2004-02-24 21:46:38: INFO: pfkey.c:1420:pk_recvadd(): IPsec-SA established:
ESP/Tunnel AAA.AAA.AAA.AAA-BBB.BBB.BBB.BBB spi=4193511423(0xf9f3e7ff)

The Draytek also tells me that I have a VPN up and running and that data is
encrypted.

The problem is that this is as far as it gets. I can't ping either of my
private networks from the other etc., etc. I get 100% packet loss. This is
really bugging me as the tunnel *has* to be there for the keys to be set,
doesn't it? If that's the case then there must be a route? I use exactly
this method FreeBSD - FreeBSD all the time ...

Anyway. I'm really stuck now and was hoping that maybe somebody might be
able to shed some light on this for me? Has anybody ever set up a
FreeBSD/Draytek lan to lan VPN using IPSec? Does anybody know if it's
possible?

Below is the security policy that I use for setkey and also my racoon.conf,
just in case that is useful ...


spdadd 192.168.32.0/24 192.168.1.0/24 ipencap -P out ipsec
esp/tunnel/AAA.AAA.AAA.AAA-BBB.BBB.BBB.BBB/require;
spdadd 192.168.1.0/24 192.168.32.0/24 ipencap -P in ipsec
esp/tunnel/BBB.BBB.BBB.BBB-AAA.AAA.AAA.AAA/require;



path include /usr/local/etc/racoon ;
path pre_shared_key /usr/local/etc/racoon/psk.txt ;
listen
{
isakmp AAA.AAA.AAA.AAA [500];
}

padding
{
maximum_length 20;
randomize off;
strict_check off;
exclusive_tail off;
}

timer
{
counter 5;
interval 20 sec;
persend 1;

phase1 2800 sec;
phase2 3600 sec;
}

remote anonymous
{
exchange_mode aggressive,main;
situation identity_only;

nonce_size 16;
lifetime time 24 hour;
initial_contact on;
support_proxy on;
proposal_check obey;

proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}

sainfo anonymous
{
pfs_group 2;
lifetime time 12 hour ;
encryption_algorithm 3des, blowfish, des, rijndael ;
authentication_algorithm hmac_md5, hmac_sha1;
compression_algorithm deflate ;
 }


Regards,

Steve


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


file selector and shell scripts

2004-02-24 Thread Vulpes Velox
I am currently working on putting together a shell script to allow me
to save files with certian extensions under firefox and then run a few
commands on them... the problem I am running into is there I can't
seem to find any thing to take care of the file selector part...

Any one seen any thing like this befor... I vaguely remember
seeing something like it awhile back, but can't seem find any thing
like that now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting woes.

2004-02-24 Thread Mathias Haas
Julien Gabel wrote:

As a reply to both answers, here's a script that wont' run:
#!/usr/local/bin/bash
echo start  test.txt
...and here is bash:
[EMAIL PROTECTED] /usr/local/etc] whereis bash
bash: /usr/local/bin/bash
this is /var/log/cron
Feb 24 19:20:00 p3-550 /usr/sbin/cron[27988]: (root) CMD
(/usr/local/etc/test.sh)
This is the crontab entry:
* * * * * /usr/local/etc/test.sh
(At the moment, I have no shell parameters or other parameters in
crontab, another crontab-job runs fine, but that's an executable
file.)
 



The following works fine, here is the detail:

$ date ; ls -lF /tmp/test.*
Tue Feb 24 22:50:11 CET 2004
-rwxr-x---  1 jgabel  wheel  49 Feb 24 22:50 /tmp/test.bash*
$
$ cat /tmp/test.bash
#!/usr/local/bin/bash
echo start  /tmp/test.txt
$
$ crontab -l
* * * * * /tmp/test.bash
$
$ date ; ls -lF /tmp/test.*
Tue Feb 24 22:51:17 CET 2004
-rwxr-x---  1 jgabel  wheel  49 Feb 24 22:46 /tmp/test.bash*
-rw-r--r--  1 jgabel  wheel   6 Feb 24 22:51 /tmp/test.txt
$
$ cat /tmp/test.txt
start
$
Can you try *stricly* the same thing?

 

Sure (this is run as root):
$ cd /tmp
$ date ; ls -lF /tmp/test.*
Tue Feb 24 23:25:56 CET 2004
-rwxr-x---  1 root  wheel  45 Feb 24 23:24 /tmp/test.bash*
$
$ cat test.bash
#!/usr/local/bin/bash
echo start  test.txt
$ crontab -l
* * * * * /usr/local/sbin/pure-ftpwho -w  /www/data/ftpstatus.html
* * * * * /tmp/test.bash
$ date ; ls -lF /tmp/test.*
Tue Feb 24 23:26:08 CET 2004
-rwxr-x---  1 root  wheel  45 Feb 24 23:24 /tmp/test.bash*
$
Not much of difference I'm afraid.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Jeff Penn
* Kris Kennaway [EMAIL PROTECTED]:
 On Tue, Feb 24, 2004 at 03:28:32AM +, Robert Woolley wrote:
 On Mon, 23 Feb 2004, Jeff Penn wrote:

 My ports system is in a bit of a mess.  The problems first surfaced
 after last weeks 'cvsup; portsdb -uU'.  This weeks cvsup did not
 improve the situation:

 I don't have a solution, but I'm getting just the same problem with
 portsdb -uU; and it happened at the same time.

 Run 'make describe' on its own..it will give an error at some point,
 which should let us determine what is going wrong.

Thanks Kris,
My system is running 4.9 release.  Output of make describe follows:

ttyp5[-1]# make describe
=== accessibility
=== accessibility/at-spi
at-spi-1.3.12|/usr/ports/accessibility/at-spi|/usr/X11R6|An Assistive Te
chnology Service Provider Interface|/usr/ports/accessibility/at-spi/pkg-
descr|[EMAIL PROTECTED]|accessibility x11-toolkits|/usr/ports/accessibil
ity/atk /usr/ports/accessibility/gail /usr/ports/devel/ORBit2 /usr/ports
/devel/glib20 /usr/ports/devel/gmake /usr/ports/devel/libIDL /usr/ports/
devel/libbonobo /usr/ports/devel/libglade2 /usr/ports/devel/libtool13 /u
sr/ports/devel/pkgconfig /usr/ports/graphics/libart_lgpl2 /usr/ports/gra
phics/libgnomecanvas /usr/ports/textproc/intltool /usr/ports/textproc/li
bxml2 /usr/ports/x11-toolkits/gtk20 /usr/ports/x11-toolkits/pango /usr/p
orts/x11/XFree86-4-libraries|/usr/ports/accessibility/atk /usr/ports/acc
essibility/gail /usr/ports/devel/ORBit2 /usr/ports/devel/glib20 /usr/por
ts/devel/libIDL /usr/ports/devel/libbonobo /usr/ports/devel/libglade2 /u
sr/ports/devel/pkgconfig /usr/ports/graphics/libart_lgpl2 /usr/ports/gra
phics/libgnomecanvas /usr/ports/misc/gnomehier /usr/ports/textproc/libxm
l2 /usr/ports/x11-toolkits/gtk20 /usr/ports/x11-toolkits/pango /usr/port
s/x11/XFree86-4-libraries|http://www.gnome.org/
=== accessibility/atk
atk-1.4.1_2|/usr/ports/accessibility/atk|/usr/local|A GNOME accessibilit
y toolkit (ATK)|/usr/ports/accessibility/atk/pkg-descr|[EMAIL PROTECTED]
|accessibility devel|/usr/ports/devel/glib20 /usr/ports/devel/libtool13 
/usr/ports/devel/pkgconfig|/usr/ports/devel/glib20 /usr/ports/devel/pkgc
onfig|http://developer.gnome.org/projects/gap/
=== accessibility/dasher
dasher-3.2.3|/usr/ports/accessibility/dasher|/usr/X11R6|Information effi
cient text-entry interface|/usr/ports/accessibility/dasher/pkg-descr|pur
[EMAIL PROTECTED]|accessibility editors x11 gnome|/usr/ports/accessibility/a
tk /usr/ports/devel/ORBit2 /usr/ports/devel/gconf2 /usr/ports/devel/glib
20 /usr/ports/devel/gmake /usr/ports/devel/libIDL /usr/ports/devel/libgl
ade2 /usr/ports/devel/libtool13 /usr/ports/devel/pkgconfig /usr/ports/ne
t/linc /usr/ports/textproc/intltool /usr/ports/textproc/libxml2 /usr/por
ts/x11-toolkits/gtk20 /usr/ports/x11-toolkits/pango /usr/ports/x11/XFree
86-4-libraries|/usr/ports/accessibility/atk /usr/ports/devel/ORBit2 /usr
/ports/devel/gconf2 /usr/ports/devel/glib20 /usr/ports/devel/libIDL /usr
/ports/devel/libglade2 /usr/ports/devel/pkgconfig /usr/ports/misc/gnomeh
ier /usr/ports/net/linc /usr/ports/textproc/libxml2 /usr/ports/x11-toolk
its/gtk20 /usr/ports/x11-toolkits/pango /usr/ports/x11/XFree86-4-librari
es|http://www.inference.phy.cam.ac.uk/dasher/
=== accessibility/gail
gail-1.4.1_1|/usr/ports/accessibility/gail|/usr/X11R6|An implementation 
of the ATK interfaces for GTK+ widgets|/usr/ports/accessibility/gail/pkg
-descr|[EMAIL PROTECTED]|accessibility x11-toolkits|/usr/ports/accessibi
lity/atk /usr/ports/devel/glib20 /usr/ports/devel/gmake /usr/ports/devel
/libglade2 /usr/ports/devel/libtool13 /usr/ports/devel/pkgconfig /usr/po
rts/graphics/libart_lgpl2 /usr/ports/graphics/libgnomecanvas /usr/ports/
textproc/intltool /usr/ports/textproc/libxml2 /usr/ports/x11-toolkits/gt
k20 /usr/ports/x11-toolkits/pango /usr/ports/x11/XFree86-4-libraries|/us
r/ports/accessibility/atk /usr/ports/devel/glib20 /usr/ports/devel/libgl
ade2 /usr/ports/devel/pkgconfig /usr/ports/graphics/libart_lgpl2 /usr/po
rts/graphics/libgnomecanvas /usr/ports/textproc/libxml2 /usr/ports/x11-t
oolkits/gtk20 /usr/ports/x11-toolkits/pango /usr/ports/x11/XFree86-4-lib
raries|http://www.gnome.org/
=== accessibility/gnomemag
gnomemag-0.10.6|/usr/ports/accessibility/gnomemag|/usr/X11R6|GNOME scree
n magnifier|/usr/ports/accessibility/gnomemag/pkg-descr|[EMAIL PROTECTED]
g|accessibility x11 gnome|/usr/ports/accessibility/at-spi /usr/ports/acc
essibility/atk /usr/ports/accessibility/gail /usr/ports/devel/ORBit2 /us
r/ports/devel/glib20 /usr/ports/devel/gmake /usr/ports/devel/libIDL /usr
/ports/devel/libbonobo /usr/ports/devel/libglade2 /usr/ports/devel/libto
ol13 /usr/ports/devel/pkgconfig /usr/ports/graphics/libart_lgpl2 /usr/po
rts/graphics/libgnomecanvas /usr/ports/textproc/intltool /usr/ports/text
proc/libxml2 /usr/ports/x11-toolkits/gtk20 /usr/ports/x11-toolkits/pango
 /usr/ports/x11/XFree86-4-libraries|/usr/ports/accessibility/at-spi /usr
/ports/accessibility/atk /usr/ports/accessibility/gail /usr/ports/devel/
ORBit2 

RELENG-5_2_1_RELEASE | make buildkernel | Crypto

2004-02-24 Thread Jason Lixfeld
Anyone have any  ideas?

optionsIPSEC   #IP security
optionsIPSEC_ESP   #IP security (crypto; define w/ 
IPSEC)
optionsIPSEC_DEBUG #debug for IP security

su-2.05b# make buildkernel KERNCONF=ESHARA
...
...
sh /usr/src/sys/conf/newvers.sh ESHARA
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-D_KERNEL -include opt_global.h -fno-common -finline-limit=2 
-fno-strict-aliasing  -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror  vers.c
linking kernel.debug
bf_ecb.o: In function `BF_ecb_encrypt':
/usr/src/sys/crypto/blowfish/bf_ecb.c:79: undefined reference to 
`BF_encrypt'
/usr/src/sys/crypto/blowfish/bf_ecb.c:81: undefined reference to 
`BF_decrypt'
bf_skey.o: In function `BF_set_key':
/usr/src/sys/crypto/blowfish/bf_skey.c:112: undefined reference to 
`BF_encrypt'
/usr/src/sys/crypto/blowfish/bf_skey.c:119: undefined reference to 
`BF_encrypt'
des_ecb.o: In function `des_ecb_encrypt':
/usr/src/sys/crypto/des/des_ecb.c:107: undefined reference to 
`des_encrypt1'
des_ecb.o: In function `des_ecb3_encrypt':
/usr/src/sys/crypto/des/des_ecb.c:128: undefined reference to 
`des_encrypt3'
/usr/src/sys/crypto/des/des_ecb.c:130: undefined reference to 
`des_decrypt3'
*** Error code 1

Stop in /usr/obj/usr/src/sys/ESHARA.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

real2m52.297s
user2m22.967s
sys 0m23.772s
su-2.05b#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELENG-5_2_1_RELEASE | make buildkernel | Crypto

2004-02-24 Thread Kris Kennaway
On Tue, Feb 24, 2004 at 07:08:58PM -0500, Jason Lixfeld wrote:
 Anyone have any  ideas?

Post your cvsupfile..you may have an incomplete source tree.

Kris


pgp0.pgp
Description: PGP signature


32 bit on FreeBSD 5.2

2004-02-24 Thread Mateusz Rajca
Hi,

How do you setup the 32 bit color option on FreeBSD
5.2.

Thanks 

Mateusz Rajca

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Kris Kennaway
On Tue, Feb 24, 2004 at 09:32:15PM +, Jeff Penn wrote:
 * Kris Kennaway [EMAIL PROTECTED]:
  On Tue, Feb 24, 2004 at 03:28:32AM +, Robert Woolley wrote:
  On Mon, 23 Feb 2004, Jeff Penn wrote:
 
  My ports system is in a bit of a mess.  The problems first surfaced
  after last weeks 'cvsup; portsdb -uU'.  This weeks cvsup did not
  improve the situation:
 
  I don't have a solution, but I'm getting just the same problem with
  portsdb -uU; and it happened at the same time.
 
  Run 'make describe' on its own..it will give an error at some point,
  which should let us determine what is going wrong.
 
 Thanks Kris,
 My system is running 4.9 release.  Output of make describe follows:
 

 kdeaccessibility-3.2.0: /usr/ports/x11-toolkits/qt32 non-existent -- d
 ependency list incomplete
 kdeaccessibility-3.2.0: /usr/ports/x11-toolkits/qt32 non-existent -- d
 ependency list incomplete

That directory should exist if you have the complete ports collection. 

kris


pgp0.pgp
Description: PGP signature


Re: RELENG-5_2_1_RELEASE | make buildkernel | Crypto

2004-02-24 Thread Jason Lixfeld
On Feb 24, 2004, at 7:12 PM, Kris Kennaway wrote:

On Tue, Feb 24, 2004 at 07:08:58PM -0500, Jason Lixfeld wrote:
Anyone have any  ideas?
Post your cvsupfile..you may have an incomplete source tree.
*default host=cvsup12.freebsd.org
*default prefix=/usr
*default release=cvs tag=RELENG_5_2_1_RELEASE
*default delete use-rel-suffix
*default compress
src-all
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELENG-5_2_1_RELEASE | make buildkernel | Crypto

2004-02-24 Thread Jason Lixfeld
On Feb 24, 2004, at 7:16 PM, Jason Lixfeld wrote:
*default host=cvsup12.freebsd.org
*default prefix=/usr
*default release=cvs tag=RELENG_5_2_1_RELEASE
*default delete use-rel-suffix
*default compress
src-all
for shits and giggles I ran cvsup against cvsup.freebsd.org:

su-2.05b# cvsup -Z -g -L 2 /usr/local/etc/cvsup/stable-supfile
Parsing supfile /usr/local/etc/cvsup/stable-supfile
Connecting to cvsup.freebsd.org
Connected to cvsup.freebsd.org
Server software version: SNAP_16_1e
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
Shutting down connection to server
Finished successfully
su-2.05b#
No difference from cvsup12.

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


Re: Shell scripting woes

2004-02-24 Thread Chris Pressey
On Tue, 24 Feb 2004 17:56:49 +0100 (CET)
[EMAIL PROTECTED] wrote:

 Hello guys! I have two questions about shellscripts:

Your second question seems to have been addressed, so here's something
for your first question...

 1) I have a backup job that 'tar's a lot of files and currently I
 redirect all output of the job to a log. Tar unfortunately lists all
 directories that it goes through, even if nothing is 'tar'ed in those
 directories. So my logfile contains all my directories. I want to
 filter out all lines in my tar-log that ends with slash (/) since
 those are directories. I want to sort of do an inverse grep on the
 last character when tarring. Like: tar -cvf myback.tar |grep -v all
 lines that end with slash  log.txt. All files that are backed up
 contain the whole directory path (that's how I want it) - so I can't
 simply do a reverse grep for the slash-char. Maybe you could do
 something with awk? I'm a total rookie with awk, so I'm lost there...

Try

tar -cvf myback.tar | grep -v '/$'

The $ in the grep pattern indicates end of line.

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


Re: RELENG-5_2_1_RELEASE | make buildkernel | Crypto

2004-02-24 Thread James Van Artsdalen
 From: Jason Lixfeld [EMAIL PROTECTED]
 Date: Tue, 24 Feb 2004 19:08:58 -0500
 
 Anyone have any  ideas?
 
 optionsIPSEC   #IP security
 optionsIPSEC_ESP   #IP security (crypto; define w/ 
 IPSEC)
 optionsIPSEC_DEBUG #debug for IP security
 
 su-2.05b# make buildkernel KERNCONF=ESHARA
 ...
 ...
 /usr/src/sys/crypto/blowfish/bf_ecb.c:79: undefined reference to 
 `BF_encrypt'

I'd like to hear back how performance is, to know if assembly code is
worthwhile.

--- sys/conf/files.amd64.origMon Nov 17 02:58:16 2003
+++ sys/conf/files.amd64 Mon Feb  2 23:08:43 2004
@@ -123,3 +123,10 @@
 compat/ia32/ia32_sigtramp.Soptionalia32
 compat/ia32/ia32_sysvec.c  optionalia32
 kern/imgact_elf32.coptionalia32
+#
+crypto/des/des_ecb.c   optionalnetsmbcrypto
+crypto/des/des_enc.c   optionalnetsmbcrypto
+crypto/des/des_setkey.coptionalnetsmbcrypto
+crypto/blowfish/bf_enc.c   optionalcrypto
+crypto/blowfish/bf_enc.c  optionalipsec ipsec_esp
+crypto/des/des_enc.c  optionalipsec ipsec_esp

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


Re: Help on kernel debugger

2004-02-24 Thread Greg 'groggy' Lehey
On Tuesday, 24 February 2004 at 11:23:40 +0530, [EMAIL PROTECTED] wrote:

 I need to use a kernel debugger on FreeBSD 4.8 to check if
 my messages to the kernel have all the info required and if
 Is being processed.

I don't really understand what you mean here.

 DDB is the debugger mentioned in the handbook. Will DDB help
 Me debug the kernel on the target itself?

That's one possibility.

 All that I have read abt DDB is debugging from a remote box over a
 serial line.

No, that's gdb.

 I have rebuilt my kernel with the options

 # Kernel debugger support
 options DDB
 options DDB_UNATTENDED

A lot depends on exactly what you want to do.  There's an man page
gdb(4) in -CURRENT which will, to some extent, help you with remote
debugging.  Note that the macros mentioned are in 4.8, but they're in
a different form in the directory /usr/src/sys/modules/vinum.  You'll
have to play around with them to get them to work.  Also, 4.8 does not
support debugging over firewire.

If you have specific questions, I suggest you follow up on
[EMAIL PROTECTED]

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
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Proftp

2004-02-24 Thread Robert Storey
I've decided to install proftpd from ports since (it is said) to be more
robust than the FBSD ftpd daemon.

I went to /usr/ports/ftp/proftpd. The port downloaded, compiled, and
appeared to install correctly. I edited /etc/rc.conf to make sure that
the /usr/local/etc/rc.d/proftpd.sh would run at boot time. I checked
file proftpd.conf to make sure it was in standalone mode.

However, it does not start. If I manually run the command
/usr/local/libexec/proftpd start, I receive this error message:

  error opening scoreboard: no such file or directory

According to the man page, there should be a file called
/var/run/run/proftpd/proftpd.scoreboard but I see that it does not exist
on my machine. I tried creating it with the touch command, but  that
doesn't really do anything useful. In fact, I know from running
Slackware that this should be a binary file, not an empty file, so I
didn't have much hope that this would solve anything.

I also tried starting Proftp from /etc/inetd.conf, but that was also
unsuccessful. Again, I received the same error about the missing
scoreboard.

At this point, I'm stumped, so I hope that somebody who has succeeded in
getting Proftp working on FBSD has some advice.

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


Re: Proftp

2004-02-24 Thread Aaron Peterson
I prefer putting:

ScoreboardFile  /var/run/proftpd.scoreboard

in /usr/local/etc/proftpd.conf, personally

and touching the file did seem to solve that particular error message for
me.  However, this was not a particularly intuitive solution, and I'm not
sure why the port is set up to require the manual step of either creating
the directory for the default location of the scoreboard file or moving
it.  Even after this, the default rc.d script from ports doesn't seem to
work for me.  Instead of figuring it out, i just ran proftpd the manual
way you did from the command line with:

/usr/local/libexec/proftpd

and that started the daemon.

I haven't done it yet, but probably rewriting the init script more simply
so that it does only what worked for me at the command line would solve
that problem.

 I've decided to install proftpd from ports since (it is said) to be more
 robust than the FBSD ftpd daemon.

 I went to /usr/ports/ftp/proftpd. The port downloaded, compiled, and
 appeared to install correctly. I edited /etc/rc.conf to make sure that
 the /usr/local/etc/rc.d/proftpd.sh would run at boot time. I checked
 file proftpd.conf to make sure it was in standalone mode.

 However, it does not start. If I manually run the command
 /usr/local/libexec/proftpd start, I receive this error message:

   error opening scoreboard: no such file or directory

 According to the man page, there should be a file called
 /var/run/run/proftpd/proftpd.scoreboard but I see that it does not exist
 on my machine. I tried creating it with the touch command, but  that
 doesn't really do anything useful. In fact, I know from running
 Slackware that this should be a binary file, not an empty file, so I
 didn't have much hope that this would solve anything.

 I also tried starting Proftp from /etc/inetd.conf, but that was also
 unsuccessful. Again, I received the same error about the missing
 scoreboard.

 At this point, I'm stumped, so I hope that somebody who has succeeded in
 getting Proftp working on FBSD has some advice.

 TIA,
 Robert
 ___
 [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: Proftp

2004-02-24 Thread Kris Kennaway
On Wed, Feb 25, 2004 at 11:02:41AM +0800, Robert Storey wrote:
 I've decided to install proftpd from ports since (it is said) to be more
 robust than the FBSD ftpd daemon.

Said by who?  Note that proftpd has had a number of security
vulnerabilities in the last few years, so there's more to consider
than just robustness.  Anyway, since you're having problems setting
it up, you should give serious thought to the FreeBSD ftpd unless you
require a feature it does not have.

Kris


pgp0.pgp
Description: PGP signature


mp4 spliter

2004-02-24 Thread Tsu-Fan Cheng
Hi freebsders, I have a movie file ended with mp4 and it's bigger than
700mb, does anybody know how I can split the file into 2 so I can make a
CD out of it? thanks a lot!

Best Regards, :-)

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


Re: FreeBSD 5.3

2004-02-24 Thread Benjamin Meade
Caio Souza Mendes wrote:
Then, it wants to say that version 5.3 will not be
stable and yes release? 
No, the RELENG tag indicates a stable build. The CURRENT tag is used for 
non-stable (development) build.

--
Benjamin Meade
System Administrator
LanWest Pty Ltd
Ph:  +61 (8) 9440 3033
Fax: +61 (8) 9440 3370
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9 stable release installation probs on x86

2004-02-24 Thread Saint Aardvark the Carpeted
[EMAIL PROTECTED] disturbed my sleep to write:
 When I boot after the installation the
 boot loader gives an option (F1) to load FreeBSD but when
 I hit enter, F1, or just let it time out and make the
 selection, it does nothing except turn off the monitor and
 reboot the system back into the BIOS, over, and over, and
 over again.  

I had a problem like this a while back with a particular machine;
eventually I tried turning off various settings in BIOS with the disk
(DMA, PIO, etc) and it worked.

HTH,
Hugh

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with starting the apache server

2004-02-24 Thread Loo Eric
1) when i add the apache package it comes out following output:

Added group www.
Added user www.
===  COMPATIBILITY NOTE:
 As of version 1.3.24, the RedirectMatch directive requires an
 absolute URL target location per RFC 2068. Uses of RedirectMatch that
 specify a relative URL will fail and must be corrected to function.
2)then when i start the apache server by typing apachectl start it comes 
out the following output:

/usr/local/sbin/apachectl start: httpd could not be started

hope that i will get reply from u soon thanks!

_
Download ringtones, logos and picture messages from MSN Malaysia 
http://www.msn.com.my/mobile/ringtones/default.asp

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


Re: file selector and shell scripts

2004-02-24 Thread Saint Aardvark the Carpeted
Vulpes Velox disturbed my sleep to write:
 I am currently working on putting together a shell script to allow me
 to save files with certian extensions under firefox and then run a few
 commands on them... the problem I am running into is there I can't
 seem to find any thing to take care of the file selector part...

I think find(1) might be what you're after.  It has a zillion options,
but a good example would be:

find /usr/local/lib -name \*.so -exec rm {} \;

which finds all the .so files in /usr/local/lib and removes them.  

Note:  Do NOT remove all your .so files. :-)

Hugh

--
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with starting the apache server

2004-02-24 Thread Kris Kennaway
On Wed, Feb 25, 2004 at 12:24:50PM +0800, Loo Eric wrote:
 1) when i add the apache package it comes out following output:
 
 Added group www.
 Added user www.
 
 ===  COMPATIBILITY NOTE:
  As of version 1.3.24, the RedirectMatch directive requires an
  absolute URL target location per RFC 2068. Uses of RedirectMatch that
  specify a relative URL will fail and must be corrected to function.
 
 2)then when i start the apache server by typing apachectl start it comes 
 out the following output:
 
 /usr/local/sbin/apachectl start: httpd could not be started
 
 hope that i will get reply from u soon thanks!

Check the logs for more details.

Kris


pgp0.pgp
Description: PGP signature


Re: FreeBSD 5.3

2004-02-24 Thread Kris Kennaway
On Wed, Feb 25, 2004 at 12:27:56PM +0800, Benjamin Meade wrote:
 Caio Souza Mendes wrote:
 Then, it wants to say that version 5.3 will not be
 stable and yes release? 
 
 No, the RELENG tag indicates a stable build. The CURRENT tag is used for 
 non-stable (development) build.

No, the RELENG (Release Engineering) CVS tag is used for all
releases, on the -STABLE branch or not.  There is no such thing as the
CURRENT tag; FreeBSD-CURRENT is defined to be the head of the CVS tree.

Kris


pgp0.pgp
Description: PGP signature


problem with starting the apache server

2004-02-24 Thread Loo Eric
1) when i add the apache package it comes out following output:

Added group www.
Added user www.
===  COMPATIBILITY NOTE:
 As of version 1.3.24, the RedirectMatch directive requires an
 absolute URL target location per RFC 2068. Uses of RedirectMatch that
 specify a relative URL will fail and must be corrected to function.
2)then when i start the apache server by typing apachectl start it comes 
out the following output:

/usr/local/sbin/apachectl start: httpd could not be started

hope that i will get reply from u soon thanks!

_
Download ringtones, logos and picture messages from MSN Malaysia 
http://www.msn.com.my/mobile/ringtones/default.asp

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


Re: problem with starting the apache server

2004-02-24 Thread Felipe Neuwald
Loo,

Why do you use apache 1.3.24? Upgrade it to 1.3.29, and try again.

Felipe.

Em Qua, 2004-02-25 às 01:24, Loo Eric escreveu:
 1) when i add the apache package it comes out following output:
 
 Added group www.
 Added user www.
 
 ===  COMPATIBILITY NOTE:
   As of version 1.3.24, the RedirectMatch directive requires an
   absolute URL target location per RFC 2068. Uses of RedirectMatch that
   specify a relative URL will fail and must be corrected to function.
 
 2)then when i start the apache server by typing apachectl start it comes 
 out the following output:
 
 /usr/local/sbin/apachectl start: httpd could not be started
 
 hope that i will get reply from u soon thanks!
 
 _
 Download ringtones, logos and picture messages from MSN Malaysia 
 http://www.msn.com.my/mobile/ringtones/default.asp
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Felipe Neuwald
[EMAIL PROTECTED]

Mi espada desconocerá su funda,
mientras dure el oprobio y la injusticia
que sojuzga a mi pueblo
Simón Bolívar

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


Re: Fail to start KDE

2004-02-24 Thread Stephen Liu

- snip -
 

/usr/local/etc/rc.d  is a directory.  Whether you recommend to create a 
file with only a single line :- 'Kdm ' (without quote) on it and save 
it to  /usr/local/etc/rc.d/

Shall I 'chmod 775' the file created?  Files in /usr/local/etc/rc.d/ 
directory have an extension '.h'.  Shall I name the file as xxx.h?

The  makes it run the command as a background job, so that the
prompt re-appears immedidately, and you can go on working in that
shell.  In this case, it just means that if you go back to
that virtual terminal (with CTRL-Alt-F1 or whatever) you can run
more commands outside KDE.
I think the rule for scripts in /usr/local/etc/rc.d is that they
will all be run on startup, provided they are executable.  The
convention is to name them xxx.sh, but I don't know if that is
actually required.  So a chmod 500 should be the minimum required
permissions (-r-x--), and 755 will work OK.
 

Hi Mike,

Tks for your advice.

Have tried following version without success

/usr/local/etc/rc.d/kguilogin.sh
#! /bin/sh
1) kdm 
2) exec kdm 
3) kdm
4) xinit kdm
5) xinit /usr/local/bin/kdm --
6) xinit /usr/local/bin/kdm
B.R.
Stephen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE startup slowly on initializing system service (SOLVED)

2004-02-24 Thread Stephen Liu
Hi Andrew,

Problem solved.  The hostname on
/etc/hosts
and
/etc/rc.conf
must be identical.  Its mis-typing would cause slow startup of KDE
B.R.
Stephen
FWIW I noticed on my 5.2 box today kinit was using 60% of the
processor.  I restarted KDE and kinit's usage dropped to ~1%.
Drew

On Tue, 2004-02-24 at 01:49, Stephen Liu wrote:
 

Hi Teodor,

FreeBSD 5.2

I encounter the same problem. KDE starts very slow, first popup desktop 
icrons, bottom tool-bar, welcome screen, etc., one by one taking 
prolonged time. Starting K package from desktop also takes lengthy time 
to start.

Immediate after installation from CD1 completed it worked perfectly. 
After playing around to configure network card, ppp, etc. KDE starting 
became terrible slow.

   

FreeBSD chinhngt.b.gz.ru 4.9-STABLE FreeBSD 4.9-STABLE #0:



I would recommend adding something like this to your /etc/hosts:
127.0.0.1   localhost.localdomain   chinhngt.b.gz.ru
I have noticed this problem when you change your domain from the classic
'localhost.localdomain' to something else, and KDE does not know how to
resolve it, thus the slowdowns.
 

# /etc/hosts

I changed
:: 1 localhost localhost.my.domain
127.0.01 localhost localhost.my.domain
to
:: 1 localhost.localdomain
127.0.01 localhost.localdomain
It complained at booting with following warning;

Starting sshd.
554 5.3.0 host localhost unknown: Invalid argument
. sm-mta[432]: NOQREUE: SYSERR(root) :host localhost unknown: 
Invalid argument
.

Kindly advise how to fix the problem

TIA

B.R.
Stephen Liu
___
[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: Clarification needed on Handbook: Tracking for Multiple Machines

2004-02-24 Thread Dmitry Morozovsky
On Tue, 24 Feb 2004, Tony Frank wrote:

[snip]

TF   : If True, for optimized code across all machines, the code should
TF   : just be built on each machine, right?
TF   That would give slightly better performance.  However, it can be more
TF   pain than it is worth if the number of machine types is high.
TF  Consuming considerably more time and disk space, a shell script to
TF  alter make.conf and rename /usr/obj between the build for each machine
TF  is doable, though pro'lly not worth it. The install at each each box
TF  would just have to mount it's corresponding /usr/obj tree.
TF
TF Just need to set __MAKE_CONF and MAKEOBJDIRPREFIX before running the build.

Unfortunately not, as some utilities (from phase III) will be linked against
existing system libraries. Or, you should follow the process like 'make
release': build world with lower CPU optimization, intall it to the sandbox,
chroot to it and build world again. This was explained by ru@ some months ago
[1,2]

[1]: http://www.geocrawler.com/archives/3/152/2002/5/0/8811539/
[2]:
http://groups.google.com/groups?hl=rulr=ie=UTF-8inlang=ruthreadm=fa.f0qca6v.f7g49v%40ifi.uio.nornum=4prev=/groups%3Fq%3Dfreebsd%2Bruslan%2Bermilov%2BCPUTYPE%2Bworld%2Bproblems%2Bwhen%2Brunning%2Bmake%26hl%3Dru%26lr%3D%26ie%3DUTF-8%26inlang%3Dru%26selm%3Dfa.f0qca6v.f7g49v%2540ifi.uio.no%26rnum%3D4

Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***

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


Re: file selector and shell scripts

2004-02-24 Thread Vulpes Velox
On Tue, 24 Feb 2004 20:31:38 -0800
Saint Aardvark the Carpeted [EMAIL PROTECTED]
wrote:

 Vulpes Velox disturbed my sleep to write:
  I am currently working on putting together a shell script to allow
  me to save files with certian extensions under firefox and then
  run a few commands on them... the problem I am running into is
  there I can't seem to find any thing to take care of the file
  selector part...
 
 I think find(1) might be what you're after.  It has a zillion
 options, but a good example would be:
 
   find /usr/local/lib -name \*.so -exec rm {} \;
 
 which finds all the .so files in /usr/local/lib and removes them.  

Nah, not needing to find files, but need a way to select a dir I want
it to save them to, sorta like requestfile or whatever it was on the
Amiga. Something I can just drop in and it will brind up a dialog for
selecting a dir. Not found much throught google or anything...
probally just going to write a little py script to take care of it.
Thanks any ways.

 Note:  Do NOT remove all your .so files. :-)

si ;-)
 
 Hugh
 
 --
 Saint Aardvark the Carpeted
 [EMAIL PROTECTED]
 Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw//dummynet question

2004-02-24 Thread Hugo (6s-gaming.com)
Hi list,

Say I want to limit the bandwidth from all inside my lan to the outside.
I'd create the pipes and make 2 rules to pipe any traffic (inout). My
question is, would creating these 2 rules make all traffic be promptly
accepted, or would they be accepted or blocked based on the rest of the
ruleset? If they're accepted upon the pipe rule, how to make they be piped
BUT only accepted if they match any of the rules on the ruleset? Do I need
to create pipe rules for _everything_ ?

Regards,

Hugo


-- 
http://www.6s-gaming.com - your online store!

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


Volari and potential FreeBSD driver

2004-02-24 Thread peter lageotakes
Good morning FreeBSD,

I just received an email from XGI, with respect to new
Linux Drivers for their graphics cards.  I am
currently trying to find out if they will support
FreeBSD in Linux Binary Compatibility mode or do a
native port.  At present, I am awaiting to hear back
from XGI.

FYI: www.xgitech.com
http://www.osnews.com/story.php?news_id=5078

I just received feedback from XGI and was advised that
they will be opening up the source code for the
drivers.
Hi we will open the source code for public to porting
it to other OS. I wonder anyone would be interesting
in maintaining Volari source code?

Sorry about the posting to multiple mailing lists. 
Any advice on the appropriate contacts? Would this
better be served on an X11 or Hardware mailing list?
Or on XFree?

Pete

=
ESCape with VI. Cheese A La mode.

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't boot linux after installing FBSD 5.2

2004-02-24 Thread John
hi

i have a mandrax linux 9.2 installed on a IBM ThinkPad
24x, but now I can't boot it after I install FBSD 5.2.

I can still see the FBSD boot manager displaying F1 F2
for the two linux partitions, but they can't be
booted.


j

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPsec: Odd behaviour with policies

2004-02-24 Thread Nick Slager
I have a newly created VPN between a 4.8 box and a Cisco VPN 3000
Concentrator. The concentrator is not under my control, being owned by an
associated company.

The policies are extremely restrictive, and permit a single host in our
network (behind the FreeBSD end) to communicate with 2 hosts at the other
end (behind the concentrator).

I am able to establish the VPN from our host by pinging one of the hosts
in the remote network. The VPN is established and all works fine, but I
can only communicate with the one remote host I pinged to establish the
VPN link. I am unable to communicate with the other host.

If I tear down the IPsec tunnel, and re-establish the VPN by pinging the
other remote IP address, communication is fine also, but only for the
one single remote host I pinged.

Is anyone able to shed light on why this might be the case? Anonymised
config files below.


Nick



/etc/ipsec.conf:

flush;
spdflush;
spdadd 192.168.1.1/32 1.2.3.4/32 any -P out ipsec 
esp/tunnel/203.1.1.1-203.2.2.2/require;
spdadd 1.2.3.4/32 192.168.1.1/32 any -P in ipsec 
esp/tunnel/203.2.2.2-203.1.1.1/require;

spdadd 192.168.1.1/32 1.2.3.5/32 any -P out ipsec 
esp/tunnel/203.1.1.1-203.2.2.2/require;
spdadd 1.2.3.5/32 192.168.1.1/32 any -P in ipsec 
esp/tunnel/203.2.2.2-203.1.1.1/require;



Relevant portions of racoon.conf:

remote 203.2.2.2
{
exchange_mode main,aggressive;
doi ipsec_doi;
situation identity_only;

my_identifier address 203.1.1.1;

nonce_size 16;
lifetime time 86400 sec;
initial_contact on;
support_proxy on;
proposal_check obey;

proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}

sainfo address 192.168.1.1/32 any address 1.2.3.4/32 any
{
pfs_group 2;
lifetime time 86400 sec;
encryption_algorithm 3des ;
authentication_algorithm hmac_sha1;
compression_algorithm deflate ;
}

sainfo address 192.168.1.1/32 any address 1.2.3.5/32 any
{
pfs_group 2;
lifetime time 86400 sec;
encryption_algorithm 3des ;
authentication_algorithm hmac_sha1;
compression_algorithm deflate ;
}

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