Re: FreeBSD 9.1 fails to boot from CD on Notebook

2013-07-12 Thread Sergio de Almeida Lenzi
seems that some notebooks the bios loads
part of the boot from the HD first before
trying to boot from the CD, so when the CD boots,
the system expects some windows stuff, when
it sees  FreeBSD, it reboots...

Solution I found:
1) get/buy another HD for notebook (here a 320GB costs U$100) 
2) make sure the HD is NOT INITIALIZED (blank)
3) install the FreeBSD in the HD in a desktop machine that for sure
boots FreeBSD
4) open the notebook, install the FreeBSD HD in the notebook, usually a
door under the notebook
5) boot from the HD

Here for me it worked..


Beware that some notebooks you may void warranty if you 
install another OS than windows... that is why I still have the
original HD with windows8 inside.. 
If there is a problem with the notebook, I can always replace
the original HD and return it to factory.. 


___
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: UEFI Secure Boot

2013-07-08 Thread Sergio de Almeida Lenzi
Hello, 

You can call me naive, but until today,

I could not find only a one user that wants to use FreeBSD and/or LInux
AND windows
in any machine I mount/sold, and I have mount it by the dozen,
servers running FreeBSD, notebooks running a custom version of Arch
Linux...

In the freeBSD servers, when a user needs windows for some reason 
mainly access bank account or enterprise small business
I use Virtualbox and I offer him NT2003 server (32 bits), windows 7(64)
or
windows XP(32). all work fine with a server running FreeBSD 9, 16GB of
memory,
500GB of zfs mirrored disks. 
This small server, running on an AMD FX8120 (8cores) processor costs
about U$600
and can hold 40 users running on the virtualbox NT 2003... without
problem,
and the FreeBSD part can hold gnome 2.32, pf, webserver, firewall, dhcp,
printer
server, scanner, wireless server, vpn, vlan, asterisk for telephony,
even a cloud server running on top of
apache using webdav...

On the notebooks, the Arch linux runs like a charm, very fast
integrated
with the FreeBSD server. if a user needs access to the company software
or bank software(that runs only on IE8)
a rdesktop session is used (tsclient).

Besides the FreeBSD does diskless  stations too..

So the question:  
Why  or when will I need an secure UEFI boot???


Thank you for ANY comment...


Sergio
___
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: Virtual Box on FreeBSD Server

2013-04-22 Thread Sergio de Almeida Lenzi
I use Virtualbox and FreeBSD 9, or 10 as the base
OS and the windows 2003server, 2008 server, running
in the virtualbox, 

My cpu is an AMD8120 8cores with 16GB of memory,
the filesystem is in ZFS, 

I put 2Gb for each windows, and the system runs
confortable with 20 users in each windows machine.. (total of 40 users)

The boot (cold boot) for the 2003 server (32 bits) is about 10 seconds 
with an drive of 20GB and another of 400GB (in the virtualbox...) 
the NIC is configure with bridge, the FreeBSD gives address via
dhcp server...
both windows run with VboxHeadless   and are both 
enable terminal servers

Runs like a charm... 
___
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: Dumb down a Netgear Smart Switch

