how to run task periodically

2010-08-18 Thread Mark Stapper
 Hi,

I have a system that doesn't run 24/7/365.
I would like to make sure that some tasks (like updating the ports tree)
run weekly/monthly etc.
As the system isn't on 24/7 the cron job I usually run for these tasks
doesn't work as the machine isn't always running on the scheduled time.

So I need a utility that enable me to say: "if a week has passed since
the last run, run this command".
Is there such a utlility?
Cheers,
Mark



signature.asc
Description: OpenPGP digital signature


Re: how to run task periodically

2010-08-18 Thread Mark Stapper
 On 18-8-2010 9:22, Adam Vande More wrote:
> On Wed, Aug 18, 2010 at 1:58 AM, Mark Stapper  <mailto:st...@mapper.nl>> wrote:
>
> So I need a utility that enable me to say: "if a week has passed since
> the last run, run this command".
> Is there such a utlility?
>
>  
> /usr/ports/sysutils/anacron
>
>
> -- 
> Adam Vande More
That was exactly what I was looking for.
Thank you!
Cheers,
Mark


signature.asc
Description: OpenPGP digital signature


MEncoder - nice allways 20, renice doesn't work

2010-09-28 Thread Mark Stapper
 Hi all,

I've been playing around with incoding/recoding with mencoder.
On one of my boxes mencoder keeps having niceness 20.
I don't want mencoder to play nice so I try to renice the process, but
it resets to 20 within seconds!
Here's the info:


[st...@yoshi ~]$ mencoder -show-profile x264ac3
MEncoder SVN-r31746-snapshot-4.2.1 (C) 2000-2010 MPlayer Team
Profile x264ac3: x264 with ac3 audio
 ovc=x264=1
 x264encopts=crf=20:threads=auto
 oac=lavc=1
 lavcopts=acodec=ac3:abitrate=640:threads=6

FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #5: Mon Jun 21
19:34:39 CEST 2010 x...@mario:/usr/obj/usr/src/sys/mario  amd64

Any thoughts?
Cheers,
Mark



signature.asc
Description: OpenPGP digital signature


Re: version

2010-05-12 Thread Mark Stapper
On 12/05/2010 06:25, Lacsap Ona wrote:
> Hello,
> I would like to download the FreeBSD but am unsure which version to download. 
> I have a Pentium dual core t4200 processor.
>
> thanks
>
> ___
> 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"
>   
What do you mean by "version".
Personally i'd get the "amd64" "version" if that's what you mean.
ZFS works "out of the box" on it, even with "low" ram configuration.
greetz
Mark




signature.asc
Description: OpenPGP digital signature


Re: xfce display

2010-05-17 Thread Mark Stapper
On 14/05/2010 21:56, Jean-Paul Natola wrote:
> Hi all,
>
> I installed Xorg and xfce when I start it (/usr/local/bin/startxfce)  my 
> screen just shows vertical lines of many different colors on the screen,
>
> The monitor (fairly old gateway 15" lcd)   works fine in regular text mode, 
> on windows os's as well.
>
> I do see this in the log
>
> (II) Module intel: vendor="X.Org Foundation"
>   compiled for 1.6.5, module version = 2.7.1
>   Module class: X.Org Video Driver
>   ABI class: X.Org Video Driver, version 5.0
> (II) LoadModule: "i810"
> (WW) Warning, couldn't open module i810
> (II) UnloadModule: "i810"
> (EE) Failed to load module "i810" (module does not exist, 0)
> (II) LoadModule: "vesa"
> (II) Loading /usr/local/lib/xorg/modules/drivers//vesa_drv.so
> (II) Module vesa: vendor="X.Org Foundation"
>
> Is the i810 chipset not supported?
>
>
> ___
> 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"
>   
The i810 chip from intel is supported, just by another name...
You want the "xf86-video-intel" port
(http://www.freebsd.org/cgi/url.cgi?ports/x11-drivers/xf86-video-intel/pkg-descr)
presumably the "intel" module.
Cheers,
Mark



signature.asc
Description: OpenPGP digital signature


Re: xfce display

2010-05-17 Thread Mark Stapper
On 17/05/2010 15:40, Jean-Paul Natola wrote:
> On 14/05/2010 21:56, Jean-Paul Natola wrote:
>   
>> Hi all,
>>
>> I installed Xorg and xfce when I start it (/usr/local/bin/startxfce)  my 
>> screen just shows vertical lines of many different colors on the screen,
>>
>> The monitor (fairly old gateway 15" lcd)   works fine in regular text mode, 
>> on windows os's as well.
>>
>> I do see this in the log
>>
>> (II) Module intel: vendor="X.Org Foundation"
>>   compiled for 1.6.5, module version = 2.7.1
>>   Module class: X.Org Video Driver
>>   ABI class: X.Org Video Driver, version 5.0
>> (II) LoadModule: "i810"
>> (WW) Warning, couldn't open module i810
>> (II) UnloadModule: "i810"
>> (EE) Failed to load module "i810" (module does not exist, 0)
>> (II) LoadModule: "vesa"
>> (II) Loading /usr/local/lib/xorg/modules/drivers//vesa_drv.so
>> (II) Module vesa: vendor="X.Org Foundation"
>>
>> Is the i810 chipset not supported?
>>
>>
>> ___
>> 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"
>>   
>> 
> The i810 chip from intel is supported, just by another name...
> You want the "xf86-video-intel" port
> (http://www.freebsd.org/cgi/url.cgi?ports/x11-drivers/xf86-video-intel/pkg-descr)
> presumably the "intel" module.
> Cheers,
> Mark
> -
>
> I installed the xf86-video-intel port and still the same result when 
> attempting to start xfce
> ___
> 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 you configure Xorg to use the intel driver?
Check the handbook chapter 5.4 especially 5.4.3.1 Configuration with
Intel® i810 Graphics Chipsets.
link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html




signature.asc
Description: OpenPGP digital signature


Re: xfce display

2010-05-17 Thread Mark Stapper
On 17/05/2010 19:10, Jean-Paul Natola wrote:
>> Did you configure Xorg to use the intel driver?
>> Check the handbook chapter 5.4 especially 5.4.3.1 Configuration with
>> Intel(r) i810 Graphics Chipsets.
>> 
> I have got it configured, now I'm a bit confused on which  "display" section 
> I'm supposed to add the "mode"  there are many do I add the 10.24x768  to all 
> of them?
>
>   
No you don't.
Once you get your videocard driver correct, Xorg should detect the
correct settings.
If it doesn't: you should add the correct resolution to 16 and 24.
Could you post your entire config file?



signature.asc
Description: OpenPGP digital signature


Re: linux cp -u question

2010-05-31 Thread Mark Stapper
On 28/05/2010 08:47, Polytropon wrote:
> On Thu, 27 May 2010 18:41:21 +0200, Coert  wrote:
>   
>> Hello all,
>>
>> Is there a FreeBSD equivalent for the linux cp -u ?
>>
>> http://linux.die.net/man/1/cp (-u, --update)
>> 
>
> Check out cpdup (available via ports or packages).
>
>
>
>   
I like rsync for this as well, alternatively you can use "pax" which is
in the base-distro.
Regards,
Mark



signature.asc
Description: OpenPGP digital signature


net/vnc fails to build vnc.so on 8.1 Prerelease amd64

2010-06-16 Thread Mark Stapper
Hi,

I want to be able to run a vnc server to share my "real" X-session.
I use kdm.
I've been trying to build vnc with vnc.so module.
However, it fails to build this file.
Any idea on how to resolve this?
Outputs:
FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #2: Tue Jun  1
10:09:28 CEST 2010 st...@mario:/usr/obj/usr/src/sys/mario  amd64

c++ -o vnc.so -Bshareable -R /usr/local/lib  vncExtInit.o vncHooks.o
xf86vncModule.o XserverDesktop.o
../../../../../../common/rfb/librfb.a   
../../../../../../common/Xregion/libXregion.a   
../../../../../../common/network/libnetwork.a   
../../../../../../common/rdr/librdr.a
/usr/lib/crt1.o(.text+0x88): In function `_start':
: undefined reference to `main'
vncExtInit.o(.text+0x33d): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x357): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x469): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x4ab): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerSet'
vncExtInit.o(.text+0x4d8): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerCancel'
vncExtInit.o(.text+0x575): In function `ProcVncExtApproveConnect(_Client*)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x5b1): In function `ProcVncExtApproveConnect(_Client*)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x6a6): In function `vncClientCutText(char const*, int)':
: undefined reference to `GetTimeInMillis'
vncExtInit.o(.text+0x720): In function `vncClientCutText(char const*, int)':
: undefined reference to `WriteToClient'




