Re: recommendation(s) for new computer

2012-04-21 Thread Christian Baer
On 21.04.2012 02:06, Adam Vande More wrote:

 I'm not sure where the power/performance/price ratio is at currently, but
 it wasn't that long ago purchasing an intel was a much better deal long
 term.  It was something like it took a year and half of an AMD and intel
 cpu idling to draw even in total price all the while having a much greater
 performance potential with Intel.  I say this as someone who hopes AMD will
 succeed.  There is much more to it than just raw upfront cost.

I know that I will probably get a lot more bang from an Intel CPU (in
terms of raw power, especially per CPU-core). However, this computer
will be used in a way where more CPU-cores will actually help more than
fewer cores with more raw power per core. This is partly because full
disc encryption is in place.

I also know that the cost of power is something to consider in the
longrun. This is however a personal computer, the one I use in my spare
time. If I were to worry too much about power, I shouldn't get a
graphics board like the one I am considering. :-) They outweigh the CPU
threefold - even if not constantly. This is a machine that will not run
24/7. Besides, the cost upfront is my main concern at the moment,
because my budget is very limited. ;-)

Regards,
Chris

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


Re: recommendation(s) for new computer

2012-04-21 Thread Christian Baer
On 22.04.2012 01:04, Wojciech Puchar wrote:

 REALLY - i an for a long time not up to date what is modern today, as
 FreeBSD and software i use works lightning fast on ANY new computer you
 can buy today - if it works at all.

[...]

 The real problem is graphics. I do not have any need of high performance
 3D, my laptop and my intel atom based desktop both have integrated intel
 based GFX. it just works. no tweaking, no messing, no binary drivers, no
 trash, no 32-bit only etc.

 i am not sure if dual core intel atom E525 would keep up with full HD
 video playing. Probably but i am not sure. Anything stronger will for sure.

Thanks for your post, but I am not sure what you are trying to tell me.
I wrote down the (more or less) complete configuration to give people a
chance to comment on it - should they see a need. The main question was
about the graphics part. If you do not use or require high performance
3D, that is fine. I intend to use it - mainly for gaming unter Windows.
And if I have an expensive graphics board in my computer I want it to be
at least of some use and fun under FreeBSD.

Regards,
Chris

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


recommendation(s) for new computer

2012-04-20 Thread Christian Baer
Mellow greetings, y'all! :-)

After several years, I think it's about time for a new computer, since
my current one is slowly aging to a meltdown. Well, that and I currently
have the dough for a new one. So before I spend it uselessly on women,
I'll see to it that I get my new machine ASAP. ;-)

Usage:
I want to select the components to make them FreeBSD-friendly. Just
about anything will run under Windows, so I won't make a fuss there.
Windows will run on this machine (too), because from time to time I do
enjoy a little gaming. I am not a hardcore-gamer though. About 80% of my
time at the computer is spent in non-gaming-mode. And I certainly will
not spend extra money to play Crisis in full detail beyond 1080p. I do a
lot of writing, reading, some programming, lots of photo-work and watch
a movie from time to time. Nearly all of these 80% will bei done running
FreeBSD (or PCBSD).

Most of these components aren't all that thrilling (because they will
run with just about anything), but you are welcome to comment on them if
you think I could/should rethink an aspect. Remember that I live in
Germany and my choice fell on things that I can easily get on the German
market. I took a look at the costs and the prices that Intel wants for
their CPUs and mainboards just blew my socks off! Therefore, I decided
that this will be an AMD-computer (again).

- Asus Sabertooth 990FX
- AMD FX-8150
- Corsair Vengeance 16GB Kit
[Note: This combination is known to work because a friend has exactly
those components.]
- Enermax Platimax 600W
- LG CH10LS28

I'll leave the case and the fans out of this discussion. :-) And SSD
(probably 256GB) is planned too. I just don't know which one yet.

You might have noticed that there is no graphics board. That is the
actually problem I am having: Should I go with AMD or nVidia? I remember
a while back that I had trouble getting an AMD graphics board to work
properly under X. The board was too old for the official driver from AMD
and the open source driver gave me the feeling that I was back at my old
80386.

I doubt that I will be doing any gaming under FreeBSD (although I once
did get Warcraft 3 to run using Wine). However, I do want to be able to
use 3D effects on the desktop. What I am asking basicly is, what vendor
has better support? As an indication, should I buy an AMD-board, it will
be something like a 7950 or 7970.

Thanks for your time, thoughts and suggestions!

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


make installworld broke - try again?

2010-04-07 Thread Christian Baer
Hi there peeps!

I just tried to update from 8.0-RELEASE to RELENG_8_0. I gut this far:

- buildworld
- buildkernel
- installkernel
- reboot
- mergemaster -p

Then I started a make buildworld and it broke here:

install -s -o root -g wheel -m 555   sort /usr/bin
install -o root -g wheel -m 444 sort.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo (install)
=== gnu/usr.bin/texinfo/libtxi (install)
=== gnu/usr.bin/texinfo/makeinfo (install)
install -s -o root -g wheel -m 555   makeinfo /usr/bin
install -o root -g wheel -m 444 makeinfo.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/info (install)
install -s -o root -g wheel -m 555   info /usr/bin
install -o root -g wheel -m 444 info.1.gz  /usr/share/man/man1
install -o root -g wheel -m 444 info.5.gz  /usr/share/man/man5
install -o root -g wheel -m 444 texinfo.5.gz  /usr/share/man/man5
=== gnu/usr.bin/texinfo/infokey (install)
install -s -o root -g wheel -m 555   infokey /usr/bin
install -o root -g wheel -m 444 infokey.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/install-info (install)
install -s -o root -g wheel -m 555   install-info /usr/bin
install -o root -g wheel -m 444 install-info.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/texindex (install)
install -s -o root -g wheel -m 555   texindex /usr/bin
install -o root -g wheel -m 444 texindex.1.gz  /usr/share/man/man1
=== gnu/usr.bin/texinfo/doc (install)
install-info --quiet  --defsection=Miscellaneous  --defentry=  info.info
/usr/share/info/dir
install-info --quiet  --defsection=Miscellaneous  --defentry=
info-stnd.info /usr/share/info/dir
install-info --quiet  --defsection=Miscellaneous  --defentry=
texinfo.info /usr/share/info/dir
install -o root -g wheel -m 444  info.info.gz info-stnd.info.gz
texinfo.info.gz /usr/share/info
=== include (install)
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127

Stop in /usr/src/include.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Obviously, just trying to install again won't do any good (this isn't
Windows), I'm just a little careful about breaking the system. It is
also possible that I broke this by playing with the compiler-options (I
added 'CFLAGS+= -mcpu=ultrasparc' in make.conf). Maybe that broke my world.

Would it be a good idea to simply remove this entry and/or update the
source, recompile and try to install again? I don't really want to break
the system so it doesn't boot again, because after that, it's usually
easier to reinstall it from scratch - especially if you are setting up a
new system as I am now.

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


Did something in the hashes change from 6 to 8?

2010-03-02 Thread Christian Baer
Mellow greetings!

On a box running FreeBSD 6.something (probably 6.4) the boot drive died.
I had never bothered to update it to 7 or 8, since I was planning to
build a new computer anyway. Since I hadn't done that yet and I still
needed the work of this machine, I just put in a new drive and installed
8.0.

The deal is that a script I restored from backup doesn't quite work as I
think it should. This is the part that somehow causes problems:

  !/bin/sh
  stty -echo
  read -p Enter passphrase:  passphrase
  stty echo
  main=`echo ${passphrase} | sha256 | cut -c 1-5`
  if [ ${main} != ddfab ]; then
echo Wrong passphrase!
exit
  fi

I have typed the password in question about a gazillion times, so I am
pretty sure I got it right. But somehow the 'if' keeps kicking in.

There are two possible reasons for this:

1. I have Alzheimer's.
2. Something about the way sha256(1) and/or digest(1) or one of the
   other commands in the script react differenly than before.

Maybe there is another reason that I just don't see?

Can someone help me out here?

Regards,
Chris

-- 
Ich kam.
Ich ging.
Und ich war da gewesen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD File Server with ZFS

2010-02-19 Thread Christian Baer
krad schrieb:

 On another point make sure your p4 has plenty of ram preferably 4gb, but at
 least 2

Exactly what good will that much RAM do for a 32Bit-CPU?

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


Exchanging encrypted data between FreeBSD und Windows

2010-02-14 Thread Christian Baer
Mellow greetings!

There is this thingy that I'd like to do. :-) Basicly plugging a
USB-stick (or other portable storage device) into a Windows-box, putting
data on it and unloading the data again onto my FreeBSD-box. Sometime
the data will have to travel in the other direction too.

As long as the information on the stick isn't encrypted, that is pretty
trivial - most operating systems can read and write NTFS, all can read
and write FAT(32). But if I want to encrypt the information in case I
lose whatever the data is stored upon, I run into trouble. Truecrypt,
which is widely used unter Windows and Linux doesn't really work under
any BSD. Same goes for Free-OTFE.

Is there actually any way to do this? Does any software exist that runs
unter both Windows and FreeBSD or is there a software for FreeBSD that
can read and write volumes of another software that works unter Windows?
I mean on the fly encryption, not something like OpenPGP for single
files or the like.

Regards,
Chris

-- 
Geeks don't need to get laid - they get off
on benchmark results.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange HDD order

2008-02-04 Thread Christian Baer
On Sun, 3 Feb 2008 09:40:53 -0600 Matt wrote:

 Is the concern with the apparent out-of-order numbering based on how
 you want to access these devices in areas like fstab? 

No, not really. Once I set them up in the directory tree, what the drive's
device name is won't make a diff to how the system works. I was more
worried that maybe the device names (numbers) could change in the future
and then I'd have to start wonderung about what drive is what now and
where to mount what device now.

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


Re: Looking for a Text on ZFS

2008-02-04 Thread Christian Baer
On Sun, 3 Feb 2008 17:55:12 +0100 (CET) Wojciech Puchar wrote:

 that's like 64-bit soundcards that have to be better than 32-bit, while 
 most of them was unable to actually get past 13-14 bit (most past 12) with 
 it's signal to noise ratio.

Maybe that's not quite the same thing. :-)

However. Even a 64bit filesystem still has gigantic reserves of space and
although filling that may not cause the oceans to boil, any storage device
that can actually sore all the date that a 64bit fs can allocate will be
pretty big in terms of volume and mass and will also use a good deal of
energy - even if this is calculated in the same minimalistic way as for
ZFS: http://en.wikipedia.org/wiki/Zfs#Capacity

Now I am not sure if the world actually needs a file system that can never
be filled - with the limits not made by any feable estimates like we
thought we'd never get a 1GB drive full, but by quantum physics. But the
fact that it's maximum theoretical size has a few reserves isn't a
problem in itself. I have serious doubts that the computers of today are
ready for the overhead at all and the overhead is worth the bother.

 1) you make create 1000 of filesystems without partitioning. so lots of 
 admins that think more partitions=better are happy. you may set quota 
 for each filesystem

Well, actually I am an admin who believes this within limits. I have
seperate file systems for /, /usr, /var, /tmp, /home and /usr/obj. The
reasons for this are numerous. I have /usr/obj on a different drive than
/usr to spread the load while making worlds and I mount /usr/obj
asynchronously to increase write speed. With several filesystems I can
spread to load the way I want it and decide where the data goes. And one
broken fs doesn't screw up the others in the process.

I do know the drawbacks of this: Storage is pretty static. Correcting
wrong estimates about the needed fs-sizes is a big problem. That is why I
keep /usr/home on one big fs. If the users require (for example) 20MB
each, then it doesn't matter if one user needs 25MB, as long as 5 others
only use 24.

If ZFS gives us the best of both worlds, that would actually be an
improvement.

 2) it takes many drives to the pool and you may add then new drives.
 same as gconcat+growfs.

I read about this. However, I didn't find anything conclusive as to how
well the drives can still live on their own if they are ever seperated.
Now I don't think they will be addressed as a RAID0 with all the risks of
that. But what happens if one of four drives breaks down? Does it make a
difference, if the broken drive is the first one, the last one or a middle
one?

 3) it doesn't have per user quota, which creates a problem that is 
 solved by 1), and you have to create at least one filesystem/user, which 
 then is said to relieve admininstrator from work ;)

This doesn't have to be a problem either. Quota are used instead of
partitions to tackle two problems: The number of partitions is very
limited and resizing a partition is a major issue. By changing the quota
you can give one user (or one service) more room and take it away from
some of the others that seem to need less than was anticipated.

If each user or service can be confined to it's own fs, that would also be
good. A newsserver runnung with tradspool needs lots of inodes, most other
applications far less. I do see a drawback though: If you change the size
of the filesystems a few times, you could wind up with a new sort of
fragmentation. New because this sort (a filesystem that is patched
together over a drive) hasn't really been encountered yet and it will be
very interesting to see what effects this may have.

 4) ZFS says that hardware checksums are not enough and disk hardware may 
 be buggy so then solve this problem checking everything with CPU.

