Re: Upgrading from 8.0 to 8.4 with freebsd-update?

2013-06-27 Thread Adam Vande More
On Thu, Jun 27, 2013 at 8:05 PM, Patrick  wrote:

> Is it possible to skip point releases using freebsd-update so that I
> can go from 8.0 to 8.4


Yes.  http://www.freebsd.org/releases/8.4R/relnotes-detailed.html#upgrade


-- 
Adam Vande More
___
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: Upgrading from 7.4 to 9.1

2013-04-27 Thread Erich Dollansky
Hi,

On Sat, 27 Apr 2013 17:32:53 +0200
"b...@todoo.biz"  wrote:

> Hi, 
> 
> I wanted to know if you would consider updating from 7.4 to 9.1
> directly ? 
> 

you might will face the same problem I face when trying to upgrade 7.x
to 8.x on old hardware. The USB controller was not supported anymore.

I have had to keep the machine on 7 until it got hit by a lightning.

> Has anyone tried that with success ? 
> 
> 
> I plan to use the freebsd-update method. 

I never did this. I always use custom kernels.

Erich
___
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: Upgrading from 7.4 to 9.1

2013-04-27 Thread Robert Huff

b...@todoo.biz writes:

>  >> I wanted to know if you would consider updating from 7.4 to 9.1
>  >> directly ?
>  >> 
>  >> Has anyone tried that with success ? 
>
>  >While it is certainly possible, many (myself included) will
>  > recommend a clean install.  Doing so has the following advantages:
>  
>  Well to tell you the truth, the main reason I was asking is that
>  I'll have to visit my datacenter in order to do a clean install…
>  as opposed to remote upgrade.

If you know your hardware, you can build a disk /here/, send it
/there/, and have someone swap disks.  Usually - but not always -
one can simply copy the kernel configuration file and rebuild
kernel+world.  (Read /usr/src/UPDATING before doing so,)

>  Unless someone else tells me that It is a painless rapid update.

It's painless ... except when it isn't.
:-)


Robert "trust in Allah, but tie up your camel" Huff

___
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: Upgrading from 7.4 to 9.1

2013-04-27 Thread b...@todoo.biz

Le 27 avr. 2013 à 18:11, Robert Huff  a écrit :

> 
> b...@todoo.biz writes:
> 
>> I wanted to know if you would consider updating from 7.4 to 9.1
>> directly ?
>> 
>> Has anyone tried that with success ? 
> 
>   Someone, somewhere.  :-)
>   
>> I plan to use the freebsd-update method. 
> 
>   Less sure about this.
> 
>   While it is certainly possible, many (myself included) will
> recommend a clean install.  Doing so has the following advantages:
> 
>   1) while it requires an unused disk, the old disk is still
>   available if anything Goes Horribly Wrong(tm).
>   2) once the 9.1 system is fully functional, you can mount the
>   7.4 disk read-only and copy any needed files.
>   3) it will also de-clutter the file systems.
>   4) speaking of file systems, you can add/delete/change
>   partitions to implement lessons learned since the 7.4 system
>   was installed.

Well to tell you the truth, the main reason I was asking is that I'll have to 
visit my datacenter in order to do a clean install… as opposed to remote 
upgrade. 

So I was wondering if that could be ok. 
But I'll stick to your advice. 

Unless someone else tells me that It is a painless rapid update. 


Thx. 

> 
> 
>   Respectfully,
> 
> 
>   Robert Huff
> 


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID --> 0x1BA3C2FD

___
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: Upgrading from 7.4 to 9.1

2013-04-27 Thread doug

On Sat, 27 Apr 2013, b...@todoo.biz wrote:


Hi,

I wanted to know if you would consider updating from 7.4 to 9.1 directly ?

Has anyone tried that with success ?

I plan to use the freebsd-update method.

Thanks for your feedback.

G.B.


If you are not a developer (I am not), I think the short answer don't do it. I 
think the issue is leaving stuff behind that might hurt. Eventually would be 
much worse than immediate problems, especially for a remote server.


My experience with freebsd-update has been if a mirror has the diff, then it 
will work. That said, I have never skipped a version. Earlier threads on this 
topic suggest its better to go to 8.0-rel then to the latest 8.x then to 9.


For me I used CD/DVD even though it meant a drive. I would not be too suprised 
if freebsd-update balked at skipping 8. If you are physically with the system, 
it will not take too much time to try it. The process of a minimal install from 
CD then freebsd-update is not very long. If you are running Xorg, it is the only 
way IMO.


___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 11:33:17 +0100, Polytropon  wrote:

Note that you shouldn't run "startx" from your root account


I've still tons of issues to solve, one issue is to get GDM run or to
directly start x without a display manager. It didn't work as described in
the handbook, perhaps it would work now, after the ports tree upgrade,
however, I start x from tty after login in as user ... $ startx ... IIRC,
if you start x as root, Thunar will warn you, that you run the session as
root.

I'll do an experiment now, Ctrl + Alt + F1 [snip] ...

Don't worry, I'm back in a user session, but I run a root session and got
"Warning, you are using the root account, you may harm your system."
by Thunar 1.6.2.

Regards,
Ralf
___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 14:09:52 +0100, Polytropon  wrote:

Infrastructures are moving on, and
backwards compatibility isn't the biggest strength
of desktop environments. :-(


Full ACK with the smiley ;) ... :(.
___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Polytropon
On Tue, 22 Jan 2013 13:59:44 +0100, Ralf Mardorf wrote:
> On Tue, 22 Jan 2013 11:22:04 +0100, Hrisikesh sahu  
>  wrote:
> > #portupgrade gnome2
> 
> Is there a future for GNOME 2 on FreeBSD?

I assume -- on the _long_ run -- Gnome 2 will be dead,
just as Gnome 1, KDE 1 and 2, and XFCE (capitals, so
it "obviously" means version 3). MATE and Cinnamon
are still maintained, and if there will be FreeBSD
ports, they will probably work for some time, until
eventually the required support libraries at certain
levels of abstraction will not work (or even build)
anymore, or when security concerns grow enough to
abolish the port. Infrastructures are moving on, and
backwards compatibility isn't the biggest strength
of desktop environments. :-(




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


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf
On Tue, 22 Jan 2013 11:22:04 +0100, Hrisikesh sahu  
 wrote:

#portupgrade gnome2


Is there a future for GNOME 2 on FreeBSD?
GNOME 2 forks
http://en.wikipedia.org/wiki/MATE_(desktop_environment)
http://en.wikipedia.org/wiki/Cinnamon_(user_interface)
GNOMER 3 fallback mode fork
http://solusos.com/blog/2013/01/the-consort-desktop-environment/
OT: KDE 3 fork:
https://wiki.archlinux.org/index.php/Trinity

I didn't read it myself, I've got my information from Linux mailing lists.

Regards,
Ralf
___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Polytropon
On Tue, 22 Jan 2013 15:52:04 +0530, Hrisikesh sahu wrote:
> On command prompt Mouse and key board functionality is proper, but
> when i switched to GUI using #startx , then mouse and key stopped
> working.

This looks like a typical configuration error, not quite
uncommon today. :-)

Note that you shouldn't run "startx" from your root account
(which I assume you do because of "#startx"). For your local
user account, make sure you've configured Gnome 2 to start
automatically via ~/.xinitrc or ~/.xsession respectively.
Refer to the FreeBSD Gnome FAQ for details.

As you're also using GDM (Gnome display manager) for login,
your ~/.xsession should contain "exec gnome2-session" (which
I think to remember is the name of the Gnome desktop
executable, but check the documentation to be sure).



> I have included HLAD and DBUS to the rc.conf .
> /etc/rc.conf  --
> -
> keymap="us.iso"
> gdm_enable="YES"
> gnome_enable="YES"
> hald_enable="YES"
> dbus_enable="YES"
> sshd_enable="YES"
> moused_port="/dev/psm0"

Looks correct.



> Now I installed wireshark , but I am getting a Gtk-warning **: cannot
> open display.

You can only run this program when in X (e. g. calling it from
an X terminal).



> Please help me what are ports used to upgrade mouse and Key Board
> functionality with X terminal.

Check your X configuration: If both input methods work in
text mode, but not within X, that's often the error.



> Please let me know if there is any command used to rebuild all the
> installed ports and update pkgdb.

If I remember correctly, it's "portupgrade -arf", but as you're
using portupgrade, see "man portupgrade", the EXAMPLES section
should show the proper options.




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


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Hrisikesh sahu
Hi ,
Forgive my stupidity.
Yes, i was getting so many shared library issue. So  I deleted to
rebuild the pkgdb using #portupgrade.

Now I am able to do
#portupgrade gnome2.

I followed both the following links to upgrade Xorg and Gnome2 .

On command prompt Mouse and key board functionality is proper, but
when i switched to GUI using #startx , then mouse and key stopped
working.

I have included HLAD and DBUS to the rc.conf .
/etc/rc.conf  --
-
keymap="us.iso"
gdm_enable="YES"
gnome_enable="YES"
hald_enable="YES"
dbus_enable="YES"
sshd_enable="YES"
moused_port="/dev/psm0"



Now I installed wireshark , but I am getting a Gtk-warning **: cannot
open display.

Please help me what are ports used to upgrade mouse and Key Board
functionality with X terminal.

I think few libraries are getting linked when I switched from Command
prompt to GUI terminal.

Please let me know if there is any command used to rebuild all the
installed ports and update pkgdb.

I am new to this freebsd . Please help me out to set up this system properly.




On Tue, Jan 22, 2013 at 4:12 AM, Joe Altman  wrote:
>
> On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
> >
> > # portupgrade -fr gnome-session
> >
> > But I am facing a problem "shared object libz.so.5 not found freebsd"
>
> I see libz.so.6 in my /usr/lib on:
>
> 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
> r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64
>
> Remind me: did you buildworld and installworld prior to upgrading ports?
>
> > I did all these steps to upgrade the ports
> >  Code:
> >
> > #pkgdb -fF
> > # rm /var/db/pkg/pkgdb.db
> > # portupgrade -arRn
>
> While I wonder why you deleted your pkgdb.db, more to the point: did you
> rebuild it?
>
> > but i am facing a issue with -
> >  Code:
> >
> > /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
> > (MakefileBrokenError)
>
> My guess is that you did not rebuild the pkgdb.db...
>
> > Please help me how to come out from this Makefile broken and "shared object
> > libz.so.5 not found freebsd".
>
> and I'd do that before trying to solve fixing the libz.so.5 issue.
>
> Joe
> ___
> 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"
___
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: Upgrading 8.2 to 9.1, Gnome issue

2013-01-21 Thread Joe Altman
On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
> 
> # portupgrade -fr gnome-session
> 
> But I am facing a problem "shared object libz.so.5 not found freebsd"

I see libz.so.6 in my /usr/lib on:

9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

Remind me: did you buildworld and installworld prior to upgrading ports?

> I did all these steps to upgrade the ports
>  Code:
> 
> #pkgdb -fF
> # rm /var/db/pkg/pkgdb.db
> # portupgrade -arRn

While I wonder why you deleted your pkgdb.db, more to the point: did you
rebuild it?

> but i am facing a issue with -
>  Code:
> 
> /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
> (MakefileBrokenError)

My guess is that you did not rebuild the pkgdb.db...
 
> Please help me how to come out from this Makefile broken and "shared object
> libz.so.5 not found freebsd".

and I'd do that before trying to solve fixing the libz.so.5 issue. 

Joe
___
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: Upgrading FreeBSD 8.3 amd64

2012-12-23 Thread Ralf Mardorf
Hi,

I've done the upgrade yesterday. It was a clean 8.3 install, I only set
up PPPoE and then run the following commands.

# cd /usr/ports/misc/mc && make install clean
# uname -r
8.3-RELEASE
# freebsd-update -r 9.1-RELEASE upgrade
# freebsd-update install
# shutdown -r now

# freebsd-update install
# cd /usr/ports/ports-mgmt/portupgrade && make install clean
# /usr/local/sbin/portupgrade -f ruby
# rm /var/db/pkg/pkgdb.db
# /usr/local/sbin/portupgrade -f ruby18-bdb
# rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
# /usr/local/sbin/portupgrade -af
# freebsd-update install
# shutdown -r now

# freebsd-update IDS >> outfile.ids

This is the content of outfile.ids:

Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.1-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
/boot/kernel/linker.hints has SHA256 hash 
ebf78144f48f13af88e5e3752735a709b084d7e6aaee10b05e57f2a117cbc366, but should 
have SHA256 hash 
07b927068b34c4671a323e6a8aaa80ad22dc5fc4b3741b8a4060da1764510350.
/etc/group has SHA256 hash 
108de8653d4a6d451cc3f018780277d2fe2d770df7a7d984f5160dc753e06678, but should 
have SHA256 hash 
d788718c25a04a14cc1818ac2afa8b76a3fd899583691972d0d5127947e3504f.
/etc/hosts has SHA256 hash 
9684014402be7ecd32b9047181f595d124df6cf6a79dd323b0bd5685dccc2a81, but should 
have SHA256 hash 
f795387981b68599c3df984f2ce4ac4a32bf420d57faf1fb55f249b885414d64.
/etc/master.passwd has SHA256 hash 
cd9046284ac3e571eb9f0273f9bfc118e7094e0b9312fd1789f6385e43a26cd3, but should 
have SHA256 hash 
6f1da238cc0a55ed360a215039bc6cb5ce5369d20b8fbceb8a1941c5124e6a4e.
/etc/motd has SHA256 hash 
fa311ce1a08aea0c818d57b904c979941dabb726d1fb2ddaa368102bd6f2fb95, but should 
have SHA256 hash 
98f082efc89da5e887e72bc4dcfa3e5fc8bada9d19db4bdbba9a32692a7c82a7.
/etc/passwd has SHA256 hash 
e4bcb10c66a0440efb58591daadaeec894e75e5392da9e00f3881822d0647a11, but should 
have SHA256 hash 
3135de169a0ff94c0c97aeb525a07ea10e5ed81c9b825e219f7eea8deb97c444.
/etc/ppp/ppp.conf has 0755 permissions, but should have 0600 permissions.
/etc/ppp/ppp.conf has SHA256 hash 
623683de09ab97394221c64ccdec3569aa240854d907a4811f91c9ed92253dd4, but should 
have SHA256 hash 
f3dd3d0da252bd47681a261a1f0d46a8fc6ae84ff3cbd34b81b586bc87e49655.
/etc/pwd.db has SHA256 hash 
62eb1eafbfa8fe718e68bf784e542d09ccdc09012ef43d254ae48e9846a1df4d, but should 
have SHA256 hash 
bf86739ee052821992412b61a6673811588c382fa63ab38cc47c1a59305376eb.
/etc/shells has SHA256 hash 
4c25fb7c79fe5057217a70cfa1c27f41959bb7daa703a94774ec5ac9d29a9266, but should 
have SHA256 hash 
beab7e474ee12b051b98889f368bbd490340a908f6f2287f9238e818b830a1fd.
/etc/spwd.db has SHA256 hash 
b25126503c347feb67b76a5f27f44c318a675ddc82f4984b5ec0d2fc5a45fd30, but should 
have SHA256 hash 
1cbfbea78d316e4e8d29f53f0770b8ff1f3a731e993c3ae717f36304715d7a5b.

When I run "ppp -ddial alice" now, I get warnings "Bad label
in /etc/ppp/ppp.conf (line x) - missing colon", but PPPoE still works.

Why are the checksums bad?

FWIW "snd_hdspe" now is available.

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Ralf Mardorf
On Fri, 2012-12-21 at 07:35 +0100, Ralf Mardorf wrote:
> On Thu, 2012-12-20 at 10:57 -0500, Paul Kraus wrote:
> > On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote:
> > 
> > > On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote:
> > >> I'd say: Use the source Luke. :-)
> > > 
> > > :)
> > > 
> > > Strange question: Is the FreeBSD handbook available as iBook?
> > 
> > You can get it as a PDF at
> > ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/
> > and you can then view that on your iPad. Look for the Bookshelf or
> > some such, I use an iPod Touch and while similar, they are not
> > identical to the iPad.
> 
> ftp://ftp.freebsd.org/pub/FreeBSD/doc/de/books/handbook/book.pdf.bz2
> ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.pdf.bz2
> 
> iBookshelf Lite 2.12.4 has got a file sharing option, so I added the
> above extracted archives by renamed PDFs (FreeBSD Handbook de.pdf,
> FreeBSD Handbook en.pdf), but after sync they still are not available.
> 
> I renamed the files (bsdde.pdf, bsden.pdf), added them and synced again,
> but they are still not available.
> 
> The PDFs can be opened by Linux. VBox, resp. iTunes has got access to
> the files and sync between VBox and the iPad does work for other data.
> 
> However, it's OT for this list.
> 
> Anyway, thank you :)
> Ralf

