Re: mount problem after enabling serial console

2008-12-01 Thread Ji
Thank you for your reply, Mel.

There must be something wrong. What confused me is why the booting
problem does not  appear every time I reboot the computer and the
serial console does work fine if it can boot.
And I will really appreciate if you can specify my problem. Thanks a lot.

Jim

On Mon, Dec 1, 2008 at 11:26 PM, Mel
<[EMAIL PROTECTED]> wrote:
> On Tuesday 02 December 2008 07:41:17 Ji wrote:
>> Hi all,
...
>
>> atapci0:  port
>> 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc5
>>0-0xbc5f irq 6 at device 31.2 on pci0
>> atapci0: unable to map interrupt
>> device_attach: atapci0 attach returned 6
>
> There's your problem. Atapci0 can't get an interrupt, which is the ata
> controller that controls your disk.
>
> --
> Mel
>
> Problem with today's modular software: they start with the modules
>and never get to the software part.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Uninstalling kde3 meta-port

2008-12-01 Thread Leslie Jensen

Hi

How would you guys uninstall a meta-port?

I'm considering a move to kde4 but I want a clean install, so I want to 
remove the kde3 meta-port first.


Thanks

/Leslie


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


mx1.freebsd.org

2008-12-01 Thread Ebbe Hjorth
Hi,

My postfix mail servers shows to messages in the queue saying

(host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command))

But when i do a lookup or a reverse lookup, i find my hostname, also
from work and other ip, not only local ;)

Does mx1.freebsd.org have an old dns? - This affects me sending mail
to all the freebsd lists.


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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Nathan Lay

Ivan Voras wrote:

Kirk Strauser wrote:

  
At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to 
give up that easy addition of new filesystems.  I *could* have a single 700GB 
root FS but that just doesn't seem right.  Are there any good, tested GEOM-
based ways of getting that functionality, perhaps along the lines of using 
something like gvirstor and growfs as needed?



There's nothing as convenient as ZFS (really... anywhere) :( .

I'm still hoping someone will sponsor development or porting of a widely
used journalling file system like XFS, JFS, even ext3/4 to FreeBSD, but
in the meantime UFS2+SU isn't that bad. Practically the only way to
break it is if you have hardware errors that end up corrupting file
system data. The need to run full fsck occasionally (as opposed to the
softupdates-assisted one) is annoying but 700 GB should be manageable
with 3-4 GB of memory. The softupdates-assisted fsck actually works very
well in all but the heaviest loads (i.e. when the server is swamped by
requests immediately after booting).

You could also try gjournal but benchmark and test it first for your
workload.

gvirstor is a theoretically good option if you need its specific
functionality, only be doubly sure to benchmark it for your specific
workload as it has some /unusual/ performance characteristics.

  
What about DragonFlyBSD's new HAMMER FS?  I hear it has similar 
capabilities as ZFS without the overhead.  Though, strangely, I haven't 
really heard anyone discuss it even though it was released some months ago.


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


Re: mount problem after enabling serial console

2008-12-01 Thread Mel
On Tuesday 02 December 2008 07:41:17 Ji wrote:
> Hi all,
>
> I ran into a weird problem when enabling serial console on the FreeBSD
> 7.0. Your help is really appreciated.
> I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then
> enabled the serial console by adding the following to
> /boot/loader.conf
>
> hint.sio.0.flags="0x30"
> console="comconsole vidconsole"
> comconsole_speed="9600"
> boot_multicons="yes"
>
> And also replaced the following line on /etc/ttys
>
> ttyd0  "/usr/libexec/getty std.9600"   dialup  off secure
>
> with
>
> ttyd0   "/usr/libexec/getty std.9600"  vt220  on   secure.
>
> During rebooting, I found that the system hangs with the following
> messages and interrupt looks totally messed up
>
> "
> ...
> Trying to mount root from ufs:/dev/ad4s1a
>
> Manual root filesystem specification:
>   :  Mount  using filesystem 
>eg. ufs:da0s1a
>   ?  List valid disk boot devices
>  Abort manual input
>
> mountroot>
>
> ..."
>
> And to my surprise, if I keep rebooting again and again without doing
> any fixing, the problem comes and goes, which confused me.
> When the problem is not present, the serial console looks working
> normally. Can anyone help me with that? Thanks a lot.
>
> Jim

> atapci0:  port
> 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc5
>0-0xbc5f irq 6 at device 31.2 on pci0
> atapci0: unable to map interrupt
> device_attach: atapci0 attach returned 6

There's your problem. Atapci0 can't get an interrupt, which is the ata 
controller that controls your disk.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [freebsd-questions] Looking @ upgrades mechanisms...

2008-12-01 Thread Javier Vasquez
On 12/2/08, Javier Vasquez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was reading chapter 4 of the handbook, as well as chapters 24 and
> 26...  If I got it clear, I pretty much might get the base system
> updated by using freebsd-update script.  Ports collection can get
> updated with portsnap, but that doesn't update neither the intalled
> ports, nor the installed packages.  To upgrade the installed ports,
> portmanager or portmaster or portupgrade can be used...  However only
> portupgrade can be used to upgrade packages, right?
>
> Now, can something like "portupgrade -a -PP" to upgrade all packages
> without building a thing (might be that some don't get updated due to
> the lack of binary package yet, and in such case would dependencies be
> managed right)?
>
> More into how things work, as ports and pacakages are not part of the
> base systems, are they somehow associated to a particular release
> (most probably not)?  So that pretty much no matter the release, if
> packages and ports are kept up to date, they might be the same for all
> releases?
>
> I'm asking these questions since I'm evaluating moving to BSD, but I
> want to avoid compiling as much as possible since my box is 800MHz
> piii celeron with just 32KB of cache and 512MB of ram, and for it
> source based distributions have proven to be too much to handle, so my
> intention would be to live with binary packages and updates/upgrades
> only...
>
> Also if remaining under -STABLE, is all this possible?  Kind of
> understood that openoffice.org can't be installed with "pkg_add -r",
> so most probably if living under -STABLE automatic updates for
> openoffice.org won't show up...  So this kinds of answers one previous
> question about the packages been independent from the base system
> release, it looks like they aren't...
>
> Thanks,
>
> --
> Javier
>

I forgot to ask to CC me, since I'm not part of the list yet...

Thanks,

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


[freebsd-questions] Looking @ upgrades mechanisms...

2008-12-01 Thread Javier Vasquez
Hi,

I was reading chapter 4 of the handbook, as well as chapters 24 and
26...  If I got it clear, I pretty much might get the base system
updated by using freebsd-update script.  Ports collection can get
updated with portsnap, but that doesn't update neither the intalled
ports, nor the installed packages.  To upgrade the installed ports,
portmanager or portmaster or portupgrade can be used...  However only
portupgrade can be used to upgrade packages, right?

Now, can something like "portupgrade -a -PP" to upgrade all packages
without building a thing (might be that some don't get updated due to
the lack of binary package yet, and in such case would dependencies be
managed right)?

More into how things work, as ports and pacakages are not part of the
base systems, are they somehow associated to a particular release
(most probably not)?  So that pretty much no matter the release, if
packages and ports are kept up to date, they might be the same for all
releases?

I'm asking these questions since I'm evaluating moving to BSD, but I
want to avoid compiling as much as possible since my box is 800MHz
piii celeron with just 32KB of cache and 512MB of ram, and for it
source based distributions have proven to be too much to handle, so my
intention would be to live with binary packages and updates/upgrades
only...

Also if remaining under -STABLE, is all this possible?  Kind of
understood that openoffice.org can't be installed with "pkg_add -r",
so most probably if living under -STABLE automatic updates for
openoffice.org won't show up...  So this kinds of answers one previous
question about the packages been independent from the base system
release, it looks like they aren't...

Thanks,

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


mount problem after enabling serial console

2008-12-01 Thread Ji
Hi all,

I ran into a weird problem when enabling serial console on the FreeBSD
7.0. Your help is really appreciated.
I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then
enabled the serial console by adding the following to
/boot/loader.conf

hint.sio.0.flags="0x30"
console="comconsole vidconsole"
comconsole_speed="9600"
boot_multicons="yes"

And also replaced the following line on /etc/ttys

ttyd0  "/usr/libexec/getty std.9600"   dialup  off secure

with

ttyd0   "/usr/libexec/getty std.9600"  vt220  on   secure.

During rebooting, I found that the system hangs with the following
messages and interrupt looks totally messed up

"
...
Trying to mount root from ufs:/dev/ad4s1a

Manual root filesystem specification:
  :  Mount  using filesystem 
   eg. ufs:da0s1a
  ?  List valid disk boot devices
 Abort manual input

mountroot>

..."

And to my surprise, if I keep rebooting again and again without doing
any fixing, the problem comes and goes, which confused me.
When the problem is not present, the serial console looks working
normally. Can anyone help me with that? Thanks a lot.

Jim

PS. the booting messages
=
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E3110  @ 3.00GHz (3000.23-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
  
Features=0xbfebfbff
  
Features2=0x8e3fd>
  AMD Features=0x20100800
  AMD Features2=0x1
  Cores per package: 2
...
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
cpu0 on motherboard
est0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 613091f06000613
device_attach: est0 attach returned 6
p4tcc0:  on cpu0
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pcib1:  irq 15 at device 1.0 on pci0
pci1:  on pcib1
em0:  port
0xece0-0xecff mem 0xdfbc-0xdfbd,0xdfbe-0xdfbf irq 15
at device 0.0 on pci1
em0: Unable to allocate bus resource: interrupt
em0: Allocation of PCI resources failed
device_attach: em0 attach returned 6
pcib2:  irq 15 at device 28.0 on pci0
pci2:  on pcib2
em1:  port
0xdce0-0xdcff mem 0xdfcc-0xdfcd,0xdfce-0xdfcf irq 15
at device 0.0 on pci2
em1: Unable to allocate bus resource: interrupt
em1: Allocation of PCI resources failed
device_attach: em1 attach returned 6
pcib3:  irq 15 at device 28.4 on pci0
pci3:  on pcib3
bge0:  mem 0xdfdf-0xdfdf irq 15 at device 0.0 on pci3
bge0: couldn't map interrupt
device_attach: bge0 attach returned 6
pcib4:  irq 14 at device 28.5 on pci0
pci4:  on pcib4
bge1:  mem 0xdfef-0xdfef irq 14 at device 0.0 on pci4
bge1: couldn't map interrupt
device_attach: bge1 attach returned 6
uhci0:  port 0xbc60-0xbc7f irq 11 at
device 29.0 on pci0
uhci0: Could not allocate irq
device_attach: uhci0 attach returned 6
uhci1:  port 0xbc80-0xbc9f irq 10 at
device 29.1 on pci0
uhci1: Could not allocate irq
device_attach: uhci1 attach returned 6
uhci2:  port 0xbca0-0xbcbf irq 11 at
device 29.2 on pci0
uhci2: Could not allocate irq
device_attach: uhci2 attach returned 6
ehci0:  mem 0xdfaffc00-0xdfaf
irq 11 at device 29.7 on pci0
ehci0: Could not allocate irq
device_attach: ehci0 attach returned 6
pcib5:  at device 30.0 on pci0
pci5:  on pcib5
vgapci0:  port 0xcc00-0xccff mem
0xd000-0xd7ff,0xdfff-0xdfff irq 5 at device 5.0 on
pci5
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f
irq 6 at device 31.2 on pci0
atapci0: unable to map interrupt
device_attach: atapci0 attach returned 6
orm0:  at iomem
0xc-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xe on
isa0
atkbdc0:  at port 0x60,0x64 on isa0
fdc0: cannot reserve interrupt line
ppc0: cannot reserve I/O port range
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 3000226239 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
Trying to mount root from ufs:/dev/ad4s1a

Manual root filesystem specification:
  :  Mount  using filesystem 
  

Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Valentin Bud
On Mon, Dec 1, 2008 at 9:21 PM, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> On Monday 01 December 2008 11:49:46 Wojciech Puchar wrote:
>
>> UFS is excellent. your problem is that you like to have "lots of
>> filesystems". why don't just make one or one per disk?
>
> For all the usual reasons: faster fsck, ability to set attributes on each
> filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't 
> cause
> problems in /var, etc.
>
> A big local reason is that Amanda is much easier to configure when you're 
> using
> a bunch of filesystems because it runs tar with --one-file-system set.  If 
> /var
> is separate from / and I want to back them up separately, I just tell Amanda
> to dump / and /var.  If /var is part of / then I have to say "dump / except
> for /var (and /tmp and /usr and ...)".

Why don't you use the ZFS backup tools: snapshots, zfs send | receive (this in
case you have a second box with zfs) or zfs send | [ tar | gzip | bzip
] to compress
the snapshot and do whatever you want with it.
The snapshots backup file system (data sets) and it's ultra fast:
# du -h /home/user
 20G/home/user
# time zfs snapshot tank/home/[EMAIL PROTECTED]
zfs snapshot tank/home/[EMAIL PROTECTED]  0.00s user 0.00s system 0% cpu 0.855 
total

Now the compression will take a little more but you get the idea.

a great day,
v

>
>> i have one per disk/mirror configuration everywhere except one place where
>> i made separate filesystem for /var/spool/squid for some reasons.
>
> Oh, there are definitely advantages to that setup.  It just complicates 
> certain
> admin functions (see above).  With something like ZFS that makes creating new
> filesystems trivially easy, they're nice to use.
>
>> tell me what's your needs and how many/what disks you have.
>
> Right now I have a 750GB (with another on order) and a 320GB.  The box is a
> multi-purpose home server with mail, several websites, and a bunch of local
> file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage).
>
>> UFS is best-performer on real load, runs on almost no RAM, but uses more
>> if available for caching.
>
> That's my main beef with ZFS at the moment.  I don't mind if it uses a lot of
> RAM - that's what I bought it for! - but that it doesn't seem to use it
> effectively (at least on my workload).
>
> - Kirk
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Reversing a ZFS mistake