This also creates a lot of overhead and CPU load. I tried this with GELI
on a fs that needed to be intact in a paranoid sense - I get like that
sometimes. :-) I did it once and once only. The performance was just not
good enough. Granted, I didn't do this on a really new computer but I'm
not likely to through away all my old ones either, just so my paranoia can
be met with a good speed. :-)

 while i've had failing drives many times i never seen it reading bad data 
 and not reporting error.

Same here. Since I use HDs on my computers, I have had about 20 to 25
drives break down over the years. Ok, I used many of the drives long after
other people took similar drives out of their machines and used them as
door stops. Basicly, I made these drives work until they dropped dead. :-)
None of these drives *ever* gave strange data back. The only time I had
that was when the driver for a controller was broken and that issue was
there right from the beginning.

 5) you don't have to wait for fsck. one of the few real adventages.
 Anyway - FreeBSD doesn't crash like windoze, so it's not that big thing.

Wrong! Crashed accure and they do that quite frequently. Even if FreeBSD
is stable in 

Re: Looking for a Text on ZFS

2008-02-04 Thread Christian Baer
On Mon, 4 Feb 2008 13:39:52 +0100 (CET) Wojciech Puchar wrote:

 did you ever got your UFS filesystem broken not because your drive failed?

That is not the point here. I have been using FreeBSD sind version 3.3,
which was released in 1999. Before that I used Linux. So I can't even look
back on 10 years of FreeBSD yet and I don't have that many drives I have
to worry about. So the fact if one of my files systems ever broke isn't
really representative.

To answer the question: Yes, it did happen and not only once. This was in
the time when I was setting up a new computer with 6.0-RELEASE and a new
S-ATA controller. There was a bug in the driver which the developer
managed to fix after we exhanged a few eMails. Before the error was fixed,
my machine crashed several times with a kernel panic. There were something
like two dozen crashes in that time. Twice the filesystem could be
salvaged by fsck, but the data on it was pretty messed up. I don't know
how that happened and frankly, I don't care either. The rest of the
times, fsck did get the fs into normal working order again whith just the
file broken that was last being written. Since the boot drive wasn't
connected to the new controller and I was using this machine as a
plattform to debug the driver, no real damage was caused.

 i don't. UFS it's not FAT, and doesn't break up.

That's ok to believe if you want to. UFS is designed to minimize errors.
There is no guarantee that there will be none.

 you CAN't estimate well how much space you need in longer term.
 in practice partitioning like yours means at least 100% more disk space 
 requirements.

I wouldn't be that pessemistic. True, you can't be sure you allocated
enough space to X, so you leave a safety margine. But the fact that the
HDD doesn't grow limits your space anyway. I am not denying that you might
waste space this way but it's still nothing I'd lose any sleep over.

 of course - there are often cases today that whole system needs few gigs, 
 but smallest new drive is 80GB - it will work..

I work with lots of drives that are a lot smaller than that. And the
systems still work. :-)

 still - making all in / is much easier and works fine.

Maybe I'm just too conservative for that.
Mind you, I don't break up all drives by default. I have some 500GB drives
that have only one large partition. This partition is for data (which
means everything but system stuff). All I break up into pieces are the
default system areas.

 making all in / and /lessused, where / is at first part on disk, and 
 /lessused on second - make big performance improvements (shorter seeks!).

There are about 10 things I can think of that I'd do before I tried
something like that. I'm a little surprised about a suggestion like this
coming from you because you seem to be a great advocacy of dynamic
systems. And here you have to decides what is used often and what not.
This is an estimate that you could also mess up - I'm sure I probably
would. :-) And chaninge a file from the seldom to the often area isn't
that trivial either.

I increase performance by mounting /tmp and /usr/obj async and I mount
systems I want to work fast with noatime.

But ok, noone will judge either of us for working with our systems the way
we please. :-) Anyone with Unix knowledge will find his way around my
boxes and the same should be true for you. The rest are just details. :-)

 I read about this. However, I didn't find anything conclusive as to how
 well the drives can still live on their own if they are ever seperated.
 Now I don't think they will be addressed as a RAID0 with all the risks of
 that. But what happens if one of four drives breaks down? Does it make a
 difference, if the broken drive is the first one, the last one or a middle
 one?

 if it's just concat, you will loose lots of data, just like any other 
 filesystem.
 with concat+mirror - you replace single drive that failed and rebuild 
 mirror. that's all.

Which doesn't really address the issue of what happens if a drive that is
part of a big ZFS is removed (because it's broken).

 after reading your answer on 3-rd question i will end the topic, because 
 you understand quota as workaround of problems creating 1000 partitions.
 or simply - looks like you don't understand it at all, because it is not 
 workaround. it's excellent tool.

Maybe you just don't understand my English? :-)

I understand quota very well and also what it can do. It is a very useful
tool but it is not the holy grail. I actually use both block and file
quote on some of the systems I have to watch. And I use both hard and soft
at that. Quota does eliminate the need to create one partition for each
home directory, even if you think it is not meant for that. And actually,
it is used a lot for just that purpose. ISPs with shared hosting products
usually don't allow direct write access outside the users ~ anyway. So the
quota just stops him from uploading to much. But I know quota is also very
useful in mixed 

Suggestion for a file manager?

2008-02-04 Thread Christian Baer
Good afternoon, everybody!

I'm looking for a suggestion for a file manager. Something like the Total
Commander known from Windows. I know the mc and I already use it. But it
has a few functions I miss. Most importantly being able to create queues.
I have a lot of work to do that looks like this:

move a to A
copy b to A
move c to B
...

Where small letters are directories or files and capital letters represent
drives, mount points or other destinations.

The idea is to be able to list all the things that have to be copied or
moved at once and then to let the computer do its work while I am not
around. Some of these tasks can take a while and I don't really like
hanging around and waiting for one to finish so I can start the next.

One solution (well, not really) would be to start multiple instances and
start all the processes at once. This would be ok if all the work were
done on seperate drives. But two copy instances from one HDD makes the
whole thing a lot slower than if I just did the copying sequentially
because of the increased head movement.

One other thing I would really like is if this file manager didn't need X
but runs on the console as the mc does.

Can someone give me a suggestion?

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


Re: Looking for a Text on ZFS

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:11:21 +0100 Mel wrote:

 If you review the Not done items @ http://wiki.freebsd.org/ZFS and still 
 are 
 doubting, then http://www.opensolaris.org/os/community/zfs/whatis/ describes 
 what the features *can* be. I got a good impression from that text what the 
 advantages are, but I'm too conservative to migrate myself. YMMV.

I already read that before I posted my question. Neither by this text,
nor by the one in the Wikipedia could I participate in the exitement
around ZFS. Ok, so it's a 128Bit FS. Big fat, hairy deal! I couldn't see
any advantages in using it instead of FFS (UFS), but I thought I was
missing something because porting it would have been somewhat of a hassle
and noone would go to all that trouble if it wasn't worth the effort.

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


Re: Behind a router

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 02:24:43 -0500 Jeremy Gransden wrote:

 please fix the line wrap in your email. It is unreadable

And you really neaded to quote over 600 lines just to write that?

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


Re: Behind a router

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:49:55 -0800 (PST) Eugen Udma wrote:

I took the liberty of cleaning up you post. Please fix your line wrap! One
word per line is not what I call easy reading.

 I had a working minimal FreeBSD system until I put it behind a wireless
 router.  Since then, my network is not accessible anymore when I boot
 BSD.  On the same desktop I have a Gentoo Linux system which works just
 fine, even if I didn't touch any of it's configuration files after I
 installed the router.

 The router is a ZyXEL P-335U connected to a cable modem.  The desktop is
 plugged into a LAN port.  A laptop connected by wireless has no
 problems.  The router gets it's IP from the ISP and acts as a firewall
 and a DHCP server to my network: it serves a pool of 32 addresses
 starting at 192.168.1.33.  Its own address is 192.168.1.1.  The IP
 Subnet Mask is 255.255.255.0.

 The configuration files for FreeBSD are shown below.  The output of
 ifconfig and netstat are also shown for BSD and Linux.

 What I don't understand is the fact that having the same router
 settings, Linux works while BSD doesn't: I can't even ping 192.168.1.1,
 while the same ping in Linux works.

 I read the handbook and various other BSD information sources 
 on the web and I could not solve this issue.

 My question is: which config files do I have to edit in FreeBSD and what
 settings should I use ?  Can anybody help ?

The reason seams to be a completely broken configuration of dhclient.conf
resulting in several problems. Among them that two boxes get the same IP
address. Both your BSD and you Linux box have 192.168.1.33.

 /etc/rc.conf
 ---
 ifconfig_dc0=DHCP
 hostname=localhost
 ---

 /etc/dhclient.conf
 ---
 interface 
 dc0 
 {
 send 
 host-name 
 localhost;
 request 
 subnet-mask, 
 broadcast-address, 
 routers, 
 domain-name-servers,
 domain-name, 
 time-servers;
 require 
 domain-name-servers;
 }
 ---

The problem is probably you sending that name localhost which should
never have any other address than 127.0.0.1. Why did you play with the
settings anyway? Normally a dhcp-client works right out of the box. I have
never had to change any of the configurations - ever.

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


Re: Looking for a Text on ZFS

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:38:49 -0600 [EMAIL PROTECTED] wrote:

 ZFS ends the microsotf monopoly over our disks.

And this monopoly is founded on ... what?

 ZFS begins the world as a 128bit dadaspace.
 Using ZFS fixes allocations and massaging your NAS.
 The inode is now the wenode.
 Usaging ZFS will make everything sunnier.
 Brighter too.
 Making ZFS the default FS in an FScentric world ends
 the pesky problems associated with legacy hardware.
 Building a ZFS nonuplyindirectwenode multiply redundant
 redundant filesystem makes Kate Miller-Heidke the
 Well, the best, I think.

I take ist, you don't approve of ZFS? :-)

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


Re: buildworld failed

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 15:00:36 +0530 Venkatesh K wrote:

 I did try that too! Still same problem.

1. Please do not quote everything and then put your comment on top.
2. Try a new csup. Sometime the source tree even in -STABLE is a little
   unstable. :-)
3. Try removing the -march argument.

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


Strange HDD order

2008-02-03 Thread Christian Baer
Greetings programs!

I have a computer here with 10 HDDs. Four of them are connected to the
southbridge of the mainboard. The other 6 are connected to two Promise
SATAII 300 TX4. Four of the drives are connected to the first controller
(making it 'full') the other two connected to the second.

To make the device names predictable I was very careful how I connected
them. The four drives connected to the southbridge are in the right order
(this also means they have the device names ad0 to ad3). The drives
connected to the other controllers are a different story.

The two controllers cooperate well and identify themselves as one
controller only. So I get only one message showing all the drives. The
drives are in this order in the BIOS message:

D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
D 2 SAMSUNG HD501LJ CR100-11 (ad8)
D 3 SAMSUNG HD501LJ CR100-11 (ad10)
D 4 Seagate ST3500320AS SD04 (ad12)
D 5 Seagate ST3500320AS SD04 (ad14)

The device in brackets is the one I'd expect to get. Instead, I get this:

ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150

Where did I go wrong?

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


Re: Strange HDD order

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 14:03:33 +0100 Erik Trulsson wrote:

 D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
 D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
 D 2 SAMSUNG HD501LJ CR100-11 (ad8)
 D 3 SAMSUNG HD501LJ CR100-11 (ad10)
 D 4 Seagate ST3500320AS SD04 (ad12)
 D 5 Seagate ST3500320AS SD04 (ad14)
 
 The device in brackets is the one I'd expect to get. Instead, I get this:
 
 ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
 ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
 ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
 ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
 ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
 ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150

 How disks ars numbered do depend on which ports on which controller they
 are attached to.  You want to use the lowest-numbered ports on the Promise
 controllers.  Which ports that is when both controllers identify as a single
 controller is another question.  From what you show it looks like all the
 odd-numbered ports are on one controller and all the even-numbered ports are
 on the other.

Do you mean physically or logically? Physically the first four drives in
the top list (the two WDCs and the two Samsungs) are connected to the
first controller. The two Seagates are connected to the second.

 Try experimenting by changing which disk is connected to which port and see
 if you can get the behaviour you want.

I don't really want or nead any behaviour in particular. This is just a
matter of what's in the fstab. I was more wondering how this could be and
if this order (and thus the device names) will stay constant or if the OS
could get funny ideas after a csup and change this again, which would
certainly mess up my directory tree.

I was also wondering about the gap there is in the device names. The
first controller should get ad4,6,8 and 10. But then, the second should
get 12 and not 14. What happened to 12?

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


Looking for a Text on ZFS

2008-02-02 Thread Christian Baer
Hello people!

Can anyone give me a link to a text on ZFS that tells me why I might want
to use that instead of FFS? I don't want to start a discussion which is
better, just a comparison, as I assume that the two are not designed to do
the same things. And if possible one that is understandable to people who
don't hack FS-code. :-)

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


Re: RAID mirror really worked