PS:

I installed two other gratis apps.

Offline Reader ! 2.0 and PDF Reader Lite 1.2.3, the first app seems to
be useless and when I downloaded it, I was asked if I'm >= 17 years
old :D, but the second app does receive and display the handbooks named
bsdde.pdf, bsden.pdf :)

Regards,
Ralf


___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Ralf Mardorf

On Thu, 2012-12-20 at 10:57 -0500, Paul Kraus wrote:
> On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote:
> 
> > On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote:
> >> I'd say: Use the source Luke. :-)
> > 
> > :)
> > 
> > Strange question: Is the FreeBSD handbook available as iBook?
> 
>   You can get it as a PDF at
> ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/
> and you can then view that on your iPad. Look for the Bookshelf or
> some such, I use an iPod Touch and while similar, they are not
> identical to the iPad.

ftp://ftp.freebsd.org/pub/FreeBSD/doc/de/books/handbook/book.pdf.bz2
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.pdf.bz2

iBookshelf Lite 2.12.4 has got a file sharing option, so I added the
above extracted archives by renamed PDFs (FreeBSD Handbook de.pdf,
FreeBSD Handbook en.pdf), but after sync they still are not available.

I renamed the files (bsdde.pdf, bsden.pdf), added them and synced again,
but they are still not available.

The PDFs can be opened by Linux. VBox, resp. iTunes has got access to
the files and sync between VBox and the iPad does work for other data.

However, it's OT for this list.

Anyway, thank you :)
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Ralf Mardorf
On Thu, 2012-12-20 at 15:52 +0700, Erich Dollansky wrote:
> > The author of the snd_hdspe driver for FreeBSD seems to need testers.
> 
> I never have heard of this driver.

It's a new driver for FreeBSD for some cards of the vendor RME, AFAIK
they only sell really professional audio cards, used for broadcasting
and by professional audio studios. I never heard of professional audio
studios using FreeBSD, so it's very likely that FreeBSD users seldom
spend that much money for cards, that ship with all kinds of audio
interfaces, that aren't needed for averaged audio usage.

I was a professional audio and video engineer, but for my home studio I
only bought a relatively cheap RME card, the HDSPe AIO.

http://www.rme-audio.de/en_products_hdspe_aio.php

It comes with stereo AD/DA converters only, every elCheapo on-board
audio device has got more AD/DA IOs. Costs around 500,- EUR / 650,- USD.
Other RME gear is much more expensive.

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Paul Kraus
On Dec 20, 2012, at 10:51 AM, Ralf Mardorf wrote:

> On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote:
>> I'd say: Use the source Luke. :-)
> 
> :)
> 
> Strange question: Is the FreeBSD handbook available as iBook?

You can get it as a PDF at 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ and you 
can then view that on your iPad. Look for the Bookshelf or some such, I use an 
iPod Touch and while similar, they are not identical to the iPad.

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Ralf Mardorf
On Thu, 2012-12-20 at 05:29 +0100, Polytropon wrote:
> I'd say: Use the source Luke. :-)

:)

Strange question: Is the FreeBSD handbook available as iBook?

At the moment I've got plenty of time, unfortunately not in front of my
desktop computer. Some time ago I won an iPad2, it's a dust catcher,
nice hardware, but odd software. I wonder if its possible to use it as a
reader. The problem is, that I can't connect the iPad to the Internet
and using iTunes (a disgusting application) in a virtual machine until
now I'm only able to use iBooks, but I don't know how to transmit plain
txt, pdf, html or what ever from the PC to the iPad.

If somebody should know how I can get the FreeBSD handbook on my iPad
that would be a help, so I could spend more time in reading how to
handle FreeBSD.

On VirtualBox (it doesn't work with wine) I run Win XP + iTunes and I
connect the PC and iPad by USB. No jailbreake, but if it would help I
would jailbraeke it. I tried to set up Linux to do ad-hoc by an USB WiFi
stick, but it never worked.

It would be nice to run Linux or FreeBSD on the iPad ;).

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-20 Thread Erich Dollansky
Hi,

On Thu, 20 Dec 2012 05:13:39 +0100
Ralf Mardorf  wrote:

> ok, so "FreeBSD release" is the version of the kernel and not a
> labelling for the collection of all the software.

yes. It is even so that the ports work on all 'current' FreeBSD
versions but not the packages. With other words, you will download
always the same source files for 7.4, 8.3, 9.0, 9.1 and 10.0 but
compile it then for your version.
> 
> For Linux major distros there usually is a labelling for the
> collection of the software, independent of the kernel version.
> 
> On Linux I usually install binaries for the base system and desktop
> environment, but for important software, in my case it's audio,
> compiling from source is very important.
> 
This does not really matter here. It is only that you might do not have
the options compiled in you will need when using the binary.

> The author of the snd_hdspe driver for FreeBSD seems to need testers.

I never have heard of this driver.

> It seems to be that nobody ever tested if ADAT is working and I'll
> test it. OTOH I suspect bug fixes for the driver have to be added by
> recompiling the kernel or at least the driver for the kernel, so I
> still could use binaries for the applications.

Using sources for the kernel is then the way to go. Binaries could work
if the required options are compiled in.

You can mix binaries and source within the applications. I do this all
the while. I install very often the binary and compile later from
sources.

> 
> Since audio on FreeBSD seems to be a niche, I wonder if it's more
> promising, to go the source or to go the binary rout.

Source is the more promissing route here as niches are not supported by
default. There are some rare cases in which options exclude each other.
So, if you have strange hardware, source is the only route.
> 
> I suspect if it's impossible or at least less good to mix binaries and
> from source build software for FreeBSD, I should chose to build from
> source.

You can mix. If it works, it works. If not, it is most likely an option
not compiled in you would need.

Erich
___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Polytropon
On Thu, 20 Dec 2012 05:13:39 +0100, Ralf Mardorf wrote:
> Thank you Erich :)
> 
> ok, so "FreeBSD release" is the version of the kernel and not a
> labelling for the collection of all the software.

No. The version specification refers to the version of the
kernel _and_ the operating system (which form a unit maintained
by the FreeBSD team). Those typically have to be in sync.
Depending on what branch you follow, this can be:

a) a static release number, e. g. 8.2-RELEASE

b) a release, enriched by security updates, e. g. 8.2-RELEASE-p2

c) a stable version, e. g. 8-STABLE of a specific date
   (this is "work in progress" that has been considered working)

d) a development version, e. g. 10-CURRENT
   (this may or _may not_ even compile, it's experimental)

Depending on what branch you follow, updating techniques may
differ: freebsd-update (the binary way) can be used for a) and
b); for c) and d) you update from source.



> For Linux major distros there usually is a labelling for the collection
> of the software, independent of the kernel version.

Linux doesn't know the differentiation between "the operating
system" (consisting of the OS kernel and the OS programs, the
"world" in FreeBSD terminology) and "everything else" (third
party contributed applications, in FreeBSD provided by the
ports collection).




> On Linux I usually install binaries for the base system and desktop
> environment, but for important software, in my case it's audio,
> compiling from source is very important.

The ports collection allows both binary installation and by source.
There are tools that help managing them.

Note that unlike Linux, FreeBSD draws a line between "the OS"
and "installed applications" - you need to install and update
them separately. This is a big benefit as a failed program
installation can never harm your OS.



> The author of the snd_hdspe driver for FreeBSD seems to need testers. It
> seems to be that nobody ever tested if ADAT is working and I'll test it.
> OTOH I suspect bug fixes for the driver have to be added by recompiling
> the kernel or at least the driver for the kernel, so I still could use
> binaries for the applications.

Of course. The separation I've mentioned explicitely allows this
method to function. What you need to do is to update your sources
in /usr/src and then recompile the kernel and, if required, the
world, as explained in /usr/src/Makefile's comment header.



> Since audio on FreeBSD seems to be a niche, I wonder if it's more
> promising, to go the source or to go the binary rout.

I'd say: Use the source Luke. :-)

Experimental changes and "bleeding edge updates" are typically a
domain of source installations. With svn you can track smallest
changes very quickly, apply them to your system and have a test
run. Doesn't work? Undo the change, or wait for a new version.



> I suspect if it's impossible or at least less good to mix binaries and
> from source build software for FreeBSD, I should chose to build from
> source.

Basically there is no problem. One thing you have to pay attention
to is dependency versions, but that's what port management tools
like portmaster can do for you.




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


Re: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Ralf Mardorf
Thank you Erich :)

ok, so "FreeBSD release" is the version of the kernel and not a
labelling for the collection of all the software.

For Linux major distros there usually is a labelling for the collection
of the software, independent of the kernel version.

On Linux I usually install binaries for the base system and desktop
environment, but for important software, in my case it's audio,
compiling from source is very important.

The author of the snd_hdspe driver for FreeBSD seems to need testers. It
seems to be that nobody ever tested if ADAT is working and I'll test it.
OTOH I suspect bug fixes for the driver have to be added by recompiling
the kernel or at least the driver for the kernel, so I still could use
binaries for the applications.

Since audio on FreeBSD seems to be a niche, I wonder if it's more
promising, to go the source or to go the binary rout.

I suspect if it's impossible or at least less good to mix binaries and
from source build software for FreeBSD, I should chose to build from
source.

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Erich Dollansky
Hi,

On Wed, 19 Dec 2012 18:09:16 +0100
Ralf Mardorf  wrote:

> On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote:
> > You may also use at your discretion the portmaster tool?  It works
> > very well and a nice example is given by W. Block:
> > 
> > http://www.wonkity.com/~wblock/docs/html/portupgrade.html
> 
> Thank you Antonio :)
> 
> because I can't install FreeBSD by the 9.0 DVD, for what reason ever
> this doesn't work, I installed it by the 8.3 DVD and will now make a
> release upgrade. IIUC a release upgrade will rebuild everything, hence

one way was already shown to you. The other route would lead you via
the sources. I prefer the sources over the binary upgrade.

If the new kernel will not boot, you can boot the old kernel which will
then be under kernel.old.

> there should be no dependency issues. My FreeBSD 8.3 is a fresh

Dependencies come in when it comes to ports. I would like to suggest
the you first make a decision whether you want the ports as binaries or
via source. Both routes work. Only the sources allow you to specify
options.

I would also recommend to download first the sources or the binaries
and start the upgrade only after all files are downloaded. As you
already know, portupgrade is the tool of choice here.

If you have problems with 9.1, you might consider a move to 10. I have
done this too for the same reason when I got a new machine which has
had problems with 9.0. 10.0 is not recommended for production. Me and
many other still do this. You might will run occassionally into
problems. So, think twice before doing this.

> install, I only set up PPPoE, anything else is default.
> IIUC I need to take care about it to keep dependencies up to date,
> when I don't upgrade the complete release, but just upgrade some
> software.
> 
> So, can I upgrade from 8.3 to 9.0, without taking care about
> dependencies and take care about the link, when 9.0 is installed,
> instead of doing it right now?
> 
FreeBSD and the ports have 'nothing' to do with each other. You have to
upgrade FreeBSD first and then upgrade the ports. Most likely, all
applications will continue to work without upgrade. If I remember
right, even after an upgrade from 8.3 to 10.0 on one of my machines,
all applications continued to work. I still upgraded them as fast as
possible.

> My apologize for the terrible English, I'm in a hurry, but wanted to
> rely immediately and this makes broken English not better ;).

Do not worry about this here. I think, while you have been pretty clear
on the rest, the last line does not make real sense to me.

Erich
___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Antonio Olivares
Ralf,

On Wed, Dec 19, 2012 at 11:09 AM, Ralf Mardorf
 wrote:
> On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote:
>> You may also use at your discretion the portmaster tool?  It works
>> very well and a nice example is given by W. Block:
>>
>> http://www.wonkity.com/~wblock/docs/html/portupgrade.html
>
> Thank you Antonio :)
>
> because I can't install FreeBSD by the 9.0 DVD, for what reason ever
> this doesn't work, I installed it by the 8.3 DVD and will now make a
> release upgrade. IIUC a release upgrade will rebuild everything, hence
> there should be no dependency issues. My FreeBSD 8.3 is a fresh install,
> I only set up PPPoE, anything else is default.
> IIUC I need to take care about it to keep dependencies up to date, when
> I don't upgrade the complete release, but just upgrade some software.
>
> So, can I upgrade from 8.3 to 9.0, without taking care about
> dependencies and take care about the link, when 9.0 is installed,
> instead of doing it right now?

Yes, you can do it.
You can update to 9.0 with freebsd-update tool and then
install/reinstall the ports.

# freebsd-update -r 9.1-RELEASE
or
#  freebsd-update -r 9.0-RELEASE
in case that 9.1 is not there yet*?  then run

# freebsd-update fetch

# freebsd-update install

to get security updates as is documented :

http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html

This should work well to get newer RELEASE, but some ports may be
needed to be rebuilt/reinstalled.

Hope this helps,


Antonio


>
> My apologize for the terrible English, I'm in a hurry, but wanted to
> rely immediately and this makes broken English not better ;).
>
> Regards,
> Ralf
>
> ___
> 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"
___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Ralf Mardorf
On Wed, 2012-12-19 at 10:14 -0600, Antonio Olivares wrote:
> You may also use at your discretion the portmaster tool?  It works
> very well and a nice example is given by W. Block:
> 
> http://www.wonkity.com/~wblock/docs/html/portupgrade.html

Thank you Antonio :)

because I can't install FreeBSD by the 9.0 DVD, for what reason ever
this doesn't work, I installed it by the 8.3 DVD and will now make a
release upgrade. IIUC a release upgrade will rebuild everything, hence
there should be no dependency issues. My FreeBSD 8.3 is a fresh install,
I only set up PPPoE, anything else is default.
IIUC I need to take care about it to keep dependencies up to date, when
I don't upgrade the complete release, but just upgrade some software.

So, can I upgrade from 8.3 to 9.0, without taking care about
dependencies and take care about the link, when 9.0 is installed,
instead of doing it right now?

My apologize for the terrible English, I'm in a hurry, but wanted to
rely immediately and this makes broken English not better ;).

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Antonio Olivares
Ralf,

On Wed, Dec 19, 2012 at 10:04 AM, Ralf Mardorf
 wrote:
> Hi :)
>
> this isn't a request, just a note about the handbook, from the point of
> view a newbie has got.
>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>
> "We also assume that you have already obtained the sources to a newer
> system. If the sources available on the particular system are old too,
> see Section 25.6 for detailed help about synchronizing them to a newer
> version."
>
> I know svn from Linux, but I don't know what I should update using
> svn ;). Yes, the ports, but to get knowledge were the ports are, I have
> to google ;). This howto is more confusing for a newbie and seems to
> need more reboots, so I started with
>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
>
> but it's not described how to do the following:
> "Note that setting the BATCH environment variable to yes will answer yes
> to any prompts during this process, removing the need for manual
> intervention during the build process."
>
> regarding to google it's "env BATCH=yes", I'll test it next time I'll
> reboot into FreeBSD.
>
> Another issue is, that the portupgrade command isn't found.

Check in /usr/ports/ports-mgmt/ directory:

Become super user,
$ su -
passwd:
then as super user:
# cd /usr/ports/ports-mgmt/portupgrade
then from that directory
# make install clean

and you should have the portugrade command :)

You may also use at your discretion the portmaster tool?  It works
very well and a nice example is given by W. Block:

http://www.wonkity.com/~wblock/docs/html/portupgrade.html