2008-12-01 Thread Valentin Bud
On Tue, Dec 2, 2008 at 2:36 AM, Reinis Ivanovs <[EMAIL PROTECTED]> wrote:
> Hello,
>
> It seems I've made a mistake using ZFS, and now my /usr/local/ is
> empty. I wanted to create a snapshot of a directory inside of it, so I
> ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" as

Maybe it's just a typo but "zfs create" actually creates a file system
(data set), doesn't
do a snapshot of a certain directory.

> I had seen in the guides I'd been using. That worked, but the
> filesystems created were empty. As I found out later, doing what I did
> on Solaris would have created the filesystems but not mounted them,
> but on FreeBSD they were mounted automatically, and the previous
> contents hidden. The question now is, how do I get my files back? The
> system is crippled without /usr/local/ and I can't unmount or destroy
> it, because it says that the device is busy. Any help would be
> appreciated.
>
> R.
>
> --
> http://untu.ms/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Page Fault.

2008-12-01 Thread Mel
On Monday 01 December 2008 21:34:14 Keith wrote:
> On Mon, 1 Dec 2008, Mel wrote:
> |->On Monday 01 December 2008 19:32:59 Keith wrote:
> |->>
> |->> ==
> |->> kernel trap 12 with interrupts disabled
> |->>
> |->> Fatal trap 12: page fault while in kernel mode
> |->> cpuid = 2; apic id = 02
> |->> fault virtual address   = 0x104
> |->> fault code  = supervisor read, page not present
> |->> instruction pointer = 0x20:0xc066ca51
> |->> stack pointer   = 0x28:0xe6ec0c90
> |->> frame pointer   = 0x28:0xe6ec0c9c
> |->> code segment= base 0x0, limit 0xf, type 0x1b
> |->> = DPL 0, pres 1, def32 1, gran 1
> |->> processor eflags= resume, IOPL = 0
> |->> current process = 9 (thread taskq)
> |->> trap number = 12
> |->> panic: page fault
> |->> Uptime: 6d6h23m45s
> |->> #0  doadump () at pcpu.h:165
> |->> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> |->> 
> |->>
> |->frame 0 useless. You need the frame after calltrap().
> |->And:
> |->
> |->> instruction pointer = 0x20:0xc066ca51
> |->list *0xc066ca51
> |->
> |->Generally a bt will show the needed information.
> |->Likely cause: file system corruption, caused by background_fsck, but a
> |->backtrace should show more.
>
> Ok, so how does one fix corruption if that is the case? Here is a
> backtrace, but means nothing to me unfortunately.
>
> (kgdb) backtrace
> #0  doadump () at pcpu.h:165
> #1  0xc067582a in boot (howto=260) at ../../../kern/kern_shutdown.c:409
> #2  0xc0675b51 in panic (fmt=0xc08f090b "%s") at
> ../../../kern/kern_shutdown.c:565
>
> #3  0xc0899f1c in trap_fatal (frame=0xe6ec0c50, eva=260) at
> ../../../i386/i386/trap.c:837
>
> #4  0xc089968e in trap (frame={tf_fs = 8, tf_es = -920256472, tf_ds =
> -420741080, tf_edi = -936184704, tf_esi = 4, tf_ebp = -420737892, tf_isp
> = -420737924, tf_ebx = -920236452, tf_edx = 6, tf_ecx = -936306488, tf_eax
> = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1067005359, tf_cs = 32,
> tf_eflags = 65538, tf_esp = -930065784, tf_ss = 4}) at
> ../../../i386/i386/trap.c:270
>
> #5  0xc08859ca in calltrap () at ../../../i386/i386/exception.s:139
>
> #6  0xc066ca51 in _mtx_lock_sleep (m=0xc9264e5c, tid=3358782592, opts=0,
> file=0x0, line=0) at ../../../kern/kern_mutex.c:546
>
> #7  0xc06bbdb6 in unp_gc (arg=0x0, pending=1) at
> ../../../kern/uipc_usrreq.c:1714

This has been fixed:
http://www.freebsd.org/cgi/query-pr.cgi?pr=113823
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba, WinVista and Roaming Profiles

2008-12-01 Thread Tim Judd
On Mon, Dec 1, 2008 at 10:53 AM, Peter Ulrich Kruppa <[EMAIL PROTECTED]>wrote:

> Hello,
>
> I hope my question isn't too off-topic for this list, but usually some
> people come up with good ideas ...
>
> We have got a FreeBSD Samba Server (set up as PDC) and about 100 WinXP
> desktops and laptops. The WinXP machines can log into the network, connect
> to home directories and shares and download (roaming) profiles. Everything
> works fine with them.
>
> Now we have purchased 2 new WinVista desktops. Login and shares work all
> right, but they can't download the profiles. They will deliver an error
> message saying they lack appropriate permissions.
>
> Any idea what is happening there?
>
> Thanks for your help and greetings,
>
> Uli.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>


http://lists.samba.org/archive/samba-technical/2007-April/053051.html

May the power of Google help your next question's answer.  Long story short,
Vista's "profile" is incompatible with anything older.  It must use a "V2"
of the profile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: any way to turn a pdf file into something OCR-able?

2008-12-01 Thread Olivier Nicole
> >  1) Some PDFs are just wrappers around JPEG images. In this case
> >  there is no text for pdftotext to convert => epic fail.
> 
>   In this case "convert" from the ImageMagick port will get you a
> series of .jpg/.gif/..  Read the manual carefully before
> attempting; also note this can be a slow process.

pdfimages (from ports graphics/xpdf) can also do that, maybe at a
lesser cost.

Bests,

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


AGP video card for dual-head operation

2008-12-01 Thread mikes
I used a Matrox G450 dual-head card with earlier versions of FreeBSD/Xfree
but have finally had to upgrade the hardware.  Getting the G450 to display
both monitors using zinerama took a bit of time, but once set it worked
well.

I purchased an ATI Radeon 9600 All-in-wonder primarily for doing some
video capture under MS Windows XP, but the system dual-boots FreeBSD
7.1-PRERELEASE, kernel and ports current as of 11/28/2008.  X server is
7.3 patch 2; the ati driver is 6.9.0 (I can't access the system right now,
so that may be wrong).

I've been unable to get the ATI card to display anything on the secondary
monitor (display is turned off when X11 starts up);  "xrandr" shows
"VGA-1" as connected and "VGA-0" as disconnected, and nothing I've been
able to do with xorg.conf has changed that ("xrandr --auto" does nothing
other than blank the primary screen).  I have seen some references to a
bug in the ati/radeon driver which is "fixed in the next version".

I can't use the G450 either; there appears to be a bug in the mga driver
(which is not installed by default but the vesa driver crashes with the
G450) which stops xrandr form working (or at least that's what I found in
a Google search).

There's a lot of confusing information out there since, as I understand
it, xorg 6.x and xorg 7.x do xinerama differently.

Is there anyone who has gotten an ATI 9600 AIW to work in dual-head mode,
and if so, how did you do it?  Is there a better AGP card which supports a
similar video capture function under MS Windows XP?

Mike Squires
UN*X at home
since 1985, but almost
all on VT100 displays










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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Da Rock

On Mon, 2008-12-01 at 15:42 +0100, Wojciech Puchar wrote:
> > If flash is important to you then I'd suggest you run windows firefox
> > under wine. Native Adobe Flash support is apparently working again in
> 
> isn't better to run windows ?

That'd be debatable, wouldn't it?

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Da Rock

On Mon, 2008-12-01 at 14:22 +, RW wrote:
> On Sun, 30 Nov 2008 23:54:38 -0800
> "Harry Veltman" <[EMAIL PROTECTED]> wrote:
> 
> > Which version and GUI will work best on the internet with my AT
> > Pentium II 350MHz x86-based PC?  Some web sites require Flash Player
> > 8 or higher, 
> 
> If flash is important to you then I'd suggest you run windows firefox
> under wine. Native Adobe Flash support is apparently working again in
> 7.1, but it's only just been restored as being broken for years. And by
> all accounts the linux flash-plugin isn't perfect even in Linux.
> 
> > and some require 128-bit encryption I think, but doesn't
> > 40-bit encryption process data 3 times faster?  How many bit
> > encryption is the various versions of FreeBSD?  Thanks.
> 
> All the supported versions of FreeBSD should have a wide range of
> ciphers available on browsers. IMO it's not really worth using
> ciphers below 128 bits. 128 bit is probably safe from the NSA, 40
> bits could easily be broken on a pc.  

Are you sure about the NSA part? :P

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


Re: Reversing a ZFS mistake

2008-12-01 Thread Dan Nelson
In the last episode (Dec 02), Reinis Ivanovs said:
> It seems I've made a mistake using ZFS, and now my /usr/local/ is
> empty. I wanted to create a snapshot of a directory inside of it, so
> I ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www"
> as I had seen in the guides I'd been using. That worked, but the
> filesystems created were empty. As I found out later, doing what I
> did on Solaris would have created the filesystems but not mounted
> them, but on FreeBSD they were mounted automatically, and the
> previous contents hidden. The question now is, how do I get my files
> back? The system is crippled without /usr/local/ and I can't unmount
> or destroy it, because it says that the device is busy. Any help
> would be appreciated.

Solaris should have automatically mounted them too, unless you had "zfs
set" canmount=noauto or mountpoint=legacy on an upper filesystem.  If
you intend to copy/move the existing contents into these new
filesystems, you can just umount them and manually mount them somewhere
else ( mount -t zfs tank/usr/local /tmp/local ) while you do the copy,
then remount them in their final locations.  umount -f should let you
force-dismount them even if processes have open filehandles on them. 
If it doesn't, run "fstat -f /usr/local" and kill any processes that
show up, then try umounting again.

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


Re: any way to turn a pdf file into something OCR-able?

2008-12-01 Thread Robert Huff

Roland Smith writes:

>  >pdftotext fail on the large [32MB] file I've got.  Is there any
>  >other way I can translate this huge textfile to ascii or html or
>  >text?
>  

>  Please define "fail" in this context? I've used pdftotxt on
>  documents exceeding 40MB. However there are of course things that
>  don't work;
>  
>  1) Some PDFs are just wrappers around JPEG images. In this case
>  there is no text for pdftotext to convert => epic fail.

In this case "convert" from the ImageMagick port will get you a
series of .jpg/.gif/..  Read the manual carefully before
attempting; also note this can be a slow process.


Robert Huff


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


Re: any way to turn a pdf file into something OCR-able?

2008-12-01 Thread Roland Smith
On Mon, Dec 01, 2008 at 03:14:43PM -0800, Gary Kline wrote:
>   pdftotext fail on the large [32MB] file I've got.  Is there any
>   other way I can translate this huge textfile to ascii or html or
>   text?

Please define "fail" in this context? I've used pdftotxt on documents
exceeding 40MB. However there are of course things that don't work;

1) Some PDFs are just wrappers around JPEG images. In this case there is
no text for pdftotext to convert => epic fail.

2) If the text contains ligatures etc. you should use the proper
encoding that contains such characters (e.g. '-enc UTF-8') or you will
loose them.

3) Things like equations will not render well, if at all. This also
depends on the encoding.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp1pm9biULbz.pgp
Description: PGP signature


Reversing a ZFS mistake

2008-12-01 Thread Reinis Ivanovs
Hello,

It seems I've made a mistake using ZFS, and now my /usr/local/ is
empty. I wanted to create a snapshot of a directory inside of it, so I
ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" as
I had seen in the guides I'd been using. That worked, but the
filesystems created were empty. As I found out later, doing what I did
on Solaris would have created the filesystems but not mounted them,
but on FreeBSD they were mounted automatically, and the previous
contents hidden. The question now is, how do I get my files back? The
system is crippled without /usr/local/ and I can't unmount or destroy
it, because it says that the device is busy. Any help would be
appreciated.

R.

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


Re: Why process memory starts so high up in virtual space with FreeBSD malloc?

2008-12-01 Thread Dan Nelson
In the last episode (Dec 01), Dan Nelson said: 
> Here's what I get with a simple test program on a month-old 7.1-PRE

Gah. silly mailing-list attachment stripper.

#include 
#include 

int main(void)
{
  size_t malloced = 0;
  size_t chunksize = 1024*1024;
  void *first = NULL;
  void *last = NULL;
  void *ptr;
  
  while ((ptr = malloc(chunksize)) != NULL) {
if (first == NULL)
  first = ptr;
last = ptr;
malloced += chunksize;
  }
  printf("Malloced %zu bytes. First: %p, Last: %p\n", malloced, first, last);
  exit(0);
}

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


Re: Why process memory starts so high up in virtual space with FreeBSD malloc?

2008-12-01 Thread Dan Nelson
In the last episode (Dec 01), Yuri said:
> Giorgos Keramidas wrote:
> > The FreeBSD malloc(3) implementation can use either mmap() or
> > sbrk() to obtain memory from the system.  It does not 'waste a high
> > percentage of memory' but it simply maps only high addresses (with
> > an unmapped 'hole' in lower addresses).
> 
> But the hole it leaves with MALLOC_OPTIONS='dM' is way larger than
> the one left by 'Dm' option. Usually malloc will keep allocating
> addresses higher than this initial value and will never come back and
> fill some parts of this gap. Therefore "wasting" this space.