2013-03-20 Thread Sergio de Almeida Lenzi
Em Ter, 2013-03-19 às 17:09 -1000, Al Plant escreveu:

 Aloha,
 
 Anybody on our list who can tell me how to set a Netgear GS108T 8 Port 
 Smart Switch (Gigabit) to pass thru to a modem under FreeBSD. I have 2 
 other (non Smart) ones working with FreeBSD just fine in my rack and 
 need to  have the new one connect with a DSL modem on a static address.
 
 The instructions they sent me along with the switch that was a 
 replacement for a non smart one at no charge is the type for using a 
 DHCP service on Microsoft. (I cant complain about the up grade but its 
 over kill for my purpose.
 
 Any help would be appreciated.

Hello,

My experience with smart switches is at minimum not good 
they sometimes block, they need programming, I had an experience
with a dell smart switch that blocks the entire network of servers when
a  set of diskless stations boots, the only solution is to make it
dumber.
finally we changed that one for about 3 cisco gigabit 48 ports dumb
switches
and never ever heard about network problems again... 

Sergio
___
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: buildowrld fails in sendmail

2013-03-01 Thread Sergio de Almeida Lenzi
Em Sex, 2013-03-01 às 16:46 -0500, Robert Huff escreveu:

   On a system running:
 
 FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012  amd64 
 
   make buildworld fails with this:

My solution is to
edit /etc/src.conf like this:


MALLOC_PRODUCTION=yes
WITH_BSDCONFIG=yes
WITH_BSD_PATCH=yes
WITH_ICONV=yes
WITH_IDEA=yes
WITHOUT_PKGTOOLS=yes
WARNS=2
NO_WERROR=yes



and make buildworld again... 
You can use all the options, but
for sendmail only the last 2 are significant...

It works for me



___
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 9.1 upgrade

2013-03-01 Thread Sergio de Almeida Lenzi
Em Sex, 2013-03-01 às 17:40 +, Graeme Dargie escreveu:

 Hi All
 
 Upgraded 3 machines today from 9.0 to 9.1 all three run ZFS as a storage but 
 not as a boot file system. One machine out of the three ended up with a very 
 sick looking ZFS pool, not a big deal as this machine is a backup mirror for 
 another system. So I did a zpool destroy tank  then zpool create tank raidz 
 ada1 ada2 ada3 ada4
 
 ZFS tells me that ada1 might be part of an active pool and use -f to override 
 this.
 
 zpool create -f tank raidz ada1 ada2 ada3 ada4
 cannot create 'tank': no such pool or dataset
 
 Any clues anyone?

make sure the operating system really upgraded without errors from 9.0
to 9.1
sometimes the kernel modules are not in sync with the zfs modules on the
filesystem.

ZAP the data on ada1 (will  erase all data on ada1)

dd bs=64k if=/dev/zero of=/dev/ada1 count=1

restart the machine, should work


Sergio
___
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: FBSD 9.1.0 - make buildworld running for 1.5 hours???

2013-03-01 Thread Sergio de Almeida Lenzi
Em Sex, 2013-03-01 às 12:29 -0600, Paul Schmehl escreveu:

 I'm running make buildworld on a quad processor quad core box with 16GB of 
 ram, and it's been running already for more than an hour and a half.  Has 
 world really gotten that huge?  Good lord!  Good thing we have 
 freebsd-update!
 

Perhaps you did not use the -j option on the make buildworld...


env NOCLEAN=yes DESTDIR= make -j 4 buildworld

without the -j option it runs on only one processor and can take up to 5
hours...



Sergio
___
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 on Acer C7 Chromebook?

2013-02-05 Thread Sergio de Almeida Lenzi
Em Ter, 2013-02-05 às 14:45 +, Arthur Chance escreveu:

 [I'm not sure whether this would be better on -hackers@ or -hardware@ 
 but -questions@ seems like a good place to start.]
 
 Is anyone considering getting FBSD to run on the Acer C7 Chromebook? The 
 pros are that it's a cheap, small and relatively lightweight 64 bit 
 Intel portable using integrated Intel graphics. The cons are that it's a 
 Chromebook, so has a completely non-standard BIOS and boot sequence. 
 However, Ubuntu has been hacked to boot on it (Google for ChrUbuntu) 
 so it's not totally locked down.
 
 This would make a very useful little system, but the programming needed 
 is beyond my skill set I'm afraid.
 ___
 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


A long time ago I swear NEVER ever buy ACER product, the bios is no
standard,
and they do not care about the clients.

I bought sevral notebooks very cheap that are built around the AMD
vision,
Lenovo 845 here costs about US$400 payed in 10 parts of US$40... 


___
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 9.1-PRERELEASE

2012-12-27 Thread Sergio de Almeida Lenzi
Em Qui, 2012-12-27 às 10:53 +0100, Jack Raats escreveu:

 Hi,
 
 In this mailinglist I'm reading a lot about problems (re)compiling the 
 system. At this moment I'm running:
 FreeBSD 9.1-PRERELEASE (ORAC) #0 r244047: Sun Dec  9 15:33:19 CET 2012 
 without problems.
 
 Is it save to recompile the system with all patches?


Here I use the svn to fetch the src
than I build a config () file in /sys/amd64/conf
than go to /usr/src
make sure there is an user named auditdistd in /etc/master.passwd
==auditdistd:*:78:77::0:0:Auditdistd unprivileged
user:/var/empty:/usr/sbin/nologin
export KERNCONF=
make buildworkld  make buildkernel
then make installworld installkernel

if your config ===  is correct,
Should work
___
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: BIOS update saga - the end

2012-11-13 Thread Sergio de Almeida Lenzi
That is one of the reasons I stop buying HP products
specially laptops.. and sony vaio as well..

the last one I have is a z6000 that is still working very well with
FreeBSD10.

HP notebooks are closed  works only with windows, are expensive
consumes too much power, the bateries did not last...

I live in Brazil and here one HP costs about 750 euros... a sony vaio is
about 800 euros,


I bought recently a Lenovo G475 (14inch LED display) notebook brand new,
for 350 euros with 2Gb of memory,
320Gb of HD, atheros wifi, dvd rw, AMD radeon video, dual core... I
bought more 4Gb of memory
for 30 euros, and the notebook is now with 6Gb...

Last week I bought a 15 inch notebook at the shopping near my home,
with the same amd chip, wifi, large keyboard with separated numeric key,
4Gb memory, 500Gb disk for 320 euros (no brand name)...

any of them works very well with FreeBSD, NetBSD or Linux...

A friend of mine bought 10 of those for his company employees.. 
it is cheapper than upgrade de desktops


That is my experience


Sergio

___
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: /tmp filesystem full

2012-08-22 Thread Sergio de Almeida Lenzi
If you use zfs, that is easy...  zfs set quota=NNG  pool/tmp

if not
try to mount tmp in memory... 
in /etc/rc.conf

tmpmfs=YES
tmpsize=400m  

reboot
this would create a /tmp in memory (swap)
size=400 Megabytes

Sergio
___
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


libc version

2012-06-18 Thread Sergio de Almeida Lenzi
Hello...

I upgrade the server from version 8.2 to 8.3, and rebuild all packages..
it all works...

Then I installed a binary package (8.3) in an old 8.2 ...
every package works... gnome, nautilus, wget about 800 of them
the only one that does not work is postgesql84-server
when I try to run it it I got the message:
/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required
by /usr/local/bin/postgres not found

seems that only postgres is check for the libc version???
is there a compile switch to check for that???


Of course, if I compile postgres in the 8.2 or upgrade to 8.3 it
works...

Thanks for any help,
___
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: libc version

2012-06-18 Thread Sergio de Almeida Lenzi
Ok thank you for your answer...

the problem  is in the postgres code and not
in a compile switch or something like that...

I will upgrade all my 8.2 to 8.3... systems

to do this, I build an 8.3 from ground zero,
and than do a rsync from this one to the others,
directories: /usr/obj /usr/src
than... on each target, a make installworld installkernel should do the
upgrade...

Any comments??

Sergio
___
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


support for amd vision graphics card

2012-02-03 Thread Sergio de Almeida Lenzi
Hello,

Do someone know when FreeBSD will have
support for the new graphics chip (Vision, Sandy bridge)???

I am tired of watching my laptop at vesa 1024x768 resolution...


Thanks...

SErgio
___
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


redports question

2012-01-02 Thread Sergio de Almeida Lenzi
Hello

I have a login account in redports.org.

Now I wan to get (via svn) the virtualbox port (all of them)...

What is the procedure???  

In the wiki it show how I can work with my account in redports only...

Thanks for any help...


sergio
___
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 server limits question

2012-01-02 Thread Sergio de Almeida Lenzi
hello...

I supose you are using 64bits version of FreeBSD and at least 8.2
version...

What happens is that you have exhausted the thread limit of your
appplication
your systeam is unable to create more threads for that appplication
a command: sysctl -a | grep thread
will show how they are setted up in your system.

mine has:
-
kern.threads.max_threads_hits: 0
kern.threads.max_threads_per_proc: 1500
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_kthreads: 24
vfs.nfsrv.minthreads: 4
vfs.nfsrv.maxthreads: 4
vfs.nfsrv.threads: 4
net.isr.numthreads: 1
net.isr.bindthreads: 0
net.isr.maxthreads: 1
--
note that the number of threads per proc is 1500 here (a notebook)

to increase the number of threads, edit the file /etc/sysctl.conf
put a line: 
kern.threads.max_threads_per_proc=9000
and than the command: /etc/rc.d/sysctl restart

Hope this will help

___
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


Lenovo athlon laptop

2011-12-22 Thread Sergio de Almeida Lenzi
Hello,

I bought a lenovo laptop (cpu amd dual core, graphics is radeon 6250

Everything woks, except the graphics that only works with driver vga at
1024x768.

if I use the ati  driver, it works in 1366x800 (that is the panel
resolution,
it works ok, but ONLY ONCE, that is, the gdm program opens the 
login menu, I log in, works all the applications: libreoffice, nautilus,
firefox,
audio, video 
but when I log off, then gdm resets the display and all I can see it is
a black screen.
if I reset the screen several times (about 16 times , by killing gdm)
using an ssh session... 
the login screen appears OK...

Seems that the ati driver is mapping the fb wrong...

Thanks for any help,

Sergio
___
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: CUPS and IPP/JD/LPD

2011-12-08 Thread Sergio de Almeida Lenzi
Em Qui, 2011-12-08 às 10:40 -0600, Ryan Coleman escreveu:

 I have a printer that doesn't support IPP. The leasing agency wants to charge 
 me $1400 to install the Postcript driver on it but I'm looking at another 
 solution, if possible: CUPS.
 
 I have a MacBook and we have a number of iOS devices around the office here 
 that people would love to be able to print from… but AirPrint requires an 
 IPP-compatible printer.
 
 Is there a way to convert or translate IPP to either LPD or JetDirect?
 
 --
 Ryan
 

I used to install a freebsd machine in the network
than install cups, and install a PPD file for that 
printer (in the attach) configure  run cups.

pint 
*PPD-Adobe: 4.3
*%
*% For information on using this, and to obtain the required backend
*% script, consult http://www.openprinting.org/
*%
*% This file is published under the GNU General Public License
*%
*% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with 
*% all programs and environments which use PPD files for dealing with
*% printer capability information. The printer must be configured with the
*% foomatic-rip backend filter script of Foomatic 4.0.0 or newer. This 
*% file and foomatic-rip work together to support PPD-controlled printer
*% driver option access with all supported printer drivers and printing
*% spoolers.
*%
*% To save this file on your disk, wait until the download has completed
*% (the animation of the browser logo must stop) and then use the
*% Save as... command in the File menu of your browser or in the 
*% pop-up manu when you click on this document with the right mouse button.
*% DO NOT cut and paste this file into an editor with your mouse. This can
*% introduce additional line breaks which lead to unexpected results.
*%
*% You may save this file as 'Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd'
*%
*%
*FormatVersion: 4.3
*FileVersion:   1.1
*LanguageVersion: English 
*LanguageEncoding: ISOLatin1
*PCFileName:PXLCOLOR.PPD
*Manufacturer:  Generic
*Product:   (PCL 6/PCL XL Printer)
*cupsVersion:   1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:application/vnd.cups-postscript 100 foomatic-rip
*cupsFilter:application/vnd.cups-pdf 0 foomatic-rip
*%pprRIP:foomatic-rip other
*ModelName: Generic PCL 6/PCL XL Printer
*ShortNickName: Gener. PCL 6/PCL XL P. pxlcolor
*NickName:  Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended)
*PSVersion: (3010.000) 550
*PSVersion: (3010.000) 651
*PSVersion: (3010.000) 652
*PSVersion: (3010.000) 653
*PSVersion: (3010.000) 704
*PSVersion: (3010.000) 705
*PSVersion: (3010.000) 800
*PSVersion: (3010.000) 815
*PSVersion: (3010.000) 850
*PSVersion: (3010.000) 860
*PSVersion: (3010.000) 861
*PSVersion: (3010.000) 862
*PSVersion: (3010.000) 863
*PSVersion: (3010.000) 864
*PSVersion: (3010.000) 870
*LanguageLevel: 3
*ColorDevice:   True
*DefaultColorSpace: RGB
*FileSystem:False
*Throughput:1
*LandscapeOrientation: Plus90
*TTRasterizer:  Type42
*1284DeviceID: DRV:Dpxlcolor,R1,M0,F1,P0,TG;

*driverName pxlcolor: 
*driverType G/Ghostscript built-in: 
*driverUrl: http://www.ghostscript.com/;
*driverObsolete: False
*driverManufacturerSupplied: False
*driverFreeSoftware: True

*DefaultResolution: 1200dpi



*HWMargins: 18 36 18 36
*VariablePaperSize: True
*MaxMediaWidth: 10
*MaxMediaHeight: 10
*NonUIOrderDependency: 100 AnySetup *CustomPageSize
*CustomPageSize True: pop pop pop pop pop
%% FoomaticRIPOptionSetting: PageSize=Custom
*End
*FoomaticRIPOptionSetting PageSize=Custom:  -dDEVICEWIDTHPOINTS=0 -dD
EVICEHEIGHTPOINTS=0
*End
*ParamCustomPageSize Width: 1 points 36 10
*ParamCustomPageSize Height: 2 points 36 10
*ParamCustomPageSize Orientation: 3 int 0 0
*ParamCustomPageSize WidthOffset: 4 points 0 0
*ParamCustomPageSize HeightOffset: 5 points 0 0

*FoomaticIDs: Generic-PCL_6_PCL_XL_Printer pxlcolor
*FoomaticRIPCommandLine: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNO
INTERPOLATE%B%A%Z -sOutputFile=- -
*End

*OpenGroup: General/General

*OpenUI *PrintoutMode/Print Quality: PickOne
*FoomaticRIPOption PrintoutMode: enum Composite A
*OrderDependency: 10 AnySetup *PrintoutMode
*DefaultPrintoutMode: Normal.Gray
*PrintoutMode Draft/Draft: %% FoomaticRIPOptionSetting: PrintoutMode=Draft
*FoomaticRIPOptionSetting PrintoutMode=Draft: PrinterResolution=600x6
00dpi ColorModel=Color
*End
*PrintoutMode Draft.Gray/Draft Grayscale: %% FoomaticRIPOptionSetting: 
PrintoutMode=Draft.Gray
*FoomaticRIPOptionSetting PrintoutMode=Draft.Gray: PrinterResolution=
600x600dpi ColorModel=Grayscale
*End
*PrintoutMode Normal/Normal: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
*FoomaticRIPOptionSetting PrintoutMode=Normal: PrinterResolution=600x
600dpi ColorModel=Color
*End
*PrintoutMode Normal.Gray/Normal Grayscale: %% FoomaticRIPOptionSetting: 
PrintoutMode=Normal.Gray
*FoomaticRIPOptionSetting PrintoutMode=Normal.Gray: PrinterResolution
=600x600dpi ColorModel=Grayscale
*End

Re: ZFS Filesystems wont auto-mount on boot

2011-12-03 Thread Sergio de Almeida Lenzi
Em Sáb, 2011-12-03 às 01:28 -0500, APseudoUtopia escreveu:

 Hello,
 
 I followed a couple tutorials I found through google to setup RAID-Z1
 on root on FreeBSD 9.0-RC2. Everything works well, except it always
 drops me into a recovery shell on boot. I'm forced to run `zfs mount
 -a` to get all my data visible. Here's the boot log:
 
 Trying to mount root from zfs:root []...
 Dec 3 01:23:07 init: login_getclass: unknown class `daemon`
 cannot open /etc/rc: No such file or directory
 Enter full pathname of shell or RETURN for /bin/sh:
 
 I then hit return, then run `zfs mount -a` to mount all my zfs filesystems.
 
 How can I have zfs automount these filesystems on boot so that the
 system can continue booting without being interrupted?
 
 Thank you!

do you have: zfs_enable=YES  in /etc/rc.conf???

also after the system boots (either way...) 
see if zfs on root fs (/)  is to be mounted on /  zfs set
mountpoint=/  
or if in /boot/loader.conf there is a
vfs.root.mountfrom=zfs:zfstank/rootfs  === example...

Just a thought

[]
Sergio
___
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: Can't install freebsd/pcbsd

2011-11-28 Thread Sergio de Almeida Lenzi
Em Seg, 2011-11-28 às 18:53 +1030, Andreas Junius escreveu:

 Hi all,
 
 I'm trying to install freebsd on a notebook for quite some time. It is an
 Acer Aspire 9302AWMSi with a
 AMD Turion 64 Mobile CPU.
 I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .
 
 Unfortunately the installation routine gets trapped in some kind of endless
 loop. Version 8.2 starts up and restarts again as soon the kernel gets
 loaded. With version 9.0 I come to a menu and when I select any of the
 choices, the computer restarts again. Any advice what I could do? Or is it
 simply impossible to install freebsd on this kind of notebook?
 
 Cheers,
 Andy
 ___
 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 do now know about the other persons, but I swear to NEVER EVER
buy an ACER product again 

Their bios is buggy, (does not map pci devices...),
the dma is broken, the memory dumps core,  and
they do not care about the users

I bought a Lenovo with AMD vision (very cheap and good notebook)  and I
it works very well.

Sergio
___
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: Solution for school lab just a thought

2011-10-31 Thread Sergio de Almeida Lenzi


 You should look into the Freebsd port qjail. At our school lab all the 
 pcs have ms/windows on the hard drive with the putty client installed. 
 Students use putty to get logged into a jail on a single Freebsd system. 
 Each student can practice installing ports, packages, or one of the 
 desktop window environments in their private jail. The goal being to 
 teach students to be system administrators.

Humm Interesting... 
In my case the computers runs FreeBSD (diskless) and they need do
access 
windows system. 
In a public school, where the $$$ is the main problem, I think this is
the solution.
Here the school has computers (a lot) that receives from donation,
projects... from time to time
the problem is the software... 
What to teach to children??? word, exel, powerpoint, msn??? is this
teaching??? 

I think that children (and teenagers too), must face problems and
resolve them.
the world belongs tho those that work in group. those who can get
answers,
so an account in a desktop environment (in my case: gnome) with several
program
languages, internet access, text composing (libreoffice), postscript
printing (cups),
some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot,
dvdstyler)
can make the difference. They can download small videos from their
phones, and
produce digital media, share it on DVDs...  the home lesson is send via
email (everyone
has email).. One problem is hand-witten... no one wants to hand write
now...

Those who foresee the future, can learn how to code GUI interface, and
so produce
software for the community.  They can learn how to install admin FreeBSD
servers,
share files in the network, use webdav to share files in internet... and
so on...

There is a need for people with this knowledge... The society will buy
from the 
students as long as they produce good software.. 

What is the other alternative???  finish high school and than look for a
job???
XXI century there is no jobs, there will be working people... Those who
can
succeed working for himself will rule.. That is what I teach to my
boys... 
They worked hard (12 years)... and now they rule..  

Do you really think that this world crisis will end in 10 years???

Just a thought...

Sergio



___
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


Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
I use a solution that is:
1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk)
2) OS=Freebsd 8.2 with all gnome2.32 installed
3) Virtualbox 10.x  installed in FreeBSD
4) NT 2003 server with unlimited number of users on rdp (the iso is in
internet or torrent).
5) internet connection
Here this would cost about US$400

Install the system using zfs, insert all users can hold about 1000 users
Setup FreeBSD to boot diskless (and so will run on all the old machines
in 
your place) using either pxe or custom CD.

The users will use Gnome interface, and those who wants windows,
can use via rdesktop, pointing on the NT server on the same machine.

You will need a swith with ONE gigabit port, and the others is
100Mbits...

This setup you have:
about 1200 applictions (from the FreBSDports),
some include:
java, eclipse, python, c, c++, multimedia, web browing, office,
printing, email, chat, calculator, vector drawing, dia (visio),
raster image editor (gimp), monodevelop(.NET devel framework),
sql (postgresql), sql administration (pgadmin3).

Reliable, fast, rock solid, central administration...

It just works


[]

Sergio
___
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: Solution for school lab

2011-10-30 Thread Sergio de Almeida Lenzi
 Consider installing VMWare ESXi and instances of whatever operating system 
 you like. We have template operating systems we copy to new/replacement 
 instances. You can export your disks to the instances but with all things 
 you gain some, you loose some.

with the small machine (phenon 4, 8Gb), and vmware, the sistems is
slow... and the MB does
not accept more than 8GB.  Besides I would need a version of each
operating system for VMWARE..
and I do not know if vmware can be used for free. If even in a school
you can, in other places
you cannot, so I would cope with several platforms... Here I run a
business based on FreeBSD,
and the less different solutions the better...

 
 As someone else mentioned, consider netboot. The booted instance can do 
 whatever they want to your hardware but disks are likely to have to be 
 re-initialized each time, which is fine if you are using disks for swap 
 and other temporary things.

I use PXE because it is in the firmware of the MB... (almost always
have)... some very old
computers, does not boot anything but: floppy, cd, or HD... I choose
CD..  one CD,
boot all machines...  Netboot is great too... 

 
 With regard to VirtualBox, someone needs to fix it (probably just update 
 the port). The network driver (IIRC) eats memory.

Strange  I have been using it in a day basis, and never had problems
with that... the 
machine sometimes suffer power failure (3 months, or 1 month period)..

I use FreeBSD 8.2 in zfs...  with zmirror, and daylly snapshots...  so I
can go back anything
till 5 days ago...

Anyway, thanks for the information

[]
Sergio
___
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: graid3 or graid5? with or without gjournal?

2011-07-26 Thread Sergio de Almeida Lenzi
Em Ter, 2011-07-26 às 08:48 +0200, DA Forsyth escreveu:

 Hi all
 
 I am busy putting together a new server.  I want to avoid using the 
 motherboards raid 'hardware' (intel matrix raid) and rather do it all 
 in software so if anything goes wrong with the motherboard, the 
 drives can work in some other box.
 
 I have 4x 1TB drives available for the main data array.
 graid3 can only use 3
 graid5 can use all 4, but is it production ready?
 any ideas?
 
 The advantage of using graid3 at this point is that the extra 1TB 
 drive I have can then go into the backup server which needs more 
 space anyway.
 
 Having suffered data loss on the previous raid5 (intel matrix) array 
 when UFS went bananas due to one drive failing, I am looking at 
 solutions/preventatives.   Will gjournal be useful?
 
 Thanks
 

I prefer ZFS..all my servers (about 100... ) are running with
zfs now (8.2 amd64)... dual drivers of 1TB or 2TB each...
I have had some driver dying..  but no loss of data thanks to
zfs mirror...


Sergio
___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-18 Thread Sergio de Almeida Lenzi
Em Seg, 2011-07-18 às 07:30 -0400, Jerry escreveu:

 On Mon, 18 Jul 2011 15:47:24 +0700
 C. Bergström articulated:
 
  I wish people would spend as much time solving problems in *BSD as
  they do trying to defend an irrelevant OS ;)
 
 Personally, I wish they would spend more time in developing fully
 functional wireless drivers as opposed to simply bumping the major
 version number every 18 months +/-. I have two new laptops ion front of
 me that I cannot use FBSD on simply because they don't support the
 wireless (N class obviously) installed in them.

Thanks Jerry

Personally I think that the solution is simply ...   and it is not a
BIG $$$

Here In Brazil , I am raising a company that sells FreeBSD solution, if
I 
spend about US$1000/month for RD on FreeBSD , by putting a bid on some
projects,
(wireless drivers, network manager...), I think in few time we will have
the network drivers,
running.  US$1000/month is about 12.000/year..   I bet there is a lot of
people willing
to earn that money.
The code would be donated to the FreeBSD community.  It is cheaper than
hire
a full time programmer. (and have the job done in few time too).


Sergio

___
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: buildworld from FreeBSD 8.1 to FreeBSD 8.2

2011-07-11 Thread Sergio de Almeida Lenzi
Em Seg, 2011-07-11 às 11:48 +0400, hasanhasanli Hasan escreveu:

 
 I had problem with upgrating FreeBSD 8.1 to FreeBSD 8.2
 after that I typed 
 make buildworld
 It gives error.
 /usr/lib/libthr.a(thr_syscalls.o)(.text+0x87a): In function `___pselect':
 : undefined reference to `__pselect'
 *** Error code 1 

I use the following procedure:
1) build freebsd in a CLEAN machine (supose new bsd is 8.2)...:
make buildworld buildkernel
Please save the environment variables KERNCONF

2) copy /usr/src /usr/obj to the old (8.1, or even 7.x) bsd... in the
same directory(/usr/srcj /usr/obj) rsync works fine...
3) in the new (the one you generate freebsd) machine
rsync -avz --delete /usr/src/  root@oldmachine:/usr/src
rsync -avz --delete /usr/obj/  root@oldmachine:/usr/obj
4) in the oldmachine.
cd /usr/src
set KERNCONF
make installworld installkernel
5) reboot..

FOR ME, it works...

Sergio
___
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 64 Bit Applications

2011-06-30 Thread Sergio de Almeida Lenzi
Em Qui, 2011-06-30 às 11:06 +0300, John Dakos escreveu:
For me I am very satisfied with the 8.2R P2 64bit.

I run about 50-60 servers 24/7 in mission critic applications
using ZFS, with a mix of ISP, databases (postgresql, firebird...), 
large asterisk  IP centrals, vpn servers (400 vpns...), and terminal
servers for thin clients using bootp in 32 bits... 
from large dell servers (12 logical cpus) to small routers (semprom 1
core).. 
all the same kernel.  I build a kernel in the 12 cpu server, and
downloaded
the /boot/kernel directory in the other cpus... It works like a charm...

Sergio


___
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: New FreeBSD8.2 server install.

2011-06-20 Thread Sergio de Almeida Lenzi
Em Seg, 2011-06-20 às 13:01 -0400, Chris Brennan escreveu:

 I've got a new machine to replace the one that died on me a few weeks 
 ago and since then, I've collected and cataloged my drives of various 
 sizes and I am curious if I am able to do something like a poor-mans 
 LVM, I thought about gmirror but that might be tricky, since I would 
 have to slice drives up according to the smallest drive I have (current 
 an unmarked 40GB drive). Is there a way within FreeBSD to concatenate 
 the drives into a software raid0 array?

Hello,

I prefer ZFS,  it is reliable, fast, and full of features,
in a FreeBSD 8.2 AMD64 it rocks...

I use to partition the disk  using a small ufs partition (4Gb)
follow 4Gb swap, and the rest of the disk for ZFS,
Once created the zfs , I can mount the zfs as rootfs, and than
define whatever I need after, as mirror, partitions, snapshots... and so
on
the system must have 4G (or more) of memory, and is is really fast..

I am very satisfied with the system (I have installed about 60 already,
with this
configuration)...


Sergio
___
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 performance strangeness

2011-04-24 Thread Sergio de Almeida Lenzi
Em Ter, 2011-04-12 às 13:33 +0200, Lars Wilke escreveu:

 Hi,
 
 There are quite a few threads about ZFS and performance difficulties,
 but i did not find anything that really helped :)
 Therefor any advice would be highly appreciated.
 I started to use ZFS with 8.1R, only tuning i did was setting
 
 vm.kmem_size_scale=1
 vfs.zfs.arc_max=4M

For me I solved the ZFS performace in FreeBSD and postgres databases
(about 100GB size) 
by tunning vm.kmem_size to atout 3/4 of the ram size...
in your case, vm.kmem_size=(48 *3/4)=36G, it puts almost all the
database 
in memory and it is now lightning fast...
I use to disable prefetch in zfs.. too 

Hope this can help,

Sergio
___
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: How to forward old root mails to an external email address?

2011-02-19 Thread Sergio de Almeida Lenzi
You can use fetchmail (in the ports) and teapop (in the ports too)
setup a config that fetches your email (via pop)
and send via smtp to another place in the planet

It has been a long time (about 10 years) since I use this...


Sergio


___
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: Scanner recommendation

2011-02-05 Thread Sergio de Almeida Lenzi
Em Sáb, 2011-02-05 às 00:53 -0800, per...@pluto.rain.com escreveu:

 Robert Bonomi bon...@mail.r-bonomi.com wrote:
 
  Somebody saying I'll buy it, if it supports _this_ scanner
  is motivation.
 
 So perhaps what is needed is for N FreeBSD users to say I'll buy
 it, if it runs on FreeBSD.  Any guesses on how large an N would
 be needed to provide sufficient motivation?

My experience (many, many years) says that the question is something
different:
How much $$$ do you need to produce (compile) a FreeBSD version???
300, 500, 5000???   Money talks.

If ou make this question to Adobe, they will never hear you, but a small
company (Ed) 
may be he will.

As FreeBSD comes out with a new version about a year (or two..) 7.x -
8.x - 9.x
a version of the sofware needs to be done (compiled) seldom.

Let's say the ammount of money that interests Ed is US$5000.00

I am considering this kind of approach,  various:
1) collect money in the freebsd community US$10 each you would need only
500 persons
2) Found an org, and using tax reduction program to finance software:
here is is possible...


Any new ideas???

Sergio
___
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 on Dell r210 (SAS 6/ir)

2011-02-03 Thread Sergio de Almeida Lenzi
Hello,

I have a dell with 2 dual xeon 6 cores, dual thread cpus (24 logical
cpus)
with that famous perc6 controller, running FreeBSD 8.2 and with
journaling FS (one partition) and 2 SAS drivers of 160GB.



The controller blocks almost all the time.. message is timeout.

I used the mfi config utility (in the ports) and enable write cache.
it now works ok (no more timeouts) but sometimes (once a week)
it panics the system.  A fix in the gjournal appears today (cvsup)
and I hope it can fix the problem...


___
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: Issue upgrading to 7.4, looking for guidance

2011-01-31 Thread Sergio de Almeida Lenzi
For me I used a quick and dirty solution for upgrade
1) build a machine (or a virtual one...) with the freebsd version you
want, for example=8.2 cvsup the kernel in /usr/src
2) export KERNCONF=xx the name of the kernel config file you want to
build
3) cd /usr/src;make buildworld buildkernel
4) mkdir /tmp/dist
5) export DESTDIR=/tmp/dist
6) make installworld installkernel
7) (cd /tmp/dist;tar cvzf - * )  /tmp/newsystem.tar.gz
8) move the newsystem.tar.gz to the machine you want to upgrade
9) /rescue/tar -xpvf newsystem.tar.gz -C /

the system will not respond to comands any more because of rewrite of
almost all libs... 
so the solution is fastboot
When the system comes up, it shows the release you built from
this way you can go from 7.0 to 8.2 in one single step.
for me it worked in internet all times  but, you are warned: use at you
own risk...

Sergio
___
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: future of the desktop

2011-01-27 Thread Sergio de Almeida Lenzi
Em Qui, 2011-01-27 às 06:09 -0600, ajtiM escreveu:

 Thanks to Solid's new UPower, UDev and UDisks backends, the deprecated HAL 
 is 
 no longer needed to manage hardware on Linux. Applications do not need to be 
 updated to make use of these new backends. The HAL backend is still available 
 for systems that do not support UPower. 
 
 It happened with XFCE and now the same story with KDE. Is GNOME next?
 How looks like the future of desktop on FreeBSD or is time to install Linux 
 here?

Just my thoughts...

I was looking at the Netbsd, it has been slow for eons, till money
came.. 
I think that is the same with FreeBSD.  I have a company here in Brazil
that
makes FreeBSD servers, and IP telephony using  asterisk and gatekeepers
(to router video).
It has been around for about a year now, I must make a step forward, so
I try to hire
some people or to teach them to program in gtk, and build some parts
that freebsd is
missing: (webcam, wireless network manage, printers, ...)  I realize
that it is very difficult
and would take a lot of time. 

The solution :I will try is to make money selling servers, and
cryptography (gely) virtual
desktops using vnc, access to remote windows running on virtualboxes...
and with this money,
hire people in the internet (or in the freeBSD community) to finish the
missing parts,
and than donate the code back to freebsd...

That is not a lot of money,  for what I see, about US$5000.00 a month
would fix a lot of things.
and is is cheaper that hire employees here and pay all the costs...

This way, I can make what I do best: the Servers, virtualboxes, selling,
support, databases.

and let the other things (printers, wireless network manager=wicd,
printer, scanner, webcam, ekiga, some crap notebooks...)
to a stuff hired in internet...  Here I can pay them as tecnological
apport and deduce the money from the IRS...

Am I right or am I wrong???
 

 
___
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


sys671 port

2010-12-25 Thread Sergio de Almeida Lenzi
Hello...

Christmas gift 

I have a notebook with the sis chipset and FreeBSD had no
xorg driver for it. 
After googling a lot I found a driver that, after some fixes, it
works...

the port is here  http://dist64.k1.com.br/Downloads/sis671.tar.gz

I tested in amd64 and i386 version of FreeBSD 8.1 and 9.0 and it
works.. 
there is support for 2D only... and in the laptop it shows 1280x800
24bits...



Enjoy.
___
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: USB Thumb Drive

2010-12-02 Thread Sergio de Almeida Lenzi
According to Darwin's law,
the most fit will survive...

if you have the choice of buying 2 usb drivers, 
one that have fat32 and other that have exfat
you, as a normal customer, does not know about
the details of fat32, ntfs, ufs, zfs, xfs 
but you know about price, that is:
the one that pays something to M$ costs
more than the other, 

I bet the one that costs less (even a cent less...) will
get better chance to survive.. and in some time
there will be no exfat usb drivers ...

besides it is easy to format a fat32 on FreeBSD or even in 
Linux, Mac.. 

I can show, for example, the docx, in my country,  the document
format standard is ODT...   or PDF... no no doc, no docx...

Thanks for listening...
___
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: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Sergio de Almeida Lenzi


 
 CPL never amounted to much -- I don't know whether it was ever
 implemented at all -- but BCPL developed a following.  Someone
 (at Bell Labs?) produced a derivative called B, from which a few
 researchers at Murray Hill derived C.  Thus the question:  should
 the next language in the series be named D (next alphabetically)
 or P (next letter of BCPL)?

Wow!!!  I had forgotten... I have done some projects using BCPL... in a
mainframe (S370) running
MVS in the 70's...
it was lightning fast. we had made a kind of TSO (time sharing option)
that runs on top
of VTAM, to bring online compile and run cobol programs to the
desktop...   
while a batch work responds  in 3 hours, a TSO (written in bcpl)
responds in seconds...

Thanks for remember the good old days ...
it is still active!!! = http://www.cl.cam.ac.uk/~mr10/BCPL.html


Sergio
___
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: New FreeBSD ports system

2010-04-29 Thread Sergio de Almeida Lenzi
Em Qui, 2010-04-29 às 23:27 +0530, Ashish SHUKLA escreveu:

 Aldis Berjoza writes:
  Hello!
 
  Some time ago I've read, that FreeBSD might be interested
  to move ports tree to database (sqlite?).
  This would require rewriting of all existing and writing
  some new tools related to ports.
 
 I hope pkg_improved[1] GSoC project might interest you.
 
 [1] - http://wiki.freebsd.org/AndersNore/pkg_improved
 
 Ashish

Interesting project.. but the link to the patches are broken ===
http://home.no.net/andenore/patches/

does someone knows a site with have the patches??? I would like to give
it a try...

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


Re: Backing up freebsd to 1 file?

2010-04-18 Thread Sergio de Almeida Lenzi
I am very happy with the folowing


Supose that you have mount ANOTHER device on /mnt

1) mount /dev/ /mnt
2) init 1  (this closes all applications and drop into single user)
3) tar --one-file-system -cvzf /mnt/backup.tar.gz ./ var usr home 
4) umount /mnt
5) exit (reboot from single user to normal operation)
===
on restore...
supose you install a FBSD minimal from the CD/usb.

1) mount /dev/ /mnt
2) tar -xpvf /mnt/backup.tar.gz -C /
   
3) umount /mnt
===you have restored your system=

may be some files (sockets...) are not restored but no problem as
they will be created by the time your system boots on.

Sergio

___
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: Backing up freebsd to 1 file?

2010-04-18 Thread Sergio de Almeida Lenzi


 It kills everything ungracefully and will screw up anything that needs
 to sync state to disk -- like mysql.
 
 Just use shutdown(8): it's what it's there for.
 
   # shutdown now Going single user to make backups
 
   Cheers,
 
   Matthew

Ok you are right... 

for me worked because I never use mysql...
but I use zfs  and I think that during shutdown, /etc/rc.d/zfs   is
called stop
so it unmounts all zfs partition...  (I did not tested...)...
so It must be called /etc/rc.d/zfs start again... (just a few
inconvenient...)

Thanks for the tip

Sergio
___
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: Porting NetworkManager to FreeBSD

2010-04-17 Thread Sergio de Almeida Lenzi
Em Sáb, 2010-04-17 às 10:13 +0200, David DEMELIER escreveu:

 2010/4/16 Jerry freebsd.u...@seibercom.net:
  Has there been any movement on porting NetworkManager
  http://projects.gnome.org/NetworkManager/ to FreeBSD? I read
  something awhile ago, I don't remember where, that it was planned for
  the 8.0 release (I think). I have seen it in use on a friends PC, and
  it is really awesome.
 
 
 Do you really like NM ? Each time I use it it bugs, sometimes it
 connects and sometime not. Of course it's great for people who wants
 something easy to manage but NM needs the users to connect the X
 session.
 
 wpa_supplicant is really great, it scans access points available and
 try to connect them (you can add many networks in your
 wpa_supplicant.conf) and then it starts connecting even if you're not
 in your X session.
 
 About the NM port in freebsd I guess we can wait a long time.
 
 Cheers,
 


Laptops needs NM badly..  Linux have it, Opensolaris have it... I cannot
use
FreeBSD 8.0 in my laptops (8 persons in my company) because there is no
NM.

All the Laptops runs Arch linux...  it is a good OS but does not
compares to FBSD.

That is a thing that is missing...   

I agree that wpa supplicat is great... so if one can only make a GUI for
it... it would
make all of us happy too

Sergio
___
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: Enough Is Enough

2010-03-28 Thread Sergio de Almeida Lenzi
I do not doubt the power  of portmaster and portupgrade, but
in my system (I have a master 4core,8Gb  and several slaves about 40
of them , that upgrade via portmaster -P -aBdg)
in the master system there are about 1200 packages installed...
so a portmaster -r png will last forever...

I made a  shell script that tests for the existance of the library
in /usr/local/lib/*.so, /usr/local/bin/*
sort it and tells me what ports really need upgrade...

with about 1200 ports, only 120 needed upgrade... (a question of 2
hours) in the master cpu,
or about 20 minutes in the slaves  

this scripts outputs the commands needed to fix the system

watch out
==
#!/bin/sh

endp() {
rm -f $t
exit $1
}

t=/tmp/$$

if [ $# -ne 1 ]
then
echo use $0 library
endp 1
fi

lib=$1

find /usr/local/bin /usr/local/lib -name -type f | \
while read x
do
grep $lib $x | \
awk '{print $3}' | \
while read y
do
pkg_info -W $y   $t
done
done
awk '{print $NF}' $t | sort -u  /tmp/buildpkglist
echo nice portmaster -Bdg `cat /tmp/buildpkglist`
endp 0
=
___
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


EVOLUTION a, slow start, SOLVED

2010-03-07 Thread Sergio de Almeida Lenzi
Hello all..   

Finallly I got the problem with evolution  on FreeBSD solved.

Happens that evolution is very slow, on startup, and consumes an HUGE
amount
of CPU (system), on startup, making it almost unuseable for multi user
systems...

The problem is that some plugins  did not offer the startup entries
that gnome (glib) wants. so FreeBSD tries to resolv the entry using
dlsym(...)
and search the entire user address space for that...

a simple patch  for the plugins and e-util/e-plugin.c module solved
the problem
and now evolution starts in 3 seconds...

follow is the base64 encode of the patch
to use, save the patch, say: evolution.fix
extract with b64decode evolution.fix,   move the file
to: /usr/ports/mail/evolution/files,
build evolution with:  cd /usr/ports/mail/evolution;make reinstall


*cut*
begin-base64 644 patch-plugins
LS0tIHBsdWdpbnMvZ3JvdXB3aXNlLWFjY291bnQtc2V0dXAvZ3JvdXB3aXNlLWFjY291bnQtc2V0
dXAuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5z
L2dyb3Vwd2lzZS1hY2NvdW50LXNldHVwL2dyb3Vwd2lzZS1hY2NvdW50LXNldHVwLmMJMjAxMC0w
My0wNyAwMTozOTo1MC42OTEwNDk2MDAgLTAzMDAKQEAgLTEzNiwzICsxMzYsMTEgQEAKIAogCXJl
dHVybiBOVUxMOwogfQorCitjaGFyICpnX21vZHVsZV9jaGVja19pbml0KCkgeworCWdfd2Fybmlu
ZygiJXMgIG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9CisK
K2NoYXIgKmdfbW9kdWxlX3VubG9hZCAoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19G
VU5DVElPTl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KLS0tIHBsdWdpbnMvcHN0LWltcG9y
dC9wc3QtaW1wb3J0ZXIuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAw
CisrKyBwbHVnaW5zL3BzdC1pbXBvcnQvcHN0LWltcG9ydGVyLmMJMjAxMC0wMy0wNiAyMjoyNDox
My4xMzEzODMyNzkgLTAzMDAKQEAgLTE3MzksMyArMTczOSwxNiBAQAogCiAJcmV0dXJuIHJvb3Ru
YW1lOwogfQorCitjaGFyICpnX21vZHVsZV9jaGVja19pbml0KCkgeworCWdfd2FybmluZygiJXMg
IG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9CisKK2NoYXIg
KmdfbW9kdWxlX3VubG9hZCAoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElP
Tl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKwordm9pZCAqZV9wbHVnaW5fbGliX2VuYWJs
ZSgpIHsKKwlnX3dhcm5pbmcoIiVzIG9uICVzXG4iLF9fRlVOQ1RJT05fXywgX19GSUxFX18pOwor
CXJldHVybiBOVUxMOworfQotLS0gcGx1Z2lucy9iYmRiL2JiZGIuYy5vcmlnCTIwMDktMTItMTQg
MDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5zL2JiZGIvYmJkYi5jCTIwMTAtMDMt
MDcgMDI6MDM6MTIuMTU0NjQ1NjcxIC0wMzAwCkBAIC03MTYsMyArNzE2LDExIEBACiAJZ19vYmpl
Y3RfdW5yZWYgKHN0dWZmLT5zb3VyY2VfbGlzdCk7CiAJZ19mcmVlIChzdHVmZik7CiB9CisKK2No
YXIgKmdfbW9kdWxlX2NoZWNrX2luaXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19G
VU5DVElPTl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKworY2hhciAqZ19tb2R1bGVfdW5s
b2FkICgpIHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18p
O3JldHVybiBOVUxMOworfQotLS0gcGx1Z2lucy9wdWJsaXNoLWNhbGVuZGFyL3B1Ymxpc2gtY2Fs
ZW5kYXIuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVn
aW5zL3B1Ymxpc2gtY2FsZW5kYXIvcHVibGlzaC1jYWxlbmRhci5jCTIwMTAtMDMtMDcgMDE6NTE6
MDEuMDczOTczNDA3IC0wMzAwCkBAIC05MjksMyArOTI5LDExIEBACiAJCWVycm9yX3F1ZXVlX3No
b3dfaWRsZV9pZCA9IGdfaWRsZV9hZGQgKGVycm9yX3F1ZXVlX3Nob3dfaWRsZSwgTlVMTCk7CiAJ
Z19zdGF0aWNfbXV0ZXhfdW5sb2NrICgmZXJyb3JfcXVldWVfbG9jayk7CiB9CisKK2NoYXIgKmdf
bW9kdWxlX2NoZWNrX2luaXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElP
Tl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKworY2hhciAqZ19tb2R1bGVfdW5sb2FkICgp
IHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3JldHVy
biBOVUxMOworfQotLS0gcGx1Z2lucy9jYWxkYXYvY2FsZGF2LXNvdXJjZS5jLm9yaWcJMjAwOS0x
Mi0xNCAwMzo1NjowMS4wMDAwMDAwMDAgLTAyMDAKKysrIHBsdWdpbnMvY2FsZGF2L2NhbGRhdi1z
b3VyY2UuYwkyMDEwLTAzLTA3IDAxOjUyOjE1LjM1ODY2Mjk0MiAtMDMwMApAQCAtNDYyLDMgKzQ2
MiwxMSBAQAogCXJldHVybiB3aWRnZXQ7CiB9CiAKKworY2hhciAqZ19tb2R1bGVfY2hlY2tfaW5p
dCgpIHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3Jl
dHVybiBOVUxMOworfQorCitjaGFyICpnX21vZHVsZV91bmxvYWQgKCkgeworCWdfd2FybmluZygi
JXMgIG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9Ci0tLSBw
bHVnaW5zL2dvb2dsZS1hY2NvdW50LXNldHVwL2dvb2dsZS1zb3VyY2UuYy5vcmlnCTIwMDktMTIt
MTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5zL2dvb2dsZS1hY2NvdW50LXNl
dHVwL2dvb2dsZS1zb3VyY2UuYwkyMDEwLTAzLTA3IDAxOjU0OjQwLjU3NzU0NjM0NyAtMDMwMApA
QCAtODM2LDMgKzgzNiwxMSBAQAogCWlmIChjaGFuZ2VkKQogCQllX3NvdXJjZV9saXN0X3N5bmMg
KHNvdXJjZV9saXN0LCBOVUxMKTsKIH0KKworY2hhciAqZ19tb2R1bGVfY2hlY2tfaW5pdCgpIHsK
KwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3JldHVybiBO
VUxMOworfQorCitjaGFyICpnX21vZHVsZV91bmxvYWQgKCkgeworCWdfd2FybmluZygiJXMgIG9u
ICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9Ci0tLSBwbHVnaW5z
L2F0dGFjaG1lbnQtcmVtaW5kZXIvYXR0YWNobWVudC1yZW1pbmRlci5jLm9yaWcJMjAwOS0xMi0x
NCAwMzo1NjowMS4wMDAwMDAwMDAgLTAyMDAKKysrIHBsdWdpbnMvYXR0YWNobWVudC1yZW1pbmRl
ci9hdHRhY2htZW50LXJlbWluZGVyLmMJMjAxMC0wMy0wNyAwMjoyMToyMi4yOTQ2NDQ0NzAgLTAz
MDAKQEAgLTUzNCwzICs1MzQsMTEgQEAKIAogfQogCisKK2NoYXIgKmdfbW9kdWxlX2NoZWNrX2lu
aXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElPTl9fLF9fRklMRV9fKTty

Re: Dislike the way port conflicts are handled now

2010-01-16 Thread Sergio de Almeida Lenzi
Em Sáb, 2010-01-16 às 07:00 -0500, b. f. escreveu:

 On Fri, Jan 15, 2010 at 11:57:35PM -0500, Greg Larkin typed:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Craig Whipp wrote:
  
   On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote:
  
   Until recently, it seems like port dependencies were handled at
   installation time. Lately, they're handled any time I try to do
   anything with a port. I absolutely detest the new behavior. Example
   cases:
  
   OLD WAY:
  
   $ cd /usr/ports/something/foo22
   $ make
   $ pkg_delete foo21-2.1
   $ make install
  
   NEW WAY
  
   $ cd /usr/ports/something/foo22
   $ make
   ===  foo22 conflicts with installed package(s): foo21-2.1
   $ make fetch
   ===  foo22 conflicts with installed package(s): foo21-2.1
   $ curse --type=copious
   $ pkg_delete foo21-2.1
   $ make install
  
   This isn't just a hypothetical pain in the butt. An example was being
   unable to build databases/mysql51-client because
   mysql-client-5.0.something was installed. I understand not being able
   to *install* it, but to be prevented from *building* it? In most
   circumstances, I want to be able to delete the old package and install
   the new one with minimal downtime. As another example, can you imagine
   not being able to even run make fetch on something huge like
   OpenOffice until you uninstalled the old version?
  
   In the mean time, I've been editing the port's Makefile to remove the
   CONFLICTS line long enough to finish building. That's not very helpful
   for those ports that don't actually build until you run make
   install, but at least I can get the distfile download out of the way.
   --

Besides. when port  is installed, and you try to build , 
the  ports gets the include files from filesystem (thus getting 
for includes...) 
this makes you break , or worst... make a port that is a mix of
both... that
for sure is not what you want...

This way (the new way) forces you to delete the package before build. 
it is radical, but it is safer... that is why I choose FreeBSD


Sergio
___
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


mrtg broken dependency

2009-12-30 Thread Sergio de Almeida Lenzi
Hello...

mrtg (net-mgmt/mrtg) misses a dependency on perl module===
p5-SNMP_Session

in the Makefile:

RUN_DEPENDS+=   ${SITE_PERL}/SNMP_util.pm:
${PORTSDIR}/net-mgmt/p5-SNMP_Session

fix the problem

what next??? how to contact the mrtg port manager???

Thanks for your attention,

Sergio 
___
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: flashplugin

2009-10-27 Thread Sergio de Almeida Lenzi


 
 That is precisely why I keep an XP box nearby. There is no way in hell
 that I would want to personally, or expect a colleague for that matter,
 to waste valuable time getting a simple plug-in to work; especially
 since I can do it in a matter of seconds on a Microsoft product.
 

Strange.. it has been a long time since I used a windows box... our
computers
here at home and in the offices are all freebsd... and flash works like
a charm
in 64 and 32 bits using R7.2 and 8.0... it is faster than windows, no
problem
with the browser

We use gnome 2.26 and epiphany with the libxul backend libxine as
multimedia,
and pulseaudio as audio driver...

we have several notebooks running R7.2 and some acer notebooks running
Linux too
all with gnome 2.26..  no problem at all  only 

At home, sometimes I use a windows box (ancient XP)... for a game (IL2
1946)... 



___
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: flashplugin

2009-10-27 Thread Sergio de Almeida Lenzi
Ok... supose you use FreeBSD 7.2 P3  (last version) but the RELEASE
should work too..

supose you use AMD64

1) compile a custom kernel with SEM (semaphore enable) (sem_enable=YES)
in the loader.conf
2) deinstall all linux stuff,  remove the /compat/linux from the system,
deinstall all pkg with linux
3) supose you will choose the basics... that is linux fc4
4) mount the /proc and linprocfs  in fstab
linproc /compat/linux/proc linprocfsrw,noauto   0   0
proc/proc   procfs  rw  0   0
5) install portmaster (recomended)
6) portmaster -Bdg www/linuxpluginwrapper
7) portmaster -Bdg www/linux-flashplugin9
8) mount -a (this will mount the /proc and linprocfs
9) nspluginwapper -v -a -i   
10 ) if you are using epiphany.
cd /usr/local/lib/epiphany/2.26/plugins;ln
-s /usr/local/lib/browser_plugins/*.so .
11) make sure linux module is on the kernel..
12) run browserand type about:plugins(this will show you the
plugin running)


This sure works...

___
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: way to check an email without sending it??

2009-10-05 Thread Sergio de Almeida Lenzi
I use sendmail, so..

the command: sendmail -bv some...@domain.com  tells me where the email
should go before 
sendmail sends the email.




___
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: having problems copying a dvd

2009-09-02 Thread Sergio de Almeida Lenzi
Hello

Thanks Roland for the parameters in the mplayer/mencoder...

To make things easier.. I recomend to create a profile 
in the directory ~/.mplayer/mencoder.conf with the content:
=
[pal]
oac=lavc=yes
ovc=lavc=yes
lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=6000:vbitrate=4000
Lavcopts=keyint=15:trell=yes:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10
lavcopts=predia=-10:cbp=yes:mv0=yes:aspect=16/9
lavcopts=vqmin=1:lmin=1:dc=10:vstrict=0
lavcopts=acodec=ac3:abitrate=192
lavcopts=lumi_mask=0.2:dark_mask=0.15:scplx_mask=0.2:tcplx_mask=0.1
vf=scale=720:576,harddup=yes 
af=lavcresample=48000
mpegopts=format=dvd:tsaf=yes
of=mpeg=yes
srate=48000
channels=2
ofps=25

[pal_cinemascope]
profile=pal
vf=scale=720:432,expand=720:576,harddup=yes 
==

Or using the options from Roland
extract the stream (as Roland said...)  mplayer dvd://1 -dumpstream
-dumpfile dvd.mpg
crop detect...   mplayer -vf cropdetect dvd.mpg

and then finally encode with mencoder using the profile above and
Roland's example...

mencoder -profile pal -vf crop=704:416:10:80 dvd.mpg -o film.mpg

the result will be a high definition video with 1024x576 PAL (25 fps)
16:9 aspect with audio AC3 192Kbps (plays using HDMI)
in any dvd player... or in your computer.
if the source (dvd.mpg) is in 2.35/1 ratio use -profile pal_cinemascope
and mencoder will adjust the aspect for the video.


___
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: skype 2.1 beta for linux

2009-09-02 Thread Sergio de Almeida Lenzi
Em Qui, 2009-09-03 às 00:24 +0200, Martin Wilke escreveu:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wed, Sep 02, 2009 at 09:27:40PM +0300, Andriy Gapon wrote:
  
  Just noticed this:
  http://www.skype.com/intl/en/download/skype/linux/
  
 
 It doesn't work, this version missing the OSS support,
 I talked to the guys we get later a oss version!
 

Interesting... in the site it says it uses pulseaudio...
if it uses pulseaudio, will work with FreeBSD

 - - Martin
 
 
  -- 
  Andriy Gapon
  ___
  freebsd-emulat...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
  To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
  
 
 - -- 
 
 +---+---+
 |  PGP: 0xB1E6FCE9  |  Jabber : miwi(at)BSDCrew.de  |
 |  Skype  : splash_111  |  Mail   : miwi(at)FreeBSD.org |
 +---+---+
 | Mess with the Best, Die like the Rest!  |
 +---+---+
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (FreeBSD)
 
 iEYEARECAAYFAkqe8IcACgkQdLJIhLHm/OmkxACg00eR6eTBtWR6EbFPaEuciVRy
 AgwAoNUiEBM3ZnDzFkIx52dBPQsqEaPk
 =BS/5
 -END PGP SIGNATURE-
 ___
 freebsd-po...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
___
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: How to doc available?

2009-07-27 Thread Sergio de Almeida Lenzi
excuse-me, but what is the problem
with size???

I have a PQI stick that is 29mm X 11mm X 2.5mm and
have 4gbytes... and works very good... sells for US$12 here...

take a look: 
http://www.pqigroup.com/product2.asp?oid=19cate1=19proid=333

you have inside 4Bg of storage..   usb2.0  



___
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: updating to ghostscript8-8.64_2 fails

2009-07-26 Thread Sergio de Almeida Lenzi
Strange here it works...
both in amd64 as in i386 
software ghostsctip8-8.64_6

I used portmaster -Bug print/ghostsctipt8

worked for me
___
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: Are all USB Flash Memory sticks bootable?

2009-07-23 Thread Sergio de Almeida Lenzi
Em Qui, 2009-07-23 às 12:52 +0800, Fbsd1 escreveu:
Hello

I found here that some bios does have problem with booting
from partitions they do not know

So first I initialize the USB stick with
==
dd count=100 if=/dev/zero of=/dev/da0
fdisk -BI da0
sade 
==
than edit the partitions...
ls /dev/da* should show da0s1 da0s2
than
disklabel -wB da0s1
disklabel -wB da0s2
newfs -L Freebsd7 da0s1a
newfs -L Freebsd8 da0s2a
boot0cfg -vB da0

mount the partitions, copy the files
boot from the usb...  it will show you the F1 F2 chooser

for me, this worked


Sergio
___
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: jpeg-7

2009-07-23 Thread Sergio de Almeida Lenzi
for me what worked is:

grep libjpeg /usr/local/bin/* /usr/local/lib/* | grep Binary | awk
'{print $3}' | sort -u  /tmp/p1 

after that I have a list of all files that uses libjpeg (or at least the
almost of all).

another script gets the package list
for i in `cat /tmp/p1`
do
pkg_info -W $i  | awk '{print $NF}'   /tmp/p2
done

finally.


portmaster -Bug `sort -u /tmp/p2`  builds all ports that have
libjpeg

several hours later...  it all works

Hope this will help.

___
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: Server screwed up (/lib/libc.so.7: Undefined symbol _nsdispatch)

2009-07-14 Thread Sergio de Almeida Lenzi
Em Ter, 2009-07-14 às 10:00 -0400, Victor Starenky escreveu:
===OK... 
you can try this script...
it suposes that you have ALL the /usr/src  and the GENERIC KERNEL...
in a slow machine, it is about 4 hours (Pentium 2, 256mb memory,
10Gb disk)
FreeBSD 7.0 =  FreeBSD 7.2
save the script in the root directory say: updatebsd
than with all the /usr/src (you can get it from the CD).

sh updatebsd
if it finds a small mistake it will stop.
after building the OS, check if everything is ok, and reboot.
this script will install the GENERIC KERNEL, so if you have your
own kernel,   edit the last lines of the code to make your needs
==
DEPEND=depend
cd /usr/src
set -e
(cd share/mk;make all install || exit 1)
make includes
for i in etc share lib libexec secure/lib secure
do
(cd $i;make ${DEPEND} all install || exit 1)
sync
done
for i in sbin bin usr.sbin usr.bin 
do
(cd $i;make ${DEPEND} all install || exit 1)
sync
done
cd /sys/`uname -m`/conf
config GENERIC
cd ../compile/GENERIC
make ${DEPEND} all install

___
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: Install from a USB Pen

2009-07-13 Thread Sergio de Almeida Lenzi
Em Seg, 2009-07-13 às 13:02 +0100, Mark Wallbank escreveu:

 OK I know this has probably been done to death by know and I keep
 hitting the same problems with the methods I have tried to find on
 google and I know I could just sacrifice a laptop and do a build to
 create the image or do a net (pxe) install from another NIX serverbut
 it does seem to be a bit over the top. Does any body know of an easy
 way to create a bootable USB install media for 7.2 using either linux
 or vista (or using an option from the install dvd). I have tried some
 of the tricks from openBSD and linux to no avail.
 Any help appreciated...
 Cheers
 Mark
 ___

I did not tested but
1) make a FreeBSD cdrom 7.2 (600Mb)
2) a machine with NO HD, 1 pen drive (2gb), CDrom reader
3) boot from the cdrom  option 6
4) make sure there is umass on the kernel= command: load umass
5) command= boot
the machine boots, and should find an HD  da0
6) choose a lay out of: 50Mb of swap, rest for /
7) choose minimum install than INSTALL
8) setup networkreboot (remove cd from drive) the machine should
run on the pen-drive...

Hope this whill help.

as I have several FreeBSD boxes, here I generate the pen-drive from a cd
rom
1) insert the pen drive, the machine finds it on da0
2) fdisk -BI  (wipe out the pen-drive...)
3) disklabel -wB da0s1
4) newfs da0s1a
5) mount /dev/da0s1a /mnt
6) export DESTDIR=/mnt
7) cd /cdrom (the mount point of the mounted freebsd cdrom...) go to the
7.2-release base 
8) sh install.sh
9) create the /etc/fstab...  on /mnt
/dev/da0s1a/ufsrw11
10) test is everything is ok =   chroot /mnt
should work then go back =  exit
11) go to the kernel directory in the cd 7.2-release/kernel
sh install.sh generic
12) rm -rf /mnt/boot/kernel
13) mv /mnt/boot/GENERIC /mnt/boot/kernel
14) umount /mnt
15) system should boot.
___
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: ANNOUNCE: Custom GNOME-based FreeBSD iso released

2009-07-01 Thread Sergio de Almeida Lenzi
Em Qua, 2009-07-01 às 13:51 -0400, Trey Sizemore escreveu:

 On Tue Jun 30, 2009 09:45AM, Tim Judd wrote:
  On 6/30/09, Andrew Gould andrewlylego...@gmail.com wrote:
   2009/6/30 Manolis Kiagias son...@otenet.gr:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   Hey all,
  
   Continuing the effort in producing custom FreeBSD builds, I am pleased
   to announce a GNOME-based one.
   This includes a complete GNOME 2.26.2 desktop and also the
   gnome-power-tools and gnome-fifth-toe package collections.
  
   As always, feedback is welcome.

Humm ... interesting...

I am doing the same thing here (for personal use), 
besides gnome2-fith-toe, and power-tools,
ARCH is AMD64
I have:
totem-xine (better because of snapshot, and zoom in/out)
ffmpeg svn (better libavcodec)
dvdstyler 1.7, with wxsvg 1.0R, and ffmpeg svn (new features, new option
menus and navigation tools)
mencode, mplayer last release (linked against libavcodec, faster, and
with swscale, in ffmeg)
pgadmin3 (linked to work with UTF8)
glib20 patched to solve the evolution slow start.
mono 2.4.2 and companies (monodevelop, gnome-subtitles...)
jdk1.6p14  (java 1.6 last bsd patches)
openoffice 3.2  M50 (last patches from openoffice team
avidemux 2.4.2  (better and faster, with last seamonkey software)
epiphany linked agains the webkit-gtk (works better for me than the
firefox2 render engine)
Linux 2.4.2 and F8 (you choose)
Flashplugin9 running on AMD64 with few cpu overhead
ZFS BASED rootFS , with var, usr, tmp on ZFS too
GDM version 1.8 whtin the old tools (gdmsetup, conf files)
Xorg last version with working HAL and DBUS  (including mouse and
keyboard mapping).
If there is interest in the FreeBSD community I will try to put an image
in internet   (ONE pkg_add installs them all).

Hope is usefull,

Sérgio




___
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: load kernel from different media

2009-07-01 Thread Sergio de Almeida Lenzi
Em Qua, 2009-07-01 às 22:40 +0100, Chris Whitehouse escreveu:


Yes you can.
put your kernel (the one that works) on a DVD/CD
assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e
with all the /boot directory.
than boot from dvd/CD
with the HD on the machine too.

on the startup, hit 6 (number 6).
than type:
set vfs.root.mountfrom=ufs:ad0s1a
boot -s

the machine will boot from the CD (with the kernel on the CD)
than will mount the filesystem / (root) using ufs and the
device /dev/ad0s1a
once boot, you can mount the / rw. 
mount -o rw /dev/ad0s1a /mnt
mount /dev/ad0s1e /usr

than.
export PATH=/mnt/sbin:/mnt/bin:/usr/sbin:/usr/bin
mount -t cd9660 /dev/acd0 /cdrom
cd /cdrom
tar cf - boot | tar -xpvf - -C /mnt
===
edit /mnt/fstab to match the /(root) fs .
==fstab=
/dev/ad0s1a/ufsrw11
=
fastboot
the machine will reboot and boot happy on the hd

hope it can help
___
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


New openoffice 3.2 devel package available

2009-06-12 Thread Sergio de Almeida Lenzi
Hello,,

I post a package (pkg_add ) of the openoffice 3.2 devel m50,
for the FreeBSD AMD64. 

it is distributed in torrent at:
http://dist.k1.com.br/pt_BR-openoffice-3.2-m50-FreeBSD.torrent

This one have the patch for the dictionaries and extensions that now,
works.

this is for the language: EN and PT_BR.

Sergio
___
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: fsck on 1.5TB drive

2009-06-06 Thread Sergio de Almeida Lenzi
Hello,

try to use journaling on the backup partition, (if you do not want to
use ZFS...)

than: supose your partition is ad0s1d,
this procedure will destroy  ALL data on the partition!!!

gjournal load
gjournal label ad0s1d
newfs ad0s1d.journal

edit the /etc/fstab to look like:
/dev/ad0s1d.journal /backupufsrw,async11

if you are using a custom kernel, 
you must include a line in the /boot/loader.conf
geom_journal_load=YES

now if your system crashes, it will boot up using the journal in the
ad0s1d.journal partition, and will make fsck very fast about 1-2
minutes...

Hope It can help,

Sergio
___
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


OPENOFFICE package available

2009-06-06 Thread Sergio de Almeida Lenzi
Hello,

Finally I put an openoffice 3.2 devel working and tested for FreeBSD 7.2
AMD64 
with support for Portuguese (BR) AND English (en).

it is distributed via torrent at:
http://torrents.thepiratebay.org/4938186/pt-openoffice.org-BR-3.2.20090528.tbz.4938186.TPB.torrent


Please watch out for the MD5 = 0b158e075d89e7ce4ba4e07cd62b664b


Hope this can help those who needs openoffice
___
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: fsck on 1.5TB drive

2009-06-06 Thread Sergio de Almeida Lenzi
Em Sáb, 2009-06-06 às 23:13 +0200, Wojciech Puchar escreveu:

  try to use journaling on the backup partition, (if you do not want to
  use ZFS...)
 
 is it THAT a problem to wait 5-10 minutes for fsck?
 
 on OS that really crash RARELY. Most cases not at all.


You are right Puchar, but sometimes (2 in 100 on powerfailure) the
filesystem
gets corrupted (database files opened, and being extended)...  so
when the fsck enters, the database get corrupted..  
by using zfs or journaling I never have anothter database problem

People can say it is better to use a no-break in the server, Right again
but in my case of about 1000 servers, after 2 years the batteries does
not
function any more... and I can rely only in the filesystem...
a shell script that moves the partition to another HD previously
formatted
with ZFS (on amd64) or journaling (i386)   solves my problem

Sérgio
___
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


openoffice.org-3.01 packages available (i386)

2009-06-01 Thread Sergio de Almeida Lenzi
Hello,

I have the package for openoffice 3.2m49 for the FreeBSD 7.2/amd64
available for the languages EN and pt_BR in UTF-8, with
full support for cups.

If you are interested, I can upload the package (120Mb) in the
tinderbox.

I think it is interesting for the FreeBSD community, as 
with this port, FreeBSD is much ahead then the Linux office package

 Thanks for your attention,


Sergio
___
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: Modern FreeBSD Installer?

2009-04-29 Thread Sergio de Almeida Lenzi
hello

Well, after all that said, I would like to post my
modest oppinion based in experience from the market..

1) The people who use FreeBSD, or other OS, (the end user) 
will never install the OS, the person will turn on the machine
and expects an graphical interface appears in the secreen.

2) the Interface should be as simple as possible, but powerfull
enought to fullfill their needs, that is text, email, browsing,
some banking, multimedia (this must be powerfulll...), chatting.
some dvd authoriting, P2P. should access WIFI networks easy too

3) the computer  (computer is the term used by the USER) should
NEVER break, stop working That is: the computer (and the Operating
system) should act as the TV set... (remember those old times when the TV set
used to break???) you turn it on, and it works...

4) For those who install the OS in the computer, (some 1 in 10.000) people
should make it fast and dirty  I make an installer that install FBSD in 10 
minutes
with all the gnome, office, multimedia, with only one enter of the keyboard...
using ZFS, the system never breaks, is ready to use in 20 seconds... FBSD is 
installed
in more than 1000 machines running in gas stations... here...

5) A beautifull installer is good for the newspaper that publishes a review of
the Operating system (they must publish something to sell to ...save their 
job..),
Have you ever heard about a Leopard installer??? do you know someone who 
reinstalled Leopard??

6) I also think that there must be an fast and dirty  FBSD install. in the 
distribution
a CD (or DVD) that you put in the machine, it asks where to install and a 
prompt choosing YES or NO...
the installer formats the disk(partition), do a tar of the FBSD image, with an 
login of admin prompts for 
a password, and dumps the os image in the disk using journal or ZFS... 
(90% of the machines I installed FBSD have 1GB of memory, 80GB of HD and HDA 
sound,
INTEL,ATI,VIA graphics board... only 4 brands of NIC).

7) I showed FBSD to an expert windows guy, and he think it is far more easy 
to install than
the XP he was using besides, it is LEGAL!!!  

Thanks for the Attention,

Sergio

___
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: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh

2009-04-09 Thread Sergio de Almeida Lenzi
Hello,

try to login on xdm using secure or xterm option 

if not possible, shutdown xdm (in etc/ttys)
make sure X is not running
and at the console (vga) 
type xinit
it will start a small window with noting but xterm
start a window manager (twm)
in the window, type firefox... and see if it works ok...

In the xterm window you will see firefox messages...
look for something like fam

if it is the case, than you must start firefox within
a more sofisticated DM (gdm, kdm...) 

if firefox works ok, so the problem is in the setup of
the dm (xdm, gdm...) (I prefer gdm, version 1.8)

if firefox does not work ok, the problem is with the X
configureation, or firefox itsself,

Try test with firefox2 

Hope this will help,
Sergio
___
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: upgrade of databases/sqlite3 to 3.6.11 fails

2009-04-04 Thread Sergio de Almeida Lenzi
it is generate by the libtool code 
at /usr/local/bin/libtool

edit that file (search for the words not ending 
and comment those 2 lines,

re-install the package


For me it works...

Sergio

___
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: Encoding Movies to DVD

2009-04-01 Thread Sergio de Almeida Lenzi
Em Qui, 2009-04-02 às 09:35 +1000, Warren Liddell escreveu:

 Im chasing an application that basically does the same thing Windows 
 Nero Vision does but naturally on FreeBSD .. is there such an 
 application or is it something thats command line based ?

I am very happy with the folowing:
ffmpeg for transform the avi into dvd mpeg
mencoder to get the stream from an original dvd
dvdstyler for dvdauthoriting

Usage:
supose you have an avi file  (mpeg4 for video, mp3 for sound)
than
ffmpeg -i movie.avi  -target ntsc-dvd -aspect 16:9 -acodec mp2
-ab 192k -ac 2 -y movie.mpg
this result in an avi movie.mpg ready to build the DVD

Dvdstyler  than builds the menu (for dvdauthor)... and create an iso
image, or a directory with VIDEO_TS directory, 
that a program called growisofs can make the DVD.   
ex: growisfos -dvd-video -Z /dev/cd0
directory_where_dvdstyler_generate_the_dvd_image

Using totem-xine (in the ports) you can take snapshots of the video and
build the background for the dvd menus...

if you use gnome, you can drag  drop the directory into the
nautilus_cd_burner... and make your DVD

Far easy than NERO... and the quality is icredible... the lavc codecs
are awesome...

If you want to mess  with avimovies, thatn avidemux2 is your way to
go... 
you can cut, copy, past, convert, movies using it

To make or edit the subtitles, use gnome-subtitles.. 

to insert the subtitles in the mpeg stream use spumux (in the dvdauthor
package)

If you only want to copy a comercial DVD (that have 7GB) into an
writeable dvd, thatn K9copy is your way...

I have all here compiled in 64 bits and works llike a charm

Hope it can help.

___
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: Creating a 10km wireless bridge...pointers?

2009-03-25 Thread Sergio de Almeida Lenzi
Hello.

! used to make wireless links too and my best experiences are:

ADSL-MODEM (bridge mode) ==|switch| === Freebsd with
pppoe,nat,ipfw

||

||

wireless (--10km-) wireless switch

||||||

users...

Freebsd is a small machine (celeron, P2, P3) 256mb memory, 4gb or
more disk 1 ethernet

Software on FreeBSD
ppp using bridge mode (I supose your adsl is pppoe)   man ppp
the adsl mode is configured to work in bridge mode and as you see ,
is connect in the switch together with the freebsd and the wireless
bridge

Wireless bridge.
this is the trick point of the project... After searching and testing
various radios/swithes.. I deciced for the airlive 5460 ap2
http://www.airlive.com
configure both ap in bridge with WDS enable   and 21db of output
power

Antennas: 
the radios must use a small pigtail and be as near as possible to the
antenna...
I build the antennas using a project canantenna
http://www.turnpoint.net/wireless/cantennahowto.html

the two points must be visual, that is: in one point you must see the
other,
beware with water (lakes, flat fields...) between the points
stay away from trees...  put the antennas at about 6m from the soil...
10km... You must try, I have one link in 7km here... with good
performance.. 
in severel clients (10 clients)... about 3mbits... 

the radios costs about 45 dollars each, the pigtail is 5dollars, the
antenna is about 5 dollars each
the swithes is about 20 dollars each...


Should work.

Hope I could help...

Sergio

___
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: Creating a 10km wireless bridge...pointers?

2009-03-25 Thread Sergio de Almeida Lenzi
Em Qua, 2009-03-25 às 13:32 +0100, Wojciech Puchar escreveu:


 it's really worth to spent at least 50$ for each antenna to be sure it 
 will be stable at 10km with huge margins

I agree with you... but here (in Brazil) the 24dbi antennas are so bad
that using a can
seems to work better... a 24db antenna here costs 24 dollars... 
a good USA made antenna costs 200 dollars each.. and is difficult to
find...

I agree with you that wireless success id a matter of anntennas.. the
better the antennas
and positioning the better success you have in the small budgjet
project...

By the way Mr Puchar,  what are the radios you recommend or use??





___
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 HACKINTOSH

2009-02-28 Thread Sergio de Almeida Lenzi
Hello...

Seems that I was acused of warez, pirate...,


So, please if you to to the site of hackintosh, you will
see that it is a Darwin, Macos is based on Darwin, and because
of the copyright (the famous GPL...) apple must give away
the software they use to build macos...
so there is Darwin if you look at http://www.opensource.apple.com/darwinsource
it show all the Leopards including the 10.5.6 (source code)...
I did not see any restriction of use, for darwin, (well may be a commercial 
use???)

If you start with a binary version 
(http://www.opensource.apple.com/darwinsource/images/darwinx86-801.iso.gz)
please note that it comes from the apple site...
and download the last one, with some work (in reality a lot) you will
end with a Leopard (TM) without apple marks...

I do not think this is ilegal, and I am not playing warez.

In fact I am doing the same thing with opensolaris... 
get opensolaris (binary), then get the sources (from sun) and compiling the 
gnome 2.24 on top of it
may be the final product be called hacklaris
I needed it because my clients needs internet and with it a good imfamious 
flash player... that, in FreeBSD
is not available with the stability I have on solaris... in fact, it is much 
more stable than the linux version
besides the virtual  (virtualbox, xen, zones) is far more stable on 
solaris
there are places (in the corporate world...) that the SUN brand counts... and 
counts a lot...

I think also that a person jump from the microsoft cage  to the apple cage  
he still is in the cage...
Users, nowadays (even the naive ones) soon realize that they need freedom. 
We, with FreeBSD, gives
us freedom, power, ease of use... 

Sergio

___
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 HACKINTOSH

2009-02-28 Thread Sergio de Almeida Lenzi
Hello...

Seems that I was acused of warez, pirate...,


So, please if you go to the site of hackintosh, you will
see that it is a Darwin, Macos is based on Darwin, and because
of the copyright (the famous GPL...) apple must give away
the software they use to build macos...
so there is Darwin if you look at http://www.opensource.apple.com/darwinsource
it show all the Leopards including the 10.5.6 (source code)...
I did not see any restriction of use, for darwin, (well may be a commercial 
use???)

If you start with a binary version 
(http://www.opensource.apple.com/darwinsource/images/darwinx86-801.iso.gz)
please note that it comes from the apple site...
and download the last one, with some work (in reality a lot) you will
end with a Leopard (TM) without apple marks...

I do not think this is ilegal, and I am not playing warez.

In fact I am doing the same thing with opensolaris... 
get opensolaris (binary), then get the sources (from sun) and compiling the 
gnome 2.24 on top of it
may be the final product be called hacklaris
I needed it because my clients needs internet and with it a good imfamious 
flash player... that, in FreeBSD
is not available with the stability I have on solaris... in fact, it is much 
more stable than the linux version
besides the virtual  (virtualbox, xen, zones) is far more stable on 
solaris
there are places (in the corporate world...) that the SUN brand counts... and 
counts a lot...

I think also that a person jump from the microsoft cage  to the apple cage  
he still is in the cage...
Users, nowadays (even the naive ones) soon realize that they need freedom. 
We, with FreeBSD, gives
us freedom, power, ease of use... 

Sergio

___
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: Ports on Macbook

2009-02-27 Thread Sergio de Almeida Lenzi
Em Sex, 2009-02-27 às 14:45 +0300, z...@zaa.pp.ru escreveu:

 On Fri, Feb 27, 2009 at 03:04:09PM +0530, Nataraj S Narayan wrote:
  Hi
  
  I hear that Mac OS X and later ones are based on FreeBSD. My wife is
  planning to get a Macbook , which I don't quite approve. Mainly
  because we need to pay for any upgrade or new add ons.


Hello...


I use a free version of the Leopard based on darwin (freebsd6) named
hackintosh  it is the google,
it is free, and just works... 

You can even buy a standard notebook, and install.  I will transform
the notebook in an
apple leopard 10.  

It is a DVD of 4Gb..


Sergio

___
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


USB INSTALL SCRIPTS

2009-02-21 Thread Sergio de Almeida Lenzi
Ok...
the scripts are at:
http://dist.k1.com.br/scripts/baselist_amd64
http://dist.k1.com.br/scripts/baselist_i386
http://dist.k1.com.br/scripts/makebootdisk
http://dist.k1.com.br/scripts/zfsetup

install these scripts on /root

makebootdisk:
formats the disk (or usb stick) at da0,da1...) make a bsdlabel on it
and using the baselist file, copies the running system files into the
USB 
it will work on FreeBSD  versions greater 7.0
this way the usb is bootable, have a filesystem on it.
the same root password...
you can fix the files/etc/rc.conf, /boot/loader.conf  in the usb
filesystem in
order for it to boot from your kernel. 
remeber to check for an a  partition on your usb stick

the script needs to have access to install bash (pkg_add -r bash) so it
needs internet of a package repository with bash in it.

Once boot from your usb stick, you can do the same procedure to
transport the running system to another disk
if you intend to make a zfs running filesytem on the target disk (hd)
make the disklabel (bsdlabel) this way
a: 1gb16 unused
b: 4gb*swap
d: **unused
that is: 
a partition 1gb at offset 16
b swap partition 4gb after partion A
d: the rest of the disk (this will hold the zpool).

the makebootdisk will install a running system on A (about 300mb...)


ZFSETUP
is a script that, when boot from the hd created with makebootdisk
moves the running system (booted from a partition) to the the zfspool
created, in the d partition mentioned above..
it edits the loader.conf  in order to boot on zfs.. in order to boot
from

After that, you are running on ZFS...

Sergio





___
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


USB INSTALL SCRIPTS

2009-02-21 Thread Sergio de Almeida Lenzi
Ok...
the scripts are at:
http://dist.k1.com.br/scripts/baselist_amd64
http://dist.k1.com.br/scripts/baselist_i386
http://dist.k1.com.br/scripts/makebootdisk
http://dist.k1.com.br/scripts/zfsetup

install these scripts on /root

makebootdisk:
formats the disk (or usb stick) at da0,da1...) make a bsdlabel on it
and using the baselist file, copies the running system files into the
USB 
it will work on FreeBSD  versions greater 7.0
this way the usb is bootable, have a filesystem on it.
the same root password...
you can fix the files/etc/rc.conf, /boot/loader.conf  in the usb
filesystem in
order for it to boot from your kernel. 
remeber to check for an a  partition on your usb stick

the script needs to have access to install bash (pkg_add -r bash) so it
needs internet of a package repository with bash in it.

Once boot from your usb stick, you can do the same procedure to
transport the running system to another disk
if you intend to make a zfs running filesytem on the target disk (hd)
make the disklabel (bsdlabel) this way
a: 1gb16 unused
b: 4gb*swap
d: **unused
that is: 
a partition 1gb at offset 16
b swap partition 4gb after partion A
d: the rest of the disk (this will hold the zpool).

the makebootdisk will install a running system on A (about 300mb...)


ZFSETUP
is a script that, when boot from the hd created with makebootdisk
moves the running system (booted from a partition) to the the zfspool
created, in the d partition mentioned above..
it edits the loader.conf  in order to boot on zfs.. in order to boot
from

After that, you are running on ZFS...

Sergio





___
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: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-20 Thread Sergio de Almeida Lenzi
Em Sex, 2009-02-20 às 20:51 +, Formula 1 escreveu:

 Is there going to be a possibility for FreeBSD, in the future or now, that 
 there will be a release of it that allows for install and running of the 
 operating system off of a USB memory stick?
 


I have it running here... two small scripts save it from the disk into a
2mb usb stick.
once in the usb you can boot (from the usb) and install it on any other
disk in 5 minutes
and using zfs (a 1gb ufs partition, a swap partition and a big zfs
partition.
if needed I can put the script in the web fo testing or download.

I adivse that  there is no need to enter sysinstall.

Hope it can help

___
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: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-27 Thread Sergio de Almeida Lenzi
Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:

 Hi,
 have you solved the problem yet? I also have libXmu failed to
 upgrade due to libxcb-xlib.la. Thanks!!

I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
than it all works again

a shell script like:
==
#!/bin/sh

lista=`find /usr/local/lib  -type f -name *.la`

if [ -n $lista ]
then
for i in $lista
do
if grep $1 $i  /dev/null
then
sed -i  s|/usr/local/lib/$1|| $lista
fi
done
fi

supose you name this shell -  XX
than.
sh XX libxcb-xlib.la 
will do the trick

after that, you will be able to build things again.


Sergio
___
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: port openoffice.org-devl (3.1.20081224) installs fine but does not run

2009-01-24 Thread Sergio de Almeida Lenzi
Hello...


It is because the installation (the makefile is wrong, it install the
binary /usr/local/openoffice.org/openoffice.org3/program/soffice
as a copy of soffice.bin)
it must install it as a shell script that fixes the loader path.
here is the shell script (named soffice).
copy over the binary soffice and make it executable
here it runs fine...   FreeBSD amd64.
=
#!/bin/sh
#*
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# 
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: soffice.sh,v $
#
# $Revision: 1.34 $
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public
License
# version 3 along with OpenOffice.org.  If not, see
# http://www.openoffice.org/license.html
# for a copy of the LGPLv3 License.
#
#*

#
# STAR_PROFILE_LOCKING_DISABLED=1
# export STAR_PROFILE_LOCKING_DISABLED
#

# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

# Uncomment the line below if you suspect that OpenGL is not
# working on your system.
# SAL_NOOPENGL=true; export SAL_NOOPENGL

# the following test is needed on Linux PPC with IBM j2sdk142
if [ `uname -s` = Linux -a `uname -m` = ppc ] ; then
JITC_PROCESSOR_TYPE=6
export JITC_PROCESSOR_TYPE
fi

# resolve installation directory
sd_cwd=`pwd`
if [ -h $0 ] ; then
sd_basename=`basename $0`
sd_script=`ls -l $0 | sed s/.*${sd_basename} - //g`
cd `dirname $0`
cd `dirname $sd_script`
else
cd `dirname $0`
fi
sd_prog=`pwd`
cd $sd_cwd

sd_binary=`basename $0`.bin

#collect all bootstrap variables specified on the command line
#so that they can be passed as arguments to javaldx later on
for arg in $@
do
  case $arg in
   -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS $arg;;
  esac
done

# extend the ld_library_path for java: javaldx checks the sofficerc for
us
if [ -x $sd_prog/../basis-link/ure-link/bin/javaldx ] ; then
# this is a temporary hack until we can live with the default search
paths
case `uname -s` in
FreeBSD)
sd_prog1=$sd_prog/../basis-link/program
sd_prog2=$sd_prog/../basis-link/ure-link/lib
LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:
${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH
;;
esac
my_path=`$sd_prog/../basis-link/ure-link/bin/javaldx
$BOOTSTRAPVARS \
-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc`
if [ -n $my_path ] ; then
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
fi
fi

unset XENVIRONMENT

# uncomment line below to disable anti aliasing of fonts
# SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE

# uncomment line below if you encounter problems starting soffice on
your system
# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS

# pagein
for sd_arg in ${1+$@} ; do
case ${sd_arg} in
-calc)
sd_pagein_args=${sd_pagein_args:
+${sd_pagein_args} }...@pagein-calc
break;
;;
-draw)
sd_pagein_args=${sd_pagein_args:
+${sd_pagein_args} }...@pagein-draw
break;
;;
-impress)
sd_pagein_args=${sd_pagein_args:
+${sd_pagein_args} }...@pagein-impress
break;
;;
-writer)
sd_pagein_args=${sd_pagein_args:
+${sd_pagein_args} }...@pagein-writer
break;
;;
*)
;;
esac
done