Best Regards,


Antonio


>
> However, pppoe does work, but using vi never is fun for me :).
>
> I guess I'll read how to install software, IOW how to install
> portupgrade and continue with the portupgrade method ASAP, later today,
> or tomorrow.
>
> Regards,
> Ralf
>
> ___
> 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"
___
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: Upgrading FreeBSD 8.3 amd64

2012-12-19 Thread Ralf Mardorf
Hi :)

this isn't a request, just a note about the handbook, from the point of
view a newbie has got.

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

"We also assume that you have already obtained the sources to a newer
system. If the sources available on the particular system are old too,
see Section 25.6 for detailed help about synchronizing them to a newer
version."

I know svn from Linux, but I don't know what I should update using
svn ;). Yes, the ports, but to get knowledge were the ports are, I have
to google ;). This howto is more confusing for a newbie and seems to
need more reboots, so I started with

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

but it's not described how to do the following:
"Note that setting the BATCH environment variable to yes will answer yes
to any prompts during this process, removing the need for manual
intervention during the build process."

regarding to google it's "env BATCH=yes", I'll test it next time I'll
reboot into FreeBSD.

Another issue is, that the portupgrade command isn't found.

However, pppoe does work, but using vi never is fun for me :).

I guess I'll read how to install software, IOW how to install
portupgrade and continue with the portupgrade method ASAP, later today,
or tomorrow.

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-18 Thread Polytropon
On Tue, 18 Dec 2012 18:54:29 +0100, Ralf Mardorf wrote:
> On Tue, 2012-12-18 at 18:42 +0100, Ralf Mardorf wrote:
> > I want to test snd_hdspe. How can I upgrade from 8.2 to a version
>   ^^^8.3
> > including the driver or something similar to get the driver?
> > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if
> > IIUC I need >= 9.0.
> 
> I'll read
> http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
> can I assume that because I didn't install or updated and configured
> anything until now, there won't be issues for a version upgrade, if I
> only configure PPPoE, followed by a release upgrade and after that I'll
> install software and set up FreeBSD completely?

Sounds like a valid approach. I've been doing this many times,
i. e. first install base system from installation media without
additional packages, setup networking (PPPoE in former times,
DHCP today), then update the system to the desired version or
branch (e. g. -STABLE via source), and then start installing
the applications from ports (also updated).



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


Re: Upgrading FreeBSD 8.3 amd64

2012-12-18 Thread Ralf Mardorf
On Tue, 2012-12-18 at 18:57 +0100, Polytropon wrote:
> On Tue, 18 Dec 2012 18:42:41 +0100, Ralf Mardorf wrote:
> > I want to test snd_hdspe. How can I upgrade from 8.2 to a version
> > including the driver or something similar to get the driver?
> > Btw. I didn't test, if the driver is part of 8.3 until now :D, but if
> > IIUC I need >= 9.0.
> 
> It would probably be the easiest way to update your source tree
> (using svn as this is the default method today) and re-install
> from that. I'm not sure freebsd-update can cross the "major
> version border" without trouble (never tried).
> 
> See 25.7 for details:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
> 
> But also note that freebsd-update supports a -r  option
> as explained in 25.2.3:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
> 
> But as I said, I've never personally tried that.
> 
> This approach keeps all your partition settings and doesn't require
> any other work to be done on that level.

Thank you :)

I'll read and test it later.

Regards,
Ralf

___
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: Upgrading FreeBSD 8.3 amd64

2012-12-18 Thread Polytropon
On Tue, 18 Dec 2012 18:42:41 +0100, Ralf Mardorf wrote:
> I want to test snd_hdspe. How can I upgrade from 8.2 to a version
> including the driver or something similar to get the driver?
> Btw. I didn't test, if the driver is part of 8.3 until now :D, but if
> IIUC I need >= 9.0.

It would probably be the easiest way to update your source tree
(using svn as this is the default method today) and re-install
from that. I'm not sure freebsd-update can cross the "major
version border" without trouble (never tried).

See 25.7 for details:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

But also note that freebsd-update supports a -r  option
as explained in 25.2.3:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

But as I said, I've never personally tried that.

This approach keeps all your partition settings and doesn't require
any other work to be done on that level.


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


Re: Upgrading FreeBSD 8.3 amd64

2012-12-18 Thread Ralf Mardorf
On Tue, 2012-12-18 at 18:42 +0100, Ralf Mardorf wrote:
> I want to test snd_hdspe. How can I upgrade from 8.2 to a version
  ^^^8.3
> including the driver or something similar to get the driver?
> Btw. I didn't test, if the driver is part of 8.3 until now :D, but if
> IIUC I need >= 9.0.

I'll read
http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
can I assume that because I didn't install or updated and configured
anything until now, there won't be issues for a version upgrade, if I
only configure PPPoE, followed by a release upgrade and after that I'll
install software and set up FreeBSD completely?

___
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: Upgrading Using "FreeBSD Update"

2012-11-06 Thread Jinsong Zhao

Hi,

>> My questions is: how to rebuild all third-party applications? I have
>> kept the ports tree up to date using
>> # portsnap fetch update
>> and
>> # portmaster -Ga
>> every day.
>> ...
>
> I would advise you to drop -G option and use these entries:
> # portsnap fetch update
> # portmaster -f portmaster
> # portmaster -a -f
>
> Ref: PORTMASTER(8) Examples.
> jb

Thank you very much for your reply and the Ref to PORTMASTER(8). The 
last example in the man page may be what I want during the upgrade to 
FreeBSD 9.0-RELEASE.


Regards,
Jinsong
___
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: Upgrading Using "FreeBSD Update"

2012-11-06 Thread jb
Jinsong Zhao  yeah.net> writes:

> ... 
> My questions is: how to rebuild all third-party applications? I have 
> kept the ports tree up to date using
> # portsnap fetch update
> and
> # portmaster -Ga
> every day.
> ...

I would advise you to drop -G option and use these entries:
# portsnap fetch update
# portmaster -f portmaster 
# portmaster -a -f

Ref: PORTMASTER(8) Examples.
jb




___
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: Upgrading 9.1-BETA1 -> 9.1-RC1

2012-08-31 Thread lokada...@gmx.de

On 08/31/12 01:17, warchild wrote:

Hi

That is wrong, this worked for me on one of my servers since I did it
straight away (as soon as I saw the release for rc1.


FreeBSD warsol 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


that was beta1, and I used freebsd-update to upgrade it!

Now, on another server i would like to do I have the same error as the OP.

Go to: http://update3.freebsd.org/

Simple put, someone has deleted the whole BETA1 directory/brach!? WHY!?

is there another way we can accept the key. or is that data needed.. Can
we get the branch restored? It does work. Rebuilding world is so painful.

thanks



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Upgrading-9-1-BETA1-9-1-RC1-tp5737452p5739453.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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"


There is a stupid way to upgrade FreeBSD:
http://forums.freebsd.org/archive/index.php/t-1280.html
% su
# env UNAME_r=7.1-PRERELEASE freebsd-update upgrade -r 7.1

i use
# env UNAME_r=8.2 freebsd-update upgrade -r 9.1-RC1
But it doesn't help me with "tool [", so i can't update with csup. :(

Greetings
___
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: Upgrading 9.1-BETA1 -> 9.1-RC1

2012-08-30 Thread warchild
Hi

That is wrong, this worked for me on one of my servers since I did it
straight away (as soon as I saw the release for rc1.


FreeBSD warsol 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


that was beta1, and I used freebsd-update to upgrade it!

Now, on another server i would like to do I have the same error as the OP.

Go to: http://update3.freebsd.org/

Simple put, someone has deleted the whole BETA1 directory/brach!? WHY!?

is there another way we can accept the key. or is that data needed.. Can
we get the branch restored? It does work. Rebuilding world is so painful.

thanks



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Upgrading-9-1-BETA1-9-1-RC1-tp5737452p5739453.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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: Upgrading perl

2012-08-29 Thread Jack Stone

On 8/29/2012 1:32 PM, Lowell Gilbert wrote:

Jack Stone  writes:


Actually, on other servers with the same upgrading needs, perl-5.12
installed without any issue. My intention is to upgrade perl in
increments to get well past EOL.

You're somewhat on your own, then; I can't test any of my ideas before
suggesting them to you.


Wonder if I just deinstalled the old perl5-5.10 and then installed the
perl5-12 would work. I can do that right from the port: make perl5-12
first to see if that works, then:
# make deinstall (perl-5.10) then: make install clean

I would be surprised if the perl-5.12 port will build for you; I think
you'll get the same error. If not, then yes, it should work.


What do you think? I've got to move up because an important perl
program requires a minimum 5.12.

Well, it's also possible that there's a local problem on that
machine. You indicated that you used portupgrade for similar updates on
similarly-aged machines, but I'll guess that they were only roughly
similar. I'll guess that you built your own INDEX file; if not, you
probably should (and the associated database for portupgrade). Compare
the infrastructure in ports/Mk (and maybe /usr/share/mk) with the
similar machines that succeeded, and look at the Makefile in perl5.12 to
make sure it sets options properly.

Good luck.



AHAH! This just came out in ports UPDATING and maybe helps:
20120820:
  AFFECTS: users of ports-mgmt/portupgrade-devel
  AUTHOR:  bdrew...@freebsd.org

  Due to a bug introduced in 20120601, portupgrade is unable to
  upgrade itself on FreeBSD 7.x. This has been fixed in 20120820.
  ports-mgmt/portupgrade is not affected. To upgrade, execute the 
following:


  # cd /usr/ports/ports-mgmt/portupgrade-devel && make deinstall 
install clean


--
--
All the best,
Jack

___
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: Upgrading perl

2012-08-29 Thread Jack Stone

On 8/29/2012 1:32 PM, Lowell Gilbert wrote:

Jack Stone  writes:


Actually, on other servers with the same upgrading needs, perl-5.12
installed without any issue. My intention is to upgrade perl in
increments to get well past EOL.

You're somewhat on your own, then; I can't test any of my ideas before
suggesting them to you.


Wonder if I just deinstalled the old perl5-5.10 and then installed the
perl5-12 would work. I can do that right from the port: make perl5-12
first to see if that works, then:
# make deinstall (perl-5.10) then: make install clean

I would be surprised if the perl-5.12 port will build for you; I think
you'll get the same error. If not, then yes, it should work.


What do you think? I've got to move up because an important perl
program requires a minimum 5.12.

Well, it's also possible that there's a local problem on that
machine. You indicated that you used portupgrade for similar updates on
similarly-aged machines, but I'll guess that they were only roughly
similar. I'll guess that you built your own INDEX file; if not, you
probably should (and the associated database for portupgrade). Compare
the infrastructure in ports/Mk (and maybe /usr/share/mk) with the
similar machines that succeeded, and look at the Makefile in perl5.12 to
make sure it sets options properly.

Good luck.



Hi Lowell and thanks for the good wishes!

Yes, on the other servers which upgraded without issue are running the 
same freebsd-7.x, and the make files are identical for the perl-5.12.


I just now ran a test on a test server of same vintage and it did 
build directly in the port just using "make" to see if it would work. 
It did. The trick is to DISABLE_CONFLICTS=YES in the /etc/make.conf. 
This still doesn't mean the important production server will 
cooperatebut will have to take a risk and try it. That server has a 
bootable clone that is run every day so I can rescue the server. I 
will just to make a fresh clone right before I try the perl upgradeso 
to minimize any loss of data.


 -- All the best, Jack
___
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: Upgrading perl

2012-08-29 Thread Lowell Gilbert
Jack Stone  writes:

> Actually, on other servers with the same upgrading needs, perl-5.12
> installed without any issue. My intention is to upgrade perl in
> increments to get well past EOL.

You're somewhat on your own, then; I can't test any of my ideas before
suggesting them to you. 

> Wonder if I just deinstalled the old perl5-5.10 and then installed the
> perl5-12 would work. I can do that right from the port: make perl5-12
> first to see if that works, then:
> # make deinstall (perl-5.10) then: make install clean

I would be surprised if the perl-5.12 port will build for you; I think
you'll get the same error. If not, then yes, it should work.

> What do you think? I've got to move up because an important perl
> program requires a minimum 5.12.

Well, it's also possible that there's a local problem on that
machine. You indicated that you used portupgrade for similar updates on
similarly-aged machines, but I'll guess that they were only roughly
similar. I'll guess that you built your own INDEX file; if not, you
probably should (and the associated database for portupgrade). Compare
the infrastructure in ports/Mk (and maybe /usr/share/mk) with the
similar machines that succeeded, and look at the Makefile in perl5.12 to
make sure it sets options properly.

Good luck.
___
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: Upgrading perl

2012-08-29 Thread David Newman
On 8/29/12 10:59 AM, David Newman wrote:
> On 8/29/12 8:08 AM, Jack Stone wrote:
>> On 8/29/2012 8:27 AM, Lowell Gilbert wrote:
>>> Jack Stone  writes:
>>>
 uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD
 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009

 Running perl5.10 (yeah, old!)
 This is a production server.


 Been playing catchup on ports including perl as UPDATING recommends:
 portupgrade -o lang/perl5.12 -f perl-5.10.\*

 That has worked on other servers, but not this one. Anyone know what I
 need to do to clean this up??

 But, can't get past this fatal error:
 mail# portupgrade -o lang/perl5.12 -f perl-5.10.\*
 "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
 specification: "WITHOUT_"
 "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
 specification: "WITHOUT_"
 make: fatal errors encountered -- cannot continue
 ** Makefile possibly broken: lang/perl5.12:
>>> You're almost four years past the end-of-life on the release you're
>>> running, so it's been left behind in terms of support. In this case it
>>> looks (based on a *very* quick look) that you may be running into
>>> changes in how make(1) actually works, in which case backporting the
>>> ports functionality will be more work than it's worth.
>>>
>>> If the machine "can't" be updated, and assuming it's secure (which hard
>>> to be sure about with old software on the Internet), you may be best off
>>> leaving it alone.
>>>
>>> Good luck.
>>>
>>>
>> Thanks for the reply.
>>
>> Actually, on other servers with the same upgrading needs, perl-5.12
>> installed without any issue. My intention is to upgrade perl in
>> increments to get well past EOL.
>>
>> Wonder if I just deinstalled the old perl5-5.10 and then installed the
>> perl5-12 would work. I can do that right from the port: make perl5-12
>> first to see if that works, then:
>> # make deinstall (perl-5.10) then: make install clean
> 
> If you're using portmaster, you should be able to do something like the
> following from /usr/ports:
> 
>   portmaster -o lang/perl5.16 lang/perl5.10
>   portmaster p5-
> 
> and perl automagically will upgrade.

Sorry, I'd missed that you'd tried this and it isn't working.

make has changed since the 7.0 days. I agree with Jack that you're
better off leaving well enough alone. If you really need perl5.16+
capabilities you're much better off moving your program to a more recent
version of FreeBSD.

dn


> 
> This is from /usr/ports/UPDATING. You can also find instructions for
> portupgrade there.
> 
> Don't know about dependencies with 7.0, though.
> 
> dn
> 
> 
>>
>> What do you think? I've got to move up because an important perl program
>> requires a minimum 5.12.
> 
> 
> 
>>
> 
> ___
> 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"
> 

___
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: Upgrading perl

2012-08-29 Thread David Newman
On 8/29/12 8:08 AM, Jack Stone wrote:
> On 8/29/2012 8:27 AM, Lowell Gilbert wrote:
>> Jack Stone  writes:
>>
>>> uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD
>>> 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009
>>>
>>> Running perl5.10 (yeah, old!)
>>> This is a production server.
>>>
>>>
>>> Been playing catchup on ports including perl as UPDATING recommends:
>>> portupgrade -o lang/perl5.12 -f perl-5.10.\*
>>>
>>> That has worked on other servers, but not this one. Anyone know what I
>>> need to do to clean this up??
>>>
>>> But, can't get past this fatal error:
>>> mail# portupgrade -o lang/perl5.12 -f perl-5.10.\*
>>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
>>> specification: "WITHOUT_"
>>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
>>> specification: "WITHOUT_"
>>> make: fatal errors encountered -- cannot continue
>>> ** Makefile possibly broken: lang/perl5.12:
>> You're almost four years past the end-of-life on the release you're
>> running, so it's been left behind in terms of support. In this case it
>> looks (based on a *very* quick look) that you may be running into
>> changes in how make(1) actually works, in which case backporting the
>> ports functionality will be more work than it's worth.
>>
>> If the machine "can't" be updated, and assuming it's secure (which hard
>> to be sure about with old software on the Internet), you may be best off
>> leaving it alone.
>>
>> Good luck.
>>
>>
> Thanks for the reply.
> 
> Actually, on other servers with the same upgrading needs, perl-5.12
> installed without any issue. My intention is to upgrade perl in
> increments to get well past EOL.
> 
> Wonder if I just deinstalled the old perl5-5.10 and then installed the
> perl5-12 would work. I can do that right from the port: make perl5-12
> first to see if that works, then:
> # make deinstall (perl-5.10) then: make install clean

If you're using portmaster, you should be able to do something like the
following from /usr/ports:

  portmaster -o lang/perl5.16 lang/perl5.10
  portmaster p5-

and perl automagically will upgrade.

This is from /usr/ports/UPDATING. You can also find instructions for
portupgrade there.

Don't know about dependencies with 7.0, though.

dn


> 
> What do you think? I've got to move up because an important perl program
> requires a minimum 5.12.



> 

___
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: Upgrading perl

2012-08-29 Thread Jack Stone

On 8/29/2012 8:27 AM, Lowell Gilbert wrote:

Jack Stone  writes:


uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD
7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009

Running perl5.10 (yeah, old!)
This is a production server.


Been playing catchup on ports including perl as UPDATING recommends:
portupgrade -o lang/perl5.12 -f perl-5.10.\*

That has worked on other servers, but not this one. Anyone know what I
need to do to clean this up??

But, can't get past this fatal error:
mail# portupgrade -o lang/perl5.12 -f perl-5.10.\*
"/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
specification: "WITHOUT_"
"/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
specification: "WITHOUT_"
make: fatal errors encountered -- cannot continue
** Makefile possibly broken: lang/perl5.12:

You're almost four years past the end-of-life on the release you're
running, so it's been left behind in terms of support. In this case it
looks (based on a *very* quick look) that you may be running into
changes in how make(1) actually works, in which case backporting the
ports functionality will be more work than it's worth.

If the machine "can't" be updated, and assuming it's secure (which hard
to be sure about with old software on the Internet), you may be best off
leaving it alone.