2008-01-14 Thread Christian Baer
On Mon, 14 Jan 2008 07:48:09 +0100 (CET) Wojciech Puchar wrote:

 gmirror works too very good without any hardware :)

Yes, but a hardware RAID works without the OS having to know about it. :-)

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


Re: Changing the output of uname -m or -p

2008-01-14 Thread Christian Baer
On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote:

 Can this even be done and if so how?
 See the manpage, and the UNAME_* variables.

One other thing: Will that change the way the system reacts in any way?
Apps should run normally (well, a browser may give a wrong plattform
information but that should be it). But what happens if you try to compile
something? Will a wrong plattform or CPU variable screw up what the
compiler spits out? Could be rather unhealthy if the compiler optimizes
code for a sun4u on an i386. :-)

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


Re: Reinterpret gamepad input as keyboeard input

2008-01-14 Thread Christian Baer
On Mon, 14 Jan 2008 08:12:51 +0100 Christopher Illies wrote:

 I tried out usbhidaction with something like:
 Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls

 Obviously, this approach does not work as I hoped. ls is echoed in a
 shell window, but it is not interpreted as input.

Then use the command directly: /bin/sh -c ls

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


Changing the output of uname -m or -p

2008-01-13 Thread Christian Baer
Hello Folks!

This may be a bit of a hacker's question, but I'll just go for it in here
- at least for starters.

I want to play a prank on a friend of mine. He does a csup at least once a
day and also makes a new world at least once a day. He is pretty nutty
about that which is ok for some -CURRENT system, but he also does that on
production systems.

Now I don't want to judge him about that, but he is a bit sensitive about
the output of uname. The version is very important to him. :-)

The prank I want to pull is to somehow change the output of uname -m to
read something different. The best thing would be to change that to
something ancient like C-64, i286, i8086. Or, if only plattforms that
FreeBSD supports are allowed, then mips, alpha or sparc64 on an i386. That
should keep him thinking for a while. :-)

I don't want to do any damage, so I just want to screw up the output of
uname and the system should work normally apart from that. I realise that
I may have to change some of the OS's code and that's not a problem. I
just don't know where to look for this kind of thing and I don't really
want to do too much reading just for a little prank.

This guy is a really good friend of mine but sometimes get up my neck
because I am much more conservative about updating my production systems.
As you can see on this machine, I go along the lines of RELENG_6_2 which
he can't understand. This should buy me a little peace and quite for a
week or two. Getting access to his machines is no problem as I am often at
his place.

Can this even be done and if so how?

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


Re: Changing the output of uname -m or -p

2008-01-13 Thread Christian Baer
On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote:

 Can this even be done and if so how?
 See the manpage, and the UNAME_* variables.

I already did that once and it didn't work out. I just found the reason:
I'm too thick. :-/ I though all the letters had to be capitals, so I set
UNAME_M instead of UNAME_m. The days my brain leaves me... :-)

Thanks for the help!

Regards,
Chris
___
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 a /bin/sh method to tell the ending of a file

2008-01-08 Thread Christian Baer
On Tue, 8 Jan 2008 02:27:29 -0600 Paul Procacci wrote:

 And for what it's worth, I agree that what I provided wasn't pretty, but at
 least it gives everyone something to stare at for a while.  ;P

Great, just like a bad accident on a major road. It isn't pretty, but you
just have to look. :-

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


KDEWallet is only partially installed?

2007-10-19 Thread Christian Baer
Hiya folks!

On my Sun (this machine), I only wanted a base KDE with very few apps
installed, as I wanted to choose the ones I needed instead of going with
the big meta-port. So I just installed kde-base. The whole KDE wouldn't
be run anyway, but instead usually only a single apps at a time and these
would be displayed on a different computer.

Most of that works fine so far. I'm a little fuzzy on KDE-Wallet though.
It seems to be installed as other apps (like kopete) use it to save
passwords but I can't start (or find for that matter) the manager to
manage the stuff in save in the wallet.

Is that part of another port that I have to install seperately or am I
just missing the point here?

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


Re: Is anybody here running Pidgin (under FreeBSD)?

2007-09-27 Thread Christian Baer
Hey Fans! :-)

Vince wrote:
 Hope this is enough. I stripped some email addresses out but otherwise
 untouched. I only use it for ICQ/MSN and have never bothered trying
 anything more than messaging (no voice etc.)

Dmitry Gorbik wrote:
 Ok, there is my log in attach. No problems coming through gateway
 192.168.1.1... I also have:
 (19:53:30) nat-pmp: found a default gateway
 (19:53:30) nat-pmp: Attempting to retrieve the public ip address for the NAT 
 device at: 192.168.x.x
 (19:53:30) nat-pmp: Timeout: 0s 25us
 (19:53:30) nat-pmp: Response was not received from our gateway! Instead from: 
 216.230.191.191

 All pidgin feautures (file recieving works well).


And last, but not least, Tuc at T-B-O-H.NET wrote:
 Pidgin 2.2.0, installed via ports
 Comments:
 Getting the response from 8.232.191.191 was weird, since that IP
 is outside of the RR.COM domain!
 Debug any help?

First of all, thanks to all three of you for sending me your
debug-messages. I've had a few days of hardcore-work lately (the work that
I get paid for) and didn't get much done on Pidgin. :-/

I did get at chance to take a close look yesterday though and I'm afraid,
I'll probably let this thing go. First of all, I was hoping that you guys
didn't get that nat-pmp messages. A friend of mine who uses Pidgin under
Windows doesn't get them either. If this were the case, I'd habe a pretty
good guess ready as to what lib I'd have to examine - it might even just
have been a quirk in the make and/or configure options.

Since this isn't the case, I'd have to look through a ton of libs and fine
out where this problem is actually coming from. And that could be very
extensive. For all I know at this point, it might even be a problem with
FreeBSD on sparc64 - and *that* is something I really don't feel like
investigating.

I've already started a thread a thread on the Pidgin support mailinglist,
but the response there was everything but promising. I even supplied debug
info using the gdb (as we had on this list too). There was no response
worth mentioning. I got a few questions but not even a rough direction in
which I should look a little harder. The mailing list had extremely little
traffic for the time that I have been on it, so I guess the comunity isn't
all that active. The very thin documentation on the Pidgin home page seems
to suggest this too. The *programming* community is very active - I can
read the sf-statistics too. :-) But that won't help me much if I can't get
in touch with them using normal channels and bugging the developers with
problems is usually not a good idea.

Well, since I keep in touch with a lot of people at my university via IM,
I took a look at the daughters of other mothers :-) out there. Somehow I
got stuck with Kopete which at first looked a bit crappy to me but I was
completely wrong about that. It looks good and it feels good, which means
it's both fun *and* productive to work with. Ok, you have to play around a
bit with the themes for the chat windows (displaying a big avatar for
every line written is pretty silly in my eyes), but you can quite easily
get a window that is both good to look at while still keeping the emphasis
on the communication, not on eye candy. Besides that, I like Kopete's
buddy list because each contact is a meta-contact by default and behind
his or her avatar all the services with wich he or she is online are
listed, so you can choose what protocol to contact this person with. This
is important because file transfer isn't supported with all protocols.
Pidgin requires more effort for this, because you have to open the list
for a meta-contact first.

I will be investigating why Pidgin didn't run on my machine, but I won't
be doing that at full throttle...

BTW. If anyone needs a new buddy in his or her list, let me know. :-) But
contact me via private eMail first, please. I'm not to crazy about
publishing my UIN or whatever on a mailing list that can bei viewed on the
web by anyone.

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


Re: Is your Thunderbird OK?

2007-09-27 Thread Christian Baer
On Wed, 26 Sep 2007 17:00:10 +0900 Byung-Hee HWANG wrote:

 If you can live without the pretty pictures, you can configure Mutt to use
 an external browser like lynx or links to display HTML.
 
 Otherwise, you could give Claws a closer look.
 ^
 After I read your replying mail, I investigated the Claws. I am
 considering for moving from this Evolution to the Claws.

Evolution is quite a bit more than Claws, as it is supposed to be a clone
of Outlook (IIRC). But Cleaws is pretty sexy, because is small and quite
fast.

 But still Thunderbird will remain as the best MUA to me.

Not to me. Thunderbird is also a newsclient and in that capacity there are
several things missing. If you've ever used something like slrn, you'll
miss the scorefile like hell. Thunderbird also has one of the main
weaknesses of any GUI program: It's slow. If you get up to 60 eMails each
day which you not only have to read but also answer, you'll be happy to
have a mail- and news-client that lets you keep your handy on the keyboard
instead of making one had jump between the keyboard and the mouse all the
time.

Since I moved to Unix (it was Linux back then), I have always used
textbased mail- and news-clients. I started off with elm and tin. Unlike
many others, I didn't really have a problem moving on to Mutt. Today I
prefer slrn over tin, but at university I still use tin. Both are fast and
easy to use. I just like the split screen while reading, because then I
can see the thread as well as the current article at the same time.

 Thank you so much!

No problem. Always here to help. :-)

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


Is anybody here running Pidgin (under FreeBSD)?

2007-09-25 Thread Christian Baer
Hi there again, peeps!

Since I still can't get Pidgin to run on this box and it seems that nobody
had any advice for me, I have decided to go at this step by step. I hope
you can bear with me on this one. BTW. The note on the subject, running
Pidgin under FreeBSD, is there because not all people on this list
actually don't use FreeBSD for everything. :-)

If there is someone who runs Pidgin under FreeBSD behind a router and is
willing to help me, would you please do the following:

- run Pidgin from a console or Xterm (XServer must be running) with the -d
  option.

- Send the result to me. Pidgin does not share any sensitive data in this
  mode apart from you IPs, which you can change like this: 192.168.x.x. If
  you do this, make sure that I can still distinguisch the private and
  public IPs.

- Let me know how you installed Pidgin (from the ports or with pkg_add).

- Tell me what Version of Pidgin this is.

You might find a post from me on this list, where I described what I am
looking for. Don't worry about that, I just need information because at
the moment I can't do much more than guess what the Problem is.

To give you a short version...
I noticed this in my log:

(00:59:33) stun: using server
(00:59:33) nat-pmp: found a default gateway
(00:59:33) nat-pmp: Attempting to retrieve the public ip address for the NAT 
device at: 192.168.x.x
(00:59:33) nat-pmp: Timeout: 0s 25us

Now, IFAIK sofar only Apple has a working implentation of nat-pmp. A
friend of mine runs Pidgin under WinXP behind a similar router as mine,
has no trouble with that and doesn't get anthing about nat-pmp in his log.
His Pidgin retrieves the needed Information var UPnP. This is activated on
my router too (status reports only) but still I think that an IM soft
should work without.

Never mind about that now. Just send me the info and I'll try to make
heads or tails of it.

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


Re: Confusion on SSH and PAM

2007-09-25 Thread Christian Baer
On Tue, 25 Sep 2007 15:56:22 +0400 (GST) Rakhesh Sasidharan wrote:

 Any ideas or nudges in the right direction as to why this is happening? 
 Looks like I've understood the interaction between SSH and PAM wrong here, 
 so would appreciate some enlightenment.

I'm not sure if I can offer any enlightenment here, but you can have my 2
cents. :-)

When you authenticate yourself with you private key, everything works as
you expect. If I understand you correctly, you are confused as to why you
still get prompted for a password when you don't supply a key and then
even the right password doesn't get you in.

This is one of these things with computer logic. :-) You have told the
sshd that a root login vai PAM is not ok, only via private key. PAM is
activated just the same (and probably works for other users). The login
follows a certain order...

1 Ask for username
2 Did we get a key? If not, goto 5
3 Is the key ok? If not, goto 5
4 Let user login, exit authentification
5 Is PAM globally on? If not exit
6 Ask for password
7 Is the password ok? If not goto 6 max 2 times, after that exit
8 Let user login, exit

I know, crappy algorithem that remindes of BASIC a bit. In this case it
should do the job, though. Please forget that the word goto exists in
other languages too (even Java). :-)

Your problem seems to be from steps 5 to 7. After the authentification by
key fails, the sshd just goes to the next step, which is the password. For
security reasons, the communication inside is a bit brief. PAM only gets
the answer not authenticated and because the reason isn't an issue, the
user is asked for the password again. The point is that the sshd just
refuses your login each time, because a password just isn't enough.

I have already made up a little something to put this situation into
another context (access to an underground club for parties) to maybe make
it a little clearer but I think the world has had quite enough of my
little stories aready. :-)

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


Re: Is your Thunderbird OK?

2007-09-25 Thread Christian Baer
On Wed, 26 Sep 2007 00:41:53 +0900 Byung-Hee HWANG wrote:

 Yeah I also like text based MUAs such as mutt or pine. Sometimes I get
 HTML messages from my co-workers who use webmail. I must read those HTML
 messages for my work, study. That's why I need windows-like MUAs, not
 text based MUAs. Is there any other best MUA? I _really_ feel thirsty
 for best MUA.. anytime..

If you can live without the pretty pictures, you can configure Mutt to use
an external browser like lynx or links to display HTML.

Otherwise, you could give Claws a closer look.

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