Have you actually verified that space is wasted?  Note that the default
for malloc is "DM", which lets malloc use both break- and mmap-based
memory.  Depending on the libc version, one or the other will be
preferred, but both will be used if necessary.  Also, unless you have
tuned your kernel, you may only be able to allocate 512MB of memory via
break() (the kern.maxdsize tunable lets you adjust this).  Here's what
I get with a simple test program on a month-old 7.1-PRE (before the
preference got switched to mmap):

$ MALLOC_OPTIONS=Dm ./malloctest
Malloced 535822336 bytes. First: 0x808, Last: 0x27e8
$ MALLOC_OPTIONS=dM ./malloctest
Malloced 2542796800 bytes. First: 0x2820, Last: 0xbfa0
$ MALLOC_OPTIONS=DM ./malloctest
Malloced 3078619136 bytes. First: 0x808, Last: 0xbfa0
$ ./malloctest
Malloced 3078619136 bytes. First: 0x808, Last: 0xbfa0

So using only break(), I can allocate 511 MB.  Using only mmap(), I can
allocate 2.36 GB.  Using both (the default) I can allocate 2.86 GB.

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

any way to turn a pdf file into something OCR-able?

2008-12-01 Thread Gary Kline

Guys,

pdftotext fail on the large [32MB] file I've got.  Is there any other 
way I
can translate this huge textfile to ascii or html or text?

thanks,

gary


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Date/time installed ports have been updated on a system?

2008-12-01 Thread Chris Whitehouse

Robert Huff wrote:

RW writes:


 > Is there any way to determine when upgrades to installed ports have
 > been done on a system? I did a "portupgrade -arR" recently and want to
 > know which ports have been upgraded in that process (and no I didn't
 > run that portupgrade under "script"...)
 
 pkg_glob(1) can show package installed before or after either a time

 or a particular port.


One can also send the output to a file, and grep your chosen
ports or use "tail -f".
I do not recommend doing this with "portupgrade -a" unless you
know the list will be fairly short.  (Imagine rebuilding OpenOffice,
KDE, Java, FireFox, )



For future upgrades, portmanager (ports-mgmt/portmanager) will log if 
you tell it to, alternatively you can make it tell you what ports need 
updating and why, without actually upgrading anything.


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


Re: Why process memory starts so high up in virtual space with FreeBSD malloc?

2008-12-01 Thread Yuri

Giorgos Keramidas wrote:

The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to
obtain memory from the system.  It does not 'waste a high percentage of
memory' but it simply maps only high addresses (with an unmapped 'hole'
in lower addresses).
  


But the hole it leaves with MALLOC_OPTIONS='dM'  is way larger than the
one left by 'Dm' option. Usually malloc will keep allocating addresses 
higher
than this initial value and will never come back and fill some parts of 
this gap.

Therefore "wasting" this space.

Yuri


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


Re: Why process memory starts so high up in virtual space with FreeBSD malloc?

2008-12-01 Thread Giorgos Keramidas
On Mon, 01 Dec 2008 13:28:48 -0800, Yuri <[EMAIL PROTECTED]> wrote:
> I am compiling the following program:
>
> #include 
> main() { printf("0x%x\n", malloc(1)); }

You should probably use printf("%p", ptr) to print pointers :)

> in 32-bit 7.1-PRERELEASE and get 0x28201100 which is ~673MB of 4GB
> address space or 16%.
>
> When I run the same program with the google malloc (from
> devel/google-perftools)
> I get much lower value 0x80aa0e8 which is ~135MB of 4GB address space or
> ~3%.
>
> Why FreeBSD memory allocator wastes such a high percentage of the
> memory space?

The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to
obtain memory from the system.  It does not 'waste a high percentage of
memory' but it simply maps only high addresses (with an unmapped 'hole'
in lower addresses).

You can tune FreeBSD malloc(3) to prefer either sbrk() or mmap() by
setting the 'D' and 'M' malloc options.  The following program prints
different initial allocation results when these two malloc() options are
configured differently:

% cat -n foo.c
 1  #include 
 2  #include 
 3
 4  int
 5  main(void)
 6  {
 7  char *p;
 8
 9  p = malloc(1);
10  if (p == NULL)
11  return EXIT_FAILURE;
12
13  printf("%p\n", malloc(1));
14  free(p);
15  return EXIT_SUCCESS;
16  }
%

For example:

% env MALLOC_OPTIONS='Dm' ./foo
0x8101102
% env MALLOC_OPTIONS='dM' ./foo
0x28201102
%

More details about the 'D', 'M' and other malloc() options should be
available in the manpage for your release.

- Giorgos

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


Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-01 Thread Brett Davidson

Ian Smith wrote:

On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson <[EMAIL PROTECTED]> wrote:

 > ifconfig shows the alias addresses correctly bound.
 > Creating an ipfw rule and testing it from the command line works 
 > (connects out from master address, not alias)
 > 
 >  From website on alias address, the firewall blocks the packets.

 >
 > The weird thing is that it tags them (in the security log) as coming 
 > from the master address (not the alias) out the correct interface. In a 
 > normal world that would mean the packet would match!
 > 
 > What's goin' on here Willis?


Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least 
the relevant firewall rule/s and d) log entries that illustrate your 
problem.  Obscure sensitive information by all means, but otherwise 
pretend we haven't the slightest clue how your system is configured :)


cheers, Ian


  

Fair enough.

ifconfig below:

bce1: flags=8843 mtu 1500
  options=3b
  inet 210.5.50.5 netmask 0xffe0 broadcast 210.5.50.31
  inet 210.5.51.32 netmask 0x broadcast 210.5.51.32
  inet 210.5.51.27 netmask 0x broadcast 210.5.51.27
  inet 210.5.51.33 netmask 0x broadcast 210.5.51.33
  inet 210.5.51.34 netmask 0x broadcast 210.5.51.34
  inet 210.5.51.42 netmask 0x broadcast 210.5.51.42
  inet 210.5.51.4 netmask 0x broadcast 210.5.51.4
  ether 00:1c:c4:c0:56:94
  media: Ethernet autoselect (1000baseSX )
  status: active

Relevant /etc/rc.conf entries :
ifconfig_bce1="inet 210.5.50.5  netmask 255.255.255.224"
ifconfig_bce1_alias0="inet 210.5.50.5 netmask 255.255.255.224"
ifconfig_bce1_alias1="inet 210.5.51.4 netmask 255.255.255.255"
ifconfig_bce1_alias2="inet 210.5.51.27 netmask 255.255.255.255"
ifconfig_bce1_alias3="inet 210.5.51.32 netmask 255.255.255.255"
ifconfig_bce1_alias4="inet 210.5.51.33 netmask 255.255.255.255"
ifconfig_bce1_alias5="inet 210.5.51.34 netmask 255.255.255.255"
ifconfig_bce1_alias6="inet 210.5.51.42 netmask 255.255.255.255"

Relevant ipfw rules :
ipfw -q add 02012 allow tcp from any to 208.69.123.164 80 out via bce1 
setup keep-state
ipfw -q add 02012 allow tcp from any to 208.69.123.164 443 out via bce1 
setup keep-state


Interesting entries in /var/log/security :
Dec  1 16:42:25  kernel: ipfw:  Deny TCP 
210.5.50.5:49708 208.69.123.164:80 out via bce1


What makes this interesting is that I can connect to that port via the 
command line.


It's the website that lives on 210.5.51.42 that is having problems. Why, 
if the rule is valid enough for the command line is it having problems 
from an aliased address?
This MUST have something to do with the way ipfw is working with aliased 
addresses but I'm blowed if I know what is wrong.


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


please confirm - possible bug in isc-dhcpd?

2008-12-01 Thread Roger Olofsson

Dear mailing list,

7.1-PRERELEASE
isc-dhcp30-server-3.0.7_3

When configuring failover and using FQDN instead of ip address, 
isc-dhcpd says failover peer can't find address. It does however start 
and will not, of course, work properly.


The behaviour is that the very first client might get address but none 
after that one - causing alot of confusion.


The workaround - use ip addresses in dhcpd.conf when configuring 
failover peer.


Can anyone confirm this behaviour? Is it a bug? The man page shows an 
example where FQDNs are being used


If it is a bug, where do I report it?

Greetings

/Roger

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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread dick hoogendijk
On Mon, 1 Dec 2008 22:26:04 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> it simply wastes RAM and CPU power. same thing takes 10-20 times more
> CPU that with UFS

ZFS does things that UFS is not capable of. These (bloathware) things
cost memory indeed. But that memory is certainly not wasted.

I also know you cannot be convinced, because you lowe ZFS.
 
> even if it has some features you may consider nice, it's not worth 
> using bloatware.
> 
> Bloatware should be ALWAYS avoided no matter how fast your hardware
> is and how much RAM do you have.

True, except ZFS is a big winner and no bloatware. And although you are
pretty stubborn in this matter, I still say this ;-)
ZFS is here to stay. Given the fact it's not quite mature (yet); it is
still under heavy development, but it is also stable enough for rock
solid Solaris 10 servers with ZFS. (and NO, this is not all on Sun
hardware).

I for one will never go back to filesystems like UFS/UFS2.
My data is quite safe on ZFS; my systems are fast; backups are a snap
with snapshots; the list of PROs is long, very long (and all this for a
still young filesystem...)

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv103 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Why process memory starts so high up in virtual space with FreeBSD malloc?

2008-12-01 Thread Yuri

I am compiling the following program:

#include 
main() { printf("0x%x\n", malloc(1)); }

in 32-bit 7.1-PRERELEASE and get 0x28201100 which is ~673MB of 4GB 
address space or 16%.


When I run the same program with the google malloc (from 
devel/google-perftools)
I get much lower value 0x80aa0e8 which is ~135MB of 4GB address space or 
~3%.


Why FreeBSD memory allocator wastes such a high percentage of the memory 
space?


Yuri

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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Wojciech Puchar



UFS is excellent. your problem is that you like to have "lots of
filesystems". why don't just make one or one per disk?


For all the usual reasons: faster fsck, ability to set attributes on each
filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause
problems in /var, etc.


i don't have such problems, ordinary users have quotas... (one as there's 
one filesystem).



A big local reason is that Amanda is much easier to configure when you're using
a bunch of filesystems because it runs tar with --one-file-system set.  If /var
is separate from / and I want to back them up separately, I just tell Amanda
to dump / and /var.  If /var is part of / then I have to say "dump / except
for /var (and /tmp and /usr and ...)".


what i problem to do this?


tell me what's your needs and how many/what disks you have.


Right now I have a 750GB (with another on order) and a 320GB.  The box is a
multi-purpose home server with mail, several websites, and a bunch of local
file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage).


so make system and userdata except huge files on 320GB, and make gstripe 
of 750GB disks to store huge files.


two filesystems.




UFS is best-performer on real load, runs on almost no RAM, but uses more
if available for caching.


That's my main beef with ZFS at the moment.  I don't mind if it uses a lot of
RAM - that's what I bought it for! - but that it doesn't seem to use it
effectively (at least on my workload).


it simply wastes RAM and CPU power. same thing takes 10-20 times more CPU 
that with UFS, where CPU load is close to unnoticable.


even if it has some features you may consider nice, it's not worth 
using bloatware.


Bloatware should be ALWAYS avoided no matter how fast your hardware is and 
how much RAM do you have.

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


Re: how to choose default ip on ethernet interface

2008-12-01 Thread Wojciech Puchar

   inet 127.0.0.1 netmask 0xff00
defaultrouter="192.168.0.1"

All ip work, but by default outgoing system use 192.168.0.70


outgoing IP is chosen so it's on the same network as default router, if 
many are - first from list.



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


how to choose default ip on ethernet interface

2008-12-01 Thread oim
Hello!

OS: FreeBSD 6.3 R

ifconfig 
bge0: flags=8843 mtu 1500
options=1b
inet 192.168.0.70 netmask 0xfe00 broadcast 192.168.0.255
inet 10.10.10.37 netmask 0xfffc broadcast 10.10.10.39
inet 10.10.10.38 netmask 0xfffc broadcast 10.10.10.39
ether 00:21:5a:d4:fd:ba
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
defaultrouter="192.168.0.1"

All ip work, but by default outgoing system use 192.168.0.70
How can i make by default this ip 10.10.10.37 ?

Please...

Thanks, With best regards Evgeny Parkhomenko
[EMAIL PROTECTED]

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


Re: Page Fault.

2008-12-01 Thread Keith
On Mon, 1 Dec 2008, Mel wrote:

|->On Monday 01 December 2008 19:32:59 Keith wrote:
|->>
|->> ==
|->> kernel trap 12 with interrupts disabled
|->>
|->> Fatal trap 12: page fault while in kernel mode
|->> cpuid = 2; apic id = 02
|->> fault virtual address   = 0x104
|->> fault code  = supervisor read, page not present
|->> instruction pointer = 0x20:0xc066ca51
|->> stack pointer   = 0x28:0xe6ec0c90
|->> frame pointer   = 0x28:0xe6ec0c9c
|->> code segment= base 0x0, limit 0xf, type 0x1b
|->> = DPL 0, pres 1, def32 1, gran 1
|->> processor eflags= resume, IOPL = 0
|->> current process = 9 (thread taskq)
|->> trap number = 12
|->> panic: page fault
|->> Uptime: 6d6h23m45s
|->> #0  doadump () at pcpu.h:165
|->> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
|->> 
|->>
|->frame 0 useless. You need the frame after calltrap().
|->And:
|->
|->> instruction pointer = 0x20:0xc066ca51
|->list *0xc066ca51
|->
|->Generally a bt will show the needed information.
|->Likely cause: file system corruption, caused by background_fsck, but a
|->backtrace should show more.