Good luck.



Thanks for the reply.

Actually, on other servers with the same upgrading needs, perl-5.12 
installed without any issue. My intention is to upgrade perl in 
increments to get well past EOL.


Wonder if I just deinstalled the old perl5-5.10 and then installed the 
perl5-12 would work. I can do that right from the port: make perl5-12 
first to see if that works, then:

# make deinstall (perl-5.10) then: make install clean

What do you think? I've got to move up because an important perl 
program requires a minimum 5.12.


--
--
All the best,
Jack

___
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: Upgrading perl

2012-08-29 Thread Lowell Gilbert
Jack Stone  writes:

> uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD
> 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009
>
> Running perl5.10 (yeah, old!)
> This is a production server.
>
>
> Been playing catchup on ports including perl as UPDATING recommends:
> portupgrade -o lang/perl5.12 -f perl-5.10.\*
>
> That has worked on other servers, but not this one. Anyone know what I
> need to do to clean this up??
>
> But, can't get past this fatal error:
> mail# portupgrade -o lang/perl5.12 -f perl-5.10.\*
> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
> specification: "WITHOUT_"
> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive
> specification: "WITHOUT_"
> make: fatal errors encountered -- cannot continue
> ** Makefile possibly broken: lang/perl5.12:

You're almost four years past the end-of-life on the release you're
running, so it's been left behind in terms of support. In this case it
looks (based on a *very* quick look) that you may be running into
changes in how make(1) actually works, in which case backporting the
ports functionality will be more work than it's worth.

If the machine "can't" be updated, and assuming it's secure (which hard
to be sure about with old software on the Internet), you may be best off
leaving it alone.

Good luck.
___
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: Upgrading 9.1-BETA1 -> 9.1-RC1

2012-08-25 Thread Jamie Paul Griffin
[ Thomas Mueller wrote on Sat 25.Aug'12 at  2:51:38 -0400 ]

> from Maarten Billemont :
> 
> > I've installed a FreeBSD server using the BETA1 release because RC1 was 
> > delayed.  I notice the 9.1-RC1 is available now, so I thought I'd upgrade 
> > ASAP.
> 
> > The following command, however, fails me:
> 
> > freebsd-update -r 9.1-RC1 upgrade
> > Looking up update.FreeBSD.org mirrors... 3 mirrors found.
> > Fetching metadata signature for 9.1-BETA1 from update4.FreeBSD.org... 
> > failed.
> > Fetching metadata signature for 9.1-BETA1 from update3.FreeBSD.org... 
> > failed.
> > Fetching metadata signature for 9.1-BETA1 from update5.FreeBSD.org... 
> > failed.
> > No mirrors remaining, giving up.
> 
> > Upon inspection of the code, it appears BETA1's ssl.pub cannot be found at 
> > any of the mirrors, and as such the process aborts.
> 
> > The release notes for RC1 specifically mention freebsd-update.
> 
> > How do I perform a correct update to RC1, and why is the freebsd-update 
> > flow failing me or not supported?
> 
> > Thanks!
> 
> I believe freebsd-update only works, to and from, on supported releases; this 
> would not include betas.
> 
> Tom

I built it from sources yesterday using the stable-supfile and csup. I've had 
no issues using that method. It took a heck of a long time to compile world 
though, ~2-3 hours in single user mode with -j5 option to make(1)
___
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: Upgrading 9.1-BETA1 -> 9.1-RC1

2012-08-24 Thread Thomas Mueller
from Maarten Billemont :

> I've installed a FreeBSD server using the BETA1 release because RC1 was 
> delayed.  I notice the 9.1-RC1 is available now, so I thought I'd upgrade 
> ASAP.

> The following command, however, fails me:

> freebsd-update -r 9.1-RC1 upgrade
> Looking up update.FreeBSD.org mirrors... 3 mirrors found.
> Fetching metadata signature for 9.1-BETA1 from update4.FreeBSD.org... failed.
> Fetching metadata signature for 9.1-BETA1 from update3.FreeBSD.org... failed.
> Fetching metadata signature for 9.1-BETA1 from update5.FreeBSD.org... failed.
> No mirrors remaining, giving up.

> Upon inspection of the code, it appears BETA1's ssl.pub cannot be found at 
> any of the mirrors, and as such the process aborts.

> The release notes for RC1 specifically mention freebsd-update.

> How do I perform a correct update to RC1, and why is the freebsd-update flow 
> failing me or not supported?

> Thanks!

I believe freebsd-update only works, to and from, on supported releases; this 
would not include betas.

Tom
___
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: Upgrading libxul, dependency on Firefox 3

2011-10-22 Thread Joe Altman
On Sat, Oct 22, 2011 at 09:28:40PM +0200, Beat G?tzi wrote:
> On Oct 22, 2011, at 2:54 AM, Joe Altman wrote:
> > Greetings...
> > 
> > I was running portupgrade on libxul and noticed it depends on Firefox
> > 3.x. I cancelled the upgrade, because I thought FF3.x was insecure and
> > therefore deprecated while FF7 was recommended and secure.
> > 
> > My questions:
> > 
> > 1) is the dependency libxul has for FF3 a security problem?
> 
> libxul doesn't depend on FF3. 

Got it. Thanks, and best regards,

Joe
___
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: Upgrading libxul, dependency on Firefox 3

2011-10-22 Thread Beat Gätzi
On Oct 22, 2011, at 2:54 AM, Joe Altman wrote:
> Greetings...
> 
> I was running portupgrade on libxul and noticed it depends on Firefox
> 3.x. I cancelled the upgrade, because I thought FF3.x was insecure and
> therefore deprecated while FF7 was recommended and secure.
> 
> My questions:
> 
> 1) is the dependency libxul has for FF3 a security problem?

libxul doesn't depend on FF3. We just use the FF3.6 source tarball
to build xulrunner (libxul) as upstream no longer provides tarballs
for the latest xulrunner 1.9.2.x releases. Nevertheless FF3.6 is still
supported upstream and security problems get fixed regularly during
the normal Mozilla release cycle.

> 2) is the dependency on FF3 a bug in libxul? If it is a bug, who
>   should receive a report: gecko@ or the Mozilla project?

There is no FF3 dependency in libxul.

HTH,
Beat

> FYI: I'm pretty sure it was portsclean -D (and not me) that deleted
> FF3...yet libxul tried to pull it in during the portupgrade.
> 
> Best regards,
> 
> Joe
> ___
> 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"

___
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: Upgrading libxul, dependency on Firefox 3

2011-10-22 Thread Jerry
On Sat, 22 Oct 2011 12:45:11 +0200
Polytropon articulated:

> I'm not sure if it still applies, but in earlier Firefox
> version transitions (and the consideration of dependencies)
> some programs depending on libxul would install an outdated
> Firefox version. The solution has been WITH_GECKO=libxul in
> /etc/make.conf so only the current version of this library
> would have been installed in the end.

I haven't had that notation in my  file in ages and I
am not experiencing the problems that the OP is reporting. Perhaps if
the OP gave a fuller description of his system, and perhaps a perusal
of his  file a solution could be more readily deduced.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the "Reply-To" header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
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: Upgrading libxul, dependency on Firefox 3

2011-10-22 Thread Polytropon
On Sat, 22 Oct 2011 09:32:47 +0200, Eduardo Morras wrote:
> As far as i know, the libxul port is inside ff3. Installing libxul 
> doesn't install ff3, only libxul. Perhaps it's an old libxul and the 
> newr one is inside ff7, so libxul port should point there, don't know that.

I'm not sure if it still applies, but in earlier Firefox
version transitions (and the consideration of dependencies)
some programs depending on libxul would install an outdated
Firefox version. The solution has been WITH_GECKO=libxul in
/etc/make.conf so only the current version of this library
would have been installed in the end.


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


Re: Upgrading libxul, dependency on Firefox 3

2011-10-22 Thread Eduardo Morras

At 02:54 22/10/2011, Joe Altman wrote:

Greetings...

I was running portupgrade on libxul and noticed it depends on Firefox
3.x. I cancelled the upgrade, because I thought FF3.x was insecure and
therefore deprecated while FF7 was recommended and secure.

My questions:

1) is the dependency libxul has for FF3 a security problem?

2) is the dependency on FF3 a bug in libxul? If it is a bug, who
   should receive a report: gecko@ or the Mozilla project?

FYI: I'm pretty sure it was portsclean -D (and not me) that deleted
FF3...yet libxul tried to pull it in during the portupgrade.


As far as i know, the libxul port is inside ff3. Installing libxul 
doesn't install ff3, only libxul. Perhaps it's an old libxul and the 
newr one is inside ff7, so libxul port should point there, don't know that.



Best regards,

Joe
___
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"



___
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: Upgrading from 6.2-RELEASE?

2011-10-20 Thread Odhiambo Washington
On Wed, Oct 19, 2011 at 21:55, Kurt Buff  wrote:

> I have gotten custody of an old machine running the aforementioned,
> and it's in production. I can take it down for a couple of hours if
> necessary, but would prefer to have it down as little as possible.
>
> What are my options for getting it to a supported release - looking at
> the handbook it doesn't appear the the freebsd-update utility will
> work in this case, as it's not 6.3? Can I, for instance, boot from a
> CD of a supported version and do an upgrade, or am I stuck doing a
> download of sorce for 7.0-RELEASE, compiling that, and then an
> freebsd-update to 7.4?
>
>
You can ignore everything you have been told so far and head to
http://people.freebsd.org/~rse/upgrade/ and follow the procedures there, one
at a time, and you will be able to update your box all the way to FreeBSD
9.x !!
I have used them before to upgrade several boxes. I prompted RSE to write
the 8.x->9.x procedure and I tested it step by step and I am currently
running 9.0-BETA3 on one of my boxes:

[wash@jaribu ~]$ uname -a
FreeBSD jaribu.kictanet.or.ke 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Fri Oct  7
14:11:20 EAT 2011 r...@jaribu.kictanet.or.ke:/usr/obj/usr/src/sys/GW
  i386

So what you need is to upgrade to RELENG_6 first, using csup/cvsup, then
start the procedures of 6.x-7.x, 7.x->8.x and if you want, 8.x->9.x

Good luck!


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this 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: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Damien Fleuriot
On 19 Oct 2011, at 21:45, Kurt Buff  wrote:

> On Wed, Oct 19, 2011 at 12:03, Chuck Swiger  wrote:
>> On Oct 19, 2011, at 11:55 AM, Kurt Buff wrote:
>>> I have gotten custody of an old machine running the aforementioned,
>>> and it's in production. I can take it down for a couple of hours if
>>> necessary, but would prefer to have it down as little as possible.
>> 
>> The most straightforward solution would be to build out and validate a new 
>> system running FreeBSD-7.4 or 8.2, and drop it in place of the old box.  If 
>> all is good, decommission the old hardware.
> 
> I agree. I've already got a new VM started with 8.2. I'm trying to see
> if I can migrate the data to the new host, but it's not finished yet,
> and the old box's ports aren't functioning and can't be upgraded, so
> I'm stuck in a bit of a scramble.
> 
>>> What are my options for getting it to a supported release - looking at
>>> the handbook it doesn't appear the the freebsd-update utility will
>>> work in this case, as it's not 6.3? Can I, for instance, boot from a
>>> CD of a supported version and do an upgrade, or am I stuck doing a
>>> download of sorce for 7.0-RELEASE, compiling that, and then an
>>> freebsd-update to 7.4?
>> 
>> You can do either.  However, it's probably easier to just download and burn 
>> the 7.4 or 8.2 image, and do an upgrade directly than it would be do upgrade 
>> via source to 7.0-RELEASE and then try freebsd-update.
> 
> Gotta love conflicting answers from you and Adam
> 

I'll give you more conflict.


I'd do source upgrades from 6.2 -> 6.3 -> 7.0 -> 7.4 -> 8.0 -> 8.2
Or at the very least 6.2 -> 7.0 -> (8.0 ->) 8.2
The idea here is to get to the latest stable version of a branch, then hop to 
the lowest version of the next one, rince/repeat.

This way, imo, you update more progressively and bit by bit.

I wouldn't be confident doing for instance 6.2 -> 8.2

And I'd be even much less confident running binary upgrades or upgrades 
from CD.

I think a CD upgrade will not update your config files properly for instance.

You'll be missing new system accounts (like hast for example), you'll have 
extra init scripts lying around, you'll miss some, you'll miss stuff from 
periodic, startup script fixes...

Do not do a binary upgrade for major version hops.

Read UPDATING carefully and consider its contents take precedence over the 
website/handbook.___
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: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Kurt Buff
On Wed, Oct 19, 2011 at 12:49, Chuck Swiger  wrote:
> On Oct 19, 2011, at 12:45 PM, Kurt Buff wrote:
>>> You can do either.  However, it's probably easier to just download and burn 
>>> the 7.4 or 8.2 image, and do an upgrade directly than it would be do 
>>> upgrade via source to 7.0-RELEASE and then try freebsd-update.
>>
>> Gotta love conflicting answers from you and Adam
>
> Well, you did ask for opinions.  They tend to not be conflict-free :-)

Well, I *actually* asked for free technical assistance, but I know
that the same maxim applies. ;-o

> I haven't had problems doing a reinstall from a new ISO image to update a 
> FreeBSD box which was
> more than a major release out of date.  But, I was at pains to verify that I 
> had complete backups and
> time to rollback if needed, and I also made sure to rebuild all of the ports 
> after doing the OS reinstall/upgrade.

That is also definitely part of the plan...

>> I've got an ISO of 7.4. I think I'll do a dump of my data to a remote
>> machine, do the update, and see what that gets me.
>
> OK.

Thanks for your help!

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