Re: migrate from postfix to qmail

2007-09-24 Thread Christian Baer
On Mon, 24 Sep 2007 08:36:24 -0400 DAve wrote:

 First item, ignore the qmail haters. We run qmail quite successfully and 
 find it very powerful, very secure, and well designed. I will not go 
 into a point by point debate.

Goo idea! Lets also ignore all Windows haters. I'm sure that plenty of
people will say that Windows is fast, secure and without bugs. :-)

No, I don't want to start a fight here. I admit, that I don't like qmail
and I *have* used it for years. I never hat security problems with it
either and what made me think about a different MTA was the fact that
qmail on ReiserFS was undefined - and I lost mail. The bad performance
result was something found by accident. But that wouldn't make any diff on
a private site.

 Second item, plesk is a very bad way to run qmail. You will get *no* 
 help on the qmail list if you use the install on plesk. It is a modified 
 version of qmail and the modifications are closed door, at least that is 
 my understanding. So if you do not have an excellent understanding of 
 Unix, and above average understanding of email, and good troubleshooting 
 skills, you are in for a very rocky ride.

Well, as you say, the Plesk version of qmail sucks (on which we agree) and
therefore administration should bei done without Plesk (we agree on that
too) then the OP might as well stay with Postfix and just dump Plesk.

Are we in agreement? :-)

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


Re: The best way to keep the system clean?

2007-09-24 Thread Christian Baer
On Mon, 24 Sep 2007 20:17:42 +0800 ronggui wrote:

 My problem, many times I install some software from ports, it install
 the dependency software. Then after some time, I find that software
 isn't what I want, and deinstall it. At this point, the dependency
 software isn't necessary as well. Is there a way to clean them
 automatically, like the apt-get autoremove in the Ubuntu system.

pkg_cutleaves was mentioned here a few times. I just want to tell you, why
I think it's the best idea:

Automatically deinstalling stuff can leave a mess. Sometimes you deinstall
too much, because one of the other ports your application depended on is
also needed by others. Think about what could happen if you deinstalled
gtk.

pkg_cutleaves lets you go through the list of installed stuff and asks if
you wish to remove each item. All packages shown are leaves, which means
they are not required by any other program. After deinstalling a few
leaves, you will get new leaves which you can deinstall.

 And the related general question is, what's the best way to keep my
 system clean? Thanks.

Define clean.

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


Re: migrate from postfix to qmail

2007-09-23 Thread Christian Baer
On Sat, 22 Sep 2007 19:18:53 +0200 Heiko Wundram (Beenic) wrote:

 The qmail-configuration can be read an evaluated *without* a parser.

Excuse my spelling in the last message! :-) I corrected it in this quote.

 Sorry, but that's BS (IMHO).

Don't tell me, tell Dan Berstein (happy hunting):
http://cr.yp.to/qmail/guarantee.html

Observe point 5.

 Any program interpreting some form of input is called a parser, and the
 only distinction is the algorithm you need, i.e.  whether you need a
 full-blown stack-machine to interpret the input (think of recursive
 declarations), or not.

[...]

I know what the Postfix configuration looks like, I've been over it a
countless number of times. I know it is simple, even to parse, but there
is still no real comparision to qmail's configuration. qmail has several
settings that come one setting per file. IIRC the other settings go one
per line, no comments, no spaces, no quotation marks.

I'm not saying the Postfix configuration is not as good or even complex.
qmail's configuration is just easier to read and write if both are done be
an automation, rather than a human.

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


Re: migrate from postfix to qmail

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 08:31:34 -0500 Eric wrote:

 Don't tell me, tell Dan Berstein (happy hunting):
 http://cr.yp.to/qmail/guarantee.html
 Observe point 5.

 DJB has not honored at least one vulnerability in qmail. read the link i 
 posted early in this thread and decide for yourself.  theres a word for 
 people who say one thing and do another...

Why do you think I put the happy hunting there? Didn't travel quite as
sarcastic as the smile on my face when I wrote it. :-)

I don't like qmail much and I certainly don't like DJB's attitude in many
cases. He had a few good ideas however and it certainly is not my part to
try and take that away from him. Besides, I wasn't trying to prove
anything about qmail being good or bad but just something about the
configuration and the parsing.

I haven't looked at qmail in years. Funny that the Version is still the
same as when I used it (that could well be 10 years ago). Today I don't
really care if qmail is secure. That would be a typical case of SEP. :-)

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


Getting pidgin(1) to run...

2007-09-23 Thread Christian Baer
Hi there people!

I may be posting this question (which is rather lengthy, I know) on the
sparc64 mailing list too, as it might be an issue with this architecture.
Please don't complain, just answer where you think the answer belongs.

I know that running FreeBSD on a Sun is a rather exotic choice but I like
FreeBSD and didn't want to install SunOS (Solaris). This is an Ultra 60
with 2GB RAM and two 74GB SCA-HDs, running 6.2-RELEASE-p7). Everything
else is NOT an issue as this machine has no monitor, keyboard or mouse but
is accessed only over the Network (yes, X and esd too). Since the result
has to work with both WinXP and another FreeBSD-box, I am currenty
experimenting with Xming. I don't however think that this is relevant,
just giving the info in case I missed something.

This constellation works fine so far. I can run all of KDE or single apps
without KDE (like the konqueror). Even xmms works fine - including sound
and the OpenGL visualisation, although that's a little bumpy over the
network. :-)

Because the binary packages for sparc64 are always out of date, I compiled
Pidgin (2.2.0) myself using the ports. Here are the options I used:

 [X] SILC   Secure Internet Live Conferencing support
 [X] GNUTLS GNUTLS encryption support
 [X] NSSMozilla NSS encryption support
 [X] SASL   Cyrus SASL support (for jabberd)
 [X] DBUS   Enable DBUS bindings
 [X] PERL   Perl scripting
 [X] BONJOUREnable mDNS support
 [ ] SAMETIME   Enable Sametime client support
 [ ] TCLTK  Tcl/Tk scripting
 [X] GTKSPELL   Spell checking support
 [X] GSTREAMER  Use GStreamer for playing sounds
 [X] CAPEnable Contact Availability Prediction plugin

After a while [ a few hours :-) ] the computer was done.

Starting Pidgin from KDE resulted in it being shown in the task bar at the
bottom for about 20 seconds and after that it just disappears. It could
however still be found with ps ax. Pidgin does *not* minimize itself
into the tray. It just disappears. So I decided to start it from the
console. It started and kept running, just no window on the server ever
appeared for it. ctrl-c did terminate it. Note that in this case I didn't
start KDE or any other X application for that matter. I just started
Pidgin and had Xming listening on another computer.

Since that didn't get me anywhere, I started Pidgin with the -d option.
The last three lines you get to see are these (I cut out the time):

nat-pmp: found a default gateway
nat-pmp: Attempting to retrieve the public ip address for the
   NAT device at: 192.168.x.x
nat-pmp: Timeout: 0s 25us

Pidgin can still be terminated using ctrl-c. Since I didn't want to
bombard the list with the log, I put it here:

http://dresden.icerats.de/specials/pidgin-debug.txt

I inserted the line after the ctrl-c.

My router is an AVM Fritz! Box Fon 5012. I have not opened any ports for
any IM (yet) - at least not for this machine.

Because of the last message I see when starting it with -d, I guess that
it could be a router problem - I consider UPnP to be evil and therefore it
is off. A friend of mine however also uses Pidgin (under Windows) behind a
similar router without any problems.

nat-pmp could be the problem, as I am not aware of anyone other than Apple
having a working implementation of this. So I used kdump(1) to find out
what is going on. I don't want to post the whole file here (it is rather
long). But a few things I did notice...

 90378 dbus-daemon RET   read 144/0x90
 90378 dbus-daemon CALL  read(0xb,0x2a1000,0x800)
 90378 dbus-daemon RET   read -1 errno 35 Resource temporarily unavailable
 90378 dbus-daemon CALL  gettimeofday(0x7fde240,0)
 90378 dbus-daemon RET   gettimeofday 0
 90378 dbus-daemon CALL  poll(0x7fde540,0x3,0)
 90378 dbus-daemon RET   poll 0
 90378 dbus-daemon CALL  poll(0x282000,0x3,0)
 90378 dbus-daemon RET   poll 0
 90378 dbus-daemon CALL  poll(0x282000,0x4,0x)
 90373 pidgin   CALL  setitimer(0x2,0x7fdd0d0,0)
 90373 pidgin   RET   setitimer 0
 90373 pidgin   CALL  close(0x3)
 90373 pidgin   RET   close 0
 90373 pidgin   CALL  close(0x4)
 90373 pidgin   RET   close 0
 90373 pidgin   CALL  fcntl(0,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x1,0x3,0)
 90373 pidgin   RET   fcntl 2
 90373 pidgin   CALL  fcntl(0x1,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x2,0x3,0)
 90373 pidgin   RET   fcntl 2
 90373 pidgin   CALL  fcntl(0x2,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x6,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x6,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x7,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x7,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x8,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x8,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 

Re: OpenOffice problems

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 23:09:12 +0200 (CEST) Marco Beishuizen wrote:

 I don't want openoffice to use this library but it seems that openoffice 
 needs it for something. I only upgraded the port and that whole process 
 went ok.

How did you do that?

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


Re: Gnome FreeBSD from putty

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 06:35:00 -0700 Timothy McGee wrote:

 Any way of running Gnome or Firefox from putty remotely?  What's the best
 way to test for the displays setup, etc?  

I'm not too sure, what you are trying to do here. If you want to run a
program or an entire desktop on one computer and have the display on
another computer, that isn't all that difficult.

Look at this text:
http://tldp.org/HOWTO/Remote-X-Apps.html

Unlike the others in this thread, I recommend the use Xming as the Server.
Cygwin is not really being maintained anymore.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 02:47:09 +0200 Lotfi kecir wrote:

 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?

Why in heaven's name would *anyone* want to do that? I have been using
Postfix for years now and before that I used qmail - when it was new.
qmail sucked *bigtime*! It was slow, picky about the filesystem it worked
on (ReiserFS cause very interresting results), a license that doesn't
deserve the name and one mistake in the configuration didn't cause an
error message but instead sent incoming mail directly to the happy bit
grounds.

qmail has not really been maintained by the Author over the last few years
and although it is distributed in source, changes to it are not allowed,
if you plan to distribute the result. This means that in order for qmail
to still work today, there is an insane amount of patches out there that
have to be applied.

IMHO using qmail instead of Postfix is a gigantic step right back into the
stone age. Say hello to the dinos for me! :-)

Regards,
Chris

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 06:29:30 +0200 Lotfi kecir wrote:

 to give answer to your answer: i rent a dedicated server (Fedora 6) witch
 has qmail installed on. and in my old Server witch is in our office turn has
 Postfix.
 The new sever has as Admin panel Plesk.
 I already create all email acounts and now i'm looking to transfert all my
 user acount mailboxes.

I hope (for your sake) that the rented server is not only dedicated but
also *managed*! If it isn't you will sooner or later have to leave Plesk
anyway and do the odd thing or another on foot. It might have been a
good idea to look at what's installed on a dediserver before signing the
contract. But it isn't my job to lecture you on that.

BTW: This isn't a FreeBSD issue. You will probably have more luck finding
someone who can help you in one of the newsgroups with this subject.

 and i don't have any idea to do it.

There isn't really a routine to migrate from Postfix to qmail. This is
partly because noone usually wants to do it and partly because the whole
thing is quite complex. It would IMHO be something for an advanced user or
a sysadmin.

You could however talk to your ISP where you hired the server. They will
usually (for a price) adapt the installation for you - if this isn't a
managed server. So you could ask them to change the MTA for you. If you
have enough experience, you can also do it yourself. Just remember that
you *will* have downtime because of this.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 11:47:06 +0200 Johan Andersson wrote:

 The best MTA is? exim?

Not that this is really a subject for this list, I don't really agree.

We did some studies on several MTAs a while back and found out (quite by
accident) that Exim has some real performance issues. I personally don't
really like the monolithic form of Exim and Sendmail, but Exim seems to be
pretty secure just the same. However, it was impossible for *any* other
MTA to get even close to the performance that Postfix offered on the same
basis (OS and Hardware).

Every MTA has a weakness, just because a strength is often exclusive and
cannot be combined with a different strength. I have been happy with
Postfix for years now. And IMHO, all ratings about what is better are just
about as useless as OS-wars.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 11:13:58 +0100 Gabriel Dragffy wrote:

 Yeah right. I don't have hands-on experience with any MTA other than  
 Postfix, but I never read a good thing about qmail. Thing is, I work  
 for a design company - we have 3 VPSs two using Plesk and another on  
 extend, I noticed that behind the scenes it is Qmail for all of them.  
 How come it is used by these control panels when it is so poor? Just  
 a small whine from me :)

That question is pretty easy to answer:
The qmail-configuration can be read an evaluated *without* a parcer. This
makes it easy to read and write the configuration and it also reduces
the risk of errors.