Ok, so how does one fix corruption if that is the case? Here is a
backtrace, but means nothing to me unfortunately.

(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc067582a in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0675b51 in panic (fmt=0xc08f090b "%s") at
../../../kern/kern_shutdown.c:565

#3  0xc0899f1c in trap_fatal (frame=0xe6ec0c50, eva=260) at
../../../i386/i386/trap.c:837

#4  0xc089968e in trap (frame={tf_fs = 8, tf_es = -920256472, tf_ds =
-420741080, tf_edi = -936184704, tf_esi = 4, tf_ebp = -420737892, tf_isp
= -420737924, tf_ebx = -920236452, tf_edx = 6, tf_ecx = -936306488, tf_eax = 1, 
tf_trapno = 12,
tf_err = 0, tf_eip = -1067005359, tf_cs = 32, tf_eflags = 65538, tf_esp =
-930065784, tf_ss = 4}) at ../../../i386/i386/trap.c:270

#5  0xc08859ca in calltrap () at ../../../i386/i386/exception.s:139

#6  0xc066ca51 in _mtx_lock_sleep (m=0xc9264e5c, tid=3358782592, opts=0,
file=0x0, line=0) at ../../../kern/kern_mutex.c:546

#7  0xc06bbdb6 in unp_gc (arg=0x0, pending=1) at
../../../kern/uipc_usrreq.c:1714

#8  0xc06964d3 in taskqueue_run (queue=0xc843fa80) at
../../../kern/subr_taskqueue.c:257

#9  0xc06969b6 in taskqueue_thread_loop (arg=0x1) at
../../../kern/subr_taskqueue.c:376

#10 0xc065ef6d in fork_exit (callout=0xc0696924 ,
arg=0xc09f1d28, frame=0xe6ec0d38) at ../../../kern/kern_fork.c:821

#11 0xc0885a2c in fork_trampoline () at ../../../i386/i386/exception.s:208


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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Ivan Voras
Kirk Strauser wrote:

> At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to 
> give up that easy addition of new filesystems.  I *could* have a single 700GB 
> root FS but that just doesn't seem right.  Are there any good, tested GEOM-
> based ways of getting that functionality, perhaps along the lines of using 
> something like gvirstor and growfs as needed?

There's nothing as convenient as ZFS (really... anywhere) :( .

I'm still hoping someone will sponsor development or porting of a widely
used journalling file system like XFS, JFS, even ext3/4 to FreeBSD, but
in the meantime UFS2+SU isn't that bad. Practically the only way to
break it is if you have hardware errors that end up corrupting file
system data. The need to run full fsck occasionally (as opposed to the
softupdates-assisted one) is annoying but 700 GB should be manageable
with 3-4 GB of memory. The softupdates-assisted fsck actually works very
well in all but the heaviest loads (i.e. when the server is swamped by
requests immediately after booting).

You could also try gjournal but benchmark and test it first for your
workload.

gvirstor is a theoretically good option if you need its specific
functionality, only be doubly sure to benchmark it for your specific
workload as it has some /unusual/ performance characteristics.



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD and hardware??

2008-12-01 Thread dick hoogendijk
On Mon, 1 Dec 2008 19:39:39 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> there is no sense of buying Sun hardware. they make excellent
> hardware but with more than "excellent" price

You are right about that. The quality is very high; prices are too.

> and their unix is damn slow compared to FreeBSD.

These kinds of personal (subjective) remarks are FUD if you don't
deliver the test results.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv103 ++
+ All that's really worth doing is what we do for others (Lewis Carrol)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Kirk Strauser
On Monday 01 December 2008 13:24:48 Valentin Bud wrote:
> On Mon, Dec 1, 2008 at 5:59 PM, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> >  It has a lot of really cool other features that I will probably never
> > need.

> then you don't need ZFS. usually you choose a technology because you need
> it. if you don't need it then you don't use it. pure simple.

Well, there are always external considerations: when my boss asks me about it, 
it'll be nice to have personal experience.  I deploy a lot of stuff at home 
with an eye toward trying it at work down the road.

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


Re: RAID5 on FreeBSD 6 or 7

2008-12-01 Thread Ivan Voras
Wojciech Puchar wrote:

>> fast, though. See it's page on Wikipedia for more info. I'd use it
>> more if it
>> was part of official FreeBSD release, but for now it is only available
>> as a
>> patch (AFAIK).
> 
> which is strange. someone don't like RAID5 to be included in system?

I'd like to see graid5 in the base system but I'm also one of those who
sort-of held it back from being imported, at least by inaction. The
reasons are:

a) Last time there was discussion about including it (it's available
somewhere in the freebsd-geom list archives) an issue was raised about
its over-aggressive use of caching that is turned *on* by default. IIRC
it's also likely that the design of the current code doesn't allow
turning it off. I suppose this is what makes it fast but the concerns
for data stability / corruption are real and not imaginary.
b) It was developed by a non-developer. This in itself says nothing
about the quality or the lack of quality of the code and is technically
irrelevant but there are couple of organizational issues:
1) it needs someone to look after it when it's imported
2) it needs to conform to the style and code layout rules of the project

I can't find the patch right now so I can't say for sure what is its
state now. I believe that if issues a) and b.2) are solved there would
be no problems or objections in importing it.

(It could be said that ZFS makes it obsolete, but it's not so -
lightweight RAID and file systems will always have their use).



signature.asc
Description: OpenPGP digital signature


Re: Page Fault.

2008-12-01 Thread Mel
On Monday 01 December 2008 19:32:59 Keith wrote:
> Have a machine, Dell dual CPU/quad core Xeon. Runs FBSD 6.2.
> Custom kernel, with IPFW compiled in and using SMP.
>
> FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 23
> 12:17:29 PST 2008
>
> It runs, Dovecot, Postfix, Mysql, Apache. Standard email stuff. Put into
> production in March, ran perfect until July 29th when it rebooted by
> itself.
>
> It rebooted 2 more times in the last few months on its own. But in the
> last 6 weeks it has become a weekly occurance, with uptime no more than
> 6-7 days at most.
>
> The last 2 times I have cores and have run kgdb on them. Both vmcore's
> show the same things. Same pointers etc, the only difference is what the
> cpuid was at the time.
>
> ==
> kernel trap 12 with interrupts disabled
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 2; apic id = 02
> fault virtual address   = 0x104
> fault code  = supervisor read, page not present
> instruction pointer = 0x20:0xc066ca51
> stack pointer   = 0x28:0xe6ec0c90
> frame pointer   = 0x28:0xe6ec0c9c
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags= resume, IOPL = 0
> current process = 9 (thread taskq)
> trap number = 12
> panic: page fault
> cpuid = 2
> Uptime: 6d6h23m45s
> Dumping 3327 MB (2 chunks)
>   chunk 0: 1MB (159 pages) ... ok
>   chunk 1: 3327MB (851624 pages) 3311 3295 3279 3263 3247 3231 3215 3199
> 3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959
> 2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719
> 2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479
> 2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239
> 2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999
> 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759
> 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519
> 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279
> 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039
> 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751
> 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463
> 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175
> 159 143 127 111 95 79 63 47 31 15
>
> #0  doadump () at pcpu.h:165
> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> 
>
> What might be the cause for this? It is the in the same place every time.
> Once the machine hung and had to be powercycled. But on the screen was the
> same page fault error on the same process.
>

frame 0 useless. You need the frame after calltrap().
And:

> instruction pointer = 0x20:0xc066ca51
list *0xc066ca51

Generally a bt will show the needed information.
Likely cause: file system corruption, caused by background_fsck, but a 
backtrace should show more.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Valentin Bud
On Mon, Dec 1, 2008 at 5:59 PM, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things,
> in general I'm a bit underwhelmed.
>
> PROS:
>
>  Adding new filesystems on a whim is really nice.

yes it is.

>
>  It has a lot of really cool other features that I will probably never need.

then you don't need ZFS. usually you choose a technology because you need
it. if you don't need it then you don't use it. pure simple.

>
> CONS:
>
>  I have nearly 3GB of wired RAM, but it doesn't seem to be all that fast.
> For example, starting an Amanda backup on a UFS2 filesystem would get through
> the "estimate" phase almost instantly on a system that had been up for several
> days because of cached filesystem data.  On ZFS, it still limps along even if 
> I
> just finished the last backup a few minutes earlier.

it's all about compromises. uses lots of ram *but* gives you the
ability to add new filesystems
on the run.

and after all it's all about choices.

v

>
>  Other than saying "I'm using ZFS", I don't seem to have much to show for it.
>
> WTF:
>
>  "Raidz  and  top-level vdevs cannot be removed from a pool."
>
>
> At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to
> give up that easy addition of new filesystems.  I *could* have a single 700GB
> root FS but that just doesn't seem right.  Are there any good, tested GEOM-
> based ways of getting that functionality, perhaps along the lines of using
> something like gvirstor and growfs as needed?
>
> - Kirk
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pasting via ssh causes data loss

2008-12-01 Thread Eugene Pimenov


On 1 дек, 15:52, Mel <[EMAIL PROTECTED]> wrote:
> On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote:
>
> inetd:
> $ grep telnet /etc/inetd.conf
> #telnet stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd
> #telnet stream  tcp6    nowait  root    /usr/libexec/telnetd    telnetd
>
> Quick setup:
> remove appropreate hashmark above
> /etc/rc.d/inetd onestart

It works :( All 6060 bytes are saved.

>
> > I tried ssh -vvv, nothing between connect and disconnect.
>
> > It's definitely not an EOF. It just loses some part of data, doesn't
> > stop receiving after some point.
>
> Where does it get lost? Meaning, does it get over the wire? Hard to check
> encrypted, but a 3k diff should show up in number of the IP packets sent. Is
> it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the
> receiving end?

I'm on Mac OS X, so tcpdumps:

I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq
freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w
I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq
linux to me  http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw

However, I'm not sure it's helpful. I mean you can't look inside a
packet, because it was encrypted. Headers and packet size depends on
many factors. For example, if you compare linux and freebsd tcpdumps
here, you'll see that freebsd ignore packet's checksums and linux has
tcp timestamps turned off, and so on.


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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Kirk Strauser
On Monday 01 December 2008 11:49:46 Wojciech Puchar wrote:

> UFS is excellent. your problem is that you like to have "lots of
> filesystems". why don't just make one or one per disk?

For all the usual reasons: faster fsck, ability to set attributes on each 
filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause 
problems in /var, etc.

A big local reason is that Amanda is much easier to configure when you're using 
a bunch of filesystems because it runs tar with --one-file-system set.  If /var 
is separate from / and I want to back them up separately, I just tell Amanda 
to dump / and /var.  If /var is part of / then I have to say "dump / except 
for /var (and /tmp and /usr and ...)".

> i have one per disk/mirror configuration everywhere except one place where
> i made separate filesystem for /var/spool/squid for some reasons.

Oh, there are definitely advantages to that setup.  It just complicates certain 
admin functions (see above).  With something like ZFS that makes creating new 
filesystems trivially easy, they're nice to use.

> tell me what's your needs and how many/what disks you have.

Right now I have a 750GB (with another on order) and a 320GB.  The box is a 
multi-purpose home server with mail, several websites, and a bunch of local 
file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage).

> UFS is best-performer on real load, runs on almost no RAM, but uses more
> if available for caching.

That's my main beef with ZFS at the moment.  I don't mind if it uses a lot of 
RAM - that's what I bought it for! - but that it doesn't seem to use it 
effectively (at least on my workload).

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


Re: Noisy mouse

2008-12-01 Thread Polytropon
On Mon, 01 Dec 2008 08:40:57 -0500, Bryant Eadon <[EMAIL PROTECTED]> wrote:
> I've actually had this happen before.  Somewhere along the line either :
>1.  your audio and mouse/keyboard cables are coming into close proximity 
> to 
> one another.
>or
>2.  Your mouse/kb cable is very close to a specific speaker.

Number 2 is untypical. Using headphones or external speakers,
even an external (and distant) amplifier with speakers leads
to the same observation.

As it has mentioned before, this seems to be an effect of 
interferences either in the area of the connection cables
or within the computer (AF signal processing and amplification
gets interference signals from keyboard / mouse connections).



> The solution is to move your mouse cable away from your speakers/cables. 

But not if the problem is within the computer (read: the mainboard
and the expansion cards).



> I 
> guess you could shield it if you can't move it.   Tinfoil around only the one 
> cable at close proximity sections should do the trick.

Or the use of home-made shielded cables. :-)




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Page Fault.

2008-12-01 Thread Keith

Have a machine, Dell dual CPU/quad core Xeon. Runs FBSD 6.2.
Custom kernel, with IPFW compiled in and using SMP.

FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 23
12:17:29 PST 2008

It runs, Dovecot, Postfix, Mysql, Apache. Standard email stuff. Put into
production in March, ran perfect until July 29th when it rebooted by
itself.

It rebooted 2 more times in the last few months on its own. But in the
last 6 weeks it has become a weekly occurance, with uptime no more than
6-7 days at most.

The last 2 times I have cores and have run kgdb on them. Both vmcore's
show the same things. Same pointers etc, the only difference is what the
cpuid was at the time.