Re: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Chuck Swiger
On Oct 19, 2011, at 12:45 PM, Kurt Buff wrote:
>> You can do either.  However, it's probably easier to just download and burn 
>> the 7.4 or 8.2 image, and do an upgrade directly than it would be do upgrade 
>> via source to 7.0-RELEASE and then try freebsd-update.
> 
> Gotta love conflicting answers from you and Adam

Well, you did ask for opinions.  They tend to not be conflict-free :-)

I haven't had problems doing a reinstall from a new ISO image to update a 
FreeBSD box which was more than a major release out of date.  But, I was at 
pains to verify that I had complete backups and time to rollback if needed, and 
I also made sure to rebuild all of the ports after doing the OS 
reinstall/upgrade.

> I've got an ISO of 7.4. I think I'll do a dump of my data to a remote
> machine, do the update, and see what that gets me.

OK.

Regards,
-- 
-Chuck

___
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: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Kurt Buff
On Wed, Oct 19, 2011 at 12:03, Chuck Swiger  wrote:
> On Oct 19, 2011, at 11:55 AM, Kurt Buff wrote:
>> I have gotten custody of an old machine running the aforementioned,
>> and it's in production. I can take it down for a couple of hours if
>> necessary, but would prefer to have it down as little as possible.
>
> The most straightforward solution would be to build out and validate a new 
> system running FreeBSD-7.4 or 8.2, and drop it in place of the old box.  If 
> all is good, decommission the old hardware.

I agree. I've already got a new VM started with 8.2. I'm trying to see
if I can migrate the data to the new host, but it's not finished yet,
and the old box's ports aren't functioning and can't be upgraded, so
I'm stuck in a bit of a scramble.

>> What are my options for getting it to a supported release - looking at
>> the handbook it doesn't appear the the freebsd-update utility will
>> work in this case, as it's not 6.3? Can I, for instance, boot from a
>> CD of a supported version and do an upgrade, or am I stuck doing a
>> download of sorce for 7.0-RELEASE, compiling that, and then an
>> freebsd-update to 7.4?
>
> You can do either.  However, it's probably easier to just download and burn 
> the 7.4 or 8.2 image, and do an upgrade directly than it would be do upgrade 
> via source to 7.0-RELEASE and then try freebsd-update.

Gotta love conflicting answers from you and Adam

I've got an ISO of 7.4. I think I'll do a dump of my data to a remote
machine, do the update, and see what that gets me.

Thanks,

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


Re: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Chuck Swiger
On Oct 19, 2011, at 11:55 AM, Kurt Buff wrote:
> I have gotten custody of an old machine running the aforementioned,
> and it's in production. I can take it down for a couple of hours if
> necessary, but would prefer to have it down as little as possible.

The most straightforward solution would be to build out and validate a new 
system running FreeBSD-7.4 or 8.2, and drop it in place of the old box.  If all 
is good, decommission the old hardware.

> What are my options for getting it to a supported release - looking at
> the handbook it doesn't appear the the freebsd-update utility will
> work in this case, as it's not 6.3? Can I, for instance, boot from a
> CD of a supported version and do an upgrade, or am I stuck doing a
> download of sorce for 7.0-RELEASE, compiling that, and then an
> freebsd-update to 7.4?

You can do either.  However, it's probably easier to just download and burn the 
7.4 or 8.2 image, and do an upgrade directly than it would be do upgrade via 
source to 7.0-RELEASE and then try freebsd-update.

Regards,
-- 
-Chuck

___
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: Upgrading from 6.2-RELEASE?

2011-10-19 Thread Adam Vande More
On Wed, Oct 19, 2011 at 1:55 PM, Kurt Buff  wrote:

> I have gotten custody of an old machine running the aforementioned,
> and it's in production. I can take it down for a couple of hours if
> necessary, but would prefer to have it down as little as possible.
>
> What are my options for getting it to a supported release - looking at
> the handbook it doesn't appear the the freebsd-update utility will
> work in this case, as it's not 6.3? Can I, for instance, boot from a
> CD of a supported version and do an upgrade, or am I stuck doing a
> download of sorce for 7.0-RELEASE, compiling that, and then an
> freebsd-update to 7.4?
>

You're probably best off to go 6.2 -> 6_3 then do your freebsd-update
stuff.  I don't think the upgrading from CD works -- at least I've heard
some horror stories.

-- 
Adam Vande More
___
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: Upgrading

2011-07-29 Thread Jerome Herman

On 07/29/11 11:15, Jeffrey Everling wrote:

Dear sir/madam

On my work I have a system which uses FreeBSD 6.3 as platform.
Now we want to upgrade to 8.2 but do we need to upgrade to 7.x first?
The update manual to 8.2 on the site does not mention 6.x


Hello,

Yes you definitely should upgrade to 7.x first.

Straight double upgrades can be very tricky.

The best approach would be to set-up another box directly in 8.2 and 
migrate users, data and daemons in a careful and progressive way.



If you cannot use another server for the migration, then you should :
- Read /usr/ports/UPGRADING carefully, same goes for /usr/ports/CHANGE.
- Backup your box
- Make sure  your box can reboot on its own and then upgrade the port 
tree and grab the latest version for all your ports
- Make sure your box still reboots and works fine and then backup again 
(on an new tape/different file)

- Upgrade to 7.X following the handbook
- Stay on 7.X for one month or two, just to make sure there are no 
problems with your 7.X install. Then backup again (you can overwrite one 
of the previous backup if you are short on space)

- Upgrade to 8.X following the handbook.

The way you are asking the question makes me think you are not very 
comfortable with FreeBSD,  which in turns makes me think there are two 
possibilities :
1 - You setup the 6.3 box yourself but for very simple tasks (like 
firewall and DNS, maybe a webserver and that is it)
2 - Someone else set-up the box ages ago, left the company (or got 
promoted out of IT) and you have been officially chosen to clean up.


In the later case it would be a good idea to make a longer post on this 
mailing list explaining the role of this server and the ports installed 
on it.


Regards
Jerome Herman


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

2011-07-29 Thread Polytropon
On Fri, 29 Jul 2011 11:15:54 +0200, Jeffrey Everling wrote:
> Dear sir/madam
> 
> On my work I have a system which uses FreeBSD 6.3 as platform.
> Now we want to upgrade to 8.2 but do we need to upgrade to 7.x first?
> The update manual to 8.2 on the site does not mention 6.x

Depends on HOW you want to upgrade.

For the "go through" way, I would suggest to upgrade
from 6 to 7, and from 7 to 8. If you can use binary
updates (freebsd-update), you can do that. This
way is often suggested.

In case you want to upgrade by source, either "go
through" as well as "go to" should be possible (e. g.
use CVS or any preferred means to get 8.2's sources,
then run the build and install process, and then
upgrade your installed ports).

However, if you _can_, you can do a "new install"
with 8.2. This means you first back up your settings
and user data (as you should already have a full
backup of the system before starting _any_ upgrade
work), then you install 8.2, for example from CD,
and you also remove all installed ports. Have a list
handy that states which ports you need, and after
you successfully installed 8.2, install those
ports "from scratch". After that, unload your user
data and make the neccessary changes to the system
and service configuration. Check everything (don't
"just copy" settings), as some changes might have
taken place.

(I've used the last way described personally.)



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


Re: Upgrading very old installation

2011-07-16 Thread krad
On 15 July 2011 22:12, Balázs Mátéffy  wrote:

> On 15 July 2011 22:46, Roland Smith  wrote:
>
> > On Fri, Jul 15, 2011 at 08:20:52AM -0400, Jaime Kikpole wrote:
> > > I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5
> > years.
> > >
> > > atlas:~>uname -mprs
> > > FreeBSD 6.4-RELEASE-p8 i386 i386
> >
> > > I've been using the cvsup/make method of upgrades for years and only
> > > used freebsd-upgrade once.  I'm not sure if either method can handle a
> > > 6.x to 8.x upgrade.
> >
> > They are tested for upgrading to the next major version. Who knows if it
> > will
> > work across two major versions? Personally I wouldn't want to be the one
> ot
> > try it out. :-)
> >
> > > I also have a bunch of ports in this server (e.g. apache, postfix,
> > > etc.)  Once the OS is updated, should I just portupgrade them all?
> >
> > Doesn't work reliably across major version updates. When updating to a
> > newer
> > major version, the best way is to delete all ports (save their config
> files
> > of course), scrub the /usr/local tree clean and then re-install them.
> >
> > Matthews advice of re-installing 8.2 on a second harddrive is probably
> the
> > easiest and safest way to go.
> >
> > Roland
> > --
> > R.F.Smith
> http://www.xs4all.nl/~rsmith/
> > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> > pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
> >
>
> Hi,
>
> I would try to update the split mirror of the 6.4 to 8.2, I did manage to
> update couple of years back from Releng6 to Current 8 :).
>
> Did the usual make kernel / world stuff mergemaster prebuild in the middle
> and mergemaster after the update then I rebuilt all the ports.
>
> I recently did a 6.4-STABLE > 8.2-RELEASE-p2 migration to another server,
> but without using only some initial old config files  from the old system
> because I had to build a better environment with other software for the
> same
> role (almost the same thing that Matt recommended you). For me this is a
> longer procedure then updating all the software and checking for maybe now
> deprecated options and other problems.
>
> So I think its down to your level of knowledge and personal preference (
> whether you want to check what is to problem in case something goes wrong-
> I
> like this because I get to know the system and the inner workings in more
> detail). I personally don't like freebsd-update, and if your are new to the
> build from source way, you should really go with building up from scratch,
> then migrate.
>
> In case you want to update have a WORKING backup, and do a test run for the
> update (restore your 6.4 on a test machine and try to update it) before you
> bring down the productive system.
>
> Good luck!
>
> Regards,
>
> Balazs.
> ___
> 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"
>


Also one thing to watch with ports is thing like lang/php tend to jump a
point release or a major release. Its kind of anoying in my opinion that
lang/php can be php v4, 5.2 or 5.3 depending on what version of the os you
run, when there is stall a php52 port in say 8-stable. Makes
keeping consistent php versions more difficult. In my experience portmaster
is better than portupgrade as it doesnt have to mess around with binary dbs
of the ports
___
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: Upgrading very old installation

2011-07-15 Thread Balázs Mátéffy
On 15 July 2011 22:46, Roland Smith  wrote:

> On Fri, Jul 15, 2011 at 08:20:52AM -0400, Jaime Kikpole wrote:
> > I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5
> years.
> >
> > atlas:~>uname -mprs
> > FreeBSD 6.4-RELEASE-p8 i386 i386
>
> > I've been using the cvsup/make method of upgrades for years and only
> > used freebsd-upgrade once.  I'm not sure if either method can handle a
> > 6.x to 8.x upgrade.
>
> They are tested for upgrading to the next major version. Who knows if it
> will
> work across two major versions? Personally I wouldn't want to be the one ot
> try it out. :-)
>
> > I also have a bunch of ports in this server (e.g. apache, postfix,
> > etc.)  Once the OS is updated, should I just portupgrade them all?
>
> Doesn't work reliably across major version updates. When updating to a
> newer
> major version, the best way is to delete all ports (save their config files
> of course), scrub the /usr/local tree clean and then re-install them.
>
> Matthews advice of re-installing 8.2 on a second harddrive is probably the
> easiest and safest way to go.
>
> Roland
> --
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>

Hi,

I would try to update the split mirror of the 6.4 to 8.2, I did manage to
update couple of years back from Releng6 to Current 8 :).

Did the usual make kernel / world stuff mergemaster prebuild in the middle
and mergemaster after the update then I rebuilt all the ports.

I recently did a 6.4-STABLE > 8.2-RELEASE-p2 migration to another server,
but without using only some initial old config files  from the old system
because I had to build a better environment with other software for the same
role (almost the same thing that Matt recommended you). For me this is a
longer procedure then updating all the software and checking for maybe now
deprecated options and other problems.

So I think its down to your level of knowledge and personal preference (
whether you want to check what is to problem in case something goes wrong- I
like this because I get to know the system and the inner workings in more
detail). I personally don't like freebsd-update, and if your are new to the
build from source way, you should really go with building up from scratch,
then migrate.

In case you want to update have a WORKING backup, and do a test run for the
update (restore your 6.4 on a test machine and try to update it) before you
bring down the productive system.

Good luck!

Regards,

Balazs.
___
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: Upgrading very old installation

2011-07-15 Thread Roland Smith
On Fri, Jul 15, 2011 at 08:20:52AM -0400, Jaime Kikpole wrote:
> I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5 years.
> 
> atlas:~>uname -mprs
> FreeBSD 6.4-RELEASE-p8 i386 i386

> I've been using the cvsup/make method of upgrades for years and only
> used freebsd-upgrade once.  I'm not sure if either method can handle a
> 6.x to 8.x upgrade.

They are tested for upgrading to the next major version. Who knows if it will
work across two major versions? Personally I wouldn't want to be the one ot
try it out. :-) 

> I also have a bunch of ports in this server (e.g. apache, postfix,
> etc.)  Once the OS is updated, should I just portupgrade them all?

Doesn't work reliably across major version updates. When updating to a newer
major version, the best way is to delete all ports (save their config files
of course), scrub the /usr/local tree clean and then re-install them.

Matthews advice of re-installing 8.2 on a second harddrive is probably the
easiest and safest way to go. 

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


pgpahJmEbMcxn.pgp
Description: PGP signature


Re: Upgrading very old installation

2011-07-15 Thread krad
On 15 July 2011 16:25, Steven Friedrich  wrote:

> On 7/15/2011 9:38 AM, Matthew Seaman wrote:
>
>> On 15/07/2011 13:20, Jaime Kikpole wrote:
>>
>>> I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5
>>> years.
>>>
>>> atlas:~>uname -mprs
>>> FreeBSD 6.4-RELEASE-p8 i386 i386
>>>
>>> What is the recommended way to upgrade it to something current?
>>> Should I upgrade it to the most recent 6.x and then to 7.x and then to
>>> 8.x?  Or should I use a more direct route, upgrading it straight to
>>> the 8-RELEASE branch?
>>>
>> You'll almost certainly find it quicker and less painful to just
>> reinstall using an up to date version of FreeBSD.  Personally, I'd go
>> and buy a new hard drive for the machine, install the latest OS and
>> applications on that and then copy over data etc.  It helps if you can
>> have both drives mounted in the same machine at once.
>>
>> There are variations on this theme -- for instance if your server has
>> mirrored HDDs then you can split the mirror, re-install on one half,
>> reconcile configurations, data, user accounts between the two halves
>> and ultimately resynch the old drive to the new one.
>>
>> The big advantage of this sort of approach is that you get your new
>> install up and running and tested before you need to commit to the
>> potentially irreversible step of overwriting your last copy of the old
>> one.
>>
>>Cheers,
>>
>>Matthew
>>
>>  Excellent advice, Matt.  You rock.
>
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>


You need to do your risk analysis to decide what route to take.The safe way
is to do the 2nd drive method mentioned previously. If you decide to upgrade
I would advise you to do the make world method. Its older and therefore more
tested, and as you have said you are more familiar with it.

I have done about 40+ upgrades from 6.x to 8.x. I did a step to 7 in the
middle, and all worked fine. The only oddity I found was that when I went
from 7.x to 8.x dangerously dedicated disks devices were presented
differently.

In 7.x you had ad0a, ad0b etc under /dev, but you also had ad0s1a, ad0s1b
etc as well
In 8.x you only had ones of the format ad0a.

the oddity was the ad0s1a format ones being present prior to 8 being
present, as I wouldn't have expected these.
This was only and issue as whoever had built to box i inherited had used the
ad0s1a format ones so on rebooting to 8.x we had issues. A quick edit of
fstab fixed the issue though.

Also make sure you have mergemaster configured proply as it will take a load
of work out of the upgrades. Here is my rc for it. You may need to tune it a
little

cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes

PRESERVE_FILES_DIR=/var/mergemaster/preserved-files-`date +%y%m%d-%H%M%S`

IGNORE_FILES="/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf
/etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf
/etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf
/etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config
/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local
/etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf /etc/hosts.allow
/etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf /etc/src.conf
/etc/mail/aliases /etc/mail/mailer.conf /etc/remote"
___
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: Upgrading very old installation