If you created a configuration tool for an MTA you'd be looking for
something that will interact well with you tool and probably you wouldn't
look to carefully how well that program does its job as an MTA.

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


trouble compiling some ports

2007-07-22 Thread Christian Baer
Hello Folks!

Currently I am setting up a new computer (Sun U60) with FreeBSD and I am
in serious guano. :-/

I am currently running 6.2-p6, of course with the ports up to date.
Normally the ports would not be the install method of choice since the
processors of this machine are relatively slow and compiling of slightly
bigger projects seems to take forever - especially since most ports
won't compile with multipal jobs. However, probably because of the
fact that all UltraSPARC CPUs that FreeBSD supports are this slow and
AFAIK cross-plattform-compiling is not supported (yet), many of the
packages are really ancient. So if you want up to date software, you
have to use the ports.

First I tried to install portupgrade. That however failed with an error
message that lets me think, there is still some confusion because this
port was moved from sysutils/ to ports-mgmt/.[1,7] This suspicion is
hardened by the fact that ruby won't compile when it is built as a
dependency of portupgrade, however it *does* compile and install
without any complications if this is done directly from the
/usr/ports/lang/ruby18/ directory.

Well, since that didn't work I decided to get busy on the MTA. I don't
much like Sendmail (although I had some thoughts about getting re-
aquainted) and Postfix is a little more what I want. Postfix requires
Perl 5.8 to work and if that isn't installed, the Postfix port does that
for me. Because I like to at least look at the options of each port
before I build and install anything, I decided to install Perl 5.8 on
foot (from the port of course). But that too refused to work. The build
stops with an error code 1 while still saying that everything is ok[2].

To verify what happened, the port offers a make test which I ran.
While this is running it spits out several messages like this one:

lib/Test/Simple/t/threads.skipping test on this platform

where I have to admit that I don't understand why these specific test do
not apply to my plattform. There are some that I understand (like some
tests for Win32), but not all of them. Well I guess the programmer knew
what he/she was doing and left it at that.

make test also spits out three error messages[3,4,5] which I haven't
included in the correct order, I'm afraid. The end of the test script
shows an error message[6] which doesn't really make me feel confident
about installing what I've just built.

Note #1:
You may find that in the messages shown below, Perl was compiled with
the -mcpu option which tends to break some ports (or even make
buildworld). I know about this and have tried several very conservative
options, down to only -O -pipe. I have also tried not only p6 but also
the current -STABLE, compiled with different compiler-options - which I
might say is *very* ball-busting on such a slow machine.

Note #2:
Someone in a German newsgroup told me that this problem (Perl won't
compile) seems to apply to AMD64 as well. This would *really* surprise
me as Perl is widely used and I didn't find any reports of this problem
anywhere else.

Note #3:
The error message noted in [3] seems a bit more that a coincidence:
 returned,
1000 expected.
There were thoughts about big-/little-endian (SPARC is big-endian)
problems but also about a bug in gcc's data-types.

Can anyone help?

Regards,
Chris


[1] last lines from portupgrade's build
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
ports.rb  .build/ports.rb
/usr/local/bin/ruby18 -wc portsdb.rb
Syntax OK
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
portsdb.rb  .build/portsdb.rb
=== man (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/man
gzip -cn pkg_deinstall.1  pkg_deinstall.1.gz
gzip -cn pkg_fetch.1  pkg_fetch.1.gz
gzip -cn pkg_glob.1  pkg_glob.1.gz
gzip -cn pkg_sort.1  pkg_sort.1.gz
gzip -cn pkgdb.1  pkgdb.1.gz
gzip -cn portcvsweb.1  portcvsweb.1.gz
gzip -cn portsclean.1  portsclean.1.gz
gzip -cn portsdb.1  portsdb.1.gz
gzip -cn portupgrade.1  portupgrade.1.gz
gzip -cn portversion.1  portversion.1.gz
gzip -cn pkgtools.conf.5  pkgtools.conf.5.gz
=== misc (all)
=== misc/bash (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/bash
=== misc/tcsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/tcsh
=== misc/zsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/zsh 



[2] End of the Perl 5.8 build
Making threads::shared (dynamic)
Writing Makefile for threads::shared
cp shared.pm ../../../lib/threads/shared.pm
../../../miniperl -I../../../lib -I../../../lib
../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap
-typemap typemap  shared.xs  shared.xsc  mv 

Re: trouble compiling some ports

2007-07-22 Thread Christian Baer
On Sun, 22 Jul 2007 15:47:08 -0500 Derek Ragona wrote:

I am grateful for your feedback, but please try to avoid fullquotes and
only quote the part you are directly refering to. That makes things a
lot shorter and easier to read. And avoids long scrolling. :-)

 I had similar problems on one server that had an old ports tree then 
 updated ports.  I ended up having to completely delete and re-download the 
 entire ports tree, and manually remove portupgrade and portmanager and 
 reinstall them.

Well, in this case the ports *were* completely fresh from the cvs-tree.
I missed installing them via ftp and so csup created them for me. I have
however until today never had any problems with updating ports before.

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


Re: compiling ports with more than one job

2007-03-03 Thread Christian Baer
On Wed, 28 Feb 2007 10:44:16 -0600 Josh Paetzel wrote:

 The issues with the config screen sounds like a bug, but one that is 
 unlikely to get fixed any time soon.  You can avoid it by doing a 
 make config-recursive before building the port, but you're still 
 going to run in to the problem that ports are not guarranteed to 
 by -jX safe, some will work, some won't, and there's no way of 
 knowing without trying it.  In general you can save yourself a lot of 
 headaches by not trying in the first place.

I don't have a headache because the port didn't compile, but because
compiling without -jX is *really* slow. SPARC CPUs are just slow (by
today's standards). Therefore the wish to use all of them (in my case
both) is a lot bigger than it would be for someone with an AMD64 5000+
to use both cores.

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


Re: compiling ports with more than one job

2007-03-03 Thread Christian Baer
On Wed, 28 Feb 2007 13:07:24 -0500 Lowell Gilbert wrote:

 Exactly right.  However, you can get some parallel building by doing
 more than one single-threaded build at the same time.  This leads to
 some danger of corrupting the database, though, so it's not for the
 squeamish.  I know that portupgrade uses locking to control those
 problems, and I suspect some of the other port-management ports
 probably have similar capabilities.

That could actually lead to more problems than a port that doesn't work
with -jX.

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


Re: compiling ports with more than one job

2007-03-03 Thread Christian Baer
On Wed, 28 Feb 2007 18:37:33 + RW wrote:

 There are two problems here. The first is that not all of the
 underlying builds support this. The second is that we are using Make as
 our ports scripting language - I'm guessing that in Gentoo no-one
 expects portage itself to be parallel.  

I don't actually *expect* anything. :-) I'm not sure why you think that
Gentoo should be an exeption here, but that won't hold up forever - on
any OS. It seems that we have reached a point where faster CPUs cannot
be made by just increasing the clock. All current CPUs (from Intel and
AMD) have two cores and ones with four cores are almost on the market.
There are CPUs in other areas with even more cores in use today.

This means that at least in the near future just about every OS must
somehow work with more than one CPU since parallel computing seems to be
the future. This will create several new challenges. 

Microsoft will lose money because until now they charged money for their
OS if the customer wanted more than one CPU supported. :-)

But others will have to adapt too. FreeBSD and Gentoo will have to get
the compiling into order so it works parallel. NetBSD mut get SMP
running properly at all.

I know that SMP wasn't considered too important in the past as only
servers had more than one CPU. But the times are changing, SMP is coming
bigtime and the software must be made to meet the demands of the
hardware.

 Really it's only the build stage that matters. What you might try is
 setting the MAKE_ARGS variable, which passes extra arguments to gmake
 during build and install. If a port makefile sets it explicitly you'll
 be out of luck, but I think most either don't set it, or use +=.

So you mean a MAKE_ARGS= -j 4 would help?

 Probably you would want to set it conditionally in make.conf, so you
 can exclude any problematical ports.

What do you mean with that?

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


Re: defrag

2007-03-03 Thread Christian Baer
On Thu, 1 Mar 2007 13:50:44 -0700 Steve Franks wrote:

 Excellent!  Never had that one answered.  I've gone down the typical
 road of being an MS booster (It doesn't take 10 hours to set up and
 configure) to experiencing glee when I find yet another way FBSD
 kicks the crap out of MS.  Why?  Because I've grown up, and learned
 that 2 hours time spent *reading* and configuring is way better than 2
 days time spent when the system crashes in the middle of the workweek
 - bottom line, BSD is cheaper before, during, and after installation.
 Probably by a factor of 10 for me over the last 10 years.  As I write
 this, I'm on a MS laptop that has degraded to the point where any disk
 acess takes 10 seconds before the display updates (but not from the
 shell - so not a defrag issue, just a screwed registry or something).
 I used to reinstall my entire MS server every 6 months, on average...

Hence the three Rs of MS support.

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


Re: defrag

2007-03-03 Thread Christian Baer
On Thu, 1 Mar 2007 17:39:05 -0500 Jerry McAllister wrote:

 Well, it would do some, but for the greatest effect, you would need:
   dump + rm -rf * + restore
 That would get it all.

 Of course, I should have re-emphasized that this is not needed.
 You will not improve performance.   Its only value might be to exercise
 every used file block on the filesystem to make sure it is still
 readable. And for that you don't need to nuke and rewrite things.

You could of try changing the above command into 'rm -rfP *'. That would
make sure everything on your file system is still readable. And it would
give you a lot of time to think about it. :-)

 Just doing the backup (which you should do anyway) will read up all
 used file space (except what you might have marked as nodump).

Actually, that way you won't get every sector on the drive - not unless
the drive is full to the brim anyway.

If you really just want to check the drive, use 
  smartctl -t long /dev/whatever

You could also try
  dd if=/dev/whatever of=/dev/null bs=1m

The idea with the backup isn't a bad one either. Cause if your drive
goes up in flames, you don't really care. You still have your data.

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


Re: defrag

2007-03-03 Thread Christian Baer
On Fri, 2 Mar 2007 11:12:25 -0500 Jerry McAllister wrote:

 On the other hand, doing all this either way wouldn't make any difference 
 in performance for file access in a running system because so-called
 fragmentation is not an issue in the UNIX file system - except in
 the small possibility that it might make a bit of difference in a
 file system filled to capacity, well in to the reserve where non-root
 processes are not allowed to write anyway.   I don't know just how 
 close to absolutely full you have to get to see any difference, but it
 is beyond what users would normally get to.

You do know that you can use 'tunefs -m 0'? This will in fact cause
fragmentation to happen - even on UFS2! UFS2 has methods of avoiding
fragmentation that work quite well but it is not a 'magical' file
system, which only means that every gain comes with a price. In this
case the price is 10-15% of the HD's space.

BTW. I have used tunefs to utilize all of my space on some drives.
However, these drive contain only static information that has to be
accessed often and then fast. That is the reason why it is on a drive at
all. If you know what you are doing then this option is ok. Otherwise,
the use will run into trouble when the drive fills up and the
information stored on it is not static.

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


Re: defrag

2007-03-03 Thread Christian Baer
On Thu, 01 Mar 2007 22:56:02 +0100 Ivan Voras wrote:

 For what it's worth, this has been Microsoft's official position since
 NTFS became mainstream.

As usual, it's not worth much if it come from Microsoft...

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


Re: defrag

2007-03-03 Thread Christian Baer
On Thu, 1 Mar 2007 17:21:57 -0500 Bill Moran wrote:

 But this also makes it _easy_ for the filesystem to avoid causing the type
 of fragmentation that _does_ degrade performance.  For example, when the
 first block is on track 10, then the next block is on track 20, then we're
 back to track 10 again, then over to track 35 ... etc, etc

Fragmentation *this* bad doesn't happen on MS systems either. Although
the systems are much more in danger of creating a big mess on the drive,
there is a certain method included to reduce this, like only allowing
the track numbers to either rise or fall (possibly per file access) but
not back and forth over the drive.

I can remember experimenting on my Commodore 64 (can anyone remember
that ol' thing?) and the floppy drive. I stored a file all over the
disc, one sector per track. The idea was to find out how much time it
actually took to load a file fragmented like this - and made a really
cool loading sound as well, especially if you had a floppy speeder like
dolphin DOS. :-) I wanted to actually cause the drive to go from track 1
to 40 and then back again while loading a single file. But that didn't
work. So if I started on track a and I am now on track c, then jumping
to track b (with abc) resulted in an error from the drive. Mind you,
this was not a load command that I programmed. It's just the way the
file was allocated on the disc.

A certain logic to how files are saved on discs (no matter if hard or
floppy) has been around for a fair while.

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


Re: defrag

2007-03-03 Thread Christian Baer
On Thu, 01 Mar 2007 23:56:30 +0100 Ivan Voras wrote:

   UFS fragmentation refers to dividing blocks (e.g. 16KB in size) into
 block fragments (e.g. 2KB in size) that can be allocated separately in
 special circumstances (which all boil down to: at the end of files).
 This is done to lessen the effect of internal fragmentation.