==
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x104
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc066ca51
stack pointer   = 0x28:0xe6ec0c90
frame pointer   = 0x28:0xe6ec0c9c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 9 (thread taskq)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 6d6h23m45s
Dumping 3327 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 3327MB (851624 pages) 3311 3295 3279 3263 3247 3231 3215 3199
3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959
2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719
2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479
2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239
2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999
1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759
1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519
1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279
1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039
1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751
735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463
447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175
159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));


What might be the cause for this? It is the in the same place every time.
Once the machine hung and had to be powercycled. But on the screen was the
same page fault error on the same process.

Is this flaky hardware?

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


RE: FreeBSD and hardware??

2008-12-01 Thread Wojciech Puchar

This
shows more than a marginal increase in "market share". It suggests that
Sun and others have good reason to be nervous about their future
prospects,
and need to find new ways to make money.


there is no sense of buying Sun hardware. they make excellent hardware but 
with more than "excellent" price, and their unix is damn slow compared to 
FreeBSD.






On the other hand, both Unix and Linux have a long way to go before they
can match Microsoft's ease of use on the GUI. I believe the best way


unix is not windows replacements. all of these GUI overlays for which that 
much noise is heard are not just overlays, but are poorly designed even 
more poorly than windows.


Windows is poorly designed too but at least it's somehow complete.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

Oldie @ 1 GHz? You must be joking. I'd bite my hand off for
such hardware. :-)


No need. Get a job at a computer service store, like my fiancee. You will get
orphans donated in the 2-3Ghz range "just as long as my data is transfered to
the new computer". ;)


looks like such services on your area are most costly that good computers. 
funny but possible.

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


RE: FreeBSD and hardware??

2008-12-01 Thread Bob McConnell
On Behalf Of Chad Perrin
> On Thu, Nov 20, 2008 at 04:53:03PM +,
> [EMAIL PROTECTED] wrote:
>> Your assertion that "linux is both low end unix and low end windows
>> replacement" is factually wrong: As a high end unix I think it's
>> earned it's stripes, currently dominating the top 500 supercomputer
>> systems in the world, some no other unix has managed to accomplish
>> this time round. Notably, when compared to freebsd it offers support
>> for virtualisation where bsd is nowhere close to doing, just one
>> example of high end unix feature it provides. As a gui desktop,
>> I'm certain kde is a superior interface to windows in many ways.

> While I agree that, without some kind of supporting argument, the
> statement that Linux systems are "low end" Unix replacements are kind
of
> spurious sounding, I don't think that market share is really an
effective
> metric for determination of the quality of a replacement for a given
> class of OS.

I believe that he forgot to reference this article from ServerWatch.
This
shows more than a marginal increase in "market share". It suggests that
Sun and others have good reason to be nervous about their future
prospects,
and need to find new ways to make money.



On the other hand, both Unix and Linux have a long way to go before they
can match Microsoft's ease of use on the GUI. I believe the best way
to attack that problem is to find a new paradigm to replace the desktop,
which is not a great interface model to begin with.

Bob McConnell


If a messy desk is the sign of a cluttered mind, what is an empty desk
the sign of?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Robert Fitzpatrick
On Mon, 2008-12-01 at 19:06 +0100, Mel wrote:
> > Thanks for the ideas from everyone. I was doing a portinstall of
> > nss_ldap and pam_ldap. I went ahead and used the -k option and all in
> > and working now. I also received the error when installing samba, I'm
> > sure would for every LDAP dependent port if memory serves. This always
> > bites me, I have uninstalled/reinstalled ports in the past and fiddled
> > with things to get it all working, but nowadays I am more
> > knowledgeable/comfortable using force options with the port utilities.
> 
> It's not working, it's masking the real error, which is either in portupgrade 
> or /usr/ports/Mk/bsd.ldap.mk.

Ah, looks like I need WANT_OPENLDAP_SASL :/

-- 
Robert

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


Re: FreeBSD 4.8: can't load kernel after doing "cp -R /" to another disk

2008-12-01 Thread admin

Tijl Coosemans wrote:

On Sunday 30 November 2008 06:57:29 [EMAIL PROTECTED] wrote:

Hello, everyone. This is the problem: our SCSI disk with FreeBSD
4.8 on it has been failing recently, so I copied its root partition
to a fresh IDE disk with cp -pR and

You should use dump and restore to copy the root partition, see:

I'd done that before trying cp -pR, as outlined by rse@:

dump -L -0 -f- /old | (cd /new && restore -r -v -f-)
http://people.freebsd.org/~rse/mirror/

which isn't too different. I think I know what the problem is: I made
the new single slice and FreeBSD partition on it and ran newfs -U on
it using the latest FreeBSD 5.x livecd toolkit, and later 4.8 can't
even mount that partition (mount /dev/ad0s1a /mnt) failing with
"incorrect superblock", so I think its /boot/loader can't load the
kernel because of FS issues (but strangely enough pressing "?" at the
boot loader prompt lists directory entries of the root FS just fine).
It turns out UFS isn't upwards compatible from releases 4.8 -> 5.5.
I'll try running newfs -U from 4.8. Last time I checked many 4.8
binaries couldn't run due to disk errors, I hope newfs runs ok...


You need to create a UFS1 file system.


Thanks a lot, I had forgotten about different UFS versions being used, 
and loader's showing the list of files when pressing "?" only poured 
more oil on the fire. This was really it.

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


Re: RAID5 on FreeBSD 6 or 7

2008-12-01 Thread Wojciech Puchar

However, as I said, gvinum is slow. I also run graid5 and some say it is pretty


same for me. it works and works fast.

but still - small writes WILL be slow as it's RAID5
because of this i don't have much uses for it, as in most cases today
drive's capacities are much larger than amount of data that has to be 
protected.


so i use gmirror most often


stable. I've been running it for a year on a non-production server and it works
for me, but haven't seen it in action, when a drive fails or something. It is


simply disconnect one drive to test.


fast, though. See it's page on Wikipedia for more info. I'd use it more if it
was part of official FreeBSD release, but for now it is only available as a
patch (AFAIK).


which is strange. someone don't like RAID5 to be included in system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID5 on FreeBSD 6 or 7

2008-12-01 Thread Nejc Skoberne
Hey Peter,

> Is it vinum or gvinum (geom8) that is the utility to create a RAID5 volume..?
> Things like that gvinum lacks the 'stop' command etc.. makes me think
> that it's not production ready or that the source code has not matured enough.

actually gvinum is production-ready, it only doesn't implement all the features 
of
vinum. I've been using since 2006 and it works, but it is slow. I just played
with it this weekend again, you can check
http://nejc.skoberne.net/2008/11/gmirror-and-gvinum-on-the-same-drives/.

However, as I said, gvinum is slow. I also run graid5 and some say it is pretty
stable. I've been running it for a year on a non-production server and it works
for me, but haven't seen it in action, when a drive fails or something. It is
fast, though. See it's page on Wikipedia for more info. I'd use it more if it
was part of official FreeBSD release, but for now it is only available as a
patch (AFAIK).

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


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Mel
On Monday 01 December 2008 18:14:20 Robert Fitzpatrick wrote:
> On Mon, 2008-12-01 at 16:34 +0100, Mel wrote:
> > On Monday 01 December 2008 15:48:13 Jerry wrote:
> > > >failed packages (-:ignored / *:skipped / !:failed)
> > > > ! net/openldap24-client (install error)
> > > > * net/nss_ldap
> > > > * security/pam_ldap
> >
> > ^ portupgrade
> >
> > > I am assuming that you are attempting to install the port(s) manually.
> > > Have you tried using a port management tool like 'portmanager' or
> > > 'portupgrade' to handle the task.
> >
> > It's likely it's caused by portupgrade, but won't be able to tell till
> > the output from net/nss_ldap build.
>
> Thanks for the ideas from everyone. I was doing a portinstall of
> nss_ldap and pam_ldap. I went ahead and used the -k option and all in
> and working now. I also received the error when installing samba, I'm
> sure would for every LDAP dependent port if memory serves. This always
> bites me, I have uninstalled/reinstalled ports in the past and fiddled
> with things to get it all working, but nowadays I am more
> knowledgeable/comfortable using force options with the port utilities.

It's not working, it's masking the real error, which is either in portupgrade 
or /usr/ports/Mk/bsd.ldap.mk.
Normally, you get this error, when a port's Makefile specifies it depends 
on "something", but that "something" isn't installed by the port, which means 
the "is this dependency installed" check always fails.

For me, it works:
# ls /var/db/pkg/|grep ldap
openldap-sasl-client-2.4.11
openldap-sasl-server-2.4.11_2
# make -C /usr/ports/net/nss_ldap lib-depends
===>   nss_ldap-1.257 depends on shared library: ldap-2.4.3 - found


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Samba, WinVista and Roaming Profiles

2008-12-01 Thread Peter Ulrich Kruppa

Hello,

I hope my question isn't too off-topic for this list, but usually 
some people come up with good ideas ...


We have got a FreeBSD Samba Server (set up as PDC) and about 100 
WinXP desktops and laptops. The WinXP machines can log into the 
network, connect to home directories and shares and download 
(roaming) profiles. Everything works fine with them.


Now we have purchased 2 new WinVista desktops. Login and shares 
work all right, but they can't download the profiles. They will 
deliver an error message saying they lack appropriate permissions.


Any idea what is happening there?

Thanks for your help and greetings,

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


Re: Disenchanted with ZFS; alternatives?

2008-12-01 Thread Wojciech Puchar



I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things,
in general I'm a bit underwhelmed.


UFS is excellent. your problem is that you like to have "lots of 
filesystems". why don't just make one or one per disk?


i have one per disk/mirror configuration everywhere except one place where 
i made separate filesystem for /var/spool/squid for some reasons.


tell me what's your needs and how many/what disks you have.

UFS is best-performer on real load, runs on almost no RAM, but uses more 
if available for caching.


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


Re: Date/time installed ports have been updated on a system?

2008-12-01 Thread Robert Huff
RW writes:

>  > Is there any way to determine when upgrades to installed ports have
>  > been done on a system? I did a "portupgrade -arR" recently and want to
>  > know which ports have been upgraded in that process (and no I didn't
>  > run that portupgrade under "script"...)
>  
>  pkg_glob(1) can show package installed before or after either a time
>  or a particular port.

One can also send the output to a file, and grep your chosen
ports or use "tail -f".
I do not recommend doing this with "portupgrade -a" unless you
know the list will be fairly short.  (Imagine rebuilding OpenOffice,
KDE, Java, FireFox, )


Robert Huff

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


Re: Date/time installed ports have been updated on a system?

2008-12-01 Thread RW
On Mon, 1 Dec 2008 16:12:49 +0100
Ewald Jenisch <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Is there any way to determine when upgrades to installed ports have
> been done on a system? I did a "portupgrade -arR" recently and want to
> know which ports have been upgraded in that process (and no I didn't
> run that portupgrade under "script"...)

pkg_glob(1) can show package installed before or after either a time
or a particular port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Robert Fitzpatrick
On Mon, 2008-12-01 at 16:34 +0100, Mel wrote: 
> On Monday 01 December 2008 15:48:13 Jerry wrote:
> 
> > >failed packages (-:ignored / *:skipped / !:failed)
> > >   ! net/openldap24-client (install error)
> > >   * net/nss_ldap
> > >   * security/pam_ldap
> 
> ^ portupgrade
> >
> > I am assuming that you are attempting to install the port(s) manually.
> > Have you tried using a port management tool like 'portmanager' or
> > 'portupgrade' to handle the task.
> 
> It's likely it's caused by portupgrade, but won't be able to tell till the 
> output from net/nss_ldap build.
> 

Thanks for the ideas from everyone. I was doing a portinstall of
nss_ldap and pam_ldap. I went ahead and used the -k option and all in
and working now. I also received the error when installing samba, I'm
sure would for every LDAP dependent port if memory serves. This always
bites me, I have uninstalled/reinstalled ports in the past and fiddled
with things to get it all working, but nowadays I am more
knowledgeable/comfortable using force options with the port utilities.

-- 
Robert

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


RAID5 on FreeBSD 6 or 7

2008-12-01 Thread Peter B

Is it vinum or gvinum (geom8) that is the utility to create a RAID5 volume..?
Things like that gvinum lacks the 'stop' command etc.. makes me think
that it's not production ready or that the source code has not matured enough.

   /P

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


Re: Problem about ppp -nat

2008-12-01 Thread Pongthep Kulkrisada
>  > # ppp -background isp
>  > Loading /lib/libalias_cuseeme.so
>  > Loading /lib/libalias_ftp.so
>  > Loading /lib/libalias_irc.so
>  > Loading /lib/libalias_nbt.so
>  > Loading /lib/libalias_pptp.so
>  > Loading /lib/libalias_skinny.so
>  > Loading /lib/libalias_smedia.so
> 
> I'm surprised ppp would load these unless -nat was specified somewhere?  
It is just ppp -background isp.

> I spent about 15 years debugging user problems with dialup modems; it 
> can be really difficult without first knowing the modem type and it's 
> internal config - however that doesn't seem to be your problem here.
Modem type... it is just a normal external serial modem.
Internal config... I don't know I lost its manual, sorry.

> That is, on connect it should then procede to authentication.  There's 
> no sign of that.  Whether failing at your end or the other is unclear;
> maybe logging LCP might provide more of a clue, but I'm not sure ..
I also don't know about this.