2011-07-15 Thread Steven Friedrich

On 7/15/2011 9:38 AM, Matthew Seaman wrote:

On 15/07/2011 13:20, Jaime Kikpole wrote:

I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5 years.

atlas:~>uname -mprs
FreeBSD 6.4-RELEASE-p8 i386 i386

What is the recommended way to upgrade it to something current?
Should I upgrade it to the most recent 6.x and then to 7.x and then to
8.x?  Or should I use a more direct route, upgrading it straight to
the 8-RELEASE branch?

You'll almost certainly find it quicker and less painful to just
reinstall using an up to date version of FreeBSD.  Personally, I'd go
and buy a new hard drive for the machine, install the latest OS and
applications on that and then copy over data etc.  It helps if you can
have both drives mounted in the same machine at once.

There are variations on this theme -- for instance if your server has
mirrored HDDs then you can split the mirror, re-install on one half,
reconcile configurations, data, user accounts between the two halves
and ultimately resynch the old drive to the new one.

The big advantage of this sort of approach is that you get your new
install up and running and tested before you need to commit to the
potentially irreversible step of overwriting your last copy of the old one.

Cheers,

Matthew


Excellent advice, Matt.  You rock.
___
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: Upgrading very old installation

2011-07-15 Thread Matthew Seaman
On 15/07/2011 13:20, Jaime Kikpole wrote:
> I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5 years.
> 
> atlas:~>uname -mprs
> FreeBSD 6.4-RELEASE-p8 i386 i386
> 
> What is the recommended way to upgrade it to something current?
> Should I upgrade it to the most recent 6.x and then to 7.x and then to
> 8.x?  Or should I use a more direct route, upgrading it straight to
> the 8-RELEASE branch?

You'll almost certainly find it quicker and less painful to just
reinstall using an up to date version of FreeBSD.  Personally, I'd go
and buy a new hard drive for the machine, install the latest OS and
applications on that and then copy over data etc.  It helps if you can
have both drives mounted in the same machine at once.

There are variations on this theme -- for instance if your server has
mirrored HDDs then you can split the mirror, re-install on one half,
reconcile configurations, data, user accounts between the two halves
and ultimately resynch the old drive to the new one.

The big advantage of this sort of approach is that you get your new
install up and running and tested before you need to commit to the
potentially irreversible step of overwriting your last copy of the old one.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: upgrading the root FS to read-write

2011-06-19 Thread perryh
Warren Block  wrote:

> On Sat, 18 Jun 2011, per...@pluto.rain.com wrote:
>
> > After booting 8.1-RELEASE single-user, what must I do to upgrade
> > the root FS mount from read-only to read-write?  I have tried:
> >
> > # mount -u /
>
> That's what I use.  Try running fsck on it first.

I didn't try fsck -- it's a gjournal, so shouldn't need it, and had
definitely been unmounted cleanly anyway -- but I did try -f which
should have forced the upgrade even if it had needed a fsck.  Still
no upgrade, and no messages.  What finally worked was to reboot, and
do the upgrade before anything else (still without fsck, confirming
that that was not the problem).

There is pretty clearly some kind of bug involved.  Perhaps there
was a legitimate reason for the upgrade to fail, but it surely
should not have failed _silently_.
___
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: upgrading the root FS to read-write

2011-06-19 Thread Warren Block

On Sat, 18 Jun 2011, per...@pluto.rain.com wrote:


After booting 8.1-RELEASE single-user, what must I do to upgrade
the root FS mount from read-only to read-write?  I have tried:

# mount -u /


That's what I use.  Try running fsck on it first.
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-17 Thread Daniel Staal
--As of March 16, 2011 10:17:12 PM +, Matthew Seaman is alleged to have 
said:



I suggest you try out your update in a VM then, because I doubt anyone
will produce an answer definitive enough for you.


--As for the rest, it is mine.

In case anyone still cares, and if a VM running in Parallels on an OS X box 
is a good enough test for people...


Matthew's answer tested out as being correct.  The VM booted correctly 
after the binary update, but failed after upgrading the version of the 
zpool.  Notably, `zpool upgrade -a` mentioned this in it's output, and gave 
the command to fix the problem.  (Which would update the bootloader.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-16 Thread Randal L. Schwartz
> "Matthew" == Matthew Seaman  writes:

Matthew> Gee.  Thanks.

Well, either you're not describing your actual experience, or I've
misunderstood.  I'm open to input.  Are you trying to tell me that you
were able to go from 8.0 to 8.1, using freebsd-update, with a
ZFS-on-root boot?  Or were you just saying "well, it *should* work",
because it my experience it didn't.

Matthew> I suggest you try out your update in a VM then, because I doubt anyone
Matthew> will produce an answer definitive enough for you.

Sure they can.  I want someone who actually hacks the ZFS boot code to
help me out.  How do I reach them?  Is ZFS a first-class FS now in the
binary builds, or not?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-16 Thread Matthew Seaman
On 16/03/2011 21:44, Randal L. Schwartz wrote:
> Therefore, Matthew Seaman can't be trusted with his answer.  He
> apparently did not boot a ZFS-on-root disk with a freebsd-update from
> 8.0 to 8.1, or he would not have said what he did.

Gee.  Thanks.

I suggest you try out your update in a VM then, because I doubt anyone
will produce an answer definitive enough for you.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Upgrading FreeBSd when using a zfs-only installation?

2011-03-16 Thread Randal L. Schwartz
> "Daniel" == Daniel Staal  writes:

Daniel> On Wed, March 16, 2011 2:36 pm, Randal L. Schwartz wrote:
>> 
Randal> SOMEONE here knows.  Please help.
>> 
>> So, nobody knows?
>> 
>> Most of the other answers were about a source-code upgrade, not a binary
>> upgrade.

Daniel> I thought Matthew Seamans' answer sounded pretty definitive:

>> A system update via freebsd-update or otherwise won't touch whatever
>> bootblocks you have installed.  So if you have already installed
>> gptzfsboot and your system already boots ZFS v12 then it will continue to
>> boot ZFS v12 without your touching anything to do with boot blocks.

But this was absolutely *not* the case with 8.0 to 8.1.  I had tried it
naively in a VM, and thank goodness, because the VM failed to boot.

Then I googled, and found
http://forums.freebsd.org/showpost.php?p=94557&postcount=19 which when I
followed, and it worked fine.

Thus, when I did my "live" 8.0 to 8.1 upgrades, I followed that extra
"gpart bootcode" step, and everything worked fine.

Therefore, Matthew Seaman can't be trusted with his answer.  He
apparently did not boot a ZFS-on-root disk with a freebsd-update from
8.0 to 8.1, or he would not have said what he did.

The question I have is, does anyone know *definitively* if the same
thing that broke 8.0 to 8.1 will also likely occur in 8.1 to 8.2, or
does the bootloader in 8.2 now contain what /boot/gptzfsboot contained
in 8.1? As in, does FreeBSD 8.2 now support *native* ZFS booting, or
will it forever be a kluge?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-16 Thread Daniel Staal

On Wed, March 16, 2011 2:36 pm, Randal L. Schwartz wrote:
>
> Randal> SOMEONE here knows.  Please help.
>
> So, nobody knows?
>
> Most of the other answers were about a source-code upgrade, not a binary
>  upgrade.

I thought Matthew Seamans' answer sounded pretty definitive:

> A system update via freebsd-update or otherwise won't touch whatever
> bootblocks you have installed.  So if you have already installed
> gptzfsboot and your system already boots ZFS v12 then it will continue to
>  boot ZFS v12 without your touching anything to do with boot blocks.
>
> However, with the 8.1 -> 8.2 upgrade, you get (inter-alia) ZFS v13
> support (I think it's v13 -- all my personal kit is running the stable/8
>  v28 patchset...) plus equivalent zpool version bump.  The 8.1 bootblocks
>  don't understand ZFS v13.  If you wish to update the on-disk formats of
>  your ZFS stuff: 'zpool upgrade -a' or 'zfs upgrade -a' then you *will*
>  need to reinstall the gptzfsboot boot-blocks.
>
> You don't have to update the ZFS formats, but you'll miss out on various
>  performance and bug-fixes if you don't.
>
> Given that the gptzfsboot boot blocks are backwards compatible to older
> ZFS versions, highly recommended to update the boot blocks even if you
> aren't intending to upgrade the ZFS bits just yet.  Just as an
> anti-foot-shooting measure.

By that: You don't _have_ to do anything.  But it is probably a good idea.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-16 Thread Randal L. Schwartz
> "Randal" == Randal L Schwartz  writes:

Randal> OK, so I'll appeal to the rest of freebsd-questions, since you can't
Randal> answer with authority:

Randal> can you upgrade from 8.1 to 8.2 using freebsd-update booting from
Randal> ZFS as described at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/,
Randal> without having to go through the chicanry described at
Randal> http://forums.freebsd.org/showpost.php?p=94557&postcount=19 - or is
Randal> there an updated version of that post, or should that post be
Randal> literally followed?

Randal> SOMEONE here knows.  Please help.

So, nobody knows?

Most of the other answers were about a source-code upgrade, not a
binary upgrade.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-14 Thread krad
On 14 March 2011 00:10, Andrew Moran  wrote:

> I have successfully upgraded form FreeBSD 8.1 to FreeBSD 8.2.  Here were my
> steps:
>
> cvsup /root/stable-supfile
> cd /usr/src
> make buildworld
> make buildkernel
> make installkernel
> shutdown -r now
>
> *select single user mode*
>
> mount -u /
> zfs mount -a
> mergemaster -p
> make installworld
> mergemaster
>
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad5
>
> zpool upgrade -a
> zfs upgrade -a
>
> shutdown -r now
>
>
> NOTE 1:  the gpart commands are specific to my setup - I'm using a ZFS
> mirror on ad4 and ad5.Your system may be different.
> NOTE 2:  my "zfs upgrade -a" ran out of swap space and died.  I ran "zfs
> upgrade" to see what filesystems were left un-upgraded and did those
> manually.
>
> Thanks Scott Ballantyne and everyone else who responded.
>
> 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"
>


sorry this is a bit late but here is the update script I use. I basically
creates a structure like this. Makes if very easy to flip flop between os
installs by modifying the pool  bootfs variable

system-4k/be  35.2G  1.20T   156K  /system-4k/be
system-4k/be/current  1.22G  1.20T   740M  legacy
system-4k/be/root20110226 2.80G  1.20T   882M  legacy
system-4k/be/root20110302 3.24G  1.20T   882M  legacy
system-4k/be/root20110306 1.32G  1.20T   882M  legacy
system-4k/be/root20110312 1.36G  1.20T   923M  legacy
system-4k/be/tmp   776K  1.21T   260K  /tmp
system-4k/be/usr-local2.84G  1.20T  2.47G  /usr/local/
system-4k/be/usr-obj  5.08G  1.20T  2.09G  /usr/obj
system-4k/be/usr-ports5.82G  1.20T  4.33G  /usr/ports
system-4k/be/usr-ports/distfiles  1.20G  1.20T  1.19G
/usr/ports/distfiles
system-4k/be/usr-src  1.49G  1.20T   973M  /usr/src
system-4k/be/var  4.72G  1.21T   805M  /var
system-4k/be/var/log  3.66G  1.21T  2.34G  /var/log
system-4k/be/var/mysql82.5M  1.21T  33.9M  /var/db/mysql


#!/usr/local/bin/bash

if [ $UID != 0 ] ; then
  echo your not root !! ; exit 1
fi

date=`date '+%Y%m%d'`
oroot=`grep "vfs.root.mountfrom=\"zfs:system-4k/" /boot/loader.conf | sed -e
"s#^.*\"zfs:system-4k/be/##" -e "s#\"##"`
nroot="root$date"
snap="autoup-$RANDOM"
zpool=system-4k

export DESTDIR=/$zpool/be/$nroot


if [ "$oroot" =  "$nroot" ] ; then
 echo "i cant update twice in one day"; exit 1
fi

echo building in $zpool/be/$nroot

zfs snapshot $zpool/be/$oroot@$snap &&
zfs send $zpool/be/$oroot@$snap | zfs receive -vv $zpool/be/$nroot&&
cd /usr/src &&
make installkernel &&
make installworld &&
sed -i -e "s#$zpool/be/$oroot#$zpool/be/$nroot#"
/$zpool/be/$nroot/boot/loader.conf && \
echo "Installing boot records.." &&
zpool status system-4k | grep -A 2 mirror | grep ad | sed -e "s/p[0-9]//"  |

while read a b; do
gpart bootcode -b /zfsboot/pmbr -p /zfsboot/gptzfsboot -i 1
$a;
done &&
cp -v /zfsboot/zfsloader /$zpool/be/$nroot/boot/. &&
echo -en "\n\nNow run these two commands to make the changes live, and
reboot
 zfs set mountpoint=legacy $zpool/be/$nroot
 zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Andrew Moran
I have successfully upgraded form FreeBSD 8.1 to FreeBSD 8.2.  Here were my 
steps:

cvsup /root/stable-supfile 
cd /usr/src
make buildworld
make buildkernel
make installkernel
shutdown -r now 

*select single user mode*

mount -u /
zfs mount -a
mergemaster -p
make installworld
mergemaster

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad5

zpool upgrade -a
zfs upgrade -a

shutdown -r now


NOTE 1:  the gpart commands are specific to my setup - I'm using a ZFS mirror 
on ad4 and ad5.Your system may be different.
NOTE 2:  my "zfs upgrade -a" ran out of swap space and died.  I ran "zfs 
upgrade" to see what filesystems were left un-upgraded and did those manually. 

Thanks Scott Ballantyne and everyone else who responded.  

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"


Re: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Randal L. Schwartz
> "Daniel" == Daniel Staal  writes:

Daniel> Nothing in the release notes appears to mention the bootloader and zfs
Daniel> together, so I'd take the safe approach and assume it is still
Daniel> necessary.

OK, so I'll appeal to the rest of freebsd-questions, since you can't
answer with authority:

can you upgrade from 8.1 to 8.2 using freebsd-update booting from
ZFS as described at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/,
without having to go through the chicanry described at
http://forums.freebsd.org/showpost.php?p=94557&postcount=19 - or is
there an updated version of that post, or should that post be
literally followed?

SOMEONE here knows.  Please help.

Otherwise, I have to build a VM system again with 8.1, just like I did
with 8.0, to figure out that 8.1 would NOT upgrade cleanly, and required
that extra step.

Please save me the trouble for 8.1 to 8.2.  I have four VPSs that need
to move from 8.1 to 8.2 remotely.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Matthew Seaman
On 13/03/2011 17:37, Randal L. Schwartz wrote:
>> "Adam" == Adam Vande More  writes:
> 
> Adam> On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
> Adam> wrote:
> 
>>> http://forums.freebsd.org/showpost.php?p=94557&postcount=19
> 
> Adam> Well those are his modified upgrade instructions, they seem
> Adam> relatively sound but the extra steps aren't required.  The gpart
> Adam> stuff is to update the boot loader which is only necessary if you
> Adam> upgrade the file system or pool eg zfs/zpool upgrade.  You should
> Adam> probably run this just to prevent potential severe pain later.
> 
> No, this was *absolutely* necessary for the 8.1 upgrade, because the
> binary-installed boot loader was still ZFS ignorant.
> 
> I'm just asking if it's *still* necessary for 8.2.  Does the 8.2 boot
> loader now know about ZFS if I install it from freebsd-update?
> 
> Keep in mind, I'm booting straight from ZFS.  There are no UFS
> partitions on my disk.

A system update via freebsd-update or otherwise won't touch whatever
bootblocks you have installed.  So if you have already installed
gptzfsboot and your system already boots ZFS v12 then it will continue
to boot ZFS v12 without your touching anything to do with boot blocks.

However, with the 8.1 -> 8.2 upgrade, you get (inter-alia) ZFS v13
support (I think it's v13 -- all my personal kit is running the stable/8
v28 patchset...) plus equivalent zpool version bump.  The 8.1 bootblocks
don't understand ZFS v13.  If you wish to update the on-disk formats of
your ZFS stuff: 'zpool upgrade -a' or 'zfs upgrade -a' then you *will*
need to reinstall the gptzfsboot boot-blocks.

You don't have to update the ZFS formats, but you'll miss out on various
performance and bug-fixes if you don't.

Given that the gptzfsboot boot blocks are backwards compatible to older
ZFS versions, highly recommended to update the boot blocks even if you
aren't intending to upgrade the ZFS bits just yet.  Just as an
anti-foot-shooting measure.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Scott Ballantyne
On Sun, Mar 13, 2011 at 1:37 PM, Randal L. Schwartz
wrote:

> > "Adam" == Adam Vande More  writes:
>
> Adam> On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
> Adam> wrote:
>
> >> http://forums.freebsd.org/showpost.php?p=94557&postcount=19
>
> Adam> Well those are his modified upgrade instructions, they seem
> Adam> relatively sound but the extra steps aren't required.  The gpart
> Adam> stuff is to update the boot loader which is only necessary if you
> Adam> upgrade the file system or pool eg zfs/zpool upgrade.  You should
> Adam> probably run this just to prevent potential severe pain later.
>
> No, this was *absolutely* necessary for the 8.1 upgrade, because the
> binary-installed boot loader was still ZFS ignorant.
>
> I'm just asking if it's *still* necessary for 8.2.  Does the 8.2 boot
> loader now know about ZFS if I install it from freebsd-update?
>
> Keep in mind, I'm booting straight from ZFS.  There are no UFS
> partitions on my disk.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
> 0095
>  http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

You need the new bootloader if you upgrade the zpool and zfs filesystems.
You'll get a message to that effect if you do that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Randal L. Schwartz
> "Adam" == Adam Vande More  writes:

Adam> On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
Adam> wrote:

>> http://forums.freebsd.org/showpost.php?p=94557&postcount=19

Adam> Well those are his modified upgrade instructions, they seem
Adam> relatively sound but the extra steps aren't required.  The gpart
Adam> stuff is to update the boot loader which is only necessary if you
Adam> upgrade the file system or pool eg zfs/zpool upgrade.  You should
Adam> probably run this just to prevent potential severe pain later.

No, this was *absolutely* necessary for the 8.1 upgrade, because the
binary-installed boot loader was still ZFS ignorant.

I'm just asking if it's *still* necessary for 8.2.  Does the 8.2 boot
loader now know about ZFS if I install it from freebsd-update?

Keep in mind, I'm booting straight from ZFS.  There are no UFS
partitions on my disk.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Adam Vande More
On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
wrote:

> > "Andrew" == Andrew Moran  writes:
>
> Andrew> I switched my system over to using a ZFS on root setup in 8.1.
> Andrew> I want to upgrade it to 8.2.
>
> Andrew> Is there any changes to the
> Andrew> buildworld/buildkernel/installworld/installkernel/mergemaster
> Andrew> routine?
>
> And for those of us using the binary upgrade, do I need to follow
>
>  http://forums.freebsd.org/showpost.php?p=94557&postcount=19
>
> still?  Or do nothing?  Or do something else?
>

Well those are his modified upgrade instructions, they seem relatively sound
but the extra steps aren't required.  The gpart stuff is to update the boot
loader which is only necessary if you upgrade the file system or pool eg
zfs/zpool upgrade.  You should probably run this just to prevent potential
severe pain later.

And as it's said, the nextboot is there because he's running a custom kernel
and wants to boot into GENERIC next time then later rebuilds his custom
kernel.

The short story is if you are running GENERIC anyway, a standard binary
upgrade would work fine, but if you have taken a divergent path you'll have
to account for those differences in your upgrade process.

-- 
Adam Vande More
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Randal L. Schwartz
> "Andrew" == Andrew Moran  writes:

Andrew> I switched my system over to using a ZFS on root setup in 8.1.
Andrew> I want to upgrade it to 8.2.

Andrew> Is there any changes to the
Andrew> buildworld/buildkernel/installworld/installkernel/mergemaster
Andrew> routine?

And for those of us using the binary upgrade, do I need to follow

  http://forums.freebsd.org/showpost.php?p=94557&postcount=19

still?  Or do nothing?  Or do something else?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Sergiy Suprun
On Sun, Mar 13, 2011 at 17:40, Andrew Moran  wrote:
>
> Hallo,
>
> I switched my system over to using a ZFS on root setup in 8.1.     I want to 
> upgrade it to 8.2.
>
> Is there any changes to the 
> buildworld/buildkernel/installworld/installkernel/mergemaster routine?
>
> The only thing I found via google was this:  
> http://forum.nginx.org/read.php?23,178896,179074     And he does a "mount -u 
> ./" and a "zfs mount -a" but it's not clear to me why he's doing that.
>
> --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 Andy

Usually I use
zfs mount -a
to mount all and
zfs set readonly=off zpool/system
to take filesystem writable
___
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: Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-27 Thread Nerius Landys
My upgrades were a success.  I upgraded 3 machines:

1.  7.1 -> 7.4
2.  8.0 -> 8.1
3.  7.1 -> 7.3 -> 7.4

I don't use STABLE, but rather e.g. RELENG_7_4
___
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: Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-25 Thread Paul Schmehl
--On February 25, 2011 1:39:47 PM -0800 Nerius Landys  
wrote:



For me, time can be spared, but errors should be avoided at all costs.
I have upgraded FreeBSD before, for example 7.0 -> 7.1.  I use the
buildworld/buildkernel procedure.
I now have a 7.1 system.  Should I upgrade to 7.2 and then to 7.3, or
is it safe to go directly from 7.1 to 7.3?



I have upgraded several times across major versions without any problems. 
(5.x to 6.x, 6.x to 7.x).  Each time I simply changed the supfile to the 
version I wanted to upgrade to, fetched the files and rebuilt world and 
kernel.  After those are complete, I run a portupgrade -a to sync all the 
ports with the new sources.


Note that this is *not* the way to do it if you absolutely must avoid 
problems, however slight the risk.


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

___
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: Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-25 Thread Chuck Swiger
On Feb 25, 2011, at 1:39 PM, Nerius Landys wrote:
> For me, time can be spared, but errors should be avoided at all costs.
> I have upgraded FreeBSD before, for example 7.0 -> 7.1.  I use the
> buildworld/buildkernel procedure.
> I now have a 7.1 system.  Should I upgrade to 7.2 and then to 7.3, or
> is it safe to go directly from 7.1 to 7.3?

You shouldn't run into any unusual issues.  Note that more care is needed if 
you are doing a major version bump-- ie, you should go to 7.4 -> 8.0 -> 8.2.

Regards,
-- 
-Chuck

___
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: upgrading apr from v0 to v1 via portupgrade?

2011-02-24 Thread Warren Block

On Thu, 24 Feb 2011, Aleksandr Miroslav wrote:


Recently I noticed that somehow I am on apr-0.9.19.0.9.19. On my old
box, I was on apr-ipv6-devrandom-gdbm-db47-1.4.2.1.3.10.


See the 20100518 entry in /usr/ports/UPDATING.  Well, the apr one, 
anyway.

___
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: upgrading apr from v0 to v1 via portupgrade?

2011-02-24 Thread ill...@gmail.com
On 24 February 2011 11:09, Aleksandr Miroslav  wrote:
> I recently moved my server to a new box and in the process of doing
> that, I upgraded from FreeBSD 7.3 to 8.1.
>
> When I say I moved, I mean I backed up all my personal data (databases,
> config values, etc.), made a list of all packages, and installed an
> identical box with the same pacakges.
>
> Recently I noticed that somehow I am on apr-0.9.19.0.9.19. On my old
> box, I was on apr-ipv6-devrandom-gdbm-db47-1.4.2.1.3.10.
>
> I didn't make that choice deliberarely, somehow when I installed all the
> pacakges, apr-0 was installed instead of apr-1.
>
> Normally I wouldn't care, but apr-0 has had an unpatched security
> advisory for a few weeks now, so I would like to upgrade all my packages
> that use apr-0 to apr-1.
>
> I use portupgrade, how can I do this?

The general (untested) notion would be:
portupgrade -o devel/apr1 apr-0
& then
portupgrade -frx apr apr
(which hopefully will rebuild everything depending
upon apr without rebuilding apr twice)

-- 
--
___
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: upgrading a dozen of servers from 7.0 to 8.1

2011-01-25 Thread Radomskiy Yuriy
Hello.

Thank you and everyone who answered.

I will share my experinece to the list when I walk my way throught the upgrade )