No, to lessen the loss of disc space.

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


Re: defrag

2007-03-03 Thread Christian Baer
On Fri, 02 Mar 2007 02:14:07 +0100 Ivan Voras wrote:

 As you said, HFS(+) is not a native unix file system, but maybe someone
 will know about it. All I know about is that HFS+ is a journaling file
 system and that it defragments (in the Windows sense) files smaller than
 certain size (20MB?) on the fly.

This may be completely OT here, but I gotta ask: Is Reiser a native Unix
FS?

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


Re: test

2007-02-28 Thread Christian Baer
On Mon, 26 Feb 2007 19:26:28 -0800 Bill Campbell wrote:

Test Messages
The lists freebsd-test, ..., ... have been created for test messages. 
Please use only these test lists for test messages.
Do not send test messages to any of the normal lists.

 If you do send test messages, at least put some humour in them :-).

It would once again appear that common sense isn't all that common...

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


compiling ports with more than one job

2007-02-28 Thread Christian Baer
Good morning[1], folks!

I am currently setting up a Sun U60 with FreeBSD. A few amount of apps
will be installed on it, when I'm through with it. And that is where it
gets a little frustrating.

The packages for SPARC64 aren't really up to date. That is why using
them isn't really an option. Besides, some programs actually get a real
boost if they are compiled with an -mcpu flag, which probably isn't set
when the packages are compiled. So, I'm down to installing them over the
ports collection.

That isn't bad in itself. But even a U60 isn't really a fast machine and
if you compile bigger collections (like x.org, kde, firefox etc.) you
can watch yourself aging while the machine is at it. It would be a great
help if I could really use both CPUs in this machine. But somehow that
doesn't work. I have observed two things so far (in general):

Some ports (like mc) have a menu for choosing the compile options. If I
try to make one of those with more than one job (make -j 2) I can't hit
any of the boxes on the list of options or even hit the ok button. It
would seem that make went on to the next job without actually waiting
for the input.

The same background but with a slightly different effect is also true
for ports without a menu. I couldn't make xorg with more than one job
because make just ran on without waiting for the required things to be
there and stopped with a no such file or directory. That is quite a
drag as on UltraSPARC II CPUs compiling isn't much fun even if you use
all the CPU-power there is.

Normally you'd think that a meta-port like xorg just hast to be compiled
step by step. However, a far more complex system (make -j 4 buildworld)
works just fine.

Am I too thick to get the point here or is it really true that the ports
in general will only compile correctly one job at a time?

Regards
Chris

[1] It is where I live. :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Day Light Savings time changes on March 11

2007-02-24 Thread Christian Baer
On Thu, 22 Feb 2007 11:46:08 -0500 DAve wrote:

 Or am I missing the issue here?

 Not at all, I am thinking my next staff meeting I am going to propose 
 just that solution.

Now it might be that I think about a few things a little 'differently'
but as far as I can remember running a Unix box (which one that *only*
runs a Unix-like OS) on UTC is the usual default and i also recomended
as such.

I am actually a little surprised that there are whole server-farms out
there (stimm) running on local time.

Regards
Chris

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


Re: Day Light Savings time changes on March 11

2007-02-24 Thread Christian Baer
On Thu, 22 Feb 2007 09:18:39 -0800 Bill Campbell wrote:

Or am I missing the issue here?

 I think the issue is how localtime displays dates.

 This whole ``problem'' is a typical example of brainless
 politicians (but I repeat myself) doing things that cause far
 more problems then they ostensibly solve.

This is geting a little OT here, but could someone explain this to me
please?

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


Re: Day Light Savings time changes on March 11

2007-02-22 Thread Christian Baer
On Wed, 21 Feb 2007 13:55:05 -0500 DAve wrote:

 I noticed Yahoo switched to GMT. Is anyone else running all their 
 servers on GMT?

Actually, all of my Unix Boxes have been running UTC as far as I can
remember. :-)

Or am I missing the issue here?

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


Re: Compiler Flags for SPARC64

2007-02-21 Thread Christian Baer
On Mon, 19 Feb 2007 12:45:51 -0500 Kris Kennaway wrote:

 Has anyone got any ideas on how to go on with this?

 You'll have to look at the compiler spec and how it is bootstrapped.

That could become quite a project.

 FWIW, I don't think there are any secret flags you can set to improve
 the compiler targetting, as the defaults are already appropriate.

These are not 'secret' flags:
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/SPARC-Options.html#SPARC-Options

Also look a this:
http://www.osnews.com/story.php/6136/SPARC-Optimizations-With-GCC/page1

gcc by default creates v7 code which is a fair bit slower on a v9 CPU
than v9 code. And I can't find anything that suggests that FreeBSD has
any default flags that take this into account.

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


Re: Remote access to config FreeBSD server

2007-02-20 Thread Christian Baer
On Mon, 19 Feb 2007 19:26:02 -0800 (PST) satimis wrote:

 I'm going to install the captioned OS as server, web/mail/database etc., for
 test purpose and without X.  I'm prepared to connect a workstation for fine
 tuning the server.  Can I use a Linux workstation to do the job because I
 have no FreeBSD workstation here?  OR I must run a FreeBSD workstation.  If
 YES, pls advise where can I find relevent steps to do the job.  I'll have
 SSH enabled on the server.

I am not quite sure what your problem is here. You can use any
ssh-client on any OS when connecting to the ssh-server of you FreeBSD
box. So Linux is fine, but Windows would also be, if you use a real
ssh-client for that like PuTTY.

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


Compiler Flags for SPARC64

2007-02-19 Thread Christian Baer
Hello everybody out there!

Please excuse my posting this question again on this list, but the last
post on the freebsd-sparc64 didn't help much. There isn't really much
traffic on that list.

Assuming that gcc when run on sparc64 produces v7 code (for sun4/4c) by
default, I went about trying to improve that as v7 code is known to be a
fair bit slower as v9 (sun4u) code. The improvement can be as much as
100% for some apps like OpenSSL or OpenSSH.

I went about trying some Compiler flags. -mcpu=ultrasparc and -mcpu=v9
both came into mind. However this lead to several problems of programs
not compiling anymore. Most notably was the failure of 'make buildworld'.

When gcc is told to produce v9 code, it doesn't produce 64bit code (you
have to set -m64 for that), it just uses a few additional commands the
CPU knows, which should make the resulting code faster but no longer
compatible with older CPUs (non-UltraSPARC). This means that there
shouldn't be any problem with pointers that are now strange to the
code. But even if I explicitly set the -m32 flag, I still can't make the
world.

I discussed this in a German newsgroup, where someone told me that the
CPU is set to v9 by default on FreeBSD, as it only supports SPARC64 and
not SPARC32. Although this assumption makes sense, I couldn't find any
evidence to back it up. While some compiler flags are set by default
on some platforms for optimization for that particular CPU, there
doesn't seem to be anything set for sparc64. Additionaly, if the mcpu
were really set to ultrasparc or v9, then setting it again shouldn't
cause buildworld to stop with the error I don't know what platform this
is.

Has anyone got any ideas on how to go on with this?

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


Re: more than 7 partitions on a SCSI-drive

2007-01-22 Thread Christian Baer
On Sun, 21 Jan 2007 11:54:40 -0900 Jeff Mohler wrote:

One polite request: Would you please quote properly? I know this is not
the usenet, but quoting serves a purpose and should make reading you
question/comment easier.

 If there is a fundamental reason why we still partition things like we
 only have 10, 20, or 40Mb RLL. or slightly larger ESDI drives from
 back in the day..im willing to learn.

In the good ol' days HDs weren't divided up into many partitions. They
were usually too small to be of much good then. That actually began when
the space that single HDs had became bigger and therefore single HDs
could function almost as two or three on the same system.

If an error on a filesystem accurs that can take down the entire system
if all you have is /. The idea is to limit the amount of damage that can
be done to a system by dividing the data up intelligently. Usually most
write actions are on /tmp and /var. So if the power goes down before you
can shut down the system cleanly, the chances are high that you will
have errors on these file systems. If they are all on / then that's bad
news. But think about what would happen if data in /tmp ist lost because
of a filesystem error. Exactly: nobody cares!

Different partitions also have the advantage that they can be mounted
with different options, have different block sizes, more or less inodes
or can be encrypted.

Here are a few ideas as to why I divide my drives up, including some of
the reasons why I divided the drives up the way I showed.

/ ist usually mounted with synchronous writing only (and not soft
updates). That is usually relatively slow but doesn't matter on /. You
don't want to mess up this filesystem or you could end up not being able
to start the system at all. It's best to keep this filesystem small.

/usr contains all the programs files, usually the ports and source tree
too. Writing to this filesystem isn't that frequent but fast access is
definately wanted.

/tmp and /var contain quickly changing, usually not too important data.
Fast access is important and writing is very frequent. If the system
crashes or the filesystems are not unmounted cleanly you usually have
errors on these filesystems.

A swap partition is there for obvious reasons. :-)

/var/spool/news used to contain a lot of files (one file per article)
and required more inodes than the other filesystems. This can apply
today aswell if you choose byfile storage of news.

/home is useful to stop the users filling up /usr, which can be quite a
pain. I know this could also be done by using disc quota.

/home/christian is mirrored and encrypted as I keep all my personal
stuff on there like (e)mail, bank stuff and things from work. But also
personal things like my personal diary. I don't want to encrypt all my
system as that slows down access dramatically. And it's completely
useless waisting CPU-cycles on decrypting the executables of KDE,
Firefox and OO.

/usr/obj can be put in a seperate filesystem to increase performance.
The information in there isn't too important so if anything gets lost
because of a power out while doing a make buildworld, just erase it and
start over. The performance can be increased if the HDs are the
bottleneck. The idea is to read from one drive containing /usr/src and
writing to another containing /usr/obj. This partition can be optimized
for fast writes rather than safety. I have mounted this filesystem with
async.

Is my concept a little clearer now?

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


Re: more than 7 partitions on a SCSI-drive

2007-01-22 Thread Christian Baer
On Sun, 21 Jan 2007 13:53:20 -0800 Garrett Cooper wrote:

   One good reason I can think of is to partition (not the tech definition
 but the traditional definition, to divide) filesystems such that if
 one person fills up /, it won't cause a program that needs to write to
 /var or /tmp problems, which in the case of /var can bring down
 entire systems and infrastructures (happened before where I was working
 as IT when a CUPS server ran out of space on /var).

That is a good point.

   Other than that.. not really sure. Maybe some of the older guard on the
 list know why.

Actually, you don't really have to be that old to understand the
reasons. They still apply today as they did back then.

I know the main reason that speaks against the concept - I was a young
too you know. :-) It's the reluctance of deciding how much space to
allocate to a certain system. What happens if I need more in /usr and I
have given /var too much. If you only have one big filesystem / you
don't have *this* problem, as the amount of space you have can be
shifted freely according to the current need. But in following this
concept you also buy in a few other problems. Remember that one of the
foundations of Unix is security and the idea that one user can't screw
up the system for all others.

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


Re: more than 7 partitions on a SCSI-drive

2007-01-22 Thread Christian Baer
On Mon, 22 Jan 2007 07:42:36 -0600 Doug Poland wrote:

 # DeviceMountpoint  FStype  OptionsDumpPass#
 /dev/da0s1b noneswapsw 0   0
 /dev/da0s1a /   ufs rw 1   1
   ^^

Where did you get to create slices. When I installed this system (Sun
U60) sysinstall didn't offer the possibility of creating a slice at all.
The only devices of this sort that I can create are da0x and da1x - no 's'!

Is this due to the SPARC64 plattform or did I miss something?

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


Re: more than 7 partitions on a SCSI-drive

2007-01-22 Thread Christian Baer
On Sun, 21 Jan 2007 13:58:18 -0800 Garrett Cooper wrote:

 Why create so many partitions? You can use slices to your benefit and
 you wouldn't use up your allocatable partitions on the disk's MBR.

The point is that I wasn't given the chance to create any slices.

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


Re: /etc problems when upgrading to FBSD 6.2

2007-01-22 Thread Christian Baer
On Mon, 22 Jan 2007 19:15:24 +0100 (CET) Zbigniew Szalbot wrote:

 My question is what I messed up? Was this something during mergemaster
 phase? If not, then what else could have gone wrong?

Yes, you probably messed up there.

Mergemaster shows you - I'll call them suggestions - for the config
files. Look at them and look at what the changes would be. '+' means
this line will be added, '-' means this line will be removed, using your
current config as reference.

Installing all the new config files without even looking at them can be
ugly. I didn't watch out once an lost groups, users and a few other
things. It is usually safe to just install the new versions of files
that you haven't changed, but look at those files that you have changed.

The 'm' stands for 'merge' which means you are presented both the old an
the new version. And for each line that is different you can choose
whether to stick to the old version or to adopt the new one. This way
you create a completely new file that is up to date while still
containing the changes you need for your system.

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


Re: Mail server intermittent freeze

2007-01-21 Thread Christian Baer
On Sat, 20 Jan 2007 19:56:08 -0600 (CST) Rich Winkel wrote:

 Has anyone else seen this behavior??