>  > At boot time ...
>  > Flush all rules.
>  > ipfw: unknown interface name tun0
>  > ipfw: getsockopt(IP_FW_ADD): Invalid argument
> 
> Hmm.  I have rules for natd via ng0, which also doesn't exist at boot, 
> without any such complaints, but that's on a 5.5-STABLE box.
> 
>  > 00100 check-state
>  > ...
>  > 
>  > After presence of tun0 (after dialing) ...
>  > # sh /etc/ipfw.rules
>  > Flush all rules.
>  > ipfw: ipfw_ctl invalid option 56
> 
> What's that about?  You haven't shown the rule that produced that ..
[EMAIL PROTECTED]:~# cat /etc/ipfw.rules
# Define the firewall command (as in /etc/rc.firewall) for easy
# reference. Helps to make it easier to read.
fwcmd="/sbin/ipfw"

# Define our outside interface. With userland-ppp this
# defaults to tun0. Or just define ethernet device.
oif="tun0"

# Force a flushing of the current rules before we reload.
$fwcmd -f flush

# Do NAT before check-state
$fwcmd nat 123 config if $oif log deny_in same_ports unreg_only reset
$fwcmd add nat 123 ip4 from any to any via $oif

# Check the state of all packets.
$fwcmd add check-state

# Allow all internal traffics, it is dangerous but just for testing.
$fwcmd add allow all from any to any via fxp0

# Allow IPv6 tunneling
$fwcmd add allow udp from any 3653 to any 3653 via $oif
$fwcmd add allow tcp from any 3653 to any 3653 via $oif
# The following line is for user-ppp.
$fwcmd add allow ipv6 from any to any via gif0
# The following line is for UDP encapsulation (machine behind NAT).
# $fwcmd add allow ipv6 from any to any via tun1

# Stop spoofing on the outside interface.
$fwcmd add deny ip from any to any in via $oif not verrevpath

# Allow all connections that we initiate, and keep their state.
# but deny established connections that don't have a dynamic rule.
$fwcmd add allow ip from me to any out via $oif keep-state
$fwcmd add deny tcp from any to any established in via $oif

# Allow all local traffic.
$fwcmd add allow all from any to any via lo0
$fwcmd add deny all from any to 127.0.0.0/8
$fwcmd add deny ip from 127.0.0.0/8 to any

# Allow internet users to connect to the port 21, 23 and 80.
# We specifically allow connections to the ftpd, telnetd and a webserver.
$fwcmd add allow tcp from any to me dst-port 21,23,80 in via $oif setup 
keep-state

# Allow ICMP packets: remove type 8 if you don't want your host
# to be pingable.
$fwcmd add allow icmp from any to any via $oif icmptypes 0,3,8,11,12

# Deny and log all the rest.
$fwcmd add deny log ip from any to any

>  > 5. Then insert these commands to /etc/ipfw.rules as the first two rules.
>  >/sbin/ipfw add divert natd all from any to any via tun0
>  >/sbin/ipfw add pass all from any to any
>  >then run the ipfw script to load the new rules.
>  >sh /etc/ipfw.rules
> 
> Which other rules?
Please see above.

>  > But I just can't pass step 3, unless I unload ipdivert.
> 
> And your ppp.conf or ppp command definitely doesn't mention -nat?
Not at all. As said above only ``ppp -background isp''.
/etc/rc.conf and /etc/ppp/ppp.conf do not store anything about -nat.

>  > Please don't suspect my system. It had just been very freshly 
>  > installed from CDs before I tried everything. And without ipdivert 
>  > being loaded into the kernel, I can dial and browse any sites and 
>  > very fast with my /etc/ppp/ppp.conf. Should note a bug?
> 
> Maybe it is.  I'm out of ideas anyway, and noone else has come forward.
I have been using *Unix for 7 years (2 years for linux and 5 years for 
FreeBSD). I haven't found such things. Even with noisy telephone line, I could 
always dial isp. (But link down sometimes, of course it is found everywhere.) I 
think it is a bug.

> Well I'm pretty sure you shouldn't load ipdivert as well as using ipfw 
> nat, but I've been almost 100% wrong so far so perhaps best ignore me :)
I may go on with ppp -nat, but when I have time.
I am always busy...
Lastly, thank you very much for your kind response.

Cheers,
Pongthep
___

Date/time installed ports have been updated on a system?

2008-12-01 Thread Ewald Jenisch
Hi,

Is there any way to determine when upgrades to installed ports have
been done on a system? I did a "portupgrade -arR" recently and want to
know which ports have been upgraded in that process (and no I didn't
run that portupgrade under "script"...)

Couldn't find an option to "pkg_info", "pkgdb" etc...

Thanks much in advance for any clue,
-ewald



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


Disenchanted with ZFS; alternatives?

2008-12-01 Thread Kirk Strauser
I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things, 
in general I'm a bit underwhelmed.

PROS:

  Adding new filesystems on a whim is really nice.

  It has a lot of really cool other features that I will probably never need.

CONS:

  I have nearly 3GB of wired RAM, but it doesn't seem to be all that fast.  
For example, starting an Amanda backup on a UFS2 filesystem would get through 
the "estimate" phase almost instantly on a system that had been up for several 
days because of cached filesystem data.  On ZFS, it still limps along even if I 
just finished the last backup a few minutes earlier.

  Other than saying "I'm using ZFS", I don't seem to have much to show for it.

WTF:

  "Raidz  and  top-level vdevs cannot be removed from a pool."


At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to 
give up that easy addition of new filesystems.  I *could* have a single 700GB 
root FS but that just doesn't seem right.  Are there any good, tested GEOM-
based ways of getting that functionality, perhaps along the lines of using 
something like gvirstor and growfs as needed?

- Kirk

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


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Mel
On Monday 01 December 2008 15:48:13 Jerry wrote:

> >failed packages (-:ignored / *:skipped / !:failed)
> > ! net/openldap24-client (install error)
> > * net/nss_ldap
> > * security/pam_ldap

^ portupgrade
>
> I am assuming that you are attempting to install the port(s) manually.
> Have you tried using a port management tool like 'portmanager' or
> 'portupgrade' to handle the task.

It's likely it's caused by portupgrade, but won't be able to tell till the 
output from net/nss_ldap build.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: documentation problem for times(3) man page

2008-12-01 Thread Giorgos Keramidas
On Mon, 01 Dec 2008 17:17:13 +0200,
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor Štujber" <[EMAIL PROTECTED]> wrote:
>> Hi. Half a year ago I started the following thread:
>> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html.
>
>> The subject was a documentation issue where a man page mismatched the
>> actual system behavior.
>
> You are right, there *is* a mismatch.  The manpage seems to imply that
> times() returns the number of CLK_TCK's since the UNIX Epoch, but it
> returns the number of CLK_TCK's since the system _booted_ instead.
>
> I'll fix the manpage.

It should be fixed on 8.0-CURRENT now, after the following change:

: Author: keramida (doc committer)
: Date: Mon Dec  1 15:27:00 2008
: New Revision: 185519
: URL: http://svn.freebsd.org/changeset/base/185519
:
: Log:
:   The times(3) function returns the number of CLK_TCKs since the
:   startup time of FreeBSD, not since the UNIX Epoch.
:
:   PR:   docs/122359
:   Submitted by: Viktor Štujber
:   MFC after:1 week
:
: Modified:
:   head/lib/libc/gen/times.3

It may be too late to push this into 7.1-RELEASE, but I will try to
merge the change to the stable branches in a few days.

Cheers,
Giorgos

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


Re: documentation problem for times(3) man page

2008-12-01 Thread Giorgos Keramidas
On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor Štujber" <[EMAIL PROTECTED]> wrote:
> Hi. Half a year ago I started the following thread:
> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html.

> The subject was a documentation issue where a man page mismatched the
> actual system behavior.

You are right, there *is* a mismatch.  The manpage seems to imply that
times() returns the number of CLK_TCK's since the UNIX Epoch, but it
returns the number of CLK_TCK's since the system _booted_ instead.

I'll fix the manpage.  Thanks for the reminder email :)

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


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Jerry
On Mon, 01 Dec 2008 09:01:09 -0500
Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:

>It seems this always gets me when setting up a new machine and I've
>haven't been able to stop it from happening. I install openldap-server
>WITH_SASL and after that point, if I try to install any package with
>LDAP support, it tries to install openldap-client when
>openldap-sasl-client is already there and conflicts as shown below.
>What do I need to do to keep this from happening?
>
>--->  Installing the new version via the port
>===>  Installing for openldap-sasl-client-2.4.11
>===>   openldap-sasl-client-2.4.11 depends on
>file: /usr/local/lib/libcrypto.so.5 - found ===>   Generating
>temporary packing list ===>  Checking if net/openldap24-client already
>installed ===>   openldap-sasl-client-2.4.11 is already installed
>  You may wish to ``make deinstall'' and install this port again
>  by ``make reinstall'' to upgrade it properly.
>  If you really wish to overwrite the old port of
> net/openldap24-client without deleting it first, set the variable
> "FORCE_PKG_REGISTER" in your environment or the "make install"
> command line.
>*** Error code 1
>
>Stop in /usr/ports/net/openldap24-client.
>*** Error code 1
>
>Stop in /usr/ports/net/openldap24-client.
>** Command failed [exit code 1]: /usr/bin/script
>-qa /tmp/portinstall.54161.0 env make reinstall ** Fix the
>installation problem and try again. --->  Skipping 'net/nss_ldap'
>because a requisite port 'net/openldap24-client' failed (specify -k to
>force) --->  Skipping 'security/pam_ldap' because a requisite port
>'net/openldap24-client' failed (specify -k to force) ** Listing the
>failed packages (-:ignored / *:skipped / !:failed)
>   ! net/openldap24-client (install error)
>   * net/nss_ldap
>   * security/pam_ldap

I am assuming that you are attempting to install the port(s) manually.
Have you tried using a port management tool like 'portmanager' or
'portupgrade' to handle the task.

-- 
Jerry
[EMAIL PROTECTED]

Hoffer's Discovery:
The grand act of a dying institution is to issue a newly
revised, enlarged edition of the policies and procedures manual.


signature.asc
Description: PGP signature


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

If flash is important to you then I'd suggest you run windows firefox
under wine. Native Adobe Flash support is apparently working again in


isn't better to run windows ?

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread RW
On Sun, 30 Nov 2008 23:54:38 -0800
"Harry Veltman" <[EMAIL PROTECTED]> wrote:

> Which version and GUI will work best on the internet with my AT
> Pentium II 350MHz x86-based PC?  Some web sites require Flash Player
> 8 or higher, 

If flash is important to you then I'd suggest you run windows firefox
under wine. Native Adobe Flash support is apparently working again in
7.1, but it's only just been restored as being broken for years. And by
all accounts the linux flash-plugin isn't perfect even in Linux.

> and some require 128-bit encryption I think, but doesn't
> 40-bit encryption process data 3 times faster?  How many bit
> encryption is the various versions of FreeBSD?  Thanks.

All the supported versions of FreeBSD should have a wide range of
ciphers available on browsers. IMO it's not really worth using
ciphers below 128 bits. 128 bit is probably safe from the NSA, 40
bits could easily be broken on a pc.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openldap24-sasl-client conflicts

2008-12-01 Thread Mel
On Monday 01 December 2008 15:01:09 Robert Fitzpatrick wrote:
> It seems this always gets me when setting up a new machine and I've
> haven't been able to stop it from happening. I install openldap-server
> WITH_SASL and after that point, if I try to install any package with
> LDAP support, it tries to install openldap-client when
> openldap-sasl-client is already there and conflicts as shown below. What
> do I need to do to keep this from happening?

We actually need the part from the port that requires openldap-client, before 
it goes on building openldap-client. The "foo depends on ..." line but some 
context doesn't hurt.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pasting via ssh causes data loss

2008-12-01 Thread Ivan Voras
Chris wrote:

> a cat >testfile then pasted through an ssh terminal.app connection over
> satellite (very
> bad connection) into a FreeBSD 7.0 box I built in the last month. At

Btw. lousy connections don't come into this as SSH does HMAC checking on
the data - i.e. even if you somehow managed to loose parts of a TCP
stream in a way that's not detected by TCP (which is also practically
impossible), SSH will aditionally cryptographically make sure that what
is sent is what is received (if an error occurs, the connection will be
aborted).

Either the sending part / terminal has problem or the receiving part /
terminal. Operating system, the network stack or the network quality
cannot cause the described behaviour.



signature.asc
Description: OpenPGP digital signature


openldap24-sasl-client conflicts

2008-12-01 Thread Robert Fitzpatrick
It seems this always gets me when setting up a new machine and I've
haven't been able to stop it from happening. I install openldap-server
WITH_SASL and after that point, if I try to install any package with
LDAP support, it tries to install openldap-client when
openldap-sasl-client is already there and conflicts as shown below. What
do I need to do to keep this from happening?

--->  Installing the new version via the port
===>  Installing for openldap-sasl-client-2.4.11
===>   openldap-sasl-client-2.4.11 depends on file: 
/usr/local/lib/libcrypto.so.5 - found
===>   Generating temporary packing list
===>  Checking if net/openldap24-client already installed
===>   openldap-sasl-client-2.4.11 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of net/openldap24-client
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/net/openldap24-client.
*** Error code 1

Stop in /usr/ports/net/openldap24-client.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.54161.0 
env make reinstall
** Fix the installation problem and try again.
--->  Skipping 'net/nss_ldap' because a requisite port 'net/openldap24-client' 
failed (specify -k to force)
--->  Skipping 'security/pam_ldap' because a requisite port 
'net/openldap24-client' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! net/openldap24-client (install error)
* net/nss_ldap
* security/pam_ldap

-- 
Robert

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


Re: Regular Expression Help

2008-12-01 Thread Drew Tomlinson

Matthew Seaman wrote:

Drew Tomlinson wrote:

Matthew Seaman wrote:


% perl -p -e 's/cn=([^ ,]+) ([^,]+),/cn=$2 $1,/' < foo.txt 


I still don't really understand *why* the above works but I'm trying 
to pick it apart now.


The RE breaks down like this:

/cn=([^ ,]+) ([^,]+),/
cn= Match literal text 'cn='
   (capture #1 begin
[^ ,]   Character class: anything that is not space or 
comma

 +  At least one of the above
  ) end capture #1
Match a literal space
(   capture #2 begin
 [^,]   Character class: anything that is not a comma
 +  At least one of the above
  ) end capture #2
   ,Match literal comma


Thank you for that.  You've shown me a new way to look at things.  
Instead of worrying about what I want to match, determine what marks the 
beginning and end of what I want to match and use negated character 
classes to find those end points.  I think my regex writing has just 
gotten better.  :)


Cheers,

Drew


--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

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


Re: Problem about ppp -nat

2008-12-01 Thread Ian Smith
On Sun, 30 Nov 2008, Pongthep Kulkrisada wrote:
 > Hi all,
 > 
 > > set log phase chat connect carrier link ipcp ccp ID0 TUN command
 > I still can't dial using this configuration...

Yes sorry, that was from a really old system, from backups.

 > # ppp -background isp
 > Loading /lib/libalias_cuseeme.so
 > Loading /lib/libalias_ftp.so
 > Loading /lib/libalias_irc.so
 > Loading /lib/libalias_nbt.so
 > Loading /lib/libalias_pptp.so
 > Loading /lib/libalias_skinny.so
 > Loading /lib/libalias_smedia.so

I'm surprised ppp would load these unless -nat was specified somewhere?  

My newest system that used ppp is 5.5-STABLE, up till last August, but 
I'm not up with it on 6 or 7, still this does look rather odd to me.

Perhaps someone else could confirm whether ppp always loads these 
libalias modules, whether intending to use them or not?

 > Working in background mode
 > Using interface: tun0
 > Warning: carrier: Invalid log value
 > Warning: link: Invalid log value
 > Warning: usage: set log [local] 
 > [+|-]all|async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|id0|ipcp|lcp|lqm|phase|physical|radius|sync|tcp/ip|timer|tun...
 > Attempting redial
 > Attempting redial
 > Attempting redial
 > 
 > I then removed ``carrier'' and ``link''. It always keeps redialing without
 > hearing dialing tone from the modem. So I removed ``connect'' again. The 
 > result was still the same.

Sorry again.  On 5.5 I just used 'log Phase LCP IPCP CCP tun command' 
once everything was running smoothly, using several different modems.

 > > Try /dev/cuaa0.  At least in the olden days, cuad0 was configured more
 > > for dialin rather than dialout.  This may? explain the next two lines:
 > It keeps redialing without hearing any tone from the modem. So I 
 > switched back to /dev/cuad0. Then dial; now I hear dialing tone from 
 > the modem but warning message of ``Child failed (errdead)'' occured 
 > then line dropped. And can not connect. I tried it many times. Note 
 > that /dev/cuad0 appeared in my 
 > /usr/share/examples/ppp/ppp.conf.sample, not /dev/cuaa0. If I 
 > remember correctly I changed from cuaa0 to cuad0 when I upgraded from 
 > FBSD5.4R to FBSD6.2R.

Ok.  I hadn't realised that ppp had changed so much.  Wish someone who 
knows a bit more about the current situation would comment ..

 > [...]
 > Working in background mode
 > Using interface: tun0
 > Child failed (errdead)
 > 
 > >>  set ctsrts off   # enables software flow control
 > >>  set accmap 000a  # comments out these 2 lines for hardware flow 
 > >> control
 > > Not sure why you don't want to use hardware flow control?  Is this with
 > > a regular external modem?  Anyway, I've always used ctsrts (with cuaa0).

 > 5 year ago, I downloaded this ppp.conf from some web site. But 
 > anyway, I did follow your suggestion i.e. hardware flow control. It 
 > still doesn't work as ``Child failed''. Actually I don't know so much 
 > in this area (flow control). I only code C on *Unix. I rarely do this 
 > kind of things e.g. system setup or configuration. And yes, it is a 
 > regular external modem.

I spent about 15 years debugging user problems with dialup modems; it 
can be really difficult without first knowing the modem type and it's 
internal config - however that doesn't seem to be your problem here.

 > >>  add! default HISADDR   # Add a (sticky) default route
 > >>  [...]
 > >>  add 0 0 HISADDR
 > > You probably don't want both those add statements.  Try taking out the
 > > first one, and replacing the last one with the add! default HISADDR.
 > I changed it before dialing.
 > 
 > > Unsure if you need an 'enable pap' as well, maybe default.  Can't hurt.
 > I added it before dialing. But all failed. I think it is probably caused by
 > ipdivert.

Well as mentioned above, if ppp is loading libalias modules also, there 
definitely could be some conflict there .. but I'm now out of my depth.

 > > Anyway, some extra logging should show you when and how it fails, if it
 > > still does ..
 > Nov 30 17:00:00 bsdhost newsyslog[960]: logfile turned over due to size>100K
 > Nov 30 17:00:16 bsdhost ppp[977]: Phase: Using interface: tun0
 > Nov 30 17:00:16 bsdhost ppp[977]: Phase: deflink: Created in closed state
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: ident user-ppp 
 > VERSION (built COMPILATIONDATE)
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set device 
 > /dev/cuad0
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set speed 115200
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable pred1
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny pred1
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable lqr
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny lqr
 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set dial ABORT 
 > BUSY ABORT NO\sCARRIER TIMEOUT 5"" AT OK-AT-OK ATE1Q0 OK 
 > \dATDT\T TIMEOUT 180 CONNECT
 > Nov 30 17:00:16 bsdho

Re: Noisy mouse

2008-12-01 Thread Bryant Eadon

Wojciech Puchar wrote:

or make a keystroke. Is this a bug, or a strange feature? How do i


bad hardware design - mouse data signals gets through to audio signal.

most of your computer's signal line are in megahertz range so you don't 
hear anything, PS/2 mouse has 40kbps data rate.


I've actually had this happen before.  Somewhere along the line either :
  1.  your audio and mouse/keyboard cables are coming into close proximity to 
one another.

  or
  2.  Your mouse/kb cable is very close to a specific speaker.

The solution is to move your mouse cable away from your speakers/cables.  I 
guess you could shield it if you can't move it.   Tinfoil around only the one 
cable at close proximity sections should do the trick.



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


Re: Vishnu is out of the office.

2008-12-01 Thread Jerry
On Mon, 1 Dec 2008 14:31:04 +0800
[EMAIL PROTECTED] wrote:

>I will be out of the office starting  12/01/2008 and will not return
>until 12/12/2008.
>
>Please contact helpdesk directly for urgent matters at 043854184.

Cool, I think I will contact them and inform them that your OoO
responder is incorrectly configured.

-- 
Jerry
[EMAIL PROTECTED]

In America, any boy may become president and I suppose that's just one
of the risks he takes.

Adlai Stevenson


signature.asc
Description: PGP signature


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

too... my absolute favorite and it boosted my productivity (after 2
weeks of configuring&customizing) to a level no other GUI in this world

no other you tried.

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


Re: Pasting via ssh causes data loss

2008-12-01 Thread Mel
On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote:
> On 1 дек, 08:31, Mel <[EMAIL PROTECTED]> wrote:
> > On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote:
> > > 30.11.2008, в 19:36, Mel написал(а):
> > > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote:
> > > >
> > > > Not sure, but can you copy files via cat? As in:
> > > > cat /tmp/foo | ssh machine "cat - >/tmp/foo"
> > > >
> > > > If that isn't truncated, I can only think of clipboard limitations
> > > > or tty
> > > > issues.
> > >
> > > No, it's not truncated. All of 6060 bytes are copied.
> > >
> > > What kind of tty issues/clipboard limitations might it be?
> >
> > *If* it's a tty issue, should be reproducable with telnet. If it's not,
> > then I suggest logging in with ssh -v and see if anything weird comes up.
> > The oddball out of the box answer would be that some character gets
> > translated as EOF from linux to bsd by the term settings, but it's a
> > stretch.
>
> Can't check telnet... there's no telnet demon around.

inetd:
$ grep telnet /etc/inetd.conf
#telnet stream  tcp nowait  root/usr/libexec/telnetdtelnetd
#telnet stream  tcp6nowait  root/usr/libexec/telnetdtelnetd

Quick setup:
remove appropreate hashmark above
/etc/rc.d/inetd onestart

> I tried ssh -vvv, nothing between connect and disconnect.
>
> It's definitely not an EOF. It just loses some part of data, doesn't
> stop receiving after some point.

Where does it get lost? Meaning, does it get over the wire? Hard to check 
encrypted, but a 3k diff should show up in number of the IP packets sent. Is 
it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the 
receiving end?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there anything weird I should know about using ipfw on alias addresses?

2008-12-01 Thread Ian Smith
On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson <[EMAIL PROTECTED]> wrote:

 > ifconfig shows the alias addresses correctly bound.
 > Creating an ipfw rule and testing it from the command line works 
 > (connects out from master address, not alias)
 > 
 >  From website on alias address, the firewall blocks the packets.
 >
 > The weird thing is that it tags them (in the security log) as coming 
 > from the master address (not the alias) out the correct interface. In a 
 > normal world that would mean the packet would match!
 > 
 > What's goin' on here Willis?

Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least 
the relevant firewall rule/s and d) log entries that illustrate your 
problem.  Obscure sensitive information by all means, but otherwise 
pretend we haven't the slightest clue how your system is configured :)

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Mister Olli
hi...

> Which version and GUI will work best on the internet with my AT
> Pentium II 350MHz x86-based PC?  Some web sites require Flash Player 8
> or higher, and some require 128-bit encryption I think, but doesn't
> 40-bit encryption process data 3 times faster?  How many bit
> encryption is the various versions of FreeBSD?  Thanks.

Can't tell you about the freebsd version, but my personal favour for a
slim and really fast GUI is enlightenment...
from my knowledge it's designed and tested for machines of this power (I
read a note by one of the main developer that he's testing it on a
150MHz to see if it performs).

it's a little playtime to setup it up, since you can configure almost
everything. but it's really neet, has some nice eye-candy and is fast
too... my absolute favorite and it boosted my productivity (after 2
weeks of configuring&customizing) to a level no other GUI in this world
can give me...

but just my 2 cents ;-))

greetz
olli

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


Re: documentation problem for times(3) man page

2008-12-01 Thread andrew clarke
On Mon 2008-12-01 09:51:46 UTC+0100, Viktor ??tujber ([EMAIL PROTECTED]) wrote:

> Hi. Half a year ago I started the following thread:
> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html.
> The subject was a documentation issue where a man page mismatched the
> actual system behavior.

Maybe the freebsd-doc mailing list is the place to discuss this?
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pasting via ssh causes data loss

2008-12-01 Thread Eugene Pimenov


On 1 дек, 08:31, Mel <[EMAIL PROTECTED]> wrote:
> On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote:
>
> > 30.11.2008, в 19:36, Mel написал(а):
> > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote:
>
> > > Not sure, but can you copy files via cat? As in:
> > > cat /tmp/foo | ssh machine "cat - >/tmp/foo"
>
> > > If that isn't truncated, I can only think of clipboard limitations
> > > or tty
> > > issues.
>
> > No, it's not truncated. All of 6060 bytes are copied.
>
> > What kind of tty issues/clipboard limitations might it be?
>
> *If* it's a tty issue, should be reproducable with telnet. If it's not, then I
> suggest logging in with ssh -v and see if anything weird comes up.
> The oddball out of the box answer would be that some character gets translated
> as EOF from linux to bsd by the term settings, but it's a stretch.

Can't check telnet... there's no telnet demon around.

I tried ssh -vvv, nothing between connect and disconnect.

It's definitely not an EOF. It just loses some part of data, doesn't
stop receiving after some point.

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Mel
On Monday 01 December 2008 12:11:13 Polytropon wrote:
> On Mon, 1 Dec 2008 11:53:11 +0100, Mel <[EMAIL PROTECTED]> 
wrote:
> > We have a few oldies, just installed KDE 3.5 on a:
> > CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
> >   Origin = "CentaurHauls"  Id = 0x698  Stepping = 8
>
> Oldie @ 1 GHz? You must be joking. I'd bite my hand off for
> such hardware. :-)

No need. Get a job at a computer service store, like my fiancee. You will get 
orphans donated in the 2-3Ghz range "just as long as my data is transfered to 
the new computer". ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

since OP already stated to want flash 8 with highbit encryption, you will
need firefox and bunch of gstreamer-*/gnome stuff or linux emulation and a
lot of good fortune when going with pluginwrapper.


but not KDE and Gnome desktop running. firefox is quite fast compared to 
it

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Mel
On Monday 01 December 2008 12:19:50 Wojciech Puchar wrote:
> > We have a few oldies, just installed KDE 3.5 on a:
> > CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
> >  Origin = "CentaurHauls"  Id = 0x698  Stepping = 8
> >
> > That's pretty much as low as I'd go for normal desktop usage. The machine
> > you're describing, still makes for a good router or LAN resolver with low
>
> KDE make them slow. it's fast machine.

It's not about that. I'm not advertizing a certain desktop, I have a personal 
preference, and I don't feel compelled to convert the heathens to my works of 
salvation, nor to lie and say that I installed a blank Xorg so that 
minimalist think I'm cool.