signature.asc
Description: OpenPGP digital signature


network deamons starting before network!

2010-06-18 Thread Mark Stapper
Hello,

Since updating to 8.X I noticed that network services were started
before the network was up!
I use lagg failover configuration on both my FreeBSD boxes.
First, boot fails on mounting my nfs-shares.
After entering and exiting the "rescue" shell, the system boots as normal.

uname -a
FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri Jun 18
07:46:01 CEST 2010 *...@mario:/usr/obj/usr/src/sys/mario  amd64
What could I do to fix this?

Here's an exerpt from /var/log/messages:

Jun 18 09:10:25  ntpd[1376]: ntpd 4.2.4p5-a (1)
Jun 18 09:10:25  kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
Jun 18 09:10:27  ntpd_initres[1412]: host name not found: yoshi
Jun 18 09:10:27  kernel: nfe0: link state changed to UP
Jun 18 09:10:27  kernel: lagg0: link state changed to UP
Jun 18 09:10:27  kernel: nfe1: link state changed to UP
Jun 18 09:10:27  ntpd_initres[1412]: couldn't resolve `yoshi', giving up
on it
Jun 18 09:10:28  dhclient: New Hostname (lagg0): mario
Jun 18 09:10:28  dhclient: New IP Address (lagg0): 10.58.235.6
Jun 18 09:10:28  dhclient: New Subnet Mask (lagg0): 255.255.255.0
Jun 18 09:10:28  dhclient: New Broadcast Address (lagg0): 10.58.235.255
Jun 18 09:10:28  dhclient: New Routers (lagg0): 10.58.235.1




signature.asc
Description: OpenPGP digital signature


Re: ZFS Boot Support from Installer

2009-08-04 Thread Mark Stapper
Tim Gustafson wrote:
> Hi,
>
> I was wondering if there was a plan or time line in place to support ZFS boot 
> partitions in the installer.  I Googled around a bit and found some how-to 
> documents for setting it up in a hacky kind of way, but the impression I got 
> is that support for ZFS partitions is coming to the installer in perhaps 7.3 
> or 8.0, and I wanted to confirm or dispel that myth before I go forward using 
> the hacky method.
>
> Thanks!
>
> Tim Gustafson
> Baskin School of Engineering
> UC Santa Cruz
> t...@soe.ucsc.edu
> 831-459-5354
>
> ___
> 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"
>   
Hello,

I don't know about the "installer" but I believe the bootloader in 8.0
will (allready does) support booting from zfs.
See links below
for 8.0: http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/
for 7.x: http://wiki.freebsd.org/ZFSOnRoot

I'd go for 8.0 if you whish to use an all zfs system.
You might want to wait for the release version if you are affraid of the
"hacking" method.
Or you could try it in a Virtual Machine.
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: Manual Installations on Flash Media