What are the HDs doing? Is there swapping going on? 512 megs of RAM are
not really a generous amount for this kind of work.

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


Re: FreeBSD challenged by Internet

2007-01-21 Thread Christian Baer
On Sun, 21 Jan 2007 03:45:27 -0800 Ted Mittelstaedt wrote:

 That's $5K difference not $10.  Thieves can get away with a lot if they
 steal it in small bits.

So if I steal $1 from every account of New York's biggest bank they
would smile and see that as a sporting achievement? Somehow I doubt
that.

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


Re: Turion64 x2 vs Centrino Duo 2 which is faster for FreeBSD and KDE Desktop?

2007-01-21 Thread Christian Baer
On Sun, 21 Jan 2007 11:12:25 +0300 Abdullah Al-Marrie wrote:

[broken up Xpost]

 I plan to buy a new notebook and will use FreeBSD 6.2-RELEASE, I have
 2 choices, Turion64 x2 with 2.0 GHz and Centrino Duo 2 with 2.0 GHz,
 but with 2 GB DDR2 ram, with the same speed of the hd 5400 RPM.

 So which of them will buildworld, and ports from source faster? both
 of them will use AC not on battery when do these stuff.

I doubt that you will notice any big difference. While the AMD64 port is
quite nicely tested and very swift by now, the optimizations towards
Intel aren't bad either - even though this isn't true 64Bit processor.

In this case the HD will probably be the bottle-neck, not being able to
read and write the data quick enough to cause 100% CPU load. You would
have to 'make -j 4' at least to get anywhere near 100% load (I even have
to do that for 2 UltraSPARC II CPUs with 450MHz). And that really causes
load on a hard drive.

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


Re: upgrading from 6.1 to 6.2 with custom kernel

2007-01-21 Thread Christian Baer
On Sun, 21 Jan 2007 08:29:52 -0600 Jonathan Horne wrote:

 Terrific waste of bandwidth.

 *shrug* i dont see it that way.  i see it as insurance that when i build 
 kernels for 15 machines, they are all getting the cleanest sources possible, 
 with absolutely nothing left over from a previous build.

There is no such thing as dirty sources - at least not by your
definition. cvsup or the new builtin replacement replaces old files with
new ones and erases obsolete ones. And there is *never* anthing left
over from a previous build in /usr/src/! All the work is done in
/usr/obj/ and you can erase that at any time. In fact the target
cleanworld does just that.

Rebuilding the source tree isn't a big deal in terms of bandwidth, but
thousands of people doing that on a regular basis will drive the costs
of maintaining mirrors up - even though traffic is getting cheaper with
time.

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-21 Thread Christian Baer
On Sat, 20 Jan 2007 17:04:00 +0100 (CET) Christian Baer wrote:

 Basically, it does not work on 6.1-RELEASE, so you should consider
 updating to 6.2-RELEASE.

 Bin there, done that. Was one of the first things I tried. Now running:

 FreeBSD sunny.rz1.convenimus.net 6.2-STABLE 
 FreeBSD 6.2-STABLE #0: Tue Jan 16 16:14:35 CET 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUNNY  sparc64

 I'll do another cvsup and make a new world tonight. I'll let you know if
 that works.

I did a cvsup last night. Wasn't really watching it, but it was over
pretty quickly, so I'd say that there wasn't that much change. Anyways,
this is what I have now:

FreeBSD sunny.rz1.convenimus.net 6.2-STABLE 
FreeBSD 6.2-STABLE #0: Sun Jan 21 12:52:35 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUNNY  sparc64

Gotta change the name of the computer. Sunny is just too corny! :-)

Not much has changed apart from the dates. And nothing has changed
regarding Firefox. I completely deinstalled it - which took its sweet
time. :-) And I also deinstalled Thunderbird and all of the dependencies
of those two that I could find. Then I reinstalled Firefox with pkg_add -r
in case there was an update in the tree.

I still get that segfault, so I'm afraid someone may be looking a little
longer there.

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


more than 7 partitions on a SCSI-drive

2007-01-21 Thread Christian Baer
Hi folkes!

Is there any way to do this with FreeBSD?

Background:

I have to admit, that I have never actually done or even tried this with
any OS whatsoever. I am running a two drive system with two mirrors on
it. Because I wanted a lot of room for /usr while /usr/home ist mounted
on a different partition, the second drive is filled with the two
mirror partitions, /usr and a swap partition. Everything else is mounted
on the first drive. That being: /, /temp, /var, /usr/obj and the second
swap partition. Together with the two mirrors this means seven (in
words: 7) partitions. The table looks like this:

Filesystem  SizeUsed   Avail Capacity  Mounted on
/dev/da0a   501M 72M389M16%/
devfs   1.0K1.0K  0B   100%/dev
/dev/da0d   1.9G102K1.8G 0%/tmp
/dev/da1f21G2.9G 17G15%/usr
/dev/da0h   6.8G742M5.5G12%/usr/obj
/dev/da0e   4.8G 71M4.4G 2%/var
/dev/mirror/sec1.eli9.8G7.5M9.0G 0%/usr/home
/dev/mirror/sec0.eli 34G 21M 32G 0%/usr/home/christian

What really sounds (and probably is) pathetic is that I have nearly 6
gigs of 'leftover' space on da0. Increasing the size of the mounted
partitions isn't really useful anymore (apart from reducing the free
space) as I for example probably won't be needing 2GB for /temp or more
than 5GB for /var - those are the sizes I have allocated now. Making /
any bigger than the current 512MB wouldn't bring any advances either.

Increasing the size of the mirrors isn't an option because that would be
schrinking /usr. Finding a new mount point wouldn't be a problem. I was
thinking something along the lines of /usr/ports. /usr/src was an idea
at first but since I want to keep that on a different physical drive
than /usr/obj, the idea doesn't seem that bright anymore.

But the
problem is that I can't allocate another partition, not that I ran out
of ideas for mount points. :-) On other machines with IDE-drives I had
one slice with partitions inside and never ran into this limitation
before. Is there any way to do something like that on SCSI-drives? We
are talking about SPARC64 here.

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


Re: ssh public key authentification

2007-01-20 Thread Christian Baer
On Fri, 19 Jan 2007 09:53:23 -0600 Kirk Strauser wrote:

 Why not?  Group write is plenty enough for someone else to replace the
 .ssh directory with another one, so sshd checks for that.

 To replace it with another 700 directory owned by the user, containing a 40=
 file also owned by the user?

That obviously isn't possible - at least not directly. I would be
feasible to replace and existing ssh_config in the user's directory if
this had too liberal rights and the file were located at ~, not ~/.ssh/.
If the attacker got at the config-file he or she could put in a new
position for the authorized_keys and thus replace the file. All very
theoretical and not likely since the defaults of FreeBSD won't allow it.
root must mess up for this one. Does root ever mess up? :-)

I think it's more likely that the sshd only checks this one directory in
case of public key authentification. If it is group- or world- writable
it doesn't trust the key file. Checking the exact location and the file
itself if there is any chance it could be tampered with would result in
a more complex algorithm and complexity is something you try to avoid in
security matters.

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-20 Thread Christian Baer
On Thu, 18 Jan 2007 19:00:18 -0500 Kris Kennaway wrote:

 That's a number indicating a version of FreeBSD.

[link to handbook]

 Basically, it does not work on 6.1-RELEASE, so you should consider
 updating to 6.2-RELEASE.

Bin there, done that. Was one of the first things I tried. Now running:

FreeBSD sunny.rz1.convenimus.net 6.2-STABLE 
FreeBSD 6.2-STABLE #0: Tue Jan 16 16:14:35 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUNNY  sparc64

I'll do another cvsup and make a new world tonight. I'll let you know if
that works.

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-20 Thread Christian Baer
On Fri, 19 Jan 2007 15:11:33 -0500 Michael Johnson wrote:

 I upgraded my sparc64 box today (7-CURRENT) and I do see Firefox
 segfaulting when starting now, I'm not sure what has changed in Firefox
 or FreeBSD yet, but I'll be looking for a fix in the coming days.

Thanks! I'll be looking out for it! :-)

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


Re: Hairy Cats and mice and FreeBSD

2007-01-20 Thread Christian Baer
On Sat, 20 Jan 2007 10:03:22 -0500 Bob wrote:

 I Live with a very hairy, large, Main Coon cat called Tania; she sheds
 tons of fine hair all over the place. She is a Mouser, and proudly rids
 our home (a boat) of all sorts of mice. Unfortunately she also kills
 Computer mice! Therein lies my problem.

You must be doing something wrong. :-) My family has had cats for almost
as long as I can remember. We currently have three of them and they lose
a lot of hair. 

But somehow my Logitech Mouseman Cordless (bought 1995) lasted for 11
years. It was still working last year but I go sick of replacing the
batteries. :-)

 Anyone with experience using their optical mouse under FreeBSD? All
 input will be very much appreciated.

Yup. I have a Copperhead. Not really el cheapo either but pricing was ok
for me. The light is great for my long nightly sessions. :-) And
together with a bungee I don't even mind the cable anymore!

Works fine unter FreeBSD. Only problem is that by default it is
recognized as a keyboard which kinda stops my other keyboard (non-USB)
from working. But there's a way around that so no worries!

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


Re: Hairy Cats and mice and FreeBSD

2007-01-20 Thread Christian Baer
On Sat, 20 Jan 2007 10:29:39 -0500 Robert Huff wrote:

   I've used the MicroSoft Intellimouse Explorer and liked it.
 Will obviously work with Windows ... but be careful: sometimes MS
 puts out a new sub-generation that changes the mouse protocol just
 enough to cause problems with the {Xfree86, Xorg} drivers until they
 get updated.

Unfortunately one of the main goals of new versions of MS stuff is to be
incompatible with older stuff so as to throw other software off the
mark.

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


Re: Live CD

2007-01-20 Thread Christian Baer
On Sat, 20 Jan 2007 14:05:26 -0500 Jeff Royle wrote:

 http://www.freesbie.org/ has been updated to 6.2 Release

That's right! And a funny thing happened there yesterday that I wouldn't
have expected: A notebook that only caused crashes when booting knoppix
booted perfectly with freesbie. Ok, the GUI isn't that rich (xfce looks
a lot like CDE, which we use a university, to me) but it worked!

Although I really prefer FreeBSD over Linux, I didn't see that one
coming! :-)

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


Re: upgrading from 6.1 to 6.2 with custom kernel

2007-01-20 Thread Christian Baer
On Sat, 20 Jan 2007 13:25:16 -0600 Jonathan Horne wrote:

 usually, i:

 rm -rf /usr/src/* /usr/obj/*

 and then just cvsup a whole new set of sources.  i then buildworld and 
 buildkernel as laid out in the handbook:

You do of course know that by doing that you also erase your custom
kernel-config file? By default it is in /usr/src/sys/*plattform*/conf.

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


A little trouble starting (X-) Programs over ssh...

2007-01-20 Thread Christian Baer
Good evening peeps!

This probably isn't a real FreeBSD-issue itself, but it doesn't really
fit any other topic that has a newsgroup out there, so please bear with
me here!

What I have done:
I've installed an X-server (XMing) on a Windows-XP box and connect via
PuTTY to a FreeBSD box (Sun U60). I have configured the X-server to
allow clients to connect from the IP of the FreeBSD-box. One of the
commands I want to use (for example) is 'konqueror -display winbox:0 '.
Now that works fine, so it seems I got it right up to here. In case that
wasn't clear so far: I am not using X-forwarding over ssh. So I don't
need the ssh session to run the X-application.

Since I don't always want to habe terminal windows hanging around and
typing in the commands like that is a little boring, I wanted to automate
that a little. I could do that by adding a command to run directly in
PuTTY or by using plink. I tried both and neither got the desired
results.

If I use PuTTY the terminal window opens for a few seconds and then
closes again. I get to see a few messages from the konqueror but the
browser's window never appears on my desktop. If I use the exact command
line in an open ssh session, konqueror starts and I can do what I like
with it. If I close the ssh session I started the browser from nothing
happens, meaning, it doesn't close. I can just go on surfing.

Quite the reverse happens if I user plink to start konqueror. I get a
command line window and see the messages of konqueror starting up.
Unlike when using PuTTY I get a browser window and it stays too. The
command line window which was the result of plink starting doesn't
disappear though. It stays right where it is, maybe displaying the odd
message or another from konqueror. Pressing ctrl-c closes the window
(obviously there is now a clean exit somewhere) while leaving konqueror
running. I have tried using the -batch and -s options and others to try
to get the window to close *after* the application was actually started.
With no success (so far).

And this is just the part I don't get. When using PuTTY there seems to
be some sort of clean exit, because otherwise the window wouldn't close.
Why doesn't plink get the same clean exit? If there is a clean exit, why
does it come too soon - if that is the case here? Why does the
application break off its launch?

What I basicly want is to start an application with a shortcut without
making every one of them have two windows (one for the app itself and
one for the terminal session). Is there any way of doing this?

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