# read database entries for Adabas D
if [ -f /etc/adabasrc ]; then
  . /etc/adabasrc
fi

sd_pagein_args=${sd_pagein_args:+${sd_pagein_args} }...@pagein-common
$sd_prog/../basis-link/program/pagein
-L$sd_prog/../basis-link/program \
${sd_pagein_args}

# Set PATH so that crash_report is found:
PATH=$sd_prog${PATH+:$PATH}
export PATH

# execute soffice binary
$sd_prog/$sd_binary $@ 
trap 'kill -9 $!' TERM
wait $!

while [ $? -eq 79 ]
do
$sd_prog/$sd_binary $BOOTSTRAPVARS 
wait $!
done

exit
=

___
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 USB Install

2009-01-09 Thread Sergio de Almeida Lenzi
Hello

I notice that when you write zeros to the first sectors
of the pen drive it gets mad about it
and you must make fsck and disklabel TWICE...

the first time, it complains,
the second time it works fine

I assume you have grub installed   (pkg_add -r grub)

I use the folowing procedure:
1) put the pen drive on the computer  it finds at da0
2) dd bs=512 if=/dev/zero of=/dev/da0 count=20  
2) fdisk  -BI /dev/da0
3) disklabel -w -B /dev/da0s1
4) fdisk -BI /dev/da0  
5) disklabel -w -B  /dev/da0s1
6) newfs -L FreeBSDstick /dev/da0s1a
7) mount -o async /dev/da0s1a /mnt
8) mkdir /mnt/boot/grub
9) cd /usr/local/share/grub/*/
10 cp * /mnt/boot/grub
11) cat %  /mnt/boot/grub/menu.lst
title FreeBSD on USB
root (hd0,0,a)
kernel /boot/loader
%
12) umount /mnt
13) grub --batch %
device (hd7) /dev/da0
root (hd7,0,a)
setup (hd7)
%
=
now just populate the /mnt with bsd and your system 
should come up...

=


Hope this will help...


Here i use 4gb pen-drivers running FreeBSD 7 with zfs...
it works fine and very fast...

Sergio.
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-03 Thread Sergio de Almeida Lenzi
Hello

About your zfs experience...  please let me tell mine..

I was having toubles with ufs2 on some small servers (desktop grade)
machines running postgresql (64 bits, or 32 bits) all running FreeBSD
7.X
some still 6.X...
the problem is that sometimes the database brokes because the ufs2 fsck
wipes out the pg_log files (that holds metadata, and so the database is
lost/compromiesed)

it used to be aobout 1 or 2 times a week, well you willl say that it is
very often... 
but there are more thatn 1200 servers... that is about a database
problem in 16 years
the machines are in remote zones and cannot stop..

So a month ago I decided to try zfs... first on onpensolaris (that, as
expected, works very well...)
than in a set  of 4 machines running FreeBSD 7.0/7.1 (a small
partition to boot, than filesystem / on zfs).
1 of them with 2gb of memory, the others with 1g, 512m, 256m (I know
that zfs is unstable with less than 512mb...)
but it is only for testing the machines varies from amd64 to
celeron... (64 and 32 bits..) NO RAID
on the small machine, a buildworld lasted 2 days...

All running a database (test of course) without no break. with a custom
application that
updates  tables (several thousand rows, with foreing keys and
triggers...)  and then rollback...
the drives area always with access light on... 

Sometimes (several times a day, random..) the machines are switched
off..  without shutdown...
and than switched on again...  about (5 -10 times) that is about 60 * 8
- 480 power on/power off cycles each machine

Well. I can say that I still have not lost a database... it is
incredible fast, reliable
comes up without any fsck wait time. in less than a minute... 

Now I will start to put it on Dells and those PERC controllers... 

That is my experience...

Sergio
___
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: DVD cloning tool

2008-12-13 Thread Sergio de Almeida Lenzi
Well

Here I use K9copy... it copies a 7.6Gb dvd into a 4.2Gb dvd+r
and works like a charm

very cool

for example I have all the Corrs dvds (I bought the 5 ones...)
but I use the copies to play... 


Sergio
___
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: NFS Help

2008-10-28 Thread Sergio de Almeida Lenzi
If your server is nfsv4 (freebsd 7.x)
the nfs protocol used is tcp.

The older machines (freebsd 5 or 6) 
the nfs prococol is udp...

try to use the -T switch (mount_nfs option...) on the older machines

so they will use tcp...

hope this will help


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


Wrong list post????

2006-02-17 Thread Sergio de Almeida Lenzi
Hello Alll


Please...

I posted a question about the ISO9660 and the hard links
in the ISO filesystem... some days ago...

and no one answer... 

I am not complaining about missing answers, but
may be I am in the wrong list

Can someone please tell me what is the correct list
for this kind of questions


Thanks for any answer.


Sergio


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


about the ISO9660

2006-02-17 Thread Sergio de Almeida Lenzi
Em Sex, 2006-02-17 às 10:03 -0500, Lowell Gilbert escreveu:

 Sergio de Almeida Lenzi [EMAIL PROTECTED] writes:
 
  I posted a question about the ISO9660 and the hard links
  in the ISO filesystem... some days ago...
 
 A bit under 1 day ago, actually.
 
  and no one answer... 
 
 It was still in my incoming queue, but first I was planning to take
 care of the work that I actually get paid for.
 
 I tried to duplicate the problem (on -STABLE) with:
 mkdir temp; cd temp;(tar -C /rescue -cf - . |tar -xf -);du -h . /rescue
 
 but I got the links copied properly (original and copy the same size).
 You'll need to show precisely what you did for anyone to figure out
 what is wrong.
 

Ok thanks for the help... if you did the test and worked, for you 
for sure I am using a wrong version of the 6.0

I will upgrade  to the 6.0 stable 

thanks for the help


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


CD problem solved..... a possible bug found...

2006-02-16 Thread Sergio de Almeida Lenzi
Hello all

I wish to thank for all people who helped me
in particular the one that points me to the man release 
really helped...
  
some days ago I posted a message about
building the CDbtoot of FreeBSD version 6.0 release

the problem happens when (logged in the 6.0...) 
I mount the CDrom   and did a tar cf - /cdrom | tar xvf - -C /usr

the idea is to copy all the directories to the /usr/cdrom...
the CD has 580Mb... 
but the copy have more than 1013 MB... (amost twice.. the size...)

The same command on a FreeBSD 5.4 produces the coorect image of 580MB...

Tracking down the problem to a directory in the CDROM (rescue) that
have an executable build from crunch... of 131 files hard linked to the
same
executale ... 
On FreeBSD version 5.4 it correct reads ONE executable (300k) and
than builds the same structure on the copy directory
(/usr/cdro/rescue)...

On FreeBSD 6.0 Release, it reads the same executable 131 times,
giving about 412MB ... that ... of course does not fit in the 680MB
limit of
the CDROM... The same file structure (131 hard links) with the same
command (tar...)  copies fine when they are outside if the  ISO9660 

My question is: is this a bug in the ISO9660 in the FreeBSD 6.0 or
just a new behavior 
 

I am using FreeBSd 6.0 Release... 

Thanks for any attention
-- 
Sergio de Almeida Lenzi [EMAIL PROTECTED]
lztech
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]