2009-08-04 Thread Mark Stapper
Polytropon wrote:
> On Sat, 1 Aug 2009 14:21:02 -0700, David Allen 
>  wrote:
>   
>> I need to create a FreeBSD installation on an SSD drive (connected via a
>> USB adaptor), and would like to do so manually so as to avoid the use of
>> an installation CD, PXE or sysinstall.
>>
>> 1.   Would a device alphabetical order (as used by bsdlabel) work?
>> 
>
> I think it's no problem. My /etc/fstab looks that way:
>
>   /dev/ad0s1b none   swapsw0   0
>   /dev/ad0s1a /  ufs rw1   1
>   /dev/ad0s1d /tmp   ufs rw2   2
>   /dev/ad0s1e /var   ufs rw2   2
>   /dev/ad0s1f /usr   ufs rw2   2
>   /dev/ad0s1g /home  ufs rw2   2
>
>
>
>   
>> 2.   I don't expect the system to swap, so can I dispense with a swap entry
>>  and have everything function normally (no error messages, etc.)?
>> 
>
> I don't know how to "expect" swapping. As far as I understood, the
> system decides by itself if to write data to / read data from the
> swap file. I'm not sure if you can omit it.
>
>
>
>   
>> 3.   Will adding `noatime' to / or any other filesystem have any
>>  consequences?
>> 
>
> Yes. The access time for files won't be recorded. Using the noatime
> option is often advised for the use with SSD media, so is ANY advice
> that helps to minimize read / write cycles in order to increase the
> life time of the media.
>
>
>
>   
You may want to look at the link below.
It describes how to install freebsd on an USB-pendrive.
http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2
It notes that /var/log /var/run and /tmp should not be written to flash
memory.
You can use memory devices for these directories to minimize disk writes.
If you want, you can backup/and repopulate these directories on
shutdown/startup.
Hope it helps!
Mark




signature.asc
Description: OpenPGP digital signature


Re: upgrade 7.2 overwrites partitions

2009-08-04 Thread Mark Stapper
PJ wrote:
> Could somone explain to me why an upgrade from sysinstall would
> overwrite partitions; especially when the instructions indicate that
> files will not be overwritten?
>
>   
Dear Phil,

Ofcourse if you upgrade, files will be overwritten. Could you please be
more specific?
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: ftps ?(off-topic)

2009-08-04 Thread Mark Stapper
Neal Hogan wrote:
> On Mon, Aug 3, 2009 at 5:16 PM, Mel
> Flynn wrote:
>   
>> On Monday 03 August 2009 04:26:32 Neal Hogan wrote:
>> 
>>> 2009/8/3 Odhiambo  ワシントン :
>>>   
 On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk <

 frederi...@isafeelin.org> wrote:
 
> Odhiambo ワシントン wrote:
>   
>> What is ftps?
>> 
> # grep ftps /etc/services
> ftps-data   989/tcp# ftp protocol, data, over TLS/SSL
> ftps-data   989/udp
> ftps990/tcp# ftp protocol, control, over TLS/SSL
> ftps990/udp
>   
 pure-ftpd supports TLS/SSL.

 I am wondering if it can do this.
 
>>> I was curious about the OP's use of 'ftps" too. Perhaps, he could
>>> explain what plain-old-ftp doesn't do and what he wants it to do.
>>>   
>> When in doubt, use "she". :)
>> 
>
> I wasn't in doubt, but perhaps my chauvinism reared its head. I
> apologize if I offended anyone.
>
> It's actually quite funny that you bring this up, because I'm involved
> in a thread on debian-user@ with this topic. I (correctly) referred to
> someone as Mr. So-n-so and others questioned my choice of masculine
> reference.
>
>   
>> --
>> Mel
>>
>> 
> ___
> 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"
>   
It would be nice to hear more "she-calling" on these lists though...
So maybe mailing list etiquette should state anyone posting to a mailing
list should be referred to as "she" like we do with boats and
institutions like the court... (well in dutch we do...)
However, Frederique should imply the person who started this thread is
female.
Either that or cette person has cruel parents...



signature.asc
Description: OpenPGP digital signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mark Stapper
David Southwell wrote:
> Hi every one
>
> My understanding is that one uses the amd64 for building a kernel for systems 
> with Intel Quad Core processors.
>
> It is helpful when naming conventions follow a logical strand. I mean why 
> does 
> freebsd use a single manufacturer's name to represent a genre? 
>
> David 
>
> ___
> 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"
>   
One would use the amd64 version of FreeBSD on 64-bit platforms (apart
from the itanium platforms).
the amd64 or x86-64 instuction set has been designed by amd, which
called it amd64.
Intel implemented amd's design in their EM64T or "Intel 64" instruction
set, which is compatible with amd's implementation(mostly IS amd's
implementation).
As such, amd64 is as valid a platform name as IA64(or Itanium) is.





signature.asc
Description: OpenPGP digital signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mark Stapper
David Southwell wrote:
>> David Southwell wrote:
>> 
>>> Hi every one
>>>
>>> My understanding is that one uses the amd64 for building a kernel for
>>> systems with Intel Quad Core processors.
>>>
>>> It is helpful when naming conventions follow a logical strand. I mean why
>>> does freebsd use a single manufacturer's name to represent a genre?
>>>
>>> David
>>>
>>> ___
>>> 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"
>>>   
>> One would use the amd64 version of FreeBSD on 64-bit platforms (apart
>> from the itanium platforms).
>> the amd64 or x86-64 instuction set has been designed by amd, which
>> called it amd64.
>> Intel implemented amd's design in their EM64T or "Intel 64" instruction
>> set, which is compatible with amd's implementation(mostly IS amd's
>> implementation).
>> As such, amd64 is as valid a platform name as IA64(or Itanium) is.
>> 
>
> That is undoubtably true -- what it also means is that both names are equally 
> logical or illogical depending upon your point of view.
>
> My view is that both are equally illogical because they are tied to a 
> manufacturer rather than to function. Names are best chosen to facilitate 
> selection by single step logic that encapsulates what the name represents 
> rather than by having an abstruse historical context that has neglible 
> bearing 
> upon current function.
>
> my 2 p
>
> But lets not get worked up about this 
>
> david
>
>
>
>   
You make a good point. It would be more "logical" and maybe even more
"correct" to call it x86-64.
This would however imply that any x86-64 implementation is supported.
This is probably the case now, though i am unsure if freeBSD amd64 works
on for instance via platforms.
Since x86-64 isn't exactly an ISO standard, and amd64
is(http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43784),
it's not strange to name the branch that has been developed to work on
amd's implementation of x86-64 is called amd64.
Besides, I am a real AMD fanboy when it comes to processors... so why
would I want that? ;-)




signature.asc
Description: OpenPGP digital signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mark Stapper
Mel Flynn wrote:
> On Wednesday 05 August 2009 05:27:55 Erik Trulsson wrote:
>
>   
>> The amd64 architecture is called that because it was AMD who invented and
>> created it and was for a while the only one using it and since AMD named
>> the architecture AMD64 that was the name FreeBSD used too.  Later Intel
>> also started using it (while using their own name(s) for it), but FreeBSD
>> has stuck with the name amd64.
>> 
>
> This isn't completely correct. There is actually an ia64 architecture, before 
> Intel was ready to give up the "who dictates the PC 64bit architecture" 
> battle. There's a handful of CPU's who use that instruction set, but later 
> Intel switched to supporting AMD's instruction set and thus the PC 64 bit 
> architecture now is amd64.
>
> It'll be fun to see people asking in a few years why Oracle processors are 
> called "sparc64"...
>   
Now I come to think of it, isn't it strange apple(or IBM) never joined
in the whole 64-bits naming race spactacle.
No one ever calls a  PowerPC 970 processor a PowerPC-64, or a IBM64 or
anything like it...
Nor have I ever heard the term RISC64. Too bad we won't have to worry
about that anymore, since PowerPC is dead and Mac Pro's are now amd64(or
Intel 64 or x86-64 whichever would be the "correct" term ;-) )




signature.asc
Description: OpenPGP digital signature


FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions)

2009-08-06 Thread Mark Stapper
>
>
> Many people's only familiarity with computers in general will be from a 
> Windows centric perspective. Somehow there is a tendency to believe that 
> inserting a CD, booting, and then proceeding to click "OK" in a dialog box a 
> few dozen times makes them some kind of expert when they successfully get 
> Windows installed.
>
> Coming from a Windows centric environment myself I initially found that 
> there was a great deal of material to be learned, and RTFM was the way to do 
> it. I've noticed people who come from university computer science programs 
> have a much better foundation upon which to build. Most computer users do 
> not fit this category, myself included.
>
> While this deficiency can be overcome with self study, I am also aware that 
> not everyone who reads documentation necessarily understands the material. 
> If too much background education is missing the documentation just resembles 
> gobbeldy-gook and is ignored, with the fall back position of "click OK a few 
> dozen times and the OS will take care of it for me" expected to pick up the 
> slack.
>
> I would not be where I am today in my understanding and use of FreeBSD if  
> not for the excellent documentation and surrounding community. I feel I owe 
> my success in utilizing FreeBSD to the people who took the time to write 
> this stuff down for people like me to use. It is with a great measure of 
> gratitude to these people I owe my success.
>
>  
> [snip] 
>
> -Mike
>   

In light of this, I would really enjoy seeing a "Ubuntu" like movement
in the FreeBSD corner.
What I mean is that it would be nice for my mother to install and use
FreeBSD.
I am not saying that a Windows user should be able to feel right at home
on a box running FreeBSD, but a computer user should.
The problem herein, i am afraid, lies not with FreeBSD(or any other BSD
flavour), nor with it's community, but with the computer user.
Most computer users see an operating system(and the application they run
most) as part of a computer.
How many people say "My computer is broken" when µ$ Office doesn't start
anymore.
They don't care about which kernel they run, or which browser they use,
they care about typing e-mail, chatting and watching youtube video's.
(However sad it makes me that most people use less then 10% of the
features/programs/potential/computing-power the computer came with, they
do make sure we pay less for our components.)
Even though I'd feel less "cool" or "nerdy" (which is basically the same
thing ;-) ) if I'd run(or USE) the same OS as my 76 year old
grandfather, it would be nice for him to be able to buy a computer for
$20 less because it runs FreeBSD.
To achieve this, there are two things that should be made easier:
1. Installing a basic desktop system(next to any currently installed OS)
2. Keeping the base system and ports up to date.
And when I mean "easier" I mean it should be done without bothering the
user unless you about to "rm -rf /" as root, so to say.
Since most people never reinstall their computer, making it easier to
install a basic desktop system won't help my 76 year old grandpa, but it
will make it easier for unsatisfied Windows users to try FreeBSD.
Besides, in making it easy to install a basic desktop system, comes the
hardest part of any *nix like system: defining a basic desktop and
collecting the basic/standard applications.
It's hard just to pick either one Gnome, KDE or XFCE (or iceWM ;-) ) let
alone mail-clients, internet browsers, IM, etc. etc.
One of the advantages of using a descent operating system is the freedom
of choice. However most users don't care!
I am more then happy to tel anyone which e-mail client not to use (Lotus
notes, outlook express, anyone else's neck hears standing up?), but I
don't want to tell people they HAVE to use Thunderbird(I do tell them
they SHOULD but that's different) or evolution etc.
The problem is, most people don't want to make this choice either.
And the circle of life continues.
So basically, to make sure people will be using freeBSD (or any *nix
operating system) it needs to be easy to install (So that
PC-manufacturers will ship their pc's with it), a nicely filled standard
desktop environment with lot's of youtube/chat/word process capabilities
and "I won't bother you with it but i'm updating" functionality.
Just some thoughts..
I'll get back to work now...
...




signature.asc
Description: OpenPGP digital signature


Re: Looking for fast graphical web browser

2009-08-06 Thread Mark Stapper
Randall Wood wrote:
> On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote:
>   
>> Has anyone tested Arora?
>> 
>
> I'm actually surprised no one has recommended Konqueror.  It's not my 
> favorite browser (I happen to love Opera) but it would seem to mostly fit the 
> bill of fast, graphical.  One trick it does that I appreciate is assigning a 
> letter to every link.  When you hold down the control key, the letters appear 
> and you can navigate just by pressing control and a letter key.  Konqueror 
> certainly has its detractors though, so I guess it's a matter of taste.
>
> Happy hunting.
>   
 opera
Opera is suitable for anyone who takes the time to configure it to their
wishes.
That said, it would probably suit every FreeBSD  user...
Am I right? I'm right, right?



signature.asc
Description: OpenPGP digital signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-06 Thread Mark Stapper
per...@pluto.rain.com wrote:
> Mark Stapper  wrote:
>   
>> ... PowerPC is dead ...
>> 
Well yes
 (lousy excuse coming up!) I meant in the PC/Mac world... ;-)



signature.asc
Description: OpenPGP digital signature


Re: Opera in your repos

2009-08-06 Thread Mark Stapper
Frank Shute wrote:
> On Wed, Aug 05, 2009 at 07:43:05AM -0800, Mel Flynn wrote:
>   
> [snip]
>   
>> Well, we can start to agree that FreeBSD is not a "distro", but a UNIX 
>> operating system. :)
>> 
>
> We can't quite agree on that ;)
>
> BSD=Berkeley Software Distribution AKA distro of Unix
>
> At least the OP didn't make the faux pas of calling FreeBSD a Linux
> distro like one of his colleagues did a couple of years ago on this
> list.
>
> He'll also be relieved to know that plenty of people use Opera on
> FreeBSD.
>
> I'd point him to bsdstats for some numbers but it doesn't seem very
> functional ATM.
>
> [snip]
>
> Regards,
>
>   
As the whole amd64/x86 discussion proved, people on this list (including
me) might do good in reading more Shakespear...



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD for the common man(or woman)

2009-08-06 Thread Mark Stapper
Matthew Seaman wrote:
> Mark Stapper wrote:
>
>  
>   
>> In light of this, I would really enjoy seeing a "Ubuntu" like movement
>> in the FreeBSD corner.
>> What I mean is that it would be nice for my mother to install and use
>> FreeBSD.
>> 
>
> It's called PC-BSD.
>
>   HTH HAND
>
>   Matthew
>
>   
Nice thanks!
I'll be sure to send my grandpa this link! :-)



signature.asc
Description: OpenPGP digital signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-06 Thread Mark Stapper
Erich Dollansky wrote:
> Because people using them, new what they were doing.
>   
And probably didn't care...
> IA 64? Wans't this once - or still is - the term used for the 
> Itanium?
>   
The one that didn't stick... indeed.
> Yes, also Intel can fail. Intel also failed with their first 32 
> bit design. Wasn't iAPX-32 ist name? Long before the 80386 came 
> up?
>   
As I was an embryo when the 80386 was first produced, I searched for
this one...
Possibally the same thing though:
http://en.wikipedia.org/wiki/Intel_iAPX_432




signature.asc
Description: OpenPGP digital signature


Re: How to make CS server autostart on reboot

2009-08-13 Thread Mark Stapper
Hello,

What do you mean by a CS server?
I'm sure there are "better" of "pretier" solution but you can use cron
to do this for you.
As the user which should run this service do:
crontab -e

then add a rule like:
@reboot 

Then save and exit. Now next time on reboot the  will be run.
Greetz,
Mark

PS. CS= Counter Strike?
Anton wrote:
>Hello everybode,
>
>Can you help me in subject? Cause, if I even place the start script in
>/=tc/rc.local - it do not starts
>
>--
>
>--
>
>Best regards,
>
> Anton=[1]mailto:an...@sng.by
>
> Administrator
>
>Feel free to contact me
>
>via ICQ 363780596
>
>via Skype dobryak47
>
>via phone +375 29 3320987
>
> References
>
>1. 3D"mailto:an...@sng.by";
> ___
> 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"
>   




signature.asc
Description: OpenPGP digital signature


8.0-BETA2 not getting my 4Gigs of ram

2009-08-13 Thread Mark Stapper
Hello,

I'm fully enjoying installing FreeBSD 8.0-BETA2 amd64.
However, it does not seem to be able to use all my ram.
Strangely enough, it says the following:
[r...@carmen ~]# dmesg |grep memory
real memory  = 2147483648 (2048 MB)
avail memory = 4112240640 (3921 MB)

and
[r...@carmen ~]# sysctl -a|grep mem
[/snip]
hw.physmem: 4277510144
hw.usermem: 3954216960
hw.realmem: 4831838208
[/snip]

I'm still on a fresh install with a generic kernel.
Any ideas as to what might be going on?
greetz,
Mark





signature.asc
Description: OpenPGP digital signature


howto install virtualbox

2009-08-16 Thread Mark Stapper
Hello,

I'm currently migrating my home desktop from Gentoo linux to FreeBSD
8.0(Beta but it'll be "Stable" soon. Using RELENG_8 btw).
I'm kind of a OS collector/nut/geek/nerd. As such virtualization is
quite important to me.
I've been using VMware Server 2.x on Gentoo for quite some time and,
apart from the new console *barf*, it's been working for me so far.
So needless to say I was hoping for vmware support. Tough luck... Ow
well, the handbook spoke of virtualbox support. Only OSE, but still,
better than nothing.
After trying virtualbox on windows(at work) I decided to give it a go on
FreeBSD amd64...
Issuing make install in the virtualbox directory complained about me not
having any 32-bit libraries installed.
My questions are two fold:
1. Which options do I have when it comes to vritualization on FreeBSD 8
amd64?
2. How do I install virtualbox on amd64?

Thanks,
Mark



signature.asc
Description: OpenPGP digital signature


Re: howto install virtualbox

2009-08-17 Thread Mark Stapper
Gary Jennejohn wrote:
> On Mon, 17 Aug 2009 08:34:42 +0200
> Mark Stapper  wrote:
>
>   
>> I'm currently migrating my home desktop from Gentoo linux to FreeBSD
>> 8.0(Beta but it'll be "Stable" soon. Using RELENG_8 btw).
>> I'm kind of a OS collector/nut/geek/nerd. As such virtualization is
>> quite important to me.
>> I've been using VMware Server 2.x on Gentoo for quite some time and,
>> apart from the new console *barf*, it's been working for me so far.
>> So needless to say I was hoping for vmware support. Tough luck... Ow
>> well, the handbook spoke of virtualbox support. Only OSE, but still,
>> better than nothing.
>> After trying virtualbox on windows(at work) I decided to give it a go on
>> FreeBSD amd64...
>> Issuing make install in the virtualbox directory complained about me not
>> having any 32-bit libraries installed.
>>
>> 
>
> So, how did you install FreeBSD?  From an install image?
>
> You should have a /usr/lib32 by default, unless the image didn't contain
> it.  The 32-bit compatibilty libraries are automatically generated by
> "make buildworld" as long as MK_LIB32 is not set to "no" (which it is not,
> by default).
>
> Maybe you need to do "make buildworld" followed by "make installworld",
> assuming you have the src tree installed.
>
>   
>> My questions are two fold:
>> 1. Which options do I have when it comes to vritualization on FreeBSD 8
>> amd64?
>>
>> 
>
> qemu works pretty well, but VirtualBox is the way to go.  I've been using
> it under 8-current for a few months and it beats the socks off of qemu
> performance-wise.
>
>   
>> 2. How do I install virtualbox on amd64?
>>
>> 
>
> See above.  It seems that having /usr/lib32 populated is a prerequisite.
>
> ---
> Gary Jennejohn
>   
Thanks all for your reply's.
I was planning on doing a kernel/world upgrade anyway since that's what
I like doing :-) (need to test a patch from Junch-uk Kim anyway...)
Now I really have no more reason not to run FreeBSD as desktop... Maybe
except for good nvidia drivers.
thanks again.
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: Getting rid of X

2009-08-19 Thread Mark Stapper
Chris Whitehouse wrote:
> John Nielsen wrote:
>> On Wednesday 19 August 2009 12:17:10 Scott Schappell wrote:
>>> In a parallel sort of thread to the current desktop thread, when I
>>> installed FreeBSD 7.2 since I had plenty of disk space and memory I
>>> installed X, however, I don't need it or really want it.
>>>
>>> How can I pare that out of the system short of doing a complete
>>> rebuild?
>>
>> Install and run pkg-cutleaves, and let it loop through as many
>> iterations as it needs.
>> ___
>> 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"
>>
>
> To be safe, after you have deleted leaf ports you can install
> ports-mgmt/portmanager and run 'portmanager -s' redirected to a file
> then you will have a list of any missing ports. 'portmanager -u' will
> reinstall them for you. Of course you can probably do the same with
> portmaster or  portupgrade but I've found portmanager does a pretty
> good job.
> ___
> 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"
You probably allready did this, but you might want to add:
"WITHOUT_X11=yes" to make.conf
This will disable optional X support in certain ports.
Greetz,
Stark



signature.asc
Description: OpenPGP digital signature


Re: Problem mounting EXT2FS

2009-08-25 Thread Mark Stapper
Jeronimo Calvo wrote:
> Hi folks, im migrating from Linux to BSD, and i found my first problem...
> First of all, i did save my /home from my old Linux distribution on another
> HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from
> sysinstall.
>
> I read about compiling the KERNEL in order to add Ext2fs support under
> Freebsd, wich I did... Adding the line:
>
>  Quote:
>   options EXT2FS
> looking like this:
>
>  Quote:
>   options KBD_INSTALL_CDEV # install a CDEV entry in /dev
> options ADAPTIVE_GIANT # Giant mutex is adaptive.
> options STOP_NMI # Stop CPUS using NMI instead of IPI
> options AUDIT # Security event auditing
> #options KDTRACE_FRAME # Ensure frames are compiled in
> *options EXT2FS*
> #options KDTRACE_HOOKS # Kernel DTrace hooks
> After this i recompiled the kernel and installed...
>
>  Quote:
>   # uname -a
> FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009
> iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64
> Well... everything should be ready now to mount my ext2fs partition... Using
> the following command...
>
>  Quote:
>   # mount
> /dev/ad8s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> /dev/ad8s1e on /tmp (ufs, local, soft-updates)
> /dev/ad8s1f on /usr (ufs, local, soft-updates)
> /dev/ad8s1d on /var (ufs, local, soft-updates)
> /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid)
> # mount -t extfs2 /dev/ad6s1 /ext2
> mount: /dev/ad6s1 : Operation not supported by device
>
> I tried several times, with not luck, one of those times i was able to mount
> it, but not to access it, when i tried to cd /ext2 (folder when is mounted)
> system tells me that ext2 is not a folder...
>
> any ideas???
>
> Thanks in advance!!
> ___
> 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"
>   
besides, I think it's ext2fs, not extfs2...
Typo?
greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: Problem mounting EXT2FS

2009-08-25 Thread Mark Stapper
Jeronimo Calvo wrote:
> hi Mark!
>
> Im using FreeBSD 7.2-RELEASE... but im not sure about the "userland",
> is currently fresh installed, just compiled the KERNEL to add ext2fs
> support and installed the patch for the 256-inode... nothing else...
> But I will take your advise and upgrade my kernel to STABLE (as I
> think it will be funny as well, ur not the one "geek" here I suposse
> hahahaha)
Don't forget to reapply the ext2 patch... ;-)
>
> I will need to get some more knowledge about "userland"... :D
the userland is just the collection of base applications or "base
distribution".

>
> Will check up ur links fella! btw, if u find anything else new-bie
> related... send me as well!!
Just read all the chapters listed here:
http://www.freebsd.org/doc/en/books/handbook/
;-)



signature.asc
Description: OpenPGP digital signature


Re: hard disk failure - now what?

2009-08-26 Thread Mark Stapper
Gary Gatten wrote:
> Naw, I don't recall the POST error exactly, but from what I remember it
> couldn't find a boot device.  Could've been the controller, but from
> what I recall I swapped the drive (later) and all was good.  I really
> don't recall though - I could've put the "bad" drive in a good laptop
> and fixed it that way - really don't recall details.  Wish I could fix
> some other problems by throwing them in a freezer!
>   
Some try to solve their marital problems with a freezer... and an axe ;-)



signature.asc
Description: OpenPGP digital signature


Re: ATI HD 4550 xorg.conf "radeon" driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
> Hi folks,
>
> I am setting up a fresh installation of Freebsd on a EMT64 machine...
> everything is working smooth so far, but im wondering some things about the
> 3D support from my graphic card, i bought that card few weeks ago (stupid me
> i didnt read about ATU support under FreeBSD before...) but btw i can not
> step back... Im trying to get 3D aceleration for that card... noticed that
> after setting up X11 xorg.conf... Driver used is "radeon", I'd been reading
> about the possibility of using others... what is the best option? I noticed
> that im unable to set activate the desktop affects, that makes me wonder...
> that 3d is not working properly innit??
>
> Can somebody help me with this??
>
> Cheers fellas!
> ___
> 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"
>   
Hello,

In order to help you we need some more information regarding your system
and setup.
First of all: which hardware are you using exactly? Most importantly the
make and model of you graphics card.

Second: which version of FreeBSD are you using? Preferably, post the
output of the following command:
uname -a


Besides that I would give the redeonhd driver a go.
I don't have much experience with these though, As i have an Nvidia card
(amd64 support please!! :'( )
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: ATI HD 4550 xorg.conf "radeon" driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
> Hi mate!
>
>
>   The card is an: ATI Radeon™ HD 4550 Graphics Technology running on:
>
> # uname -a
> FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
> 2009 iscariote@:/usr/obj/usr/src/
>
> cheers!
>
>
> sys/MYKERNEL amd64
>
>
First of, I's update to either 7.x stable or 8.0.
Check the handbook on how to update your kernel/world
http://www.freebsd.org/doc/en/books/handbook/makeworld.html
Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU
should have a RV710)
http://www.x.org/wiki/radeonhd
To test opengl accell use glxgears located in graphics/mesa-demos.
Have fun with it :-)
Greetz,
Mark
> 2009/8/27 Mark Stapper mailto:st...@mapper.nl>>
>
> Jeronimo Calvo wrote:
> > Hi folks,
> >
> > I am setting up a fresh installation of Freebsd on a EMT64
> machine...
> > everything is working smooth so far, but im wondering some
> things about the
> > 3D support from my graphic card, i bought that card few weeks
> ago (stupid me
> > i didnt read about ATU support under FreeBSD before...) but btw
> i can not
> > step back... Im trying to get 3D aceleration for that card...
> noticed that
> > after setting up X11 xorg.conf... Driver used is "radeon", I'd
> been reading
> > about the possibility of using others... what is the best
> option? I noticed
> > that im unable to set activate the desktop affects, that makes
> me wonder...
> > that 3d is not working properly innit??
> >
> > Can somebody help me with this??
> >
> > Cheers fellas!
> > ___
> > freebsd-questions@freebsd.org
> <mailto: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
> <mailto:freebsd-questions-unsubscr...@freebsd.org>"
> >
> Hello,
>
> In order to help you we need some more information regarding your
> system
> and setup.
> First of all: which hardware are you using exactly? Most
> importantly the
> make and model of you graphics card.
>
> Second: which version of FreeBSD are you using? Preferably, post the
> output of the following command:
> uname -a
>
>
> Besides that I would give the redeonhd driver a go.
> I don't have much experience with these though, As i have an
> Nvidia card
> (amd64 support please!! :'( )
> Greetz,
> Mark
>
>




signature.asc
Description: OpenPGP digital signature


Re: ATI HD 4550 xorg.conf "radeon" driver

2009-08-27 Thread Mark Stapper
Jeronimo Calvo wrote:
> Thanks for the advice!! I will enjoy it for sure!! BTW i ordered both
> printer handbooks from FREEBSD Mall! to keep reading when goinn to the
> toilet! hahahah
>
> I tought that my version was already stable... when i downloaded...
> 7.2-RELEASE is the same as 7.2-CURRENT then??
>
> Will be better to upgrade to v 8 or downgroaded to 7.0-STABLE?
>
> Thanks!
Well, of course 7.2-RELEASE runs stable, but it's not the "STABLE" branch.
CURRENT is now FreeBSD 8.
FreeBSD 8 is now in the last Beta stage, and will be ready to be
released soon.
So I'd update to FreeBSD 8 by updating world and using " tag=RELENG_8"
(see /usr/share/examples/cvsup/stable-supfile for more info)
basically you'd copy this file to you root's home dir, and find
"tag=RELENG_7" (which indicates you would track the 7-STABLE branch) and
replace it with "tag=RELENG_8".
Now follow the handbook to install and configure your kernel and update
and install world.
If you complete this step successfully, you'll have learned a lot about
FreeBSD :-)
You should recompile/update your ports afterwards too.
Don't forget to tweake /etc/make.conf (check out
/usr/share/examples/etc/make.conf for guidance)
Greetz,
Mark
>
> 2009/8/27 Mark Stapper mailto:st...@mapper.nl>>
>
> Jeronimo Calvo wrote:
> > Hi mate!
> >
> >
> >   The card is an: ATI Radeon™ HD 4550 Graphics Technology
> running on:
> >
> > # uname -a
> > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC
> > 2009 iscariote@:/usr/obj/usr/src/
> >
> > cheers!
> >
> >
> > sys/MYKERNEL amd64
> >
> >
> First of, I's update to either 7.x stable or 8.0.
> Check the handbook on how to update your kernel/world
> http://www.freebsd.org/doc/en/books/handbook/makeworld.html
> Then get the radeonhd, which has 3d support for RV7xx chips (Your GPU
> should have a RV710)
> http://www.x.org/wiki/radeonhd
> To test opengl accell use glxgears located in graphics/mesa-demos.
> Have fun with it :-)
> Greetz,
> Mark
> > 2009/8/27 Mark Stapper mailto:st...@mapper.nl>
> <mailto:st...@mapper.nl <mailto:st...@mapper.nl>>>
> >
> > Jeronimo Calvo wrote:
> > > Hi folks,
> > >
> > > I am setting up a fresh installation of Freebsd on a EMT64
> > machine...
> > > everything is working smooth so far, but im wondering some
> > things about the
> > > 3D support from my graphic card, i bought that card few weeks
> > ago (stupid me
> > > i didnt read about ATU support under FreeBSD before...)
> but btw
> > i can not
> > > step back... Im trying to get 3D aceleration for that card...
> > noticed that
> > > after setting up X11 xorg.conf... Driver used is "radeon", I'd
> > been reading
> > > about the possibility of using others... what is the best
> > option? I noticed
> > > that im unable to set activate the desktop affects, that makes
> > me wonder...
> > > that 3d is not working properly innit??
> > >
> > > Can somebody help me with this??
> > >
> > > Cheers fellas!
> > > ___
> > > freebsd-questions@freebsd.org
> <mailto:freebsd-questions@freebsd.org>
> > <mailto:freebsd-questions@freebsd.org
> <mailto: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
> <mailto:freebsd-questions-unsubscr...@freebsd.org>
> > <mailto:freebsd-questions-unsubscr...@freebsd.org
> <mailto:freebsd-questions-unsubscr...@freebsd.org>>"
> > >
> > Hello,
> >
> > In order to help you we need some more information regarding
> your
> > system
> > and setup.
> > First of all: which hardware are you using exactly? Most
> > importantly the
> > make and model of you graphics card.
> >
> > Second: which version of FreeBSD are you using? Preferably,
> post the
> > output of the following command:
> > uname -a
> >
> >
> > Besides that I would give the redeonhd driver a go.
> > I don't have much experience with these though, As i have an
> > Nvidia card
> > (amd64 support please!! :'( )
> > Greetz,
> > Mark
> >
> >
>
>
>



signature.asc
Description: OpenPGP digital signature


ZFS and DMA read error

2009-08-30 Thread Mark Stapper
Good day to you,

I'm having a bit of trouble with one of the disks in my zfs raidz1 pool.
It's giving me dma read error, and zpool is reporting READ failures.
However, data integrity is OK :-)
Unfortunately I was in the middle of rearranging my backup media, so I'm
backup up everything as we speak.
I will be testing the failing drive in another computer soon, however
before I return it i'd like to know if this could be caused my something
other than hardware failing.
Below the output of "zpool status" and a snippet of /var/log/messages
showing the DMA errors.
Thanks for the input.
Greetz,
Mark


pool: data
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
dataONLINE   0 0 0
  raidz1ONLINE   0 0 0
ad4 ONLINE   0 0 0
ad6 ONLINE  21 0 0
ad8 ONLINE   0 0 0
ad10ONLINE   0 0 0

errors: No known data errors

Aug 31 03:04:35 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204925440 size=2560 error=5
Aug 31 03:04:53 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 03:04:53 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 03:05:17 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 03:05:17 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 03:05:17 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204918272 size=512 error=5
Aug 31 06:12:01 yoshi login: ROOT LOGIN (root) ON ttyv2
Aug 31 06:35:34 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:35:34 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:35:34 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204925440 size=2560 error=5
Aug 31 06:36:33 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:36:34 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:36:34 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204923392 size=2048 error=5
Aug 31 06:36:38 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:36:38 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:36:38 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204918272 size=512 error=5
Aug 31 06:36:42 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:36:42 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:36:42 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204918272 size=512 error=5
Aug 31 06:37:52 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:37:52 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:37:52 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204918272 size=512 error=5
Aug 31 06:38:31 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:38:31 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:38:31 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204918272 size=512 error=5
Aug 31 06:38:45 yoshi kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=932040832
Aug 31 06:38:45 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204905984 size=65536 error=5
Aug 31 06:38:45 yoshi root: ZFS: vdev I/O failure, zpool=data
path=/dev/ad6 offset=477204947968 size=512 error=5





signature.asc
Description: OpenPGP digital signature


Re: ZFS and DMA read error

2009-08-31 Thread Mark Stapper

> 
>
>
>
> Since it's all throwing errors at the same LBA, I'd run a SMART
> diagnostics on the drive (i think it's port sysutils/smartmontools)
> and see if it's showing errors too.  Looks like a failing/failed drive
> and I would recommend replacing it.  I doubt (but you can try)
> spinrite will help you when you get to this point.
>   
Thought about that, will do that, after running zfs scrub.
Weird thing is that zfs hasn't show any data/checksum errors. Does this
mean successive reads were successful?
> spinrite's website is at grc.com
>   
People are REALLY pushing spinrite lately... I did get it though, just
to try it.
>
> Hope you have backups or redundancy.  No fun replacing data.
>   
I have both :-).



signature.asc
Description: OpenPGP digital signature


Re: Daily security report oddity...

2009-09-02 Thread Mark Stapper
Kurt Buff wrote:
> I got a daily security run email from one of my machines on Monday
> morning, with the following entry:
>
>  zmx1.zetron.com login failures:
>  Aug 30 06:57:17 zmx1 su: BAD SU mlee to root on /dev/ttyp2
>  Aug 30 09:42:17 zmx1 su: BAD SU mlee to root on /dev/ttyp0
>
> What's puzzling is that this account has been completely inactive for
> well over a year - this fellow is long gone, and I simply didn't clean
> it up - that's my bad, but that's not the puzzling part.
>
> I traced it down, and found out that he had not logged in on Sunday.
> The auth.log is, as you can see from the listing below, quite old. The
> entries referenced above are from two years ago.
>
>   zmx1# ll /var/log/a*
>   -rw---  1 root  wheel  71845 Sep  1 15:42 /var/log/auth.log
>   -rw---  1 root  wheel   6087 Aug 29  2007 /var/log/auth.log.0.bz2
>   -rw---  1 root  wheel   5774 Aug 12  2007 /var/log/auth.log.1.bz2
>   -rw---  1 root  wheel   5795 Jul 24  2007 /var/log/auth.log.2.bz2
>   -rw---  1 root  wheel   6813 Jul  6  2007 /var/log/auth.log.3.bz2
>
>
> So, a couple of questions:
>
> Why would the daily security run pick up something from *two years
> ago* and only report it again today? The machine hasn't been rebooted
> in a very long time, if that makes a difference.
>
> Is there any way to prevent something like this happening again - or
> perhaps can I force the entry of the year into the date field for the
> auth.log entries?
>
> Kurt
> ___
> 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"
>   
Hello,

If you look at the syntax of the logfile, you will see no year is listed.
Most likely the whole file is parsed on security run. Since the logfile
has been rotated the 30th of august 2007, it's very much possible you'll
get all your messages all over again.
Perhaps it's wise to rotate you logfiles once a year just in case...
And it make no difference the machine hasn't been rebooted in a very
long time... (define "very long time" ;-)
http://uptimes-project.org/hosts/view/150 )




signature.asc
Description: OpenPGP digital signature


Re: ZFS and DMA read error

2009-09-03 Thread Mark Stapper

> SpinRite is OK but it hasn't been updated in ages. It does not work on
> large drives. 250GB works, 1TB does not. Haven't tried it on 500GB
> drives.
>   
So it will be useles in... well in this case it IS useles...
> If I were you I would 'zpool offline ...' the offending drive, rewrite
> the entire drive with 'dd if=/dev/zero ...' and then run a SMART
> selftest on it using smartmontools ('smartctl -t long /dev/adX'). When
> you 'zpool online ...' the drive ZFS will resilver it for you. After
> doing all of this I would then run a 'zpool scrub ...'. If the scrub
> finishes without checksum errors and without any ATA-related errors the
> drive is probably in good enough condition to keep using, but watch out
> for more ATA errors. If the drive is dying it won't be long before it
> starts to generate more ATA errors.
>   
Yeah, i did the long SMART selftest three times now, each of which it
failed on the same LBA address.
Did the scrub as well, took two hours, and no DMA errors were reported.
Why would I want to clear my driver before I run these tests?
I ordered a "spare" drive so I'll wait until it arrives, replace the
faulty drive with this one by dd-ing data from one to the other (I have
only 4 SATA ports so I can't do "zpool replace").
Or meybe I'll just swap them out and do "zpool scrub".
I'm uncomfortable doing this though, because if any of the other drives
fails/crashes/flips me off I'll have to restore from my backup which
took two days to make... (which is the drawback of a gzipped zfs backup
partition)
Once I've replaced the drive I'll run hitachi's Drive Fitness Test on
the (presumably) failing drive. Even if it doesn't generate any ATA
errors during everyday use, the error it gave before, combined with the
failing SMART self test disturbs me. I bought the drive 2 months ago, so
my faith has gone.
However, if it passes Hitachi's DFT my faith will be restored :-).
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature


Re: ZFS and DMA read error

2009-09-03 Thread Mark Stapper

Arthur Chance wrote:

Mark Stapper wrote:
[snip]

I ordered a "spare" drive so I'll wait until it arrives, replace the
faulty drive with this one by dd-ing data from one to the other (I have
only 4 SATA ports so I can't do "zpool replace").


zpool replace has two forms

zpool replace pool old-device new-device

and

zpool replace pool device

The latter is for when you pull the old drive and put the new one on 
the same {S,P}ATA port because you've no free ports. I did that a 
couple of weeks ago when one of my raidz drives fried (in its warranty 
period!) and it worked like a dream. I did a zpool replace and then a 
zpool scrub  to make sure everything was OK because of this section of 
the zpool man page:


Scrubbing  and resilvering are very similar operations. The differ-
ence is that resilvering only examines data that ZFS  knows  to  be
out  of  date (for example, when attaching a new device to a mirror
or replacing an existing device), whereas  scrubbing  examines  all
data to discover silent errors due to hardware faults or disk fail-
ure.


Thanks for the tip. I'll be sure to try that.
___
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: ZFS and DMA read error

2009-09-07 Thread Mark Stapper
Daniel Eriksson wrote:
> Mark Stapper wrote:
>
>   
>> Yeah, i did the long SMART selftest three times now, each of which it
>> failed on the same LBA address.
>> 
>
> I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA
> XXX something?
>   
Indeed it does. Always with the same LBA code/sector/address or whichever.
>   
>> Why would I want to clear my driver before I run these tests?
>> 
>
> In this case it's not really clearing the drive you are aiming for, it
> is to write to every sector. If you have a failed sector (which you do),
> writing to it will force the drive firmware to remap the sector. As far
> as I know, most drives will not remap an unreadable sector until it is
> written to.
>   
So I see. Could this be why I haven't had any read errors anymore?
(After the zpool scrub that is)
> /Daniel Eriksson
>   




signature.asc
Description: OpenPGP digital signature


Re: ZFS and DMA read error

2009-09-07 Thread Mark Stapper
Daniel Eriksson wrote:
> Mark Stapper wrote:
>
>   
>> So I see. Could this be why I haven't had any read errors anymore?
>> (After the zpool scrub that is)
>> 
>
> Possibly, but in that case the SMART selftest should pass also. Have you
> tried a selftest after you did the scrub?
>
> /Daniel Eriksson
> ___
> 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"
>   
multiple times



signature.asc
Description: OpenPGP digital signature


Re: language dutch spell check evolution

2009-09-07 Thread Mark Stapper
Roy Stuivenberg wrote:
> Hello,
>
> Does anyone have a clue how I can change language to dutch in Evolution
> for spelling check?  Default is now English, and that's my only option
> so it seems   -->   (7.2-stable & gnome2, English)
>
> Regards,
>
> Roy Stuivenberg.
>
> ___
> 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"
>   
You should install the dutch aspell dictionary: textproc/nl-aspell
Groeten,
Mark



signature.asc
Description: OpenPGP digital signature


Re: how to get rid of a character, 0x80?

2009-09-07 Thread Mark Stapper
Gary Kline wrote:
>   anybody know why getchar() doesn't see 0x80 == 0200?  if getchar()
>   is limited to 7-bit characters, what then?
>
>   % od -c file 
>
>   shows me that every character fits into 8 bits, so getwchar() is the 
> next thing.
>   but doesn't getwchar grab wide-chars only: 16 bits?
>
>   tia, guys,
>
>   gary
>
>
>
>   
Hello,

First of, this isn't really a BSD question.
Second, if you have an example code we might be able to help.
Presumably, you want to read a capital C with cedille? (0x80 128 Ç)
Example from: http://www.cplusplus.com/reference/clibrary/cstdio/getchar/
compiled on FreeBSD 7.2 with gcc 4.2.1 output:
"
Enter text. Include a dot ('.') in a sentence to exit:
sfeo
sfeo
Çsdfa
Çsdfa
"
besides.. 0x80!=0200
it's 0200 octal which is 128 decimal...
Might be why it doesn't work for you.
Greetz,
Mark



signature.asc
Description: OpenPGP digital signature