Re: ssh public key authentification

2007-01-19 Thread Christian Baer
Kirk Strauser wrote:

 The problem was not the authorized_keys file itself, it was my home
 directory.
 
 I don't think so.  More likely, it was the .ssh directory itself.

Nope. :-)

The only thing I changed was /usr/home/christian from mode 770 to mode 750.
Then it worked. I'm guessing it was the write-bit for the group which lead
the sshd not to trust the key.

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-18 Thread Christian Baer
John Nielsen wrote:

 I installed FreeBSD on an Ultra 5 sometime last year and I had Firefox
 (probably 1.5 or earlier) working just fine. 

Lucky you! :-)

 I don't have the machine up right now to tinker with, though.

That would have been an interesting test.
 
 Are you running the latest -stable on the box?

Yes (as of 2 days ago).
 
 If you don't get enough help on this list, you could also try the sparc64
 list. It's true that some things in the sparc64 port don't get tested as
 much as they do in other ports of FreeBSD, but there are enough users that
 common programs such as Firefox should be expected to work.

Apart from your post, there wasn't anything else. :-(
I'll try the other mailing list.

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-18 Thread Christian Baer
Michael Johnson wrote:

 Firefox only runs on = 601101 sparc64.

I am guessing that means a special revision of the UltraSPARC II processor,
but I don't really know, because google gets a lot of hits, mainly
explaining all sorts of soft that seems to have the same problem, but none
of these hits really explain the meaning behind this.

So even though this is getting a little OT:
In English, please!

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


ssh public key authentification

2007-01-18 Thread Christian Baer
Hi peeps!

This may not seem to be a real FreeBSD-issue, but I've gotten this to
run on several other machines, just not my Sun running FreeBSD. To
clarify this: I haven't really tried this on any other FreeBSD system
recently though. I'm probably just to thick to get it right, so go ahead
and insult me, if you see the flaw in my scheme. :-)

The main idea behind my evil plan is to be able to log into my other
computers on the net (LAN) using PuTTY on a Windows-XP box without
having to type my password all the time. Don't worry about the security
aspect if my key could be stolen, I have taken other measures to avoid
that.

The whole thing should be pretty trivial: I created a key using PuTTY,
copied the public key to ~/.ssh/authorized_keys (everthing in one line),
chose the private key in PuTTY and tried to log in. All I got in
response was: Server refused out key.

I went through all the default settings of the sshd (and yes, I did give
it a HUP, when I changed the key) and everything checked out as far as I
could tell. I had the feeling that PuTTY and the key created by it were
the cause, so I created a key with ssh-keygen(1). Same result.

What did I miss?

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


Re: ssh public key authentification

2007-01-18 Thread Christian Baer
On Thu, 18 Jan 2007 11:50:52 -0600 Parker Anderson wrote:

 Have you verified the permissions of the authorized_keys file on the
 server?  If you have permissions set too loose (e.g. unneeded
 read/write permission to groups/other users), sshd may be refusing to
 trust that file.

The directory has mode 700 and the file hast 600. Restricting these any
further could result in a problem. :-)

 You may wish to give this a read (it mostly just covers those points):
 http://www.freebsddiary.org/ssh-authorized-keys.php

Ok, I did that. Now it works! :-)

The problem was not the authorized_keys file itself, it was my home
directory. This had mode 770, which seemed fine to me as it is owned
by christian:christian. Making it group-readable shouldn't pose a
security problem, as only I will be in this group. However, sshd didn't
see it that way, it seems. Now that I changed it to 750, all is 
fine. :-)

Thanks für your help!

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


Re: ssh public key authentification

2007-01-18 Thread Christian Baer
On Thu, 18 Jan 2007 12:14:34 -0600 Noel Jones wrote:

 Did you copy the displayed Public key for pasting into OpenSSH from
 PuttyGEN, or did you paste the actual contents of the public key?
 Putty's on-disk format for public keys is not compatible with OpenSSH.

Yeah, I got that right. sshd wants to have the key in one line, while
PuTTY-keygen makes several lines out of them.

The problem were the homedir permissions (see other post).

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


Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-16 Thread Christian Baer
Greetings fellow computer haters! :-)

As I have already written on the STABLE mailing list, I can't seem to
get Firefox to start on my Sun U60. Thunderbird works fine (as far as I
can tell after two days), but Firefox just exits instantly with a segfault.

I didn't get any replies from the STABLE list, but I got a few ideas
from a German newsgroup. On of these ideas was that Firefox may not run
at all unter FreeBSD SPARC64. The reason given was that outside of the
common plattforms (i386, AMD64 and maybe alpha) much of the ports world
is untestet.

To be honest, I find that a little hard to believe for Firefox. If we
were talking about some application that is rarely used at all, sure.
But Firefox should be quite common - one would think anyway.

Well, just to rule out this possibility, I tought I'd just ask around if
anyone got Firefox to run on FreeBSD 6.1 SPARC64.

Hit me with answers! :-)

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


Compiling mtr without GUI

2007-01-15 Thread Christian Baer
Hi there Peeps!

Somehow the mtr-port is bugging me a little. I want to install mtr on a
machine with no keyboard and no monitor and thus no X - and I'd like to
keep it that way. Since I couldn't find a package of mtr without the
GUI, I guess, I'm stuck with the port.

I've looked at the makefile and found the variable WITHOUT_X11. However,
a 'make -D WITHOUT_X11' and a 'make WITHOUT_X11=1' both[1] result in X.org
being downloaded and built. Now I am no real expert on makefiles but
AFAIK in this case it shouldn't matter, what value WITHOUT_X11 has, as
long as it is set at all.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris

[1] Both should actually do the same thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange HD-device

2006-01-28 Thread Christian Baer
Hello *!

I am experiencing a very annoying problem when trying to (re-) install
hard drives.

What happened is this:
I set up a new (private) server, removed all the hard drives from the
old one and installed these drives and one new drive in the new server.
The old server was running 4.11-STABLE, I installed 6.0-RELEASE on the
new one and kept it up to date with cvsup. That was the easy part.

Since the default file system in 6 is UFS2 and I wanted to encrypt a few
of the file systems with gbde(8), I decided to empty one drive after the
other, create new slices, partitions and file systems on the drives,
copy the data back on the drives and - while I'm at it - clean up the
data itself. :-)

When I installed new drives (ad0, which is the boot drive and ad8 which
is the new one), I created a new slice (dd-mode[1]) and new partition(s)
without any problems. I did notice that the letter for a single
partition changed from 'e' to 'd'. So a drive containing only a single
file system now is /dev/adxs1d[2].

The problems began whith a 160GB Samsung drive (SP1614N). I copied the
files off the drive and tested a few of them - just to be sure. Then I
decided to erase the drive completely, as it was destined to be
encrypted and I didn't want any unencrypted data left on it. So I
unmounted the file systen and did did a

  dd if=/dev/urandom of=/dev/ad6 bs=1024K

After that I started sysinstall and created a new slice and a new
partition which sysinstall called /dev/ad6s1d - which I expected. But
after creating the partition, the mount failed, because no such file or
directory. And sure enough, ad6s1d did not exist in dev:

  jon# ls -l /dev/ad6*
  crw-r-  1 root  operator0,  76 Jan 22 15:23 /dev/ad6
  crw-r-  1 root  operator0,  93 Jan 22 15:00 /dev/ad6c
  crw-r-  1 root  operator0,  96 Jan 22 15:00 /dev/ad6cs1
  crw-r-  1 root  operator0,  92 Jan 22 15:00 /dev/ad6s1
  crw-r-  1 root  operator0,  94 Jan 22 15:00 /dev/ad6s1c

These devices look a bit like those of a drive with a true
partition-table (so Wintendo can read it). I can't really check that now
because I have no computer with such an installation. However, even if
this were so, I have checked and rechecked, the drive is definately
dangerously dedicated - or at least, it should be. Non of the other
drives show these devices:

  crw-r-  1 root  operator0,  73 Jan 22 16:20 /dev/ad0
  crw-r-  1 root  operator0,  79 Jan 22 16:20 /dev/ad0s1
  crw-r-  1 root  operator0, 100 Jan 22 16:20 /dev/ad0s1a
  crw-r-  1 root  operator0, 101 Jan 22 16:20 /dev/ad0s1b
  crw-r-  1 root  operator0, 102 Jan 22 16:20 /dev/ad0s1c
  crw-r-  1 root  operator0, 103 Jan 22 16:20 /dev/ad0s1d
  crw-r-  1 root  operator0, 104 Jan 22 16:20 /dev/ad0s1e
  crw-r-  1 root  operator0, 105 Jan 22 16:20 /dev/ad0s1f
  crw-r-  1 root  operator0, 106 Jan 22 16:20 /dev/ad0s1g
  crw-r-  1 root  operator0,  78 Jan 22 16:20 /dev/ad12
  crw-r-  1 root  operator0,  97 Jan 22 16:20 /dev/ad12s1
  crw-r-  1 root  operator0, 121 Jan 22 16:20 /dev/ad12s1c
  crw-r-  1 root  operator0, 122 Jan 22 16:20 /dev/ad12s1e
  crw-r-  1 root  operator0,  74 Jan 22 16:20 /dev/ad2
  crw-r-  1 root  operator0,  87 Jan 22 16:20 /dev/ad2s1
  crw-r-  1 root  operator0, 109 Jan 22 16:20 /dev/ad2s1c
  crw-r-  1 root  operator0, 110 Jan 22 16:20 /dev/ad2s1e
  crw-r-  1 root  operator0,  75 Jan 22 16:20 /dev/ad4
  crw-r-  1 root  operator0,  90 Jan 22 16:20 /dev/ad4s1
  crw-r-  1 root  operator0, 113 Jan 22 16:20 /dev/ad4s1c
  crw-r-  1 root  operator0, 114 Jan 22 16:20 /dev/ad4s1d
  crw-r-  1 root  operator0,  77 Jan 22 16:20 /dev/ad8
  crw-r-  1 root  operator0,  94 Jan 22 16:20 /dev/ad8s1
  crw-r-  1 root  operator0, 117 Jan 22 16:20 /dev/ad8s1c
  crw-r-  1 root  operator0, 118 Jan 22 16:20 /dev/ad8s1d

The drives ad2 and ad12 are still unchanged from the last installation
and therefore are still USF1 formatted.

There were three changes since I installed the UFs2-drives:

- I did a cvsup and made a new world.
- ACPI didn't seem to work to well with this mainboard[3], so I
  deactivated
  it in the board's BIOS. This led to a few error-messages during
  booting but that seems to be more of a cosmetic problem. I don't
  really believe this is the cause though, because I turned ACPI back on
  and got the same results.
- I added 'options GEOM_BDE' to the kernel config

Also there are two additional ATA-controllers in the computer. Both are
Promise: PDC20268 (for ad4 and ad6) and PDC20775 (for ad8 and ad12). The
other two drives are connected to the southbridge.

My basic question now is:
Where did I mess up? :-) Is it normal for the devices to have different
names?

Regards,
Chris

[1] Since only FreeBSD will ever touch this computer, all the drives are
dd-mode
[2] Is there some text out 

GBDE error message - what does it mean?

2006-01-28 Thread Christian Baer
Hello again everybody!

A few days back I got my first GBDE-device up and running.
After that I had a slight problem described
in [EMAIL PROTECTED].
I already discribed this problem in a newsgroup
(comp.unix.bsd.freebsd.misc) and didn't get much help there[1] (apart
from the adive to use geli instead of gbde). So I could go on working I
simply changed to the trial-and-error approach.

Well, I never really got to solve the problem itself, but could create
and mount filesystems on ad6s1c and I could also initialize and attach
that device to the kernel, create a filesystem on ad6s1c.bde and use it
normally. At least, as far as I can tell.

But then I took a look in /var/log/messages and saw this:

Jan 24 00:00:21 jon kernel:g_vfs_done():ad6s1c.bde[WRITE(offset=157273636864, 
length=131072)]error = 1
Jan 24 00:00:52 jon last message repeated 2 times
Jan 24 00:02:56 jon last message repeated 8 times
Jan 24 00:12:48 jon last message repeated 39 times
Jan 24 00:23:08 jon last message repeated 40 times
Jan 24 00:32:57 jon last message repeated 38 times
Jan 24 00:42:46 jon last message repeated 38 times
Jan 24 00:53:06 jon last message repeated 40 times
Jan 24 01:02:55 jon last message repeated 38 times
Jan 24 01:13:12 jon last message repeated 39 times

[...]

dmesg is also full of this (only the first line of this quote, of
course).

Asking aunt google wasn't too helpful this time. I found one more or less
useful thread about this subject:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-11/0523.html

A lot of talk and a fair bit of speculation, but what it boiled down to
was, noone really knew what the problem was. There was a comment that
maybe the device was full which in my case can't be since there are
still som 38gigs free (of 149).

Does anyone have an idea what I should do, or who I should bug? I'm not
sure I want to write PHK an Email yet.

Regards
Chris

[1] This is not a complaint, I guess noone had encountered and solved
this problem before.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]