21.01.2011, 17:13, "Odhiambo Washington" :
> On Fri, Jan 21, 2011 at 4:54 PM, Radomskiy Yuriy ; wrote:
>
>>  Hello!
>>
>>  I have around 15 servers running FreeBSD 7.0 across the country.
>>  I would like to upgrade them to 7.3 or even 8.1 using binary updates.
>>  They are primary mail servers all running apache-2.0 + php5-5.2.10,
>>  mysql-server-5.1, exim-4.69, dovecot-1.1
>>  They are almost identical - they were identical a couple of years ago, but
>>  now they have some minor differences (soft, settings, scripts)
>>  Hardware is all the same.
>>  All the servers are in production.
>>
>>  The steps I have to do and the questions about them i have:
>>  1. update all soft to current versions (including change of config files)
>>  apache - goto v2.2
>>  php - goto v5.3
>>  mysql - stick with 5.1
>>  exim - goto 4.73
>>  dovecot - goto 1.2.16
>>  q's:
>>  how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?
>
> portupgrade -o lang/php52 lang/php5
>
> That will upgrade your php from 5.2.10 to 5.2.17. Please stick with
> php-5.2.x unless you are sure php-5.3 will not break some web apps you are
> running.
>
> upgrade php-extensions the same way.
>
> can i upgrade or is it better to rebuild it from the scratch (because of
>
>>  major version changes)?
>
> You can upgrade. Please follow the instructions from
> http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt
>
> Just note one thing I noticed while upgrading my servers:
>
> s/compat7x-`uname -m`-7.2.702000.200906.1.tbz/compat7x-`uname
> -m`-7.3.703000.201008.tbz/g
>
>>  2. do a binary upgrade of OS according to handbook
>>  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
>
> You can do that, but I personally prefer
> http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt.
> I have never used freebsd-update on any system I run, but that is out of
> choice, not any other reason!
>
>>  3. rebuil all the software again
>>  portupgrade -af
>
> If you follow
> http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt,
> there will not be any urgency in doing portupgrade -af.
..
___
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: upgrading a dozen of servers from 7.0 to 8.1

2011-01-21 Thread Ivan Voras

On 21/01/2011 14:54, Radomskiy Yuriy wrote:


how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?


That's the more important question. I think that upgrading the 
configuration of your software will take more time than upgrading FreeBSD.


For example: apache22 port has a different (and better) configuration 
file structure than 2.0, and some web application still don't work with 
php 5.3.


If you know reasonably good enough how FreeBSD works, I don't think you 
will have trouble with that part of the upgrade (especially if you have 
a remote KVM or other console access).


___
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: upgrading a dozen of servers from 7.0 to 8.1

2011-01-21 Thread Odhiambo Washington
On Fri, Jan 21, 2011 at 4:54 PM, Radomskiy Yuriy  wrote:

> Hello!
>
> I have around 15 servers running FreeBSD 7.0 across the country.
> I would like to upgrade them to 7.3 or even 8.1 using binary updates.
> They are primary mail servers all running apache-2.0 + php5-5.2.10,
> mysql-server-5.1, exim-4.69, dovecot-1.1
> They are almost identical - they were identical a couple of years ago, but
> now they have some minor differences (soft, settings, scripts)
> Hardware is all the same.
> All the servers are in production.
>
> The steps I have to do and the questions about them i have:
> 1. update all soft to current versions (including change of config files)
> apache - goto v2.2
> php - goto v5.3
> mysql - stick with 5.1
> exim - goto 4.73
> dovecot - goto 1.2.16
> q's:
> how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?
>

portupgrade -o lang/php52 lang/php5

That will upgrade your php from 5.2.10 to 5.2.17. Please stick with
php-5.2.x unless you are sure php-5.3 will not break some web apps you are
running.

upgrade php-extensions the same way.


can i upgrade or is it better to rebuild it from the scratch (because of
> major version changes)?
>


You can upgrade. Please follow the instructions from
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt

Just note one thing I noticed while upgrading my servers:

s/compat7x-`uname -m`-7.2.702000.200906.1.tbz/compat7x-`uname
-m`-7.3.703000.201008.tbz/g




> 2. do a binary upgrade of OS according to handbook
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
>

You can do that, but I personally prefer
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt.
I have never used freebsd-update on any system I run, but that is out of
choice, not any other reason!



>
> 3. rebuil all the software again
> portupgrade -af
>

If you follow
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt,
there will not be any urgency in doing portupgrade -af.



>
> I have two scenarios for this:
> I.
> 1. restore a server from a backup on a dedicated machine.
> 2. do all the upgrade procedures on this dedicated server.
> 3. clone this upgraded server to the original server.
> 4. Repeat this procedure for each server.
> Advantages:
>  - almost garanteed reliability.
> Disadvantages:
>  - need to sync data from the last backup with current one.
>  - takes very long time.
>
>
Too tedious!!



> II.
> 1. restore one server from backup on a dedicated machine.
> 2. do all the upgrade procedures on this restored server.
> 3. write some sort of script that does the upgrate (or makes it easier).
> 4. upgrate all the servers (since they are almost identical) one at a time.
> Advantages:
>  - should be faster
> Disadvantages:
>  - something might go wrong on some particular server(s).
>

Too tedious!!



> Which method would you sudgest?
>


As I suggested above!!


> Is there any other method or maybe enhancements ones to do the upgrade?
>

??


> How can it be used that all servers are almost identical?
>

Using RSE's methods, your servers will remain as identical as they are now.
Only you will end up running FreeBSD 8.x :-)



> How can the process be automated?
>

Unattended? Never for a server!!!
Scripted?? By RSE!!


> Should i be looking into building binary packages of required software and
> redistributing them to the servers instead of building them from the ports
> tree (as it is done now)?
>
>
No.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Jerry McAllister
On Fri, Jan 07, 2011 at 07:50:20AM -0800, Devin Teske wrote:

> 
> 
> Sent from my iPhone
> 
> On Jan 7, 2011, at 7:07 AM, Jerry McAllister  wrote:
> 
> > On Fri, Jan 07, 2011 at 03:05:14PM +0100, Erik Trulsson wrote:
> > 
> >> On Fri, Jan 07, 2011 at 12:02:59PM +, Frank Shute wrote:
> >>> On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
>  
>  I know this is a bit crazy, but is there any opinion as to whether a
>  binary upgrade using an 8.1 CD would work to upgrade a system running
>  4.10? Normally I would want to do a fresh install, but it's at a
>  remote client site where it's not going to be easy to do it that way,
>  and I'm going to need to guide someone less experienced through the
>  install/upgrade process.
> >>> 
> >>> An upgrade using a CD wouldn't work as the filesystem changed from
> >>> UFS1 to UFS2 betweeen 4 and 5.
> >> 
> >> That by itself should not be a showstopper, since newer FreeBSD
> >> releases (incl. 8.1) still support UFS1 and can run perfectly fine on
> >> it.  Although it is generally a good idea to use UFS2 rather than UFS1
> >> with FreeBSD 5+ it is certainly not necessary.
> > 
> > The thing to do is create the UFS2 new system and use it to read
> > the stuff you need from the old UFS1 system/disk.  Then just use
> > the new disk.
> > 
> 
> Maybe I'm just imagining things, but I somehow recall that some guru had 
> posted a technique for converting UFS1 to UFS2 by way of dump/restore 
> while booted from a live distro. Was I dreaming?

Well, that should be easy.You just have a new disk, slice, partition
and newfs it with a new UFS2 system.  Then dump the old partitions
and restore them on the new partitions.It is still a matter of
creating a new system with new space.  You could do it to a spare
machine and then once it is all built, do the same back to the old
machine and it would all be up-to-date.

The new one would be nice and clean then too.

jerry
   