Today's desktop *applications* require a certain ammount of resources and 
since OP already stated to want flash 8 with highbit encryption, you will 
need firefox and bunch of gstreamer-*/gnome stuff or linux emulation and a 
lot of good fortune when going with pluginwrapper. This VIA does quite well 
with devel/skype and fc6 linux emulation, once it started up, tho I haven't 
tried conference calls and takes 20% cpu just idling.
Sure - you can trim down the resources a window manager takes up (which is 
actually easy to do in KDE, as in XFCE), but it's the applications that want 
more memory, more power. Natural evolution of the computer age: give a 
programmer more power, means a user gets more features and a slower comp.
I think FreeBSD 5 to 7 is the only software I've seen that actually got faster 
and not just advertised it ;)
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Beech Rintoul
On Monday 01 December 2008 02:11:13 Polytropon wrote:
> On Mon, 1 Dec 2008 11:53:11 +0100, Mel <[EMAIL PROTECTED]> 
wrote:
> > We have a few oldies, just installed KDE 3.5 on a:
> > CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
> >   Origin = "CentaurHauls"  Id = 0x698  Stepping = 8
>
> Oldie @ 1 GHz? You must be joking. I'd bite my hand off for
> such hardware. :-)
>
> > That's pretty much as low as I'd go for normal desktop usage.
>
> For KDE? Yes, I do understand that. I would not even think about
> trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE.
> KDE = preconfigured desktop with many built-in functionalities.
> I think Gnome has gotten pretty much the same like KDE in terms
> of ressource consumption. (I can't tell for sure, I'm not using
> it on a daily basis.) What about XFCE 4? Maybe that would be a
> good point to start, unless of couse the toolkit is too heavy...
>
> > The machine
> > you're describing, still makes for a good router or LAN resolver with low
> > traffic webserving.
>
> I have such an "oldie", P2 300 MHz, 256 MB RAM, ATI graphics
> (it's a Compaq Deskpro), FreeBSD 5.4, XFCE 3, OpenOffice 1.1.5,
> custom kernel, mplayer (compiled), xmms, Opera 7, Sylpheed.
> I'm not lying: This machine performs better in some regards
> than my 2 GHz P4 with FreeBSD 7! Applications come up faster,
> screen output renders faster. And even things that don't work
> on my "fast" system (wine, screen resolution in X, duplex
> printing) work excellently there. I've got no explaination
> for this, but it's true.
>
> As a server most "oldies" are good if they run well. The point
> of energy consumption is worth mentioning. I have an experimental
> server here, it's a P1 150 MHz with 128 MB RAM. For learning
> purposes completely sufficient to me.
>
> > Backup machine if disks are good.
>
> Or backup server if added some exchangable media (tape / DVD-RAM),
> inexpensive solution for automated data backup.
>
> > Getting a decent performing desktop on there is as Polytropon said, a
> > project you'd do for fun, not cause you need a desktop.
>
> That's correct. But hey, you learn a lot by building such a
> system, and in the end, you have your "ultimate desktop" right
> fitting your needs - not what the developers of let's say KDE
> are convinced you're wanting. That's a lot of work, I know,
> but once you're done, you can dump / restore this system to
> other machines of that kind (eventually needing to change
> some settings).
>
>
>
> The final quality of the machine is a direct result from the
> work you will decide to put in it. If you just want to do
> "fast, fast", the machine will be sloow... :-)

I was running KDE3 on a 750MHz box and it was really slow. I can't even 
imagine trying it on a 350MHz box. Stick to one of the simpler smaller apps if 
you need a desktop.

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---




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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

We have a few oldies, just installed KDE 3.5 on a:
CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
 Origin = "CentaurHauls"  Id = 0x698  Stepping = 8

That's pretty much as low as I'd go for normal desktop usage. The machine
you're describing, still makes for a good router or LAN resolver with low


KDE make them slow. it's fast machine.



traffic webserving. Backup machine if disks are good.


for this pentium 100 is OK.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Wojciech Puchar

We have a few oldies, just installed KDE 3.5 on a:
CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x698  Stepping = 8


Oldie @ 1 GHz? You must be joking. I'd bite my hand off for
such hardware. :-)


well most of machines i use are <1Ghz and <512MB RAM.

no need for mor.


That's pretty much as low as I'd go for normal desktop usage.


For KDE? Yes, I do understand that. I would not even think about
trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE.


icewm is fast and good. just make your menu by hand.
and EVERYTHING can be configured well.

fvwm2 is my choice because even more things could be configured (read: 
removed) making my desktop usage more efficient.


no matter if you have 100Mhz of quad 3Ghz computer, removing things that
are not useful is good thing.

for example not using bloatware like KDE or Gnome or even xfce.

They LOOK cool, but are not productive.

contrary to windoze, window manager, "desktop" managers, all bells and 
whistles are NOT integral part of FreeBSD. it's just programs like 
everything else.



you have choice of what of them you run, or (like me) not at all.

my second computer at home is pentium 133 with 128MB RAM running without 
swap. and it works fast.

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


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Polytropon
On Mon, 1 Dec 2008 11:53:11 +0100, Mel <[EMAIL PROTECTED]> wrote:
> We have a few oldies, just installed KDE 3.5 on a:
> CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
>   Origin = "CentaurHauls"  Id = 0x698  Stepping = 8

Oldie @ 1 GHz? You must be joking. I'd bite my hand off for
such hardware. :-)



> That's pretty much as low as I'd go for normal desktop usage.

For KDE? Yes, I do understand that. I would not even think about
trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE.
KDE = preconfigured desktop with many built-in functionalities.
I think Gnome has gotten pretty much the same like KDE in terms
of ressource consumption. (I can't tell for sure, I'm not using
it on a daily basis.) What about XFCE 4? Maybe that would be a
good point to start, unless of couse the toolkit is too heavy...



> The machine 
> you're describing, still makes for a good router or LAN resolver with low 
> traffic webserving.

I have such an "oldie", P2 300 MHz, 256 MB RAM, ATI graphics
(it's a Compaq Deskpro), FreeBSD 5.4, XFCE 3, OpenOffice 1.1.5,
custom kernel, mplayer (compiled), xmms, Opera 7, Sylpheed.
I'm not lying: This machine performs better in some regards
than my 2 GHz P4 with FreeBSD 7! Applications come up faster,
screen output renders faster. And even things that don't work
on my "fast" system (wine, screen resolution in X, duplex
printing) work excellently there. I've got no explaination
for this, but it's true.

As a server most "oldies" are good if they run well. The point
of energy consumption is worth mentioning. I have an experimental
server here, it's a P1 150 MHz with 128 MB RAM. For learning
purposes completely sufficient to me.



> Backup machine if disks are good.

Or backup server if added some exchangable media (tape / DVD-RAM),
inexpensive solution for automated data backup.



> Getting a decent performing desktop on there is as Polytropon said, a project 
> you'd do for fun, not cause you need a desktop.

That's correct. But hey, you learn a lot by building such a
system, and in the end, you have your "ultimate desktop" right
fitting your needs - not what the developers of let's say KDE
are convinced you're wanting. That's a lot of work, I know,
but once you're done, you can dump / restore this system to
other machines of that kind (eventually needing to change
some settings).



The final quality of the machine is a direct result from the
work you will decide to put in it. If you just want to do
"fast, fast", the machine will be sloow... :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Mel
On Monday 01 December 2008 11:36:58 Polytropon wrote:

> I can't answer your question regarding "Flash" and encryption;
> sadly, I never saw any need for this.

Even if you get the software to work (which is a project in itself), 
performance will be very very bad.
My parents have a similar machine using windows and a flash 8+ that's not just 
an advertisement takes about a minute to load after downloading and does 8-10 
fps if it's a movie.
We have a few oldies, just installed KDE 3.5 on a:
CPU: VIA Nehemiah (997.17-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x698  Stepping = 8

That's pretty much as low as I'd go for normal desktop usage. The machine 
you're describing, still makes for a good router or LAN resolver with low 
traffic webserving. Backup machine if disks are good.
Getting a decent performing desktop on there is as Polytropon said, a project 
you'd do for fun, not cause you need a desktop.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which FreeBSD is best for my PC?

2008-12-01 Thread Polytropon
On Sun, 30 Nov 2008 23:54:38 -0800, "Harry Veltman" <[EMAIL PROTECTED]> wrote:
> Which version and GUI will work best on the internet with my
> AT Pentium II 350MHz x86-based PC?

Allthough the FreeBSD base system gets better and faster in each
version, the additional software and the GUI toolkits that belong
to them eat up more and more ressources.

Regarding the OS, you're be best off with the newest version of
FreeBSD (version 7). This enables you to use the software that is
present from the source tree of the ports collection or from the
precompiled packages.

Regarding GUI, I think you're talking about the window manager or
desktop environment. It depends on your individual preferences and
what / how / how much you're willing to learn. For example, I use
WindowMaker as my window manager, but on slower systems, XFCE 3,
Fluxbox, IceWM or even FVWM perform well and can be configured
easily and according to your needs and preferences.

On a system as you described it initially, you will need to build
a system by your own in order to get best performance. When you
did it correctly, you'll have an entirely good system - I know it,
I have such an "oldie", too. :-)

Then you need to choose your software (multimedia players, browser,
mail client etc.), what you're going to use.

Finally, it's a bit "trial and error", read: You'll have to test
by yourself what fits your needs. There's nothing that is intended
to fit per se.

I can't answer your question regarding "Flash" and encryption;
sadly, I never saw any need for this.




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


documentation problem for times(3) man page

2008-12-01 Thread Viktor Štujber
Hi. Half a year ago I started the following thread:
http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html.
The subject was a documentation issue where a man page mismatched the
actual system behavior.
The issue is still present in 7.0-RELEASE and probably no action was
taken since I submitted the report.
I'd like to ask that someone acknowledge the issue and re-open
http://www.freebsd.org/cgi/query-pr.cgi?pr=122359. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pasting via ssh causes data loss

2008-12-01 Thread Eugene Pimenov


On 1 дек, 05:03, Chris <[EMAIL PROTECTED]> wrote:
>
> I was curious about your situation and set up a couple of tests. Noting
> you mentioned iTerm, I thought I might be able to recreate it on a Mac
> (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due
> to unreliability sometime back).

I've downloaded iTerm for this test. I'm using Apple's Terminal.app.

>
> I copied a 23094 byte program I was working on locally in MacVIM. I
> first did
> a cat >testfile then pasted through an ssh terminal.app connection
> over satellite (very
> bad connection) into a FreeBSD 7.0 box I built in the last month. At
> the far end it received 23094 bytes. sftp of the file to the remote and
> diff showed no differences. I then opened an ssh session to a FreeBSD
> server
> on my local lan and repeated with the same results. No problems.

I believe that FreeBSD fetches all data. When I ssh back to my mac
from FreeBSD, I recieve all data all the time. TCP should handle
errors,
so nothing surprising here.

>
> The problem does not appear to be obvious or common so there must be
> something
> unique about how this situation if you have reproduced it on two
> different terminal programs using ssh that would work correctly to other
> servers using the same shell and collection method (e.g. cat >blah).

I tried zsh, sh, bash and my program on the freebsd box.


>
> Something missing here. Have you checked if you have
> errors shown on the interface of the server? Are there losses if you
> sftp
> the files from your machine to the remote (Try pushing a 1.5 MB file and
> see if that shows failures). Did you install something other than the
> default
> OpenSSH on the server? Do the text files have something other than text
> in them or even control sequences for the remote? Just taking
> potshots here.

sftp doesn't lose data. Even cat file | ssh host 'cat >file' doesn't.
Only pasting.
It's 100% reproducible, I don't think it's some kind of side effect.

$ netstat -I bge0
NameMtu Network   Address  Ipkts IerrsOpkts
Oerrs  Coll
bge0   1500   00:a0:d1:e3:fd:9c 55134708 0
48858321 0 0
(no errors)

Terminal sessions:
http://pastie.org/327615.txt?key=opkxhrjptnh3lebyn8rjlq
http://pastie.org/327617.txt?key=gaznt1zmfi7usps74n2h5w

I believe nothing strange was installed on the server... it's a
typical freebsd web-server.

>
> A somewhat side note here, I would personally never think to move
> files this
> way since it's quite possible that content of files can disrupt the
> stream.
> I tend to use sftp.
>

I never do that for binary files. I use sftp either. However, when I
need to
change some source on a server, I already have an opened text editor
with the file and a terminal, in that case cat >file is just quickier.

BTW, thank you for your help, guys...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5 TB server

2008-12-01 Thread Wojciech Puchar

Mb to ~ 7Mb).


will it be majority of data???


About 40% of it. 50% adobe *.psd and the other 10% all sort of data.

so make sense.

but make sure you do regular backups.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5 TB server

2008-12-01 Thread Valentin Bud
On Mon, Dec 1, 2008 at 2:34 AM, Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
>> This is one of the main reasons i want to go with ZFS. Another would be
>> the
>> filesystem level compression of the data. I have noticed that 3dmax
>> files (one of
>> the programs the company works with) are very "compressable" (from 50
>> Mb to ~ 7Mb).
>
> will it be majority of data???

About 40% of it. 50% adobe *.psd and the other 10% all sort of data.

a great day,
v

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


Which FreeBSD is best for my PC?

2008-12-01 Thread Harry Veltman
Which version and GUI will work best on the internet with my AT Pentium II 
350MHz x86-based PC?  Some web sites require Flash Player 8 or higher, and some 
require 128-bit encryption I think, but doesn't 40-bit encryption process data 
3 times faster?  How many bit encryption is the various versions of FreeBSD?  
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"