> --
> Cheers,
> Devin
> 
> 
> > jerry
> > 
> > 
> >> -- 
> >> 
> >> Erik Trulsson
> >> ertr1...@student.uu.se
> >> ___
> >> 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"
> > ___
> > 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"
> ___
> 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"
> 
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Devin Teske


Sent from my iPhone

On Jan 7, 2011, at 7:07 AM, Jerry McAllister  wrote:

> On Fri, Jan 07, 2011 at 03:05:14PM +0100, Erik Trulsson wrote:
> 
>> On Fri, Jan 07, 2011 at 12:02:59PM +, Frank Shute wrote:
>>> On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
 
 I know this is a bit crazy, but is there any opinion as to whether a
 binary upgrade using an 8.1 CD would work to upgrade a system running
 4.10? Normally I would want to do a fresh install, but it's at a
 remote client site where it's not going to be easy to do it that way,
 and I'm going to need to guide someone less experienced through the
 install/upgrade process.
>>> 
>>> An upgrade using a CD wouldn't work as the filesystem changed from
>>> UFS1 to UFS2 betweeen 4 and 5.
>> 
>> That by itself should not be a showstopper, since newer FreeBSD
>> releases (incl. 8.1) still support UFS1 and can run perfectly fine on
>> it.  Although it is generally a good idea to use UFS2 rather than UFS1
>> with FreeBSD 5+ it is certainly not necessary.
> 
> The thing to do is create the UFS2 new system and use it to read
> the stuff you need from the old UFS1 system/disk.  Then just use
> the new disk.
> 

Maybe I'm just imagining things, but I somehow recall that some guru had posted 
a technique for converting UFS1 to UFS2 by way of dump/restore while booted 
from a live distro. Was I dreaming?
--
Cheers,
Devin


> jerry
> 
> 
>> -- 
>> 
>> Erik Trulsson
>> ertr1...@student.uu.se
>> ___
>> 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"
> ___
> 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"
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Jerry McAllister
On Fri, Jan 07, 2011 at 03:05:14PM +0100, Erik Trulsson wrote:

> On Fri, Jan 07, 2011 at 12:02:59PM +, Frank Shute wrote:
> > On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
> > >
> > > I know this is a bit crazy, but is there any opinion as to whether a
> > > binary upgrade using an 8.1 CD would work to upgrade a system running
> > > 4.10? Normally I would want to do a fresh install, but it's at a
> > > remote client site where it's not going to be easy to do it that way,
> > > and I'm going to need to guide someone less experienced through the
> > > install/upgrade process.
> > 
> > An upgrade using a CD wouldn't work as the filesystem changed from
> > UFS1 to UFS2 betweeen 4 and 5.
> 
> That by itself should not be a showstopper, since newer FreeBSD
> releases (incl. 8.1) still support UFS1 and can run perfectly fine on
> it.  Although it is generally a good idea to use UFS2 rather than UFS1
> with FreeBSD 5+ it is certainly not necessary.

The thing to do is create the UFS2 new system and use it to read
the stuff you need from the old UFS1 system/disk.  Then just use
the new disk.

jerry


> -- 
> 
> Erik Trulsson
> ertr1...@student.uu.se
> ___
> 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"
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Erik Trulsson
On Fri, Jan 07, 2011 at 12:02:59PM +, Frank Shute wrote:
> On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
> >
> > I know this is a bit crazy, but is there any opinion as to whether a
> > binary upgrade using an 8.1 CD would work to upgrade a system running
> > 4.10? Normally I would want to do a fresh install, but it's at a
> > remote client site where it's not going to be easy to do it that way,
> > and I'm going to need to guide someone less experienced through the
> > install/upgrade process.
> 
> An upgrade using a CD wouldn't work as the filesystem changed from
> UFS1 to UFS2 betweeen 4 and 5.

That by itself should not be a showstopper, since newer FreeBSD
releases (incl. 8.1) still support UFS1 and can run perfectly fine on
it.  Although it is generally a good idea to use UFS2 rather than UFS1
with FreeBSD 5+ it is certainly not necessary.


-- 

Erik Trulsson
ertr1...@student.uu.se
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Frank Shute
On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
>
> I know this is a bit crazy, but is there any opinion as to whether a
> binary upgrade using an 8.1 CD would work to upgrade a system running
> 4.10? Normally I would want to do a fresh install, but it's at a
> remote client site where it's not going to be easy to do it that way,
> and I'm going to need to guide someone less experienced through the
> install/upgrade process.

An upgrade using a CD wouldn't work as the filesystem changed from
UFS1 to UFS2 betweeen 4 and 5.

I'm afraid as others have indicated, you'll have to visit the site or
ship a preconfigured box to the site.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread krad
On 6 January 2011 16:40, Mike Tancsa  wrote:

> On 1/6/2011 11:27 AM, Robert Huff wrote:
> >
> > patrick writes:
> >
> >>  I know this is a bit crazy, but is there any opinion as to
> >>  whether a binary upgrade using an 8.1 CD would work to upgrade a
> >>  system running 4.10? Normally I would want to do a fresh install,
> >>  but it's at a remote client site where it's not going to be easy
> >>  to do it that way, and I'm going to need to guide someone less
> >>  experienced through the install/upgrade process.
> >
> >   While this may not be an option, my preference would be to
> > 1) build a new machine, 2) install 8.1, 3) install the apps and
> > data, 4) test thoroughly, then 5) ship the result to the remote
> > location.  Anything else is likely to be too painful for words.
>
> How old is the hardware as well?  If its running 4.x, something is going
> to die on it sooner than later. I agree with the above. Send a new box
> or at the very least a new disk with 8.2 on it. Then, just mount the old
> 4.x disk and copy over the user data.
>
>---Mike
> ___
> 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"
>

I have done such upgrades in the past but they are very high risk, so the
chances are you will incur some prolonged downtime, and probably have to go
to site anyway. It would be much easier to build a new system disk, install
whatever ports you need and copy across anything else from the live system,
then install the new disk to the box (or an entire new box)
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Devin Teske
Sharing some of our experiences here at VICOR.

On Thu, 2011-01-06 at 15:55 -0500, grarpamp wrote:
> I know I'll take heat from everyone else who responded saying to
> effectively ship a new box. But maybe this user has significant
> costs involved with that. Along with any other reasons...

Our company is in that situation. In fact, we have:

>1000 systems still running FreeBSD-4.11
>200 systems still running FreeBSD-4.8
>1 system still running FreeBSD-4.4
and 1 system still running FreeBSD-2.2.2

The >200 4.8 systems are actually in the process of upgrading to 4.11
this year (go ahead... roflmao your heart out).

Later this year, we plan to migrate ~500 systems from 4.11 to 8.1 and we
plan to do it with a binary upgrade package (of our own design).


> 
> v4 to v8 can be done. I've done it entirely live over the net.
> Nothing crazy about it.

Confirmed. We've done it too. Nothing special.


> 
> The basic idea is that there are too many changes and tools involved
> to fart around with build/install world, mergemaster, CD's, sysinstall,
> etc. And they're just not aware of such a jump. And you can't trust
> the idiots on the other end to get it right even if they would work.
> You are the SA, free your mind. To the initiate, it would be
> harrowing. To the seasoned SA, it's logical cake.
> 

It takes time to be thorough, but if you're thorough there's no reason
to fear a binary upgrade. In fact, you can logistically break it down
into the following procedure:

- Take vanilla 4.x host-one
- Take vanilla 8.x host-two
- Diff host-one to host-two
- Build binary differential package
- Package pre-install regresses the machine by uninstalling all packages
- Package post-install builds the 8.x box back up with new packages


> So backup your entire 4.x box over the wire, there will be no return.
> 

In our 4.x->8.x binary upgrade, we have a back-out strategy because
we've been doing binary upgrades for years.

In essence, our company started on FreeBSD-2.2.2, then did binary
upgrade to 4.4. Then binary upgrade to 4.8. Then binary upgrade to 4.11.
Now binary upgrade to 8.1.

The backout strategy is essentially to re-install the "4.11 upgrade"
package (downgrading from 8.1 back to 4.11).

But really... in over 10 years, we've never had to "back out" a binary
upgrade (the procedure to do so has been documented and there, but in
the tens-of-thousands of binary upgrades we've done, we've never had to
back it out... not even once).


> Go find a box and install v8 however you want it. If you fail, this
> one goes to the shipper asap. You can use a vm but that will take
> longer to ship. You are very wise to also install a v4 box and
> overlay your backup on it first for testing the entire process. If
> you failed to heed SA wisdom about separating / /usr /usr/local
> /var /home /boot, free space, etc on the original v4 box, your life
> will be much harder. But if you have a ton of unpartitioned free
> space on it, you can fix that one at a time too ;)
> 
> Be very aware of boot sectors, loaders, partitions, slices, fstab,
> sizes, /dev, ifconfig, packet filters, kernel config, etc. That
> kills most people. Also, since all your apps will be pristine v8
> vers, you need to sort out their use of the old data and config.
> 
> If you have space, rsync -Haxi upload your v8 mountpoints to separate
> staging dirs on the v4 box. It helps narrow your power fail window :)
> 
> Get on the v4 box. If you've got console, re boot -s. If not, take
> it down till only init, sh and sshd remain. If you have space, rsync
> your current v4 mountpoints to some backup dirs.
> 
> You're going to need static versions of rsync, openssh, sh, su, and
> any other tools. You'll need to kill and run the static sshd... re:
> fstat, umount, libs, etc. If you want, truncate /etc/rc to load
> only static sshd from /root. This gives you some chance at recovery.
> Again, do a local trial run to figure out what, where and when you
> want or need all the tricks and in what order.
> 
> Mount everything read-write and rsync -Haxi --delete from your v8
> staging dirs (whether local or remote) over top of the live but now
> library freed v4 mountpoints.
> 
> Reboot ;)
> 
> Don't forget to lay down new boot sectors etc as and when needed
> during or after the above.
> 
> It works, don't complain to me or this list if you break it :)
> ___
> 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"
-- 
Cheers,
Devin Teske

-> CONTACT INFORMATION <-
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.te...@fisglobal.com

-> LEGAL DISCLAIMER <-
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distrib

Re: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Mike Tancsa
On 1/6/2011 11:27 AM, Robert Huff wrote:
> 
> patrick writes:
> 
>>  I know this is a bit crazy, but is there any opinion as to
>>  whether a binary upgrade using an 8.1 CD would work to upgrade a
>>  system running 4.10? Normally I would want to do a fresh install,
>>  but it's at a remote client site where it's not going to be easy
>>  to do it that way, and I'm going to need to guide someone less
>>  experienced through the install/upgrade process.
> 
>   While this may not be an option, my preference would be to
> 1) build a new machine, 2) install 8.1, 3) install the apps and
> data, 4) test thoroughly, then 5) ship the result to the remote
> location.  Anything else is likely to be too painful for words.

How old is the hardware as well?  If its running 4.x, something is going
to die on it sooner than later. I agree with the above. Send a new box
or at the very least a new disk with 8.2 on it. Then, just mount the old
4.x disk and copy over the user data.

---Mike
___
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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Jerry McAllister
On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:

> I know this is a bit crazy, but is there any opinion as to whether a
> binary upgrade using an 8.1 CD would work to upgrade a system running
> 4.10? Normally I would want to do a fresh install, but it's at a
> remote client site where it's not going to be easy to do it that way,
> and I'm going to need to guide someone less experienced through the
> install/upgrade process.

It might work.  But, I think you would save a lot of headache and time
to just do a new scratch install of 8.xx (8.2 should be here soon).

First, make a thorough list of everything that is installed on the
old machine.List info from disk slice[s] and partitions and other
configuration items.  Then make copies (backups) of all user data
and anything that needs to be kept from the old system and is not
being newly installed from ports and such.

Now would be a good/great time to replace/upgrade the hard disk or
install a second (third..., etc) disk.

Rethink the partitioning according to current usage and disk sizes.

Then just build a new machine, configure it appropriately, install
the ports and any other possible software - latest versions.  Then
restore all the user data that is needed on the new system and you
should be ready to go.  (Some old data may better be left in archive)

jerry  

> ___
> 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"
___
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: Upgrading to higher major version directly or via small steps?

2010-10-05 Thread b. f.
>I can't understand why should I use this "adm" tool instead of
>standard method, described in /usr/src/Makefile.

List subscribers generally ask that those sending messages to the list
place their replies below quoted material, rather than above it.

If you read /usr/src/UPDATING, you will see:

"To rebuild everything and install it on the current system.
---
 # Note: sometimes if you are running current you gotta do more than
# is listed here if you are upgrading from a really old current."

This same statement is valid with regard to releases, and the -STABLE
branches.  Engelschall's adm toolkit and associated scripts attempt to
"do more than is listed here," as Engelschall described clearly at the
link that Washington gave you,

http://people.freebsd.org/~rse/upgrade/

'for upgrading from X-STABLE to (X+1)-STABLE ... the usual "build and
install everything from source" does not work or at least requires
additional preparations.'  I would qualify that "does not work" with a
"sometimes".  Of course you don't have to use this stuff, but you may
want to at least look through his scripts, to see if some of the steps
are applicable to your machines.  In any event, before you attempt a
major upgrade, you should back up your data, so that it will not be
lost if something goes wrong.  Also, you may want to consider simply
wiping your disks and starting afresh with new binary installation,
rather than attempting to upgrade directly.  Sometimes that is easier.
 You can always customize it later.

>And it's not an answer to this question:
>6.2 to 7.3 is which one of the folowing:
>- 6.2->6.4->7.0->7.3
>or
>- 6.2->7.3 directly?

See below.

>2010/10/4 Odhiambo Washington :
>>
>>
>> On Mon, Oct 4, 2010 at 4:47 PM, c0re  wrote:
...
>>> I'm interested in 2 updates:
>>> - from 6.2 to 7.3
>>> and
>>> - from 6.2 to 8.1
>>>
>>> Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and
>>> make csup. Or I should update to 6.4, then to 7.0, and then to 7.3?
>>>
>>> And same question about upgrading from 6.2 to 8.1 - can i csup directly to
>>> 8.1? If not - why is it so?
>>>

You might as well do both updates in just one step.  You probably
won't gain much by breaking it up into smaller steps, and that will
take longer.  It may be quicker and safer just to start with a new src
collection, obtained via csup, svn, release media, or tarballs, rather
than attempting to bring a very old src collection up to date.

b.
___
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: Upgrading to higher major version directly or via small steps?

2010-10-04 Thread c0re
I can't understand why should I use this "adm" tool instead of
standard method, described in /usr/src/Makefile.

And it's not an answer to this question:
6.2 to 7.3 is which one of the folowing:
- 6.2->6.4->7.0->7.3
or
- 6.2->7.3 directly?

2010/10/4 Odhiambo Washington :
>
>
> On Mon, Oct 4, 2010 at 4:47 PM, c0re  wrote:
>>
>> Hello all!
>>
>>
>> I'm interested in 2 updates:
>> - from 6.2 to 7.3
>> and
>> - from 6.2 to 8.1
>>
>> Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and
>> make csup. Or I should update to 6.4, then to 7.0, and then to 7.3?
>>
>> And same question about upgrading from 6.2 to 8.1 - can i csup directly to
>> 8.1? If not - why is it so?
>>
>
> http://people.freebsd.org/~rse/upgrade/
>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "If you have nothing good to say about someone, just shut up!."
>                -- Lucky Dube
>
___
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: Upgrading to higher major version directly or via small steps?

2010-10-04 Thread Odhiambo Washington
On Mon, Oct 4, 2010 at 4:47 PM, c0re  wrote:

> Hello all!
>
>
> I'm interested in 2 updates:
> - from 6.2 to 7.3
> and
> - from 6.2 to 8.1
>
> Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and
> make csup. Or I should update to 6.4, then to 7.0, and then to 7.3?
>
> And same question about upgrading from 6.2 to 8.1 - can i csup directly to
> 8.1? If not - why is it so?
>
>
http://people.freebsd.org/~rse/upgrade/



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
   -- Lucky Dube
___
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"


  1   2   3   4   5   6   7   8   9   >