Re: Do I really have to install 80 packages?

2013-10-14 Thread Da Rock

On 10/13/13 17:38, Thomas Mueller wrote:

On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 
32-bit version with (i386-)Wine?

I plan to try that.
Apparently that won't solve much. The primary issue now with watching 
flash movies is the drm - on linux it somehow uses hal and dbus, on 
windows it uses the registry.

___
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: Do I really have to install 80 packages?

2013-10-13 Thread Thomas Mueller
On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 
32-bit version with (i386-)Wine?

I plan to try that.

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: Do I really have to install 80 packages?

2013-10-12 Thread Walter Hurry
On Sat, 12 Oct 2013 05:31:56 +0200, Polytropon wrote:

 On Fri, 11 Oct 2013 17:54:24 -0400, Glenn Sieb wrote:
 On 10/11/13 5:38 PM, Walter Hurry wrote:
  FreeBSD 9.1
  
  I want ONE shared lib; i.e. rsvg.so, which is provided by
  x11-toolkits/py-gnome-desktop.
  
  Unfortunately, it seems that going the normal route I shall have to
  install 80! ports to get it. Is there an easier way?
 
 Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for
 you?
 
 Maybe graphics/librsvg2 is better suited (even though it's version 2 of
 the library). The problem initially mentions will remain: lots of
 installation dependencies. Sadly, that seems to be normal today as
 modern software tends to rely on layers of libraries of abstraction of
 tools of utilities of stuff of layers of layers of other abstractions.
 :-)
 
 As you see: gnome-desktop and gtk20. That should bring your warning
 lights up: lots of dependencies ahead!
 
 When you try to install a simple desktop environment, you'll be
 confronted with hundreds of packages to be installed, some of them
 you've probably never had thought of in regards of what you need to
 install a desktop, such as two or more different databases, LaTeX,
 translators, and other surprising stuff. This will probably apply to
 most complex components and parts of desktop environments or X11
 toolkits (as mentioned above).
 
 As I mentioned, the librsvg2 port will install lib/librsvg-2.so.
 It might require you to re-install your target application to link
 against that library.
 
 A library libsvg.so (without version number) doesn't seem to be in the
 ports tree by that name.
 
 My lazy man's method of searching what port might contain the library:
 Midnight Commander, go to /usr/ports, Meta-?, seach in pkg-plist,
 search for text librsvg and examine the results with PF3. This method
 relies on approaches that might be wrong... :-)
 
 Note that my (locally installed) ports tree is not up to date anymore so
 you should consider performing a search on a recent tree to make sure I
 didn't miss anything.

Thanks Polytropon, but the one I needed was this:

x11-toolkits/py-gnome-desktop/pkg-plist:%%PYTHON_SITELIBDIR%%/gtk-2.0/
rsvg.so

I have given in, let it install all 80 ports, saved the one shlib I need 
and deleted the ports again. All is now well.

By the way, I needed it for the 'screenlets' Python applications; in 
particular ClockScreenlet.py.

___
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: Do I really have to install 80 packages?

2013-10-12 Thread gct7photography
I don't know what others think, but what *I* really want is that the
free software versions of Flash (gnash and klash, etc) work at least as
well as versions of Adobe Flash do, or if versions of Adobe Flash are
to be used, that it will be free and covered by the GPL.

Its unlikely to happen unless we start a campaign among the Free
Software users of the world to make Flash free software.

Yes, I know HTML 5 is just around the corner, but we've seen a
concerted effort already (in the European Parliament at least) to
introduce DRM into HTML 5 and though it may make using Flash marginally
easier, it would be a retrograde step if DRM is to be introduced.

So what are we left with?  Free software to replicate what Flash
does (at least) that does not have the taint of proprietary software?
Is that not an achievable goal?

I can't code but would be willing to join a project with those
achievable goals, but it hasn't appeared yet, so I don't seriously
expect it will happen any time soon.

++ Graham Todd


signature.asc
Description: PGP signature


Re: Do I really have to install 80 packages?

2013-10-12 Thread Polytropon
On Sat, 12 Oct 2013 23:28:40 +0100, gct7photogra...@gmail.com wrote:
 I don't know what others think, but what *I* really want is that the
 free software versions of Flash (gnash and klash, etc) work at least as
 well as versions of Adobe Flash do, or if versions of Adobe Flash are
 to be used, that it will be free and covered by the GPL.

First of all, keep in mind you're walking corporate territory
here. No company will give you anything for free, and even if
it looks free, there's a catch somewhere. Flash as a technology
is dying. It didn't make the transition to the growing mobile
markets. That's why Adobe does not continue its Linux line of
product - a completely reasoname business decision.

People who use, or to be correct, _abuse_ Flash as a replace-
ment for markup and content are not interested in bringing their
product to your attention and reception.

What I'd like to see would be a Flash plugin integrated in
the web browser, with the option of being switched off. I'd
consider it a 1st class citizen by demanding that is has the
same status as embedded media, centered text, a PNG image or
a hyperlink, being a functional module of the web browser
like the renderer, the CSS interpreter, the JS interpreter
or something like that. Could you imagine to install a pro-
prietary plugin to be able to see a JPG image? To see text
centered? To click on a hyperlink? And all the time keep in
mind that it is backdoored? Hmmm...



 Its unlikely to happen unless we start a campaign among the Free
 Software users of the world to make Flash free software.

That won't happen. Flash is the property of a corporation.
The only alternative I see is that this corporation would
donate the product, releasing all the sources and abandoning
all involved lawyer-crap. But that won't happen. I think
most companies better close away the stuff they won't develop
anymore instead of handing it over to a community.



 Yes, I know HTML 5 is just around the corner, but we've seen a
 concerted effort already (in the European Parliament at least) to
 introduce DRM into HTML 5 and though it may make using Flash marginally
 easier, it would be a retrograde step if DRM is to be introduced.

As far as I know, DRM will be covered by the upcoming standard.
This means it will be _possible_ to implement DRM solutions in
HTML. _Using_ them - that's a totally different field.

Keep in mind an important thing:

Alternatives for Flash have been around for a decade at least.
Video, audio, interaction - all possible without it. It's not just
about the browser plugin (the player), it's also about the
creative tools that people use to produce the stuff. Those tools
are offered usually in expensive commercially distributed suites.
As soon as developers and creators get aware of alternatives that
they can learn and use for free, they _might_ change, but only if
the mindset changes.

It's not just about those tools, it's also about file formats.
What I'm talking about is media codecs. Some of them offer DRM
capabilites, others don't. Some of them are highly infected with
patents and other lawyer-crap. There are reasons why some
systems and environments can play various formats out of the
box, and others can't. Which formats are efficient for use with
the Internet? Which offer scaling and streaming capabilities,
important for mobile users who demand lower quality, less data
transfer, and tolerance to higher latency? Which codecs can
make use of a decoder made in hardware?

_This_ problem also has to be solved!

Now put this back into relation with my initial idea of making
that kind of content decoder part of the web browser. The
same way you see a JPG image on a web page and click on a
hyperlink... It should be easy, but sadly it isn't.

HTML5 tries to solve those problems. Its markup will be better
suited for handling media content, plus CSS and JS will be
important players on the interaction field. There are already
projects that utilize those tools, and _developer tools_ as
well as _creator tools_ will be present. Maybe they will even
be present for free. YouTube can do fine without Flash already.
Online games in HTML5 are appearing. On the other hand, Flash
is a no-go on mobile, and mobile is becoming more and more
important to consumers. Additionally, more and more people
become aware of the danger of proprietary software (in regards
of privacy and corporate control, as well as an improving
understanding of what DRM does to their freedom). It will take
some time to show significant effect.

Let's hope people are going to get smarter than I assume. :-)



 So what are we left with?  Free software to replicate what Flash
 does (at least) that does not have the taint of proprietary software?
 Is that not an achievable goal?

It is a _desired_ goal.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http

Re: Do I really have to install 80 packages?

2013-10-12 Thread Ralf Mardorf
On Sun, 2013-10-13 at 04:48 +0200, Polytropon wrote:
 Let's hope people are going to get smarter than I assume. :-)

It's new, not even 100 years old. Within our lifetimes people likely
become more stupid, but yes, it will take some generations and people
will get smarter.


___
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


Do I really have to install 80 packages?

2013-10-11 Thread Walter Hurry
FreeBSD 9.1

I want ONE shared lib; i.e. rsvg.so, which is provided by
x11-toolkits/py-gnome-desktop.

Unfortunately, it seems that going the normal route I shall have to 
install 80! ports to get it. Is there an easier way?

___
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: Do I really have to install 80 packages?

2013-10-11 Thread Glenn Sieb
On 10/11/13 5:38 PM, Walter Hurry wrote:
 FreeBSD 9.1
 
 I want ONE shared lib; i.e. rsvg.so, which is provided by
 x11-toolkits/py-gnome-desktop.
 
 Unfortunately, it seems that going the normal route I shall have to 
 install 80! ports to get it. Is there an easier way?

Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for you?

Best,
--Glenn

___
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: Do I really have to install 80 packages?

2013-10-11 Thread Polytropon
On Fri, 11 Oct 2013 17:54:24 -0400, Glenn Sieb wrote:
 On 10/11/13 5:38 PM, Walter Hurry wrote:
  FreeBSD 9.1
  
  I want ONE shared lib; i.e. rsvg.so, which is provided by
  x11-toolkits/py-gnome-desktop.
  
  Unfortunately, it seems that going the normal route I shall have to 
  install 80! ports to get it. Is there an easier way?
 
 Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for you?

Maybe graphics/librsvg2 is better suited (even though it's
version 2 of the library). The problem initially mentions
will remain: lots of installation dependencies. Sadly, that
seems to be normal today as modern software tends to rely
on layers of libraries of abstraction of tools of utilities
of stuff of layers of layers of other abstractions. :-)

As you see: gnome-desktop and gtk20. That should bring
your warning lights up: lots of dependencies ahead!

When you try to install a simple desktop environment, you'll
be confronted with hundreds of packages to be installed, some
of them you've probably never had thought of in regards of
what you need to install a desktop, such as two or more
different databases, LaTeX, translators, and other surprising
stuff. This will probably apply to most complex components and
parts of desktop environments or X11 toolkits (as mentioned
above).

As I mentioned, the librsvg2 port will install lib/librsvg-2.so.
It might require you to re-install your target application to
link against that library.

A library libsvg.so (without version number) doesn't seem to
be in the ports tree by that name.

My lazy man's method of searching what port might contain the
library: Midnight Commander, go to /usr/ports, Meta-?, seach
in pkg-plist, search for text librsvg and examine the
results with PF3. This method relies on approaches that might
be wrong... :-)

Note that my (locally installed) ports tree is not up to date
anymore so you should consider performing a search on a recent
tree to make sure I didn't miss anything.



-- 
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: install packages with pkg_add(1) into another file system

2013-10-09 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 03:31:16PM +0200, Matthias Apitz 
escribió:

 Meanwhile I did:
 
 # cp -Rp ~guru/PKGDIR/mnt
 
 # PKG_PATH=/PKGDIR
 # export PKG_PATH
 # chroot /mnt pkg_add xorg-7.7
 # chroot /mnt pkg_add kde-4.10.5
 # chroot /mnt pkg_add vim-7.3.1314
 ...
 
 # chroot /mnt pkg_info | wc -l
  654
 
 which went fine without any errors (only the normal messages about
 creation of users, etc.); I will test the resulting image and report
 back.

I have transferred the image with dd(1) to a 16 marketing-GByte USB
key; it boots fine in my little EeePC 900, takes around 90 secs until
login: and KDE4 starts fine too, takes around 240 secs from startx to
be able to start an xterm application in KDE4 desktop; i.e. it works,
even from such a slow USB key which has a read performance of 1 to 17 MByte
per sec, depending of the blocksize 512 or 8m;

All this is only a proof of concept to prepare such USB key to boot from
and reinstall from it the system on my EeePC netbook whic runs at
themoment r235646 with KDE3 (which is now dropped from our ports tree).

It seems that KDE4 launches a lot of application or services which I
will not need, for example all these akonadi_maildir processes (see
attached ps -ax output; for what they are good for? Ok, this question
goes more to the kde@ mailing list.

Thx

matthias




 PID TT  STATTIME COMMAND
   0  -  DLs  0:00.05 [kernel]
   1  -  ILs  0:00.02 /sbin/init --
   2  -  DL   0:00.00 [sctp_iterator]
   3  -  DL   0:00.00 [xpt_thrd]
   4  -  DL   0:00.11 [pagedaemon]
   5  -  DL   0:00.00 [vmdaemon]
   6  -  DL   0:00.00 [pagezero]
   7  -  DL   0:00.00 [bufdaemon]
   8  -  DL   0:00.09 [syncer]
   9  -  DL   0:00.00 [vnlru]
  10  -  DL   0:00.00 [audit]
  11  -  RL   2:53.86 [idle]
  12  -  WL   0:02.35 [intr]
  13  -  DL   0:00.84 [geom]
  14  -  DL   0:00.05 [rand_harvestq]
  15  -  DL   0:00.90 [usb]
  16  -  DL   0:00.03 [acpi_thermal]
  17  -  DL   0:00.00 [softdepflush]
1391  -  Ss   0:00.03 /sbin/devd
1536  -  Ss   0:00.04 /usr/sbin/syslogd -s
1560  -  DL   0:00.04 [md0]
1641  -  Is   0:00.60 /usr/sbin/moused -p /dev/psm0 -t auto
1686  -  Is   0:00.00 /usr/sbin/sshd
1689  -  Ss   0:00.02 sendmail: accepting connections (sendmail)
1692  -  Is   0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmque
1696  -  Ss   0:00.05 /usr/sbin/cron -s
1796  -  Is   0:19.46 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-a
1802  -  Is   0:00.91 kdeinit4: kdeinit4 Running... (kdeinit4)
1803  -  I0:00.60 kdeinit4: kdeinit4: klauncher --fd=8 (kdeinit4)
1805  -  I0:05.90 kdeinit4: kdeinit4: kded4 (kdeinit4)
1807  -  I0:00.07 /usr/local/libexec/gam_server
1811  -  I0:02.99 kdeinit4: kdeinit4: kglobalaccel (kdeinit4)
1817  -  I0:06.23 /usr/local/kde4/bin/knotify4
1819  -  I0:02.45 kdeinit4: kdeinit4: ksmserver (kdeinit4)
1820  -  I0:11.72 kwin -session 10d6114d4e60001381347192001812_1381
1824  -  I0:14.72 kdeinit4: kdeinit4: plasma-desktop (kdeinit4)
1827  -  I0:20.26 /usr/local/kde4/bin/akonadi_control
1828  -  I0:02.79 akonadiserver
1830  -  I0:03.56 /usr/local/libexec/mysqld --defaults-file=/home/guru/.loc
1838  -  I0:02.07 /usr/local/kde4/bin/kuiserver
1840  -  I0:00.08 kdeinit4: kdeinit4: nepomukserver (kdeinit4)
1843  -  I0:04.73 kdeinit4: kdeinit4: krunner (kdeinit4)
1845  -  I0:02.35 kdeinit4: kdeinit4: kmix -session 10d6114d4e6000138134736
1846  -  IN   0:00.93 /usr/local/kde4/bin/nepomukservicestub nepomukstorage
1849  -  I0:00.60 /usr/local/kde4/bin/nepomukcontroller -session 10d6114d4e
1852  -  I0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1853  -  I0:01.07 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1854  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1855  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1856  -  I0:03.81 /usr/local/kde4/bin/akonadi_archivemail_agent --identifie
1857  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_ical_r
1858  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1859  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1860  -  I0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1861  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1862  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1863  -  I0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1864  -  I0:01.06 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1865  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1866  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1867  -  I0:01.03 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1868  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1869  -  I0:01.02 

install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz

Hello,

I have prepared a boot-able USB-key (to be exactly a disk image of it)
the usual way:

# dd if=/dev/zero of=da0  bs=8m count=1868
# mdconfig -a -t vnode -f da0
md0

# fdisk -I md0
# fdisk -B md0
# bsdlabel -w md0s1 auto
# bsdlabel -B md0s1
# bsdlabel -e md0s1  # edit the disk label and change partition a from 
unused to 4.2BSD

# newfs /dev/md0s1a
# mount /dev/md0s1a /mnt

# cd /usr/src

now we can install world an kernel:

# make installworld  DESTDIR=/mnt
# make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t
# make distrib-dirs  DESTDIR=/mnt
# make distribution  DESTDIR=/mnt
...

I have compiled ~800 ports (Xorg and KDE4) and after this I've created
packages of all the installed ports with pkg_create(1); the resulting
.tgz files are all as well copied to the image into /mnt/PKGDIR.

So far so good. Now I want install the packages as well into the image
in /mnt. What would be the best method for this? Run pkg_add with the
flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?

Thanks in advance

All this is with 10-CURRENT (base and ports).

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
 
 So far so good. Now I want install the packages as well into the image
 in /mnt. What would be the best method for this? Run pkg_add with the
 flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
 
 Thanks in advance
 
 All this is with 10-CURRENT (base and ports).
 

pkg_add and all of the old pkgtools do not exist in 10-CURRENT
anymore. Are you running a build of 10-CURRENT before they were removed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió:

 On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
  
  So far so good. Now I want install the packages as well into the image
  in /mnt. What would be the best method for this? Run pkg_add with the
  flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
  
  Thanks in advance
  
  All this is with 10-CURRENT (base and ports).
  
 
 pkg_add and all of the old pkgtools do not exist in 10-CURRENT
 anymore. Are you running a build of 10-CURRENT before they were removed?

No. The r255948 was built on a clean, empty environment but with

$ cat /etc/src.conf 
WITH_PKGTOOLS=yes

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote:
 El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder
 escribió:
 
  On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
   
   So far so good. Now I want install the packages as well into the image
   in /mnt. What would be the best method for this? Run pkg_add with the
   flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
   
   Thanks in advance
   
   All this is with 10-CURRENT (base and ports).
   
  
  pkg_add and all of the old pkgtools do not exist in 10-CURRENT
  anymore. Are you running a build of 10-CURRENT before they were removed?
 
 No. The r255948 was built on a clean, empty environment but with
 
 $ cat /etc/src.conf 
 WITH_PKGTOOLS=yes
 

Ok, I won't question your needs for pkg_* as you seem to be aware of
what you're doing :-)

When you use pkg_* or pkg with their built-in chroot options it seems
that it executes those tools within those chroots instead of setting the
chroot as a destination for the installation. So if you wanted to use
--chroot I think you have to make sure the packages are available inside
the chroot. Perhaps there's some sort of DESTDIR option for the package
installation? I've been searching but have had no luck yet. I'll ask
around. It might be more reliable to do something like nullfs mount the
packages into the chroot and do the installation completely within the
chroot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 08:12:31AM -0500, Mark Felder escribió:

  No. The r255948 was built on a clean, empty environment but with
  
  $ cat /etc/src.conf 
  WITH_PKGTOOLS=yes
  
 
 Ok, I won't question your needs for pkg_* as you seem to be aware of
 what you're doing :-)
 
 When you use pkg_* or pkg with their built-in chroot options it seems
 that it executes those tools within those chroots instead of setting the
 chroot as a destination for the installation. So if you wanted to use
 --chroot I think you have to make sure the packages are available inside
 the chroot. Perhaps there's some sort of DESTDIR option for the package
 installation? I've been searching but have had no luck yet. I'll ask
 around. It might be more reliable to do something like nullfs mount the
 packages into the chroot and do the installation completely within the
 chroot.

Meanwhile I did:

# cp -Rp ~guru/PKGDIR/mnt

# PKG_PATH=/PKGDIR
# export PKG_PATH
# chroot /mnt pkg_add xorg-7.7
# chroot /mnt pkg_add kde-4.10.5
# chroot /mnt pkg_add vim-7.3.1314
...

# chroot /mnt pkg_info | wc -l
 654

which went fine without any errors (only the normal messages about
creation of users, etc.); I will test the resulting image and report
back.

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 19:09, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able to
work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from my
environment, that's causing this.  Or is the port install not doing
something that it should be doing?


Never faced this, itweb-javaws works for me without library shuffling 
but with one tiny fix to startup script: `exec ${COMMAND[@]}`.


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not doing
something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source and
ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all I
get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread dweimer

On 10/02/2013 6:35 am, Volodymyr Kostyrko wrote:

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able 
to
determine that its looking for the library under 
/usr/local/lib/amd64,

the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the 
amd64

sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not 
doing

something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source 
and

ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all 
I

get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...


Thank you, this fixed that part, silly me, I was searching the help for 
things like -nosplash, and disable splash screen.


Didn't realize that this was the same thing:
  -headless Disables download window, other UIs.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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


Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-01 Thread dweimer
I was struggling to get itweb-javaws to execute, due to it not being 
able to find libjava.so, after running it through truss, I was able to 
determine that its looking for the library under /usr/local/lib/amd64, 
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able to 
work around the problem by creating a symbolic link to point 
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64 
sub-directory didn't exist in /usr/local/lib.


This does make me wonder though, if I am just missing something from my 
environment, that's causing this.  Or is the port install not doing 
something that it should be doing?


System is a new build of 9.2-RELEASE, compiled from source, source and 
ports all built with clang where possible.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-01 Thread dweimer

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not doing
something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source and
ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all I 
get is:


java.lang.UnsatisfiedLinkError: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol 
jpeg_resync_to_restart


I somewhat worked around it by installing the linux_sun_jre 7.40, and 
pointing icedtea webstart at it, searching online shows this to be most 
likely be a bug in the port of openjdk.


http://www.freebsd.org/cgi/query-pr.cgi?pr=119654

--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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


HP Workstation install

2013-09-24 Thread Bernt Hansson

Hello list!

I've bought an HP Workstation xw8200 and trying to install fsb 8.3, 8.4 
and 9.1. The machine boots with all of the 8.x but never install, trying 
to install from usb stick.


Installing 9.1 works, sort of, installation works fine but it never boot.

Gives;

Non-system disk or disk error
replace and strike any key when ready.

It is a dual xeon system with 6 Gb ram and 4 HDDs
2 73Gb scsi one 120Gb PATA and one 160Gb SATA

___
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: HP Workstation install

2013-09-24 Thread Pascal Schmid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/24/2013 05:14 PM, Bernt Hansson wrote:
 Hello list!
 
 I've bought an HP Workstation xw8200 and trying to install fsb 8.3, 8.4 and 
 9.1. The machine
 boots with all of the 8.x but never install, trying to install from usb stick.
 
 Installing 9.1 works, sort of, installation works fine but it never boot.
 
 Gives;
 
 Non-system disk or disk error replace and strike any key when ready.
 
 It is a dual xeon system with 6 Gb ram and 4 HDDs 2 73Gb scsi one 120Gb PATA 
 and one 160Gb
 SATA
 
 ___ 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,

according to my search results this error is related to a broken hard drive 
cable or due to a
wrong boot sequence (BIOS can't find your boot disk). Have you tried to set the 
boot disk on first
position for booting? If that doesn't help, please check the cables.

Pascal
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.21 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSQbVNAAoJEAWefonBOgAf7YAQAKjUmOIABchF6S85EdBo3Pe7
HlhXpf787PPpchHm3tuiYJ7zTv11W/4HJTJvbBXtqlt8QrQU2eIdC7ONSSJFdenK
bYwTjSmy4yQW3qi1V5sd+i16T/v2vDPyHoILlWg56b7PEQmaog8EPpis/Z1bkSks
wzhBrZFFZlKbMni/ECfOEsbvb13NeZPgA2OR2udRYGP0a7u2mK2218FjkDNrwdIO
9e4a87LLxLe/U9RE7BFHiGuLT1f804Mq7A8x6K2gpeDyqfkAoy126mUINUUZNKVb
r09cKG2qhN8W8gEdBkGXjGfYzGFrUWCXxgPq7SGnNfGB+Skl1t0l6lAcT8YZ8L59
f4GKAYksuL3iCyooQVBvq0f7lU7wqcKpx/8ZifW/GSDzS7d+DN+u/NjdDoLMHn2I
Pg6iVysJlzYVq3oY8AihAJcsGQutS9PZX1MbOvdJ1Y/X11odQ+SQ9fP+Ao5tCe1e
fMer1EYrNN3nZuTr/Uo3q5NIwyyyCdvHk82qURlmoZ4gMtQQciDaRlRBc3lcyuXL
9aFGUDZsL0gWKC9ehYPh8sVzz59NmeLM+kglLhAriYD1Jn3ZT8Y1K6cHBkL2mkw8
xpiJ57tbz4K4j8Q2h4eYK6zak7XGBzxS4YmrfN/ZWKzsdL8quKXgLlWnjQ39wH9A
27P2kRVQxMIR9Px7MwCH
=jQlO
-END PGP SIGNATURE-
___
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


pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Yuri

I installed 9.1 from iso image.
Then 'pkg' command brought pkg-1.0.11 package.
Now commands like 'pkg install gnome2' always say:
pkg: Package 'gnome2' was not found in the repositories.

Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

Yuri
___
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: pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Matthew Seaman
On 17/08/2013 05:41, Yuri wrote:
 I installed 9.1 from iso image.
 Then 'pkg' command brought pkg-1.0.11 package.
 Now commands like 'pkg install gnome2' always say:
 pkg: Package 'gnome2' was not found in the repositories.
 
 Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

You have an old version of pkg there, and it looks like the pkg.conf
that came with that version doesn't point at a repository with any
useful contents.

Try:

pkg upgrade

which /should/ get you pkg-1.1.4_1

Then check ${LOCALBASE}/etc/pkg.conf and make sure packagesite is set to:

   http://pkg.freebsd.org/${ABI}/latest

or there are some other publicly availble repos: Exonetric has one, as
does PC-BSD.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Can't install FreeBSD 9.1 on a Toshiba A20-S207, CAM Status: Command timeout

2013-08-07 Thread Solio Sarabia
I'm having problems installing PC-BSD 9.1 Isotope Edition or FreeBSD 9.1 on
a relic Toshiba Satellite A20-S207,
http://support.toshiba.com/support/staticContentDetail?contentId=638246isFromTOCLink=false
.

However, on the same machine, PC-BSD 8.2 Hubble Edition or FreeBSD 8.2 can
be installed without a problem. So, I'm guessing something changed in the
boot configuration detection process. Some forums report it could be
related to the hard disk detection speed DMA. Have tried every possible
combination in the BIOS settings and still without success. Please find
attached the /var/log/messages in PC-BSD 8.2 (the version that works fine.)

I can install PC-BSD 9.1 booting in secure mode, and complete the
installation process, but when I finish off installation, remove the disc
and reboot, it halts in the following lines:

uhub0: 3 ports with 3 removable, self powered
uhub2: 5 ports with 5 removable, self powered
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: TOSHIBA DVD-ROM SD-R2412 1333 Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [1828192 x 2048 byte records]
ada0 at ata0 bus 0 scbus0 target 0 lun0
ada0: SAMSUNG HM160HC LQ100-10 ATA-8 device
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada: Previously was known as ad0
Timecounter TSC frequency 2656886392 Hz quality 800
(ada0:ata0:0:0:0) READ_DMA48. ACB: 25 00 af 9e a1 40 12 00 00 00 01 00
(ada0:ata0:0:0:0) CAM status: Command timeout
(ada0:ata0:0:0:0) Retrying command

Thank you for reading. Hope someone points me in the right direction as I'd
really like to install the latest stable release of PC-BSD, i.e. version
9.2.
Aug  7 21:07:50 pcbsd syslogd: kernel boot file is /boot/kernel/kernel
Aug  7 21:07:50 pcbsd kernel: Copyright (c) 1992-2011 The FreeBSD Project.
Aug  7 21:07:50 pcbsd kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Aug  7 21:07:50 pcbsd kernel: The Regents of the University of California. All 
rights reserved.
Aug  7 21:07:50 pcbsd kernel: FreeBSD is a registered trademark of The FreeBSD 
Foundation.
Aug  7 21:07:50 pcbsd kernel: FreeBSD 8.2-RELEASE #7: Wed Feb 16 12:19:08 PST 
2011
Aug  7 21:07:50 pcbsd kernel: 
r...@build8x32.pcbsd.org:/usr/obj/usr/local_storage/pcbsd-build82/fbsd-source/8.2/sys/PCBSD
 i386
Aug  7 21:07:50 pcbsd kernel: Timecounter i8254 frequency 1193182 Hz quality 0
Aug  7 21:07:50 pcbsd kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz 
(2656.83-MHz 686-class CPU)
Aug  7 21:07:50 pcbsd kernel: Origin = GenuineIntel  Id = 0xf29  Family = f  
Model = 2  Stepping = 9
Aug  7 21:07:50 pcbsd kernel: 
Features=0xbfebf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Aug  7 21:07:50 pcbsd kernel: Features2=0x4400CNXT-ID,xTPR
Aug  7 21:07:50 pcbsd kernel: real memory  = 2147483648 (2048 MB)
Aug  7 21:07:50 pcbsd kernel: avail memory = 2053349376 (1958 MB)
Aug  7 21:07:50 pcbsd kernel: Cuse4BSD v0.1.13 @ /dev/cuse
Aug  7 21:07:50 pcbsd kernel: kbd1 at kbdmux0
Aug  7 21:07:50 pcbsd kernel: cryptosoft0: software crypto on motherboard
Aug  7 21:07:50 pcbsd kernel: acpi0: TOSHIB 750 on motherboard
Aug  7 21:07:50 pcbsd kernel: acpi0: [ITHREAD]
Aug  7 21:07:50 pcbsd kernel: acpi0: Power Button (fixed)
Aug  7 21:07:50 pcbsd kernel: acpi0: reservation of 0, a (3) failed
Aug  7 21:07:50 pcbsd kernel: acpi0: reservation of 10, 7def (3) failed
Aug  7 21:07:50 pcbsd kernel: Timecounter ACPI-fast frequency 3579545 Hz 
quality 1000
Aug  7 21:07:50 pcbsd kernel: acpi_timer0: 24-bit timer at 3.579545MHz port 
0xd808-0xd80b on acpi0
Aug  7 21:07:50 pcbsd kernel: cpu0: ACPI CPU on acpi0
Aug  7 21:07:50 pcbsd kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on 
acpi0
Aug  7 21:07:50 pcbsd kernel: pci0: ACPI PCI bus on pcib0
Aug  7 21:07:50 pcbsd kernel: pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
Aug  7 21:07:50 pcbsd kernel: pci1: ACPI PCI bus on pcib1
Aug  7 21:07:50 pcbsd kernel: vgapci0: VGA-compatible display mem 
0xfc00-0xfdff,0xfbc0-0xfbff,0xf800-0xf9ff,0xf7ff8000-0xf7ff
 irq 11 at device 0.0 on pci1
Aug  7 21:07:50 pcbsd kernel: atapci0: AcerLabs M5229 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xeff0-0xefff at device 4.0 on pci0
Aug  7 21:07:50 pcbsd kernel: atapci0: using PIO transfers above 137GB as 
workaround for 48bit DMA access bug, expect reduced performance
Aug  7 21:07:50 pcbsd kernel: ata0: ATA channel 0 on atapci0
Aug  7 21:07:50 pcbsd kernel: ata0: [ITHREAD]
Aug  7 21:07:50 pcbsd kernel: ata1: ATA channel 1 on atapci0
Aug  7 21:07:50 pcbsd kernel: ata1: [ITHREAD]
Aug  7 21:07:50 pcbsd kernel: pci0: multimedia, audio at device 6.0 (no 
driver attached)
Aug  7 21:07:50 pcbsd kernel: isab0: PCI-ISA bridge at device 7.0 on pci0
Aug  7 21:07:50 pcbsd kernel: isa0: ISA bus on isab0
Aug  7 21:07:50 pcbsd kernel: pci0: bridge at device

Odd behavior while booting off Install media for 9.1...

2013-07-16 Thread aurfalien
... sometimes I get a normal boot procedure were I can proceed to install.

Other times I get the mountroot prompt and upon pressing enter, the system 
reboots.

This seems random with the same hardware setup.  I literally have to stare at 
the screen for it to finally push through to the install procedure.

I'm clearly new to freeBSD and was wondering what is going on here?

I'm happily installing now as I managed to find time and stare at the screen 
long enough but would like some insight n this if possible.

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


How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Ganesh Borse
Dear Friends,

I am new to Nanobsd and trying to create an iso image which can be
installed on vmware machine.

I created an iso image using the disk image
(/usr/obj/nanobsd.full/_.disk.image) generated according to steps
given in NanoBSD
How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .

VM could boot up with this ISO image, but I got an error as below before I
could get OS installation prompt:

mount: /dev/ad0s3: No such file or directory
mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh
Cannot read termcap database;
using dumb terminal settings.
#


do I need to use different commands or options to create iso image while
using nanobsd.sh script?

Please help.

Many thanks in advance for your help and time.

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


Re: How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Olivier Nicole
Ganesh,

 I am new to Nanobsd and trying to create an iso image which can be
 installed on vmware machine.

 I created an iso image using the disk image
 (/usr/obj/nanobsd.full/_.disk.image) generated according to steps
 given in NanoBSD
 How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .

 VM could boot up with this ISO image, but I got an error as below before I
 could get OS installation prompt:

 mount: /dev/ad0s3: No such file or directory
 mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh

What type of disk have you defined on your VMWare virtual server? The
default is SCSI, which corresponds to /dev/da, not ad.

Olivier

 Cannot read termcap database;
 using dumb terminal settings.
 #


 do I need to use different commands or options to create iso image while
 using nanobsd.sh script?

 Please help.

 Many thanks in advance for your help and time.

 Best Regards,
 - ganesh
 ___
 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: How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Ganesh Borse
Hi Olivier,

Hard Disk is configured as IDE (IDE 1:1), vm settings.

When freebsd image is booting in this VM, before getting the above error,
following logs are displayed on boost console:
   ada0: VMWare Virtual IDE Hard Driver 0001 ATA-4 device
...
...
   ada0: Previously was known as ad3
   ..
   Trying to mount root from cd9660:/dev/iso9660/nanoISO [ro]...


Thanks


On Mon, Jul 15, 2013 at 3:56 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th
 wrote:

 Ganesh,

  I am new to Nanobsd and trying to create an iso image which can be
  installed on vmware machine.
 
  I created an iso image using the disk image
  (/usr/obj/nanobsd.full/_.disk.image) generated according to steps
  given in NanoBSD
  How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .
 
  VM could boot up with this ISO image, but I got an error as below before
 I
  could get OS installation prompt:
 
  mount: /dev/ad0s3: No such file or directory
  mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh

 What type of disk have you defined on your VMWare virtual server? The
 default is SCSI, which corresponds to /dev/da, not ad.

 Olivier

  Cannot read termcap database;
  using dumb terminal settings.
  #
 
 
  do I need to use different commands or options to create iso image while
  using nanobsd.sh script?
 
  Please help.
 
  Many thanks in advance for your help and time.
 
  Best Regards,
  - ganesh
  ___
  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: FreeBSD 9.1 won't boot after install

2013-07-06 Thread Simon
On Fri, 5 Jul 2013 19:43:02 -0600 (MDT), Warren Block wrote:

 I booted the 9.1 install CD, executed gpart destroy -F ada0, and
 installed.  After completing the install, boot fails with:

 ERROR: No boot disk has been detected or the disk has failed.

That is a BIOS error, probably due to UEFI expecting a certain disk 
layout when it finds GPT.


Does this mean GPT is not supported by this system? I thought
GPT is supposed to replace MBR and UEFI is the future. Perhaps
there is something in UEFI that can be tweaked to make it work
with GPT?

-Simon


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


Re: FreeBSD 9.1 won't boot after install

2013-07-06 Thread Warren Block

On Sat, 6 Jul 2013, Simon wrote:


On Fri, 5 Jul 2013 19:43:02 -0600 (MDT), Warren Block wrote:


I booted the 9.1 install CD, executed gpart destroy -F ada0, and
installed.  After completing the install, boot fails with:

ERROR: No boot disk has been detected or the disk has failed.



That is a BIOS error, probably due to UEFI expecting a certain disk
layout when it finds GPT.



Does this mean GPT is not supported by this system?


Kind of the opposite: UEFI expects GPT, but also expects a particular 
set of partitions.  And then there's the SecureBoot situation.


I thought GPT is supposed to replace MBR and UEFI is the future. 
Perhaps there is something in UEFI that can be tweaked to make it work 
with GPT?


Yes.  There should be some sort of legacy boot.  In UEFI mode, 
SecureBoot can be disabled, so with the correct partition layout FreeBSD 
should boot even in UEFI (untested, I do not yet have a UEFI system).

___
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


install on external hdd

2013-07-06 Thread Nazar Kazakov
Hello everyone, I am new in FreeBSD. I want to install from DVD FreeBSD on an 
external hdd and I get an error when running the program partitioning. When I 
press alt + ctrl + F3, last lines: 
rm: /tmp/bsdinstall_etc/fstab: No such file or directory
Running installation step: autopart
Segmentation fault
Running installation step: umount

I found on Google about bsdinstall segfault without disks. Then I reboot 
computer, disconnected the hdd and connected it immediately after starting 
bsdinstall, that's what I brought:

usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED
ugen1.2: Unknown at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device

As I understand it, my external hdd is not mounted.
Maybe it's because I have a hdd with usb 3.0, but my computer does not have usb 
3.0.

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


Re: install on external hdd

2013-07-06 Thread Polytropon
Your research is correct so far.

On Sun, 07 Jul 2013 00:18:11 +0400, Nazar Kazakov wrote:
 I found on Google about bsdinstall segfault without disks.
 Then I reboot computer, disconnected the hdd and connected
 it immediately after starting bsdinstall, that's what I brought:
 
 usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
 ugen1.2: Unknown at usbus1 (disconnected)
 uhub_reattach_port: could not allocate new device

It should not matter when the disk is attached; bsdinstall
will operate on any disk recognized by the system, no matter
if detected at program runtime or system boot.



 As I understand it, my external hdd is not mounted.

The disk is not _recognized_. Only a file system can be
mounted (which requires the disk to be recognized). For
a USB disk, from the /dev/ugenX.Y device a /dev/daX device
will be generated, corresponding to the disk. The process
you've shown above does not even reach that step.

If you go to the shell, you can enter dmesg to see the
last messages that will be the same. You can also check
the content of /dev regarding daX devices (ls /dev/da*)
or use camcontrol devlist to check if they are present.



 Maybe it's because I have a hdd with usb 3.0, but my computer
 does not have usb 3.0.

Yes, this looks like a typical cannot connect error.
Normally, a USB 3 disk would switch down to USB 2.
But USB 3 has a different current requirement, so it
could be possible that the power drain from the USB port
is insufficient for the disk to work properly. Can you
try to attach a separate power supply to the disk?
For USB 3, _all_ involved parts (disk, cable, ports,
controller, OS) need to be in USB 3 mode, else it
probably won't work.




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


install on external hdd

2013-07-06 Thread Nazar Kazakov
In dmesg repeats the old conclusion that I wrote, but in dmesg I found 
information about five usbus and all except the last one (it has 2.0) written 
usb 1.0. I tried to connect the hdd to last, but failed. Also about usbus 
written that they are 2-port hub (probably built into the motherboard). In the 
first four usbus is intel UHCI root HUB, at the last - intel EHCI root HUB
ls / dev / da * finds nothing
camcontrol devlist outputs only DVD RW

My hdd has an input for an external power supply, and it is already connected 
to a second usb port.

07.07.2013, 00:37, Polytropon free...@edvax.de:

  Your research is correct so far.

  On Sun, 07 Jul 2013 00:18:11 +0400, Nazar Kazakov wrote:
   I found on Google about bsdinstall segfault without disks.
   Then I reboot computer, disconnected the hdd and connected
   it immediately after starting bsdinstall, that's what I brought:

   usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
   usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
   usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, 
 ignored)
   usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
   usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, 
 ignored)
   usbd_setup_device_desc: getting device descriptor at addr 2 failed, 
 USB_ERR_STALLED
   ugen1.2: Unknown at usbus1 (disconnected)
   uhub_reattach_port: could not allocate new device
  It should not matter when the disk is attached; bsdinstall
  will operate on any disk recognized by the system, no matter
  if detected at program runtime or system boot.
   As I understand it, my external hdd is not mounted.
  The disk is not _recognized_. Only a file system can be
  mounted (which requires the disk to be recognized). For
  a USB disk, from the /dev/ugenX.Y device a /dev/daX device
  will be generated, corresponding to the disk. The process
  you've shown above does not even reach that step.

  If you go to the shell, you can enter dmesg to see the
  last messages that will be the same. You can also check
  the content of /dev regarding daX devices (ls /dev/da*)
  or use camcontrol devlist to check if they are present.
   Maybe it's because I have a hdd with usb 3.0, but my computer
   does not have usb 3.0.
  Yes, this looks like a typical cannot connect error.
  Normally, a USB 3 disk would switch down to USB 2.
  But USB 3 has a different current requirement, so it
  could be possible that the power drain from the USB port
  is insufficient for the disk to work properly. Can you
  try to attach a separate power supply to the disk?
  For USB 3, _all_ involved parts (disk, cable, ports,
  controller, OS) need to be in USB 3 mode, else it
  probably won't work.

  --
  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: install on external hdd

2013-07-06 Thread Polytropon
On Sun, 07 Jul 2013 01:15:48 +0400, Nazar Kazakov wrote:
 In dmesg repeats the old conclusion that I wrote, but in dmesg
 I found information about five usbus and all except the last
 one (it has 2.0) written usb 1.0.

 I tried to connect the hdd to last, but failed.

Looks like a current issue. From WP:

A unit load is defined as 100 mA in USB 2.0,
and 150 mA in USB 3.0. A device may draw a
maximum of 5 unit loads (500 mA) from a port
in USB 2.0; 6 (900 mA) in USB 3.0.

If the disk needs more than 500 mA to spin up and start
properly, it won't work on a USB 2.0 port unless you
use the external power supply.



 Also about usbus written that they are 2-port hub (probably
 built into the motherboard). In the first four usbus is intel
 UHCI root HUB, at the last - intel EHCI root HUB

That kind of combination can often be found. My older home PC
also had this kind of configuration (Intel EHCI, VIA UHCI).



 ls / dev / da * finds nothing
 camcontrol devlist outputs only DVD RW

This shows that the disk isn't recognized by the OS, therefore
not usable in any disk-related operation.



 My hdd has an input for an external power supply, and it is
 already connected to a second usb port.

Also check the USB cable. Sometimes a partially defective
cable causes this kind of trouble.




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


FreeBSD 9.1 won't boot after install

2013-07-05 Thread James E. Pace
Hi,

I bought an HP Pavilion p7-1597c [1] system last week.  It is Intel Core
i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with
Windows 8.

I have disabled Secure Boot and enabled Legacy device booting.

I am able to complete the install of FreeBSD 9.1/amd64 from the CD without
any problems.  However, when I attempt to boot, it doesn't.

Originally I was trying to dual boot with Win 8, but eventually I rendered
Win8 unbootable.  So, now I have given FreeBSD the whole disk.  I have done
the standard install.  I found instructions to have the install use MBR
(instead of GPT), but that also doesn't work.

After an install, I get to the boot0 (the F1 boot menu thing) screen, but
when it tries to boot, it prints # and doesn't boot.  When trying to
share the disk with Windows, mostly I'd get boot errors about not having a
bootable device (ERROR: No boot disk has been detected or the disk has
failed.).

In the BIOS setting, I've tried both IDE and AHCI in Storage Options -
SATA emulation.

PC-BSD 9.1 has the same results.  It installs fine, but resets after
selecting something at the boot0 prompt.

FreeBSD 8.4 wouldn't install because the installer didn't have device node
for /dev/ad4s1b in /dev in order to create the filesystems.  I haven't
spent any time figuring out what's going on here. [Using the Standard
Installer, accepted the message about geometry, told it to use the whole
disk, use the standard boot manager, used the auto-default filesystems,
told it to go...]

Ubuntu Linux works.
OpenBSD works.
NetBSD works.
Fedora Linux works.

I've been a FreeBSD user for about 16 years, so I really want this to work.

Does anyone have suggestions about what else I should try?

Thanks,

James

[1]
http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03704551lang=encc=ustaskId=101contentType=SupportFAQprodSeriesId=5330777

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


Re: FreeBSD 9.1 won't boot after install

2013-07-05 Thread Warren Block

On Fri, 5 Jul 2013, James E. Pace wrote:


I bought an HP Pavilion p7-1597c [1] system last week.  It is Intel Core
i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with
Windows 8.

I have disabled Secure Boot and enabled Legacy device booting.


That says the disk is GPT partitioned for UEFI.


I am able to complete the install of FreeBSD 9.1/amd64 from the CD without
any problems.  However, when I attempt to boot, it doesn't.

Originally I was trying to dual boot with Win 8, but eventually I rendered
Win8 unbootable.  So, now I have given FreeBSD the whole disk.  I have done
the standard install.  I found instructions to have the install use MBR
(instead of GPT), but that also doesn't work.


In what way?


After an install, I get to the boot0 (the F1 boot menu thing) screen, but
when it tries to boot, it prints # and doesn't boot.  When trying to
share the disk with Windows, mostly I'd get boot errors about not having a
bootable device (ERROR: No boot disk has been detected or the disk has
failed.).


boot0 is the multi-boot loader.  I'm reasonably sure it will not work on 
a GPT disk.  GPT needs the PMBR loader.  This should be correctable by 
using the Shell option of the install disk:

  # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

The installer would write that by default on a blank disk.  I don't know 
what it does when partitions are added to a GPT disk.  For that matter, 
I'm not sure how you got boot0 on there.



In the BIOS setting, I've tried both IDE and AHCI in Storage Options -
SATA emulation.


AHCI is preferred and will go a little bit faster, but either will work.


PC-BSD 9.1 has the same results.  It installs fine, but resets after
selecting something at the boot0 prompt.


boot0 strikes again.  AFAIK, the only option for multi-boot on GPT disks 
is EasyBCD or grub (untested).  But really, a VM is far preferable to 
multi-boot for many situations.



FreeBSD 8.4 wouldn't install because the installer didn't have device node
for /dev/ad4s1b in /dev in order to create the filesystems.


That sounds familiar, but I can't find notes on solving it.  I would 
recommend 9.x anyway.


If there is nothing on the disk to lose, I would start from scratch by 
going to the shell from the installer:

  # gpart destroy -F ada0

Return to the installer, and it should find the entire disk 
unpartitioned.


If you really want to multi-boot, reinstall Windows 8.  Leave part of 
the disk unpartitioned for FreeBSD.  Install EasyBCD in Windows 
(https://neosmart.net/EasyBCD/) and install FreeBSD in a new GPT 
partition, and maybe it will be easy.  I have not tried a multi-boot 
install with Windows 8 or GPT/EFI, so can't really say what it will 
take.  If you do that, take notes and post them somewhere.

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


Re: FreeBSD 9.1 won't boot after install

2013-07-05 Thread James E. Pace
Thanks for the reply.  I appreciate your trying to help me.

On Fri, Jul 5, 2013 at 3:25 PM, Warren Block wbl...@wonkity.com wrote:

 On Fri, 5 Jul 2013, James E. Pace wrote:

 I bought an HP Pavilion p7-1597c [1] system last week.  It is Intel Core
 i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with
 Windows 8.
[...]
 I am able to complete the install of FreeBSD 9.1/amd64 from the CD without
 any problems.  However, when I attempt to boot, it doesn't.
[...]
 After an install, I get to the boot0 (the F1 boot menu thing) screen, but
 when it tries to boot, it prints # and doesn't boot.  When trying to
 share the disk with Windows, mostly I'd get boot errors about not having a
 bootable device (ERROR: No boot disk has been detected or the disk has
 failed.).

 boot0 is the multi-boot loader.  I'm reasonably sure it will not work on a 
 GPT disk.  GPT needs the PMBR loader.  This should be correctable by using 
 the Shell option of the install disk:
   # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

 The installer would write that by default on a blank disk.  I don't know what 
 it does when partitions are added to a GPT disk.  For that matter, I'm not 
 sure how you got boot0 on there.

boot0 must have been installed when I did MBR partitioning, and/or PCBSD did it?

 If there is nothing on the disk to lose, I would start from scratch by going 
 to the shell from the installer:
   # gpart destroy -F ada0

 Return to the installer, and it should find the entire disk unpartitioned.

I booted the 9.1 install CD, executed gpart destroy -F ada0, and
installed.  After completing the install, boot fails with:

ERROR: No boot disk has been detected or the disk has failed.

I booted the install CD again, and executed:

# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

and rebooted.

I got the same error:

ERROR: No boot disk has been detected or the disk has failed.

 If you really want to multi-boot, reinstall Windows 8.

The Windows ship has sailed -- the system didn't come with media, and
the install has been removed.  So, I'm committed. :)

Do you have any other suggestions?

Thanks,

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


Re: FreeBSD 9.1 won't boot after install

2013-07-05 Thread Warren Block

On Fri, 5 Jul 2013, James E. Pace wrote:


Thanks for the reply.  I appreciate your trying to help me.

On Fri, Jul 5, 2013 at 3:25 PM, Warren Block wbl...@wonkity.com wrote:


On Fri, 5 Jul 2013, James E. Pace wrote:


I bought an HP Pavilion p7-1597c [1] system last week.  It is Intel Core
i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with
Windows 8.

[...]

I am able to complete the install of FreeBSD 9.1/amd64 from the CD without
any problems.  However, when I attempt to boot, it doesn't.

[...]

After an install, I get to the boot0 (the F1 boot menu thing) screen, but
when it tries to boot, it prints # and doesn't boot.  When trying to
share the disk with Windows, mostly I'd get boot errors about not having a
bootable device (ERROR: No boot disk has been detected or the disk has
failed.).



boot0 is the multi-boot loader.  I'm reasonably sure it will not work on a GPT 
disk.  GPT needs the PMBR loader.  This should be correctable by using the 
Shell option of the install disk:
  # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

The installer would write that by default on a blank disk.  I don't know what 
it does when partitions are added to a GPT disk.  For that matter, I'm not sure 
how you got boot0 on there.


boot0 must have been installed when I did MBR partitioning, and/or PCBSD did it?


If there is nothing on the disk to lose, I would start from scratch by going to 
the shell from the installer:
  # gpart destroy -F ada0

Return to the installer, and it should find the entire disk unpartitioned.


I booted the 9.1 install CD, executed gpart destroy -F ada0, and
installed.  After completing the install, boot fails with:

ERROR: No boot disk has been detected or the disk has failed.


That is a BIOS error, probably due to UEFI expecting a certain disk 
layout when it finds GPT.



I booted the install CD again, and executed:

# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

and rebooted.

I got the same error:

ERROR: No boot disk has been detected or the disk has failed.


If you really want to multi-boot, reinstall Windows 8.


The Windows ship has sailed -- the system didn't come with media, and
the install has been removed.  So, I'm committed. :)


Always image the disk that comes with the machine.  I like to do that 
before the first boot.  Clonezilla works well for that.  Something to 
remember for next time, anyway.  You may be able to get Windows 
reinstall media from HP.



Do you have any other suggestions?


Use 'gpart destroy' again, and set up an MBR partitioning scheme:
http://forums.freebsd.org/showpost.php?p=149210postcount=13
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.1 won't boot after install

2013-07-05 Thread James Pace
You, sir, are a wizard. You magical incantations worked, and I now have a 
bootable FreeBSD 9.1 system. 
​
​ Use 'gpart destroy' again, and set up an MBR partitioning scheme: 
 http://forums.freebsd.org/showpost.php?p=149210postcount=13  



I really, really appreciate your help.

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

Re: FreeBSD 9.1 won't boot after install

2013-07-05 Thread Warren Block

On Fri, 5 Jul 2013, James Pace wrote:

You, sir, are a wizard. You magical incantations worked, and I now have a bootable FreeBSD 9.1 system. 
?
? Use 'gpart destroy' again, and set up an MBR partitioning scheme: 
 http://forums.freebsd.org/showpost.php?p=149210postcount=13 
I really, really appreciate your help.


Excellent!  For future reference, I have an article on disk setup here:
http://www.wonkity.com/~wblock/docs/html/disksetup.html

Other FreeBSD articles that you may find useful:
http://www.wonkity.com/~wblock/docs/index.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

Boot Error v7.4 Install

2013-07-01 Thread Gary Welles
I've been trying for days to install v7.4 from floppies with 
non-bootable CD on an old Intel AltServer platform's Adaptec 
AIC-7870 SCSI.


It's SCSI Software User's Guide offers configuration support 
for Novell Netware, OS/2, Windows NT, SCO Unix, and Novell 
UnixWare with no mention of BSD.


The installation to 16Gb SCSI ID:0 on a Dell PowerEdge 
Scalable Disk Subsystem 100 appears to go well, but always 
results in Boot Error.


Any help would be appreciated, especially directing me to most 
appropriate discussion list/archive.


Tks,
-- Gary
Gary Welles
Old Mystic, CT USA

___
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


install firefox without X

2013-06-18 Thread Pol Hallen
Hi all :-)

I need use -X ssh and use firefox on remote machine:

ssh -X -l user xxx host

Is there a way to install firefox without X? or less ports possible

thanks!

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


Re: install firefox without X

2013-06-18 Thread Teske, Devin
On Jun 18, 2013, at 6:41 AM, Pol Hallen wrote:

 Hi all :-)
 
 I need use -X ssh and use firefox on remote machine:
 
 ssh -X -l user xxx host
 
 Is there a way to install firefox without X? or less ports possible
 

I indeed run Firefox using the above method from my servers (which aren't 
running X) but X is still installed.

It *should* be able to work in theory (I use xdialog from ports on machines 
that don't have X installed; only xdialog and xauth).

*** warning *** will uninstall X11 software *** warning ***

pkg_delete -x xorg

Maybe Firefox will still run (communicating with the X server running on the 
local side of your ssh client), or maybe it will balk incessantly about 
something.

I do know however, that you'll need xauth installed regardless.
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install firefox without X

2013-06-18 Thread ill...@gmail.com
On 18 June 2013 14:01, Teske, Devin devin.te...@fisglobal.com wrote:

 On Jun 18, 2013, at 6:41 AM, Pol Hallen wrote:

  Hi all :-)
 
  I need use -X ssh and use firefox on remote machine:
 
  ssh -X -l user xxx host
 
  Is there a way to install firefox without X? or less ports possible
 

 I indeed run Firefox using the above method from my servers (which aren't
 running X) but X is still installed.

 It *should* be able to work in theory (I use xdialog from ports on
 machines that don't have X installed; only xdialog and xauth).

 *** warning *** will uninstall X11 software *** warning ***

 pkg_delete -x xorg

 Maybe Firefox will still run (communicating with the X server running on
 the local side of your ssh client), or maybe it will balk incessantly about
 something.

 I do know however, that you'll need xauth installed regardless.


While you don't have to have xorg-server (or any of the various
drivers) installed, you still need a fair bit:

 pkg info -d firefox
firefox-17.0.6,1 depends on:
atk-2.6.0
binutils-2.23.1
bitstream-vera-1.10_5
cairo-1.10.2_5,2
compositeproto-0.4.2
damageproto-1.2.1
desktop-file-utils-0.21
dri2proto-2.8
encodings-1.0.4,1
expat-2.0.1_2
fixesproto-5.0
font-bh-ttf-1.0.3
font-misc-ethiopic-1.0.3
font-misc-meltho-1.0.3
font-util-1.3.0
fontconfig-2.9.0,1
freeglut-2.8.1
freetype2-2.4.12_1
gamin-0.1.10_5
gcc-4.6.3
gdk-pixbuf2-2.26.5_3
gettext-0.18.1.1_1
gio-fam-backend-2.34.3
glib-2.34.3
glproto-1.4.16
gmp-5.1.2
gnomehier-3.0
gobject-introspection-1.34.2
gtk-update-icon-cache-2.24.19
gtk-2.24.19
hicolor-icon-theme-0.12
hunspell-1.3.2_2
icu-50.1.2
inputproto-2.3
jasper-1.900.1_12
jbigkit-1.6
jpeg-8_4
kbproto-1.0.6
libGL-7.6.1_4
libGLU-7.6.1_2
libICE-1.0.8,1
libIDL-0.8.14_1
libSM-1.2.1,1
libX11-1.6.0,1
libXau-1.0.8
libXcomposite-0.4.4,1
libXcursor-1.1.14
libXdamage-1.1.4
libXdmcp-1.1.1
libXext-1.3.2,1
libXfixes-5.0.1
libXft-2.3.1
libXi-1.7.1_1,1
libXinerama-1.1.3,1
libXmu-1.1.1,1
libXrandr-1.4.1
libXrender-0.9.8
libXt-1.1.4,1
libXxf86vm-1.1.3
libdrm-2.4.17_1
libevent2-2.0.21
libffi-3.0.13
libfontenc-1.1.2
libiconv-1.14_1
libpciaccess-0.13.1_1
libpthread-stubs-0.3_3
libvpx-1.1.0
libxcb-1.9.1
libxml2-2.8.0_2
mkfontdir-1.0.7
mkfontscale-1.1.0
mpc-0.9
mpfr-3.1.2
ncurses-5.9_3
nspr-4.9.6
nss-3.14.3
pango-1.30.1
pciids-20130606
pcre-8.33
perl-threaded-5.16.3
pixman-0.28.2
pkgconf-0.9.2_1
png-1.5.16
python27-2.7.5_1
randrproto-1.4.0
renderproto-0.11.1
shared-mime-info-1.1
sqlite3-3.7.17_1
tiff-4.0.3
xcb-util-renderutil-0.3.8
xcb-util-0.3.9_1,1
xextproto-7.2.1
xf86vidmodeproto-2.3.1
xineramaproto-1.2.1
xorg-fonts-truetype-7.7
xproto-7.0.24
zip-3.0

NB: you might need more than that to build

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


Re: install firefox without X

2013-06-18 Thread Adam Vande More
On Tue, Jun 18, 2013 at 8:41 AM, Pol Hallen m...@fuckaround.org wrote:

 Hi all :-)

 I need use -X ssh and use firefox on remote machine:

 ssh -X -l user xxx host

 Is there a way to install firefox without X? or less ports possible


On a clean machine, setting WITHOUT_X11=yes in /etc/make.conf then using
ports to install firefox eg portmaster www/firefox is going to be the
easiest way to get a minimal install.  Then only required X11 components
will be pulled in(assuming the port tree is in a good state).   Obviously
X11 cannot be eliminated entirely on the headless system try to forward X11
apps.  There is a reason you have to type ssh -X

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


How can I install dialog4ports in my qjail3 environment?

2013-06-15 Thread Masayoshi Fujimoto
Hi,
How can I install dialog4ports in my qjail3 environment?
I will be grateful for any help you can provide.


root # cd /usr/ports/sysutils/qjail
root # qjail create -n em0 webserver 192.168.0.50
root # pkg_info | grep qjail
qjail-3.0   Utility to quickly deploy and manage jails


webserver /usr/ports/ports-mgmt/dialog4ports make install clean
= dialog4ports-0.1.4.tar.gz doesn't seem to exist in /var/ports/distfiles/.
= Attempting to fetch http://m1cro.tk/dialog4ports/dialog4ports-0.1.4.tar.gz
dialog4ports-0.1.4.tar.gz 100% of    9 kB   61 kBps
=== Fetching all distfiles required by dialog4ports-0.1.4 for building
===  Extracting for dialog4ports-0.1.4
= SHA256 Checksum OK for dialog4ports-0.1.4.tar.gz.
===  Patching for dialog4ports-0.1.4
===  Configuring for dialog4ports-0.1.4
===  Building for dialog4ports-0.1.4
/dev/null, line 1: Need an operator
make: fatal errors encountered -- cannot continue
*** [do-build] Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.

___
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: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-14 Thread Ewald Jenisch
On Fri, Jun 07, 2013 at 10:41:01AM +0930, Shane Ambler wrote:
 Just guessing from what I see -
 
 The panic is No usable event timer found!
 


 .



Hi Shane,

Thanks much for the hints you sent me. Since I'm pretty swamped with
work it took me a couple of days before I could go on with my tests.

 Can you boot into single user mode?

Nope - freezes at the exact same point during boot.

 what does sysctl kern.eventtimer.choice show?

Well - nothing to be honest:
variable 'kern.eventtimer.choice' not found

 Have you tried kern.eventtimer.periodic=0 or other values for 
 kern.eventtimer.timer?

With kern.eventtimer.periodic=0 - same result.

What other values would be valid for kern.eventtimer.timer?

 Is the panic the same without the loader adjustments?

Yes, absolutely the same.

 Does it boot 8.3 ?

Haven't tried this, since I need to go to 9.1 on this system
anyway. Besides that the server is in a remote DC so changing disks is
not an easy thing to do.

-ewald
___
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: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-14 Thread Shane Ambler

On 14/06/2013 23:33, Ewald Jenisch wrote:

On Fri, Jun 07, 2013 at 10:41:01AM +0930, Shane Ambler wrote:

Just guessing from what I see -

The panic is No usable event timer found!


I did say just guessing and thought someone more knowledgeable may have
spoken by now. One thing I did find - there is a freebsd-proliant
mailing list that may be more helpful than here.


Thanks much for the hints you sent me. Since I'm pretty swamped with
work it took me a couple of days before I could go on with my tests.


Can you boot into single user mode?


Nope - freezes at the exact same point during boot.


what does sysctl kern.eventtimer.choice show?


Well - nothing to be honest:
variable 'kern.eventtimer.choice' not found


Wondering if the system needs to be running to see that.


Have you tried kern.eventtimer.periodic=0 or other values for
kern.eventtimer.timer?


With kern.eventtimer.periodic=0 - same result.

What other values would be valid for kern.eventtimer.timer?


That's where the eventtimer.choice comes in.
As an example on my asus mb I get
kern.eventtimer.choice: LAPIC(600) HPET(550) HPET1(440) HPET2(440)
HPET3(440) HPET4(440) i8254(100) RTC(0)
I thought in single user mode you could see your list of available options.


Is the panic the same without the loader adjustments?


Yes, absolutely the same.


Does it boot 8.3 ?


Haven't tried this, since I need to go to 9.1 on this system
anyway. Besides that the server is in a remote DC so changing disks is
not an easy thing to do.


If 8.3 boots it then you can patch and compile your own kernel that
supports your hardware. Being remote it may not be helpful unless you
can have some indication that it will boot 8.3


___
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


With fresh 9.1 install, bash completion no longer expands $HOME

2013-06-10 Thread David P. Caldwell
On my 9.0-based machines, if I typed $HOME[tab] when typing a command
in bash, the $HOME would be overwritten by the actual path to my home
directory (the value of $HOME) and tab completion would work as
expected.

After a fresh 9.1 install, this does not work as well.

$HOME is still detected by completion, but it is not expanded after
pressing tab (this does not matter to me), but also an extra space is
inserted after tab.

For example, if I have a directory named src under my home directory,
and my working directory is an unrelated directory, and I type cd
$HOME/sr[tab]:

Under 9.0:
cd /home/dcaldwell/src/[cursor]

Under 9.1:
cd $HOME/src [cursor]

So under 9.1 I lose the slash and see a space instead, essentially,
which renders this not very useful.

If I use ~ rather than $HOME, it works correctly under both. Obviously
I could probably learn to type ~ rather than $HOME but it would be a
hard habit to break after years. :)

For bash (and for most software) I am using binary packages from the
-release distribution, so my 9.0 machines have 4.1.11 and my 9.1
machines have 4.2.37.

I don't know enough about all the moving parts to know where to start
tracking this down, so can someone point me in the right direction?
(Unless there's an known problem or change I'm missing.) I can't
figure out where completion is configured in bash outside the
/usr/local/etc/bash_completion.d/ directory, which incidentally on my
9.1 setup contains:

$ ls /usr/local/etc/bash_completion.d/
dbus-bash-completion.sh*gdbus-bash-completion.sh*
gsettings-bash-completion.sh*

Thanks,

-- David Caldwell
http://www.davidpcaldwell.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: With fresh 9.1 install, bash completion no longer expands $HOME

2013-06-10 Thread Jeremy Chadwick
Re: http://lists.freebsd.org/pipermail/freebsd-questions/2013-June/251607.html

This has nothing to do with FreeBSD 9.0 vs. 9.1 other than the fact that
the package on 9.0 is older than 9.1.  Instead, this has everything to
do with the difference between bash versions you're using.  Remember:
packages and ports 99% of the time are third-party software (in this
case GNU), and therefore any changes in behaviour between versions are
entirely independent of FreeBSD.

The feature you like from bash 4.1 was removed in some manner of
speaking in bash 4.2.  This prompted a user to complain -- please read
the thread (not just the post) in full, because you will see there are
others who *do not* like this behaviour:

http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html

In bash 4.2.29 -- which is technically patch 029 for bash 4.2 -- the
feature you desire got moved into a shopt feature called direxpand,
with the default being disabled.  Because bash 4.3 is not out yet, you
will not find any mention of this in the official bash CHANGES file at
this time.  Instead, you will find the answer in the official bash42-029
patch itself (read the top):

ftp://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-029

If you do not like this default, or feel strongly about this whole thing
and want to discuss it, the GNU bug-bash mailing list is the place:

http://www.gnu.org/software/bash/

To enable direxpand, use shopt -s direxpand.  You can put this command
in your ~/.bashrc.

-- 
| Jeremy Chadwick   j...@koitsu.org |
| UNIX Systems Administratorhttp://jdc.koitsu.org/ |
| Making life hard for others since 1977. PGP 4BD6C0CB |

___
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


Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-06 Thread Ewald Jenisch
Hi,

Several days ago I got a HP Proliant DL580 G5 that I wanted to install
FreeBSD 9.1 (64bit) on - till now without any success :-(.

Symptoms: Upon booting off the installation DVD the system freezes
(when running the installation non-verbose) or installation stops
with a panic followed by an automatic reboot.

Here's what I tried so far:

o) Updating BIOS, array-controller, iLO to the latest version
o) Booting the installation DVD in safe-mode 
o) Booting the installatino DVD verbose mode
o) Escaping to the loader prompt, entering
kern.eventtimer.periodic=1
kern.eventtimer.timer=LAPIC
   and booting the install-DVD with these settings
   (I once could boot and older HP-server using these settings, so 
   I tried them here too)

Nothing of this helped - the system just freezes/crashes in an early
stage even before the actual installer starts.

I uploaded screenshots to a server so you can see what's happening:

http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-01.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-02.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-03.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg

(FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg shows the actual
panic/stacktrace)

Anybody seen this before?

Any known cure against this problem?

Thanks much in advance for any clue,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-06 Thread Shane Ambler

On 06/06/2013 23:41, Ewald Jenisch wrote:


Here's what I tried so far:

o) Updating BIOS, array-controller, iLO to the latest version
o) Booting the installation DVD in safe-mode
o) Booting the installatino DVD verbose mode
o) Escaping to the loader prompt, entering
 kern.eventtimer.periodic=1
 kern.eventtimer.timer=LAPIC
and booting the install-DVD with these settings
(I once could boot and older HP-server using these settings, so
I tried them here too)



(FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg shows the actual
panic/stacktrace)


Just guessing from what I see -

The panic is No usable event timer found!
Have you tried kern.eventtimer.periodic=0 or other values for 
kern.eventtimer.timer?

Is the panic the same without the loader adjustments?

Can you boot into single user mode?
what does sysctl kern.eventtimer.choice show?

Does it boot 8.3 ?

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


Re: ZFS install on a partition

2013-05-24 Thread Steve O'Hara-Smith
On Thu, 23 May 2013 11:00:21 +0200
Albert Shih albert.s...@obspm.fr wrote:

 Before I'm installing my server under 9.0 + ZFS I do some benchmarks with
 ionice to compare 
 
 FreeBSD 9.0+ ZFS + 12 disk SATA 7200 rpm vs CentOS + H700 + 12 disk
 SAS 15krpm
 
 (Both are same Dell poweredge).
 
 And the ZFS+12 disk sata goes much faster than CentOS+H700+ext4 almost
 everywhere. Only for small file AND small record size the ZFS is slower
 than CentOS. 

Hmm I wonder if that's mostly down to the SAS drives seeking faster
or between ZFS and ext4. The only real way to tell would be to give both
boxes the same kind of drives.

-- 
Steve O'Hara-Smith st...@sohara.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: 9.1 - new install questions

2013-05-24 Thread egunther
Hi,

I don't often comment here and don't really have much to add in this case
but;  What have you tried to discover the answers to your questions?


I just noticed that this post seemed to have been missed.

some leads might be:

http://www.freebsd.org/releases/9.1R/relnotes.html

http://tools.ietf.org/html/rfc4862

- have a good day,

'a5


 I just installed 9.1 on a clean disk.   The dmesg is at the end of this
 message.



 For the network configuration, I selected DHCP for IPv4 and SLAAC for
 IPv6.  When I boot the PC, it appears that dhclient tries to load
 twice.  Why does it try to load the second time?

From the console log:

 May 18 17:53:15 a31p kernel: Starting dhclient.
 May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
 port 67
 May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
 port 67
 May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1
 May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 36
 seconds.
 May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233).






 Also during the boot process, but earlier, is this message:

 (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
 00 00 00
 (aprobe0:ata1:0:1:0): CAM status: Command timeout
 (aprobe0:ata1:0:1:0): Error 5, Retry was blocked
 run_interrupt_driven_hooks: still waiting after 60 seconds for
 xpt_config
 (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
 00 00 00
 (aprobe0:ata1:0:1:0): CAM status: Command timeout
 (aprobe0:ata1:0:1:0): Error 5, Retry was blocked



 What is that trying to tell me?  The disk appears to work fine, i.e.,
 9.1 loads up and runs OK.  The above adds significantly to the boot
 time.  If it is just informational, is there a way to bypass it?


 Thanks.





 dmesg:

 Copyright (c) 1992-2012 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
 CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class
 CPU)
   Origin = GenuineIntel  Id = 0xf24  Family = f  Model = 2  Stepping
 = 4
   Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
 A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 real memory  = 1073741824 (1024 MB)
 avail memory = 1031213056 (983 MB)
 kbd1 at kbdmux0
 ctl: CAM Target Layer loaded
 acpi0: IBM TP-1G on motherboard
 acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a (3) failed
 acpi0: reservation of 10, 3ff0 (3) failed
 cpu0: ACPI CPU on acpi0
 attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
 Timecounter i8254 frequency 1193182 Hz quality 0
 Event timer i8254 frequency 1193182 Hz quality 100
 atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
 Event timer RTC frequency 32768 Hz quality 0
 Timecounter ACPI-safe frequency 3579545 Hz quality 850
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 acpi_lid0: Control Method Lid Switch on acpi0
 acpi_button0: Sleep Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: Intel 82845 host to AGP bridge on hostb0
 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
 pci1: ACPI PCI bus on pcib1
 vgapci0: VGA-compatible display port 0x3000-0x30ff mem
 0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
 pci1
 uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
 0x1800-0x181f irq 11 at device 29.0 on pci0
 usbus0 on uhci0
 uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
 0x1820-0x183f irq 11 at device 29.1 on pci0
 usbus1 on uhci1
 uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port
 0x1840-0x185f irq 11 at device 29.2 on pci0
 usbus2 on uhci2
 pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
 pci2: ACPI PCI bus on pcib2
 cbb0: RF5C476 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11 at
 device 0.0 on pci2
 cardbus0: CardBus bus on cbb0
 pccard0: 16-bit PCCard bus on cbb0
 cbb1: RF5C476 PCI-CardBus Bridge mem 0x5010-0x50100fff irq 11 at
 device 0.1 on pci2
 cardbus1: CardBus bus on cbb1
 pccard1: 16-bit PCCard bus on cbb1
 fwohci0: Ricoh R5C552 mem 0xd0201000-0xd02017ff irq 11 at device 0.2
 on pci2
 fwohci0: OHCI version 1.0 (ROM=0)
 fwohci0: No. of Isochronous channels is 4.
 fwohci0: EUI64 00:06:1b:00:10:00:6d:38
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: IEEE1394(FireWire) bus on fwohci0
 fwe0: Ethernet over FireWire on firewire0
 if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38
 fwe0: Ethernet address: 02:06:1b:00:6d:38
 fwip0: IP over FireWire on firewire0
 fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe,
 S400, maxrec 2048
 

Re: ZFS install on a partition

2013-05-23 Thread Albert Shih
 Le 17/05/2013 ? 20:03:30-0400, Paul Kraus a écrit
 
 ZFS is stable, it is NOT as tuned as UFS just due to age. UFS in all of it's 
 various incarnations has been tuned far more than any filesystem has any 
 right to be. I spent many years managing Solaris system and I was truly 
 amazed at how tuned the Solaris version of UFS was.
 
 I have been running a number of 9.0 and 9.1 servers in production, all 
 running ZFS for both OS and data, with no FS related issues.

Have you ever try to update a ZFS Pool on 9.0 to 9.1 ? 


I've a server with a big zpool in 9.0 I'm wonder if it's good idea to
upgrade to 9.1. If I lost the data I'm  close to dead person. If I thinking
to upgrade to 9.1 it's because I got small issue about NFSD, LACP.

Regards.

JAS

-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
jeu 23 mai 2013 10:51:49 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS install on a partition

2013-05-23 Thread Albert Shih
 Le 18/05/2013 ? 09:02:15-0400, Paul Kraus a écrit
 On May 18, 2013, at 3:21 AM, Ivailo Tanusheff
 ivailo.tanush...@skrill.com wrote:
 
  If you use HBA/JBOD then you will rely on the software RAID of the
  ZFS system. Yes, this RAID is good, but unless you use SSD disks to
  boost performance and a lot of RAM the hardware raid should be more
  reliable and mush faster.
 
   Why will the hardware raid be more reliable ? While hardware raid is
   susceptible to uncorrectable errors from the physical drives
   (hardware raid controllers rely on the drives to report bad reads and
   writes), and the uncorrectable error rate for modern drives is such
   that with high capacity drives (1TB and over) you are almost certain
   to run into a couple over the operational life of the drive. 10^-14
   for cheap drives and 10^-15 for better drives, very occasionally I
   see a drive rated for 10^-16. Run the math and see how many TB worth
   of data you have to write and read (remember these failures are
   generally read failures with NO indication that a failure occurred,
   bad data is just returned to the system).
 
   In terms of performance HW raid is faster, generally due to the cache
   RAM built into the HW raid controller. ZFS makes good use of system,

Before I'm installing my server under 9.0 + ZFS I do some benchmarks with
ionice to compare 

FreeBSD 9.0+ ZFS + 12 disk SATA 7200 rpm vs CentOS + H700 + 12 disk SAS 
15krpm

(Both are same Dell poweredge).

And the ZFS+12 disk sata goes much faster than CentOS+H700+ext4 almost 
everywhere. Only
for small file AND small record size the ZFS is slower than CentOS. 

The server don't have SSD. He got 48Go of ram. 

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
jeu 23 mai 2013 10:53:50 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS install on a partition

2013-05-23 Thread Paul Kraus
On May 23, 2013, at 4:53 AM, Albert Shih albert.s...@obspm.fr wrote:

 Have you ever try to update a ZFS Pool on 9.0 to 9.1 ? 

I recently upgraded my home server from 9.0 to 9.1, actually, I did exported my 
data zpool (raidZ2), did a clean installation of 9.1, then imported my data 
zpool. Everything went perfectly. zpool upgrade did NOT indicate that there was 
a newer version of zpool so I did not even have to upgrade the on-disk zpool 
format (currently 28).

 I've a server with a big zpool in 9.0 I'm wonder if it's good idea to
 upgrade to 9.1. If I lost the data I'm  close to dead person. If I thinking
 to upgrade to 9.1 it's because I got small issue about NFSD, LACP.

My data zpool is not that big, only five 1TB drives in a raidZ2 for a net 
capacity of about 3TB, plus one 1TB hot spare.

My suggestion is to do the following (which is how I did the upgrade):

1) on a different physical system install 9.1, get the OS configured how you 
want it
2) on the production server, export the data zpool
3) shutdown the production server
4) remove the OS drives from the production server and replace with the drives 
you just installed 9.1 on
5) booth the production server with the 9.1 OS drives, make sure everything is 
working the way you want
6) import the data zpool

If the import fails, you can always put the 9.0 drives back in and get back up 
and running fairly quickly.

My system has the OS on a mirror zpool of two drives for just the OS.

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


9.1 - new install questions

2013-05-19 Thread Mike.
I just installed 9.1 on a clean disk.   The dmesg is at the end of this
message.



For the network configuration, I selected DHCP for IPv4 and SLAAC for
IPv6.  When I boot the PC, it appears that dhclient tries to load
twice.  Why does it try to load the second time?

From the console log:

May 18 17:53:15 a31p kernel: Starting dhclient.
May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
port 67
May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
port 67
May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1
May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 36
seconds.
May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233).






Also during the boot process, but earlier, is this message:

(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked
run_interrupt_driven_hooks: still waiting after 60 seconds for
xpt_config
(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked



What is that trying to tell me?  The disk appears to work fine, i.e.,
9.1 loads up and runs OK.  The above adds significantly to the boot
time.  If it is just informational, is there a way to bypass it?


Thanks.





dmesg:

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0xf24  Family = f  Model = 2  Stepping
= 4
  Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1073741824 (1024 MB)
avail memory = 1031213056 (983 MB)
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
acpi0: IBM TP-1G on motherboard
acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3ff0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x3000-0x30ff mem
0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
pci1
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x1800-0x181f irq 11 at device 29.0 on pci0
usbus0 on uhci0
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
0x1820-0x183f irq 11 at device 29.1 on pci0
usbus1 on uhci1
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port
0x1840-0x185f irq 11 at device 29.2 on pci0
usbus2 on uhci2
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
cbb0: RF5C476 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11 at
device 0.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: RF5C476 PCI-CardBus Bridge mem 0x5010-0x50100fff irq 11 at
device 0.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
fwohci0: Ricoh R5C552 mem 0xd0201000-0xd02017ff irq 11 at device 0.2
on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:00:10:00:6d:38
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38
fwe0: Ethernet address: 02:06:1b:00:6d:38
fwip0: IP over FireWire on firewire0
fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe,
S400, maxrec 2048
dcons_crom0: dcons configuration ROM on firewire0
dcons_crom0: bus_addr 0x14a
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1,
CYCLEMASTER mode
fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x8000-0x803f
mem 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 

Re: ZFS install on a partition

2013-05-19 Thread Paul Kraus
On May 18, 2013, at 10:16 PM, kpn...@pobox.com wrote:

 On Sat, May 18, 2013 at 01:29:58PM +, Ivailo Tanusheff wrote:

 Not sure about your calculations, hope you trust them, but in my previous 
 company we have a 3-4 months period when a disk fails almost every day on 2 
 year old servers, so trust me - I do NOT trust those calculations, as I've 
 seen the opposite. Maybe it was a failed batch of disk, shipped in the 
 country, but no one is insured against this. Yes, you can use several hot 
 spares on the software raid, but:
 
 What calculations are you talking about? He posted the uncorrectable read
 error probabilities manufacturers put into drive datasheets. The probability
 of a URE is distinct from and very different from the probability of the
 entire drive failing.

I think he is referring to the calculation I did based on uncorrectable 
error rate and whether you will run into that type of error over the life of 
the drive.

1 TB == 8,796,093,022,208 bits

10^15 (in bits) / 1 TB ~= 113.687

So if over the life of the drive you READ a TOTAL of 113.687 TB, then 
you will, statistically speaking, run into one uncorrectable read error and 
potentially return bad data to the application or OS. This does NOT scale with 
size of drive, it is the same for all drives with an uncorrectable error rate 
of 10^-15 bits. So if you read the entirety of a 1 TB drive 114 times or a 4 TB 
29 times you get the same result.

But this is a statistical probability, and some drives will have more 
(much more) uncorrectable errors and others will have less (much less), 
although I don't know if the distribution falls on a typical gaussian (bell) 
curve.

--
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: ZFS install on a partition

2013-05-18 Thread Ivailo Tanusheff
Hi,

The overhead depends of the quantity of the changes you made since the oldest 
snapshot and the current data on the ZFS pool.
The snapshots keep only the differences between the live system and each other, 
so if you have made 10GB changes over the last 7 days and your oldest snapshot 
is 7 days old - then the overhead will be a little more than 10GB (because of 
the system info) :)
So this is very efficient way to make the things run.

Just keep in mind that having a lot of snapshots can decrease performance when 
you create/delete a snapshot, as the system should calculate the changes.

Best regards,
Ivailo Tanusheff

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of b...@todoo.biz
Sent: Saturday, May 18, 2013 8:33 AM
To: Liste FreeBSD
Subject: Re: ZFS install on a partition


Le 18 mai 2013 à 06:49, kpn...@pobox.com a écrit :

 On Fri, May 17, 2013 at 08:03:30PM -0400, Paul Kraus wrote:
 On May 17, 2013, at 6:24 PM, b...@todoo.biz b...@todoo.biz wrote:
 3. Should I avoid using ZFS since my system is not well tuned and It would 
 be asking for trouble to use ZFS in these conditions. 
 
 No. One of the biggest benefits of ZFS is the end to end data integrity.
 IF there is a silent fault in the HW RAID (it happens), ZFS will 
 detect the corrupt data and note it. If you had a mirror or other 
 redundant device, ZFS would then read the data from the *other* copy 
 and rewrite the bad block (or mark that physical block bad and use another).
 
 I believe the copies=2 and copies=3 option exists to enable ZFS to 
 self heal despite ZFS not being in charge of RAID. If ZFS only has a 
 single LUN to work with, but the copies=2 or more option is set, then 
 if ZFS detects an error it can still correct it.
 
 This option is a dataset option, is inheritable by child datasets, and 
 can be changed at any time affecting data written after the change. To 
 get the full benefit you'll therefore want to set the option before 
 putting data into the relevant dataset.

Ok, good to know.
I planned to setup a consistent Snapshot policy and remote backup using zfs 
send / receive That should be enough for me. 

Is the overhead of this setup equal to double size used on disk ? 


 
 -- 
 Kevin P. Nealhttp://www.pobox.com/~kpn/
 
 Nonbelievers found it difficult to defend their position in \ 
the presense of a working computer. -- a DEC Jensen paper


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

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


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


RE: ZFS install on a partition

2013-05-18 Thread Ivailo Tanusheff
Hi,

If you use HBA/JBOD then you will rely on the software RAID of the ZFS system. 
Yes, this RAID is good, but unless you use SSD disks to boost performance and a 
lot of RAM the hardware raid should be more reliable and mush faster.
I didn't get if you want to use the system to dual boot Linux/FreeBSD or just 
to share FreeBSD space with linux.
But I would advise you to go with option 1 - you will get most of the system 
and obviously you don't need zpool with raid, as your LSI controller will do 
all the redundancy for you. Making software RAID over the hardware one will 
only decrease performance and will NOT increase the reliability, as you will 
not be sure which information is stored on which physical disk.

If stability is a MUST, then I will also advise you to go with bunch of pools 
and a disk designated as hot spare - in case some disk dies you will rely on 
the automation recovery. Also you should run monitoring tool on your raid 
controller.
You can also set copies=2/3 just in case some errors occur, so ZFS can 
auto0repair the data. if you run ZFS over several LUNs this will make even more 
sense. 

Best regards,
Ivailo Tanusheff

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of b...@todoo.biz
Sent: Saturday, May 18, 2013 1:24 AM
To: Liste FreeBSD
Subject: ZFS install on a partition

Hi, 

I have a question regarding ZFS install on a system setup using an Intel 
Modular. 

This system runs various flavor of FreeBSD and Linux using a shared pool 
(LUNs). 
These LUNs have been configured in RAID 6 using the internal controller (LSI 
logic). 

So from the OS point of view there is just a volume available. 


I know I should install a system using HBA and JBOD configuration - but 
unfortunately this is not an option for this server. 

What would you advise ? 

1. Can I use an existing partition and setup ZFS on this partition using a 
standard Zpool (no RAID). 

2. Should I use any other solution in order to setup this (like full ZFS 
install on disk using the entire pool with ZFS). 

3. Should I avoid using ZFS since my system is not well tuned and It would be 
asking for trouble to use ZFS in these conditions. 


P.S. Stability is a must for this system - so I won't die if you answer 3 and 
tell me to keep on using UFS. 


Thanks. 


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


RE: ZFS install on a partition

2013-05-18 Thread Ivailo Tanusheff
Hi,

If you go with RAID6 setup on your RAID I think you will not need spare so 
much, as you will actually have data redundancy distributed over 2 disks.
I think you can use 2 or 3 LUNS, just to have more flexibility in the solution, 
but it is not a must :)

For the usage of two copies on pool named mypool issue:
zfs set copies=2 mypool

Best regards,
Ivailo Tanusheff

-Original Message-
From: b...@todoo.biz [mailto:b...@todoo.biz] 
Sent: Saturday, May 18, 2013 10:46 AM
To: Ivailo Tanusheff
Subject: Re: ZFS install on a partition


Le 18 mai 2013 à 09:21, Ivailo Tanusheff ivailo.tanush...@skrill.com a écrit :

 Hi,
 
 If you use HBA/JBOD then you will rely on the software RAID of the ZFS system.

This is the config of my backup system - not the one I am planning to update. 

 Yes, this RAID is good, but unless you use SSD disks to boost performance and 
 a lot of RAM the hardware raid should be more reliable and mush faster.

Ok 

 I didn't get if you want to use the system to dual boot Linux/FreeBSD or just 
 to share FreeBSD space with linux.

Neither one ! 
I want to setup a full FreeBSD only system. 
Will be used to deploy jails. 

 But I would advise you to go with option 1 - you will get most of the system 
 and obviously you don't need zpool with raid, as your LSI controller will do 
 all the redundancy for you. Making software RAID over the hardware one will 
 only decrease performance and will NOT increase the reliability, as you will 
 not be sure which information is stored on which physical disk.

Ok

 
 If stability is a MUST, then I will also advise you to go with bunch of pools 
 and a disk designated as hot spare - in case some disk dies you will rely on 
 the automation recovery. Also you should run monitoring tool on your raid 
 controller.

I can't do that because of the design of the machine I will use. 
I only have LUN's available configured as volume on top of a RAID 6 pool of 
disks. 

This is presented as a block device to the system. 

 You can also set copies=2/3 just in case some errors occur, so ZFS can 
 auto0repair the data. if you run ZFS over several LUNs this will make even 
 more sense. 

Ok I'll try to figure out how to do that during install in order to have that 
as soon as possible during the system install. 


Thx. 

 
 Best regards,
 Ivailo Tanusheff
 
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 b...@todoo.biz
 Sent: Saturday, May 18, 2013 1:24 AM
 To: Liste FreeBSD
 Subject: ZFS install on a partition
 
 Hi,
 
 I have a question regarding ZFS install on a system setup using an Intel 
 Modular. 
 
 This system runs various flavor of FreeBSD and Linux using a shared pool 
 (LUNs). 
 These LUNs have been configured in RAID 6 using the internal controller (LSI 
 logic). 
 
 So from the OS point of view there is just a volume available. 
 
 
 I know I should install a system using HBA and JBOD configuration - but 
 unfortunately this is not an option for this server. 
 
 What would you advise ? 
 
 1. Can I use an existing partition and setup ZFS on this partition using a 
 standard Zpool (no RAID). 
 
 2. Should I use any other solution in order to setup this (like full ZFS 
 install on disk using the entire pool with ZFS). 
 
 3. Should I avoid using ZFS since my system is not well tuned and It would be 
 asking for trouble to use ZFS in these conditions. 
 
 
 P.S. Stability is a must for this system - so I won't die if you answer 3 
 and tell me to keep on using UFS. 
 
 
 Thanks. 
 
 


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

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: ZFS install on a partition

2013-05-18 Thread Paul Kraus
On May 18, 2013, at 3:21 AM, Ivailo Tanusheff ivailo.tanush...@skrill.com 
wrote:

 If you use HBA/JBOD then you will rely on the software RAID of the ZFS 
 system. Yes, this RAID is good, but unless you use SSD disks to boost 
 performance and a lot of RAM the hardware raid should be more reliable and 
 mush faster.

Why will the hardware raid be more reliable ? While hardware raid is 
susceptible to uncorrectable errors from the physical drives (hardware raid 
controllers rely on the drives to report bad reads and writes), and the 
uncorrectable error rate for modern drives is such that with high capacity 
drives (1TB and over) you are almost certain to run into a couple over the 
operational life of the drive. 10^-14 for cheap drives and 10^-15 for better 
drives, very occasionally I see a drive rated for 10^-16. Run the math and see 
how many TB worth of data you have to write and read (remember these failures 
are generally read failures with NO indication that a failure occurred, bad 
data is just returned to the system).

In terms of performance HW raid is faster, generally due to the cache 
RAM built into the HW raid controller. ZFS makes good use of system, RAM for 
the same function. An SSD can help with performance if the majority of writes 
are sync (NFS is a good example of this) or if you can benefit from a much 
larger read cache. SSDs are deployed with ZFS as either write LOG devices (in 
which case they should be mirrored), but they only come into play for SYNC 
writes; and as an extension of the ARC, the L2ARC, which does not have to be 
mirrored as it is only a cache of existing data for spying up reads.

 I didn't get if you want to use the system to dual boot Linux/FreeBSD or just 
 to share FreeBSD space with linux.
 But I would advise you to go with option 1 - you will get most of the system 
 and obviously you don't need zpool with raid, as your LSI controller will do 
 all the redundancy for you. Making software RAID over the hardware one will 
 only decrease performance and will NOT increase the reliability, as you will 
 not be sure which information is stored on which physical disk.
 
 If stability is a MUST, then I will also advise you to go with bunch of pools 
 and a disk designated as hot spare - in case some disk dies you will rely on 
 the automation recovery. Also you should run monitoring tool on your raid 
 controller.

I think you misunderstand the difference between stability and 
reliability. Any ZFS configuration I have tried on FreeBSD is STABLE, having 
redundant vdevs (mirrors or RAIDzn) along with hot spares can increase 
RELIABILITY. The only advantage to having a hot spare is that when a drive 
fails (and they all fail eventually), the REPLACE operation can start 
immediately without you noticing and manually replacing the failed drive.

Reliability is a combination of reduction in MTBF (mean time between 
failure) and MTTR (mean time to repair). Having a hot spare reduces the MTTR. 
The other way to improve MTTR is to go with smaller drives to recede the time 
it takes the system to resilver a failed drive. This is NOT applicable in the 
OP's situation. I try very hard not so use drives larger than 1TB because 
resilver times can be days. Resilver time also depends on the total size of the 
the data in a zpool, as a resolver operation walks the FS in time, replaying 
all the writes and confirming that all the data on disk is good (it does not 
actually rewrite the data unless it finds bad data). This means a couple 
things, the first of which is that the resilver time will be dependent on the 
amount of data you have written, not the capacity. A zppol with a capacity of 
multiple TB will resilver in seconds if there is only a few hundred MB written 
to it. Since the resilver operation is not just a block by block copy,
  but a replay, it is I/Ops limited not bandwidth limited. You might be able to 
stream sequential data from a drive at hundreds of MB/sec., but most SATA 
drives will not sustain more than one to two hundred RANDOM I/Ops (sequentially 
they can do much more).

 You can also set copies=2/3 just in case some errors occur, so ZFS can 
 auto0repair the data. if you run ZFS over several LUNs this will make even 
 more sense. 

--
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: ZFS install on a partition

2013-05-18 Thread Paul Kraus
On May 18, 2013, at 12:49 AM, kpn...@pobox.com wrote:

 On Fri, May 17, 2013 at 08:03:30PM -0400, Paul Kraus wrote:
 On May 17, 2013, at 6:24 PM, b...@todoo.biz b...@todoo.biz wrote:
 3. Should I avoid using ZFS since my system is not well tuned and It would 
 be asking for trouble to use ZFS in these conditions. 
 
 No. One of the biggest benefits of ZFS is the end to end data integrity.
 IF there is a silent fault in the HW RAID (it happens), ZFS will detect
 the corrupt data and note it. If you had a mirror or other redundant device,
 ZFS would then read the data from the *other* copy and rewrite the bad
 block (or mark that physical block bad and use another).
 
 I believe the copies=2 and copies=3 option exists to enable ZFS to
 self heal despite ZFS not being in charge of RAID. If ZFS only has a single
 LUN to work with, but the copies=2 or more option is set, then if ZFS
 detects an error it can still correct it.

Yes, but …. What the copies=n parameter does is tell ZFS to make 
that many copies of every block written on the top level device. So if you set 
copies=2 and then write a 2MB file, it will take up 4MB of space since ZFS will 
keep two copies of it. ZFS will attempt to put them on different devices if it 
can, but there are no guarantees here. If you have a single vdev stripe and you 
lose that one device, you *will* lose all your data (assuming you did not have 
another backup copy someplace else). On the other hand, if the single device 
develops some bad blocks, with copies=2 you will *probably* not lose data as 
there will be other copies of those disk blocks elsewhere to recover from.

From my experience on the ZFS Discuss lists, the place people seem to 
use copies=more than 1 are on laptops where they only have one drive and 
copies=more than1 is better than no protection at all, it is just not 
complete protection.

 This option is a dataset option, is inheritable by child datasets, and can
 be changed at any time affecting data written after the change. To get the
 full benefit you'll therefore want to set the option before putting data
 into the relevant dataset.

You can change it any time and it will only effect data written from 
that point on. This can be useful if you have both high value data band low 
value and you can control when each is written. For example, you leave copies=1 
for most of the time, then you want to save your wedding photos, so you set 
copies=3 and write all the wedding photos, you then set copies=1. You will have 
three copies of the wedding photos and one copy of everything else.

--
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: ZFS install on a partition

2013-05-18 Thread Ivailo Tanusheff
The software RAID depends not only from the disks, but also from the changes on 
the OS, which will occur more frequently than an update of the firmware of the 
raid controller. So that makes the hardware raid more stable and reliable.
Also the resources of the hardware raid are exclusively used by the raid 
controller, which is not true for a software raid.
So I do not get your point of appointing that a software raid is same/better 
than the hardware one.

About the second part - I point over both stability and reliability. Having a 
spare disk reduces the risk as the recovery operation will start as soon as a 
disk fails. It may sound paranoid, but still the possibility of a failing disk 
which is detected after 8, 12 or even 24 hours is pretty big.
Not sure about your calculations, hope you trust them, but in my previous 
company we have a 3-4 months period when a disk fails almost every day on 2 
year old servers, so trust me - I do NOT trust those calculations, as I've seen 
the opposite. Maybe it was a failed batch of disk, shipped in the country, but 
no one is insured against this. Yes, you can use several hot spares on the 
software raid, but:
1. You still depend on the problems, related to the OS.
2. If you read what the mate asking has written - you will see that is not 
possible for him.

I agree on the mentioned about recovering bid chunks of data, that's why I 
suggested that he uses several smaller LUNs for the zpool.

Best regards,
Ivailo Tanusheff

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Paul Kraus
Sent: Saturday, May 18, 2013 4:02 PM
To: Ivailo Tanusheff
Cc: Liste FreeBSD
Subject: Re: ZFS install on a partition

On May 18, 2013, at 3:21 AM, Ivailo Tanusheff ivailo.tanush...@skrill.com 
wrote:

 If you use HBA/JBOD then you will rely on the software RAID of the ZFS 
 system. Yes, this RAID is good, but unless you use SSD disks to boost 
 performance and a lot of RAM the hardware raid should be more reliable and 
 mush faster.

Why will the hardware raid be more reliable ? While hardware raid is 
susceptible to uncorrectable errors from the physical drives (hardware raid 
controllers rely on the drives to report bad reads and writes), and the 
uncorrectable error rate for modern drives is such that with high capacity 
drives (1TB and over) you are almost certain to run into a couple over the 
operational life of the drive. 10^-14 for cheap drives and 10^-15 for better 
drives, very occasionally I see a drive rated for 10^-16. Run the math and see 
how many TB worth of data you have to write and read (remember these failures 
are generally read failures with NO indication that a failure occurred, bad 
data is just returned to the system).

In terms of performance HW raid is faster, generally due to the cache 
RAM built into the HW raid controller. ZFS makes good use of system, RAM for 
the same function. An SSD can help with performance if the majority of writes 
are sync (NFS is a good example of this) or if you can benefit from a much 
larger read cache. SSDs are deployed with ZFS as either write LOG devices (in 
which case they should be mirrored), but they only come into play for SYNC 
writes; and as an extension of the ARC, the L2ARC, which does not have to be 
mirrored as it is only a cache of existing data for spying up reads.

 I didn't get if you want to use the system to dual boot Linux/FreeBSD or just 
 to share FreeBSD space with linux.
 But I would advise you to go with option 1 - you will get most of the system 
 and obviously you don't need zpool with raid, as your LSI controller will do 
 all the redundancy for you. Making software RAID over the hardware one will 
 only decrease performance and will NOT increase the reliability, as you will 
 not be sure which information is stored on which physical disk.
 
 If stability is a MUST, then I will also advise you to go with bunch of pools 
 and a disk designated as hot spare - in case some disk dies you will rely on 
 the automation recovery. Also you should run monitoring tool on your raid 
 controller.

I think you misunderstand the difference between stability and 
reliability. Any ZFS configuration I have tried on FreeBSD is STABLE, having 
redundant vdevs (mirrors or RAIDzn) along with hot spares can increase 
RELIABILITY. The only advantage to having a hot spare is that when a drive 
fails (and they all fail eventually), the REPLACE operation can start 
immediately without you noticing and manually replacing the failed drive.

Reliability is a combination of reduction in MTBF (mean time between 
failure) and MTTR (mean time to repair). Having a hot spare reduces the MTTR. 
The other way to improve MTTR is to go with smaller drives to recede the time 
it takes the system to resilver a failed drive. This is NOT applicable in the 
OP's situation. I try very hard not so use drives larger than 1TB because

ZFS install on a partition

2013-05-17 Thread b...@todoo.biz
Hi, 

I have a question regarding ZFS install on a system setup using an Intel 
Modular. 

This system runs various flavor of FreeBSD and Linux using a shared pool 
(LUNs). 
These LUNs have been configured in RAID 6 using the internal controller (LSI 
logic). 

So from the OS point of view there is just a volume available. 


I know I should install a system using HBA and JBOD configuration - but 
unfortunately this is not an option for this server. 

What would you advise ? 

1. Can I use an existing partition and setup ZFS on this partition using a 
standard Zpool (no RAID). 

2. Should I use any other solution in order to setup this (like full ZFS 
install on disk using the entire pool with ZFS). 

3. Should I avoid using ZFS since my system is not well tuned and It would be 
asking for trouble to use ZFS in these conditions. 


P.S. Stability is a must for this system - so I won't die if you answer 3 and 
tell me to keep on using UFS. 


Thanks. 



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

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: ZFS install on a partition

2013-05-17 Thread Joshua Isom
Your hardware raid should be faster than ZFS raid.  Don't use zfs raid 
because there will be no benefit.  You'll get the performance of 
software raid using CPU time, along with lost space for already backed 
up data.


ZFS should work fine.  A lot of the tuning on the wiki page isn't needed 
anymore, so it's not too bad.  The biggest thing to be careful with is 
upgrading your zpool, every so often your boot blocks may need updated 
and if you forget, you can't boot.  You won't upgrade your pool often of 
course.  Reliability shouldn't be an issue, it's FreeBSD.  ZFS will make 
it easier to play around with jails, have fun and create a 1000 node 
beowulf on one system.


On 5/17/2013 5:24 PM, b...@todoo.biz wrote:

Hi,

I have a question regarding ZFS install on a system setup using an Intel 
Modular.

This system runs various flavor of FreeBSD and Linux using a shared pool (LUNs).
These LUNs have been configured in RAID 6 using the internal controller (LSI 
logic).

So from the OS point of view there is just a volume available.


I know I should install a system using HBA and JBOD configuration - but 
unfortunately this is not an option for this server.

What would you advise ?

1. Can I use an existing partition and setup ZFS on this partition using a 
standard Zpool (no RAID).

2. Should I use any other solution in order to setup this (like full ZFS 
install on disk using the entire pool with ZFS).

3. Should I avoid using ZFS since my system is not well tuned and It would be 
asking for trouble to use ZFS in these conditions.


P.S. Stability is a must for this system - so I won't die if you answer 3 and 
tell me to keep on using UFS.


Thanks.



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

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



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


Re: ZFS install on a partition

2013-05-17 Thread Paul Kraus
On May 17, 2013, at 6:24 PM, b...@todoo.biz b...@todoo.biz wrote:

 I know I should install a system using HBA and JBOD configuration - but 
 unfortunately this is not an option for this server. 

I ran many ZFS pools on top of hardware raid units, because that is what we 
had. It works fine and the NVRAM write cache of the better hardware raid 
systems give you a performance boost.

 What would you advise ? 
 
 1. Can I use an existing partition and setup ZFS on this partition using a 
 standard Zpool (no RAID). 

Sure. Be careful when you say RAID… I assume you mean RAIDzn configured top 
level vdevs. Remember, a mirror is RAID-1 and the base ZFS striping is 
considered RAID-0. So set it up as plain stripe of one vdev :-)

 2. Should I use any other solution in order to setup this (like full ZFS 
 install on disk using the entire pool with ZFS). 

If the system is configured with existing LUNS use them.

 3. Should I avoid using ZFS since my system is not well tuned and It would be 
 asking for trouble to use ZFS in these conditions. 

No. One of the biggest benefits of ZFS is the end to end data integrity. IF 
there is a silent fault in the HW RAID (it happens), ZFS will detect the 
corrupt data and note it. If you had a mirror or other redundant device, ZFS 
would then read the data from the *other* copy and rewrite the bad block (or 
mark that physical block bad and use another).

 P.S. Stability is a must for this system - so I won't die if you answer 3 
 and tell me to keep on using UFS. 

ZFS is stable, it is NOT as tuned as UFS just due to age. UFS in all of it's 
various incarnations has been tuned far more than any filesystem has any right 
to be. I spent many years managing Solaris system and I was truly amazed at how 
tuned the Solaris version of UFS was.

I have been running a number of 9.0 and 9.1 servers in production, all running 
ZFS for both OS and data, with no FS related issues.

 
 
 Thanks. 
 
 
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 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

--
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: ZFS install on a partition

2013-05-17 Thread Damien Fleuriot

On 18 May 2013, at 01:15, Joshua Isom jri...@gmail.com wrote:

 Your hardware raid should be faster than ZFS raid.  Don't use zfs raid 
 because there will be no benefit.  


Self healing much ?

I wouldn't dream of dropping it for a 20mb/s performance increase from a HW 
controller.

What if the controller derps and writes bad data ?



 You'll get the performance of software raid using CPU time, along with lost 
 space for already backed up data.
 
 ZFS should work fine.  A lot of the tuning on the wiki page isn't needed 
 anymore, so it's not too bad.  The biggest thing to be careful with is 
 upgrading your zpool, every so often your boot blocks may need updated and if 
 you forget, you can't boot.  You won't upgrade your pool often of course.  
 Reliability shouldn't be an issue, it's FreeBSD.  ZFS will make it easier to 
 play around with jails, have fun and create a 1000 node beowulf on one system.
 
 On 5/17/2013 5:24 PM, b...@todoo.biz wrote:
 Hi,
 
 I have a question regarding ZFS install on a system setup using an Intel 
 Modular.
 
 This system runs various flavor of FreeBSD and Linux using a shared pool 
 (LUNs).
 These LUNs have been configured in RAID 6 using the internal controller (LSI 
 logic).
 
 So from the OS point of view there is just a volume available.
 
 
 I know I should install a system using HBA and JBOD configuration - but 
 unfortunately this is not an option for this server.
 
 What would you advise ?
 
 1. Can I use an existing partition and setup ZFS on this partition using a 
 standard Zpool (no RAID).
 
 2. Should I use any other solution in order to setup this (like full ZFS 
 install on disk using the entire pool with ZFS).
 
 3. Should I avoid using ZFS since my system is not well tuned and It would 
 be asking for trouble to use ZFS in these conditions.
 
 
 P.S. Stability is a must for this system - so I won't die if you answer 3 
 and tell me to keep on using UFS.
 
 
 Thanks.
 
 
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 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
 
 ___
 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: ZFS install on a partition

2013-05-17 Thread b...@todoo.biz
Thanks for this documented answer. 

Couple of comments though… 

Le 18 mai 2013 à 02:03, Paul Kraus p...@kraus-haus.org a écrit :

 On May 17, 2013, at 6:24 PM, b...@todoo.biz b...@todoo.biz wrote:
 
 I know I should install a system using HBA and JBOD configuration - but 
 unfortunately this is not an option for this server. 
 
 I ran many ZFS pools on top of hardware raid units, because that is what we 
 had. It works fine and the NVRAM write cache of the better hardware raid 
 systems give you a performance boost.
 
 What would you advise ? 
 
 1. Can I use an existing partition and setup ZFS on this partition using a 
 standard Zpool (no RAID). 
 
 Sure. Be careful when you say RAID… I assume you mean RAIDzn configured top 
 level vdevs. Remember, a mirror is RAID-1 and the base ZFS striping is 
 considered RAID-0. So set it up as plain stripe of one vdev :-)

Ok so I'll use a dedicated volume (LUN) and install it as a RAID-0 vdev. 

 
 2. Should I use any other solution in order to setup this (like full ZFS 
 install on disk using the entire pool with ZFS). 
 
 If the system is configured with existing LUNS use them.
 
 3. Should I avoid using ZFS since my system is not well tuned and It would 
 be asking for trouble to use ZFS in these conditions. 
 
 No. One of the biggest benefits of ZFS is the end to end data integrity. IF 
 there is a silent fault in the HW RAID (it happens), ZFS will detect the 
 corrupt data and note it. If you had a mirror or other redundant device, ZFS 
 would then read the data from the *other* copy and rewrite the bad block (or 
 mark that physical block bad and use another).
 
 P.S. Stability is a must for this system - so I won't die if you answer 3 
 and tell me to keep on using UFS. 
 
 ZFS is stable, it is NOT as tuned as UFS just due to age. UFS in all of it's 
 various incarnations has been tuned far more than any filesystem has any 
 right to be. I spent many years managing Solaris system and I was truly 
 amazed at how tuned the Solaris version of UFS was.
 
 I have been running a number of 9.0 and 9.1 servers in production, all 
 running ZFS for both OS and data, with no FS related issues.

Ok - great answer. 

I have setup a FreeNAS ZFS appliance (running native HBAs + JBOD) and used it 
as a backup solution using snapshots. 
This is why I wanted to have ZFS at first. 


If you have any other advise - they are welcome. 



Thanks a lot. 

GB. 


 
 
 
 Thanks. 
 
 
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 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
 
 --
 Paul Kraus
 Deputy Technical Director, LoneStarCon 3
 Sound Coordinator, Schenectady Light Opera Company
 


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

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: ZFS install on a partition

2013-05-17 Thread b...@todoo.biz

Le 18 mai 2013 à 06:49, kpn...@pobox.com a écrit :

 On Fri, May 17, 2013 at 08:03:30PM -0400, Paul Kraus wrote:
 On May 17, 2013, at 6:24 PM, b...@todoo.biz b...@todoo.biz wrote:
 3. Should I avoid using ZFS since my system is not well tuned and It would 
 be asking for trouble to use ZFS in these conditions. 
 
 No. One of the biggest benefits of ZFS is the end to end data integrity.
 IF there is a silent fault in the HW RAID (it happens), ZFS will detect
 the corrupt data and note it. If you had a mirror or other redundant device,
 ZFS would then read the data from the *other* copy and rewrite the bad
 block (or mark that physical block bad and use another).
 
 I believe the copies=2 and copies=3 option exists to enable ZFS to
 self heal despite ZFS not being in charge of RAID. If ZFS only has a single
 LUN to work with, but the copies=2 or more option is set, then if ZFS
 detects an error it can still correct it.
 
 This option is a dataset option, is inheritable by child datasets, and can
 be changed at any time affecting data written after the change. To get the
 full benefit you'll therefore want to set the option before putting data
 into the relevant dataset.

Ok, good to know.
I planned to setup a consistent Snapshot policy and remote backup using zfs 
send / receive 
That should be enough for me… 

Is the overhead of this setup equal to double size used on disk ? 


 
 -- 
 Kevin P. Nealhttp://www.pobox.com/~kpn/
 
 Nonbelievers found it difficult to defend their position in \ 
the presense of a working computer. -- a DEC Jensen paper


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

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: [offtopic] ZFS mirror install /mnt is empty

2013-05-15 Thread Trond Endrestøl
Am I the only one to receive these emails twice, delayed only by a 
couple of days since receiving the original emails?

Judging be the headers below this is either misconfiguration, a MITM 
attack or something else.

In the meantime I've rigged my mail server to reject anyting from 
mail{1,2}.ozon.ru and mx{1,2,3,4,5}.ozon.ru.

I apologise for the extra noise.

Return-Path: p...@kraus-haus.org
Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140])
by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4F5P8XU045283
for trond.endres...@fagskolen.gjovik.no; Wed, 15 May 2013 07:26:22 +0200 
(CEST)
(envelope-from p...@kraus-haus.org)
Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171])
by mail1.ozon.ru (Postfix) with ESMTP id 91DB871A683;
Wed, 15 May 2013 09:25:00 +0400 (MSK)
Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC;
 Wed, 15 May 2013 09:09:42 +0400
Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with 
Microsoft SMTPSVC(6.0.3790.4675);
 Mon, 13 May 2013 23:03:59 +0400
Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with 
Microsoft SMTPSVC(6.0.3790.4675);
 Mon, 13 May 2013 17:38:23 +0400
Received: from localhost (localhost [127.0.0.1])
by mail1.ozon.ru (Postfix) with ESMTP id 01E2471A2AF
for rmilters...@ozon.ru; Mon, 13 May 2013 17:38:24 +0400 (MSK)
X-Virus-Scanned: amavisd-new at ozon.ru
Received: from mail1.ozon.ru ([127.0.0.1])
by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id gePcZQ5jxUHB for rmilters...@ozon.ru;
Mon, 13 May 2013 17:38:15 +0400 (MSK)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 
'owner-freebsd-questi...@freebsd.org' in 'mfrom' identity (mechanism 
'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom;
envelope-from=owner-freebsd-questi...@freebsd.org; helo=mx2.freebsd.org; 
client-ip=8.8.178.116
Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116])
by mail1.ozon.ru (Postfix) with ESMTP id 1A8F571A29C
for rmilters...@ozon.ru; Mon, 13 May 2013 17:38:14 +0400 (MSK)
Received: from hub.freebsd.org (hub.freebsd.org 
[IPv6:2001:1900:2254:206c::16:88])
by mx2.freebsd.org (Postfix) with ESMTP id 0F2DB5D10;
Mon, 13 May 2013 13:38:12 + (UTC)
Received: from hub.freebsd.org (hub.freebsd.org 
[IPv6:2001:1900:2254:206c::16:88])
by hub.freebsd.org (Postfix) with ESMTP id 0C547F99;
Mon, 13 May 2013 13:38:12 + (UTC)
(envelope-from owner-freebsd-questi...@freebsd.org)
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id BFA02F1D
 for freebsd-questions@freebsd.org; Mon, 13 May 2013 13:38:04 + (UTC)
 (envelope-from p...@kraus-haus.org)
Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com
 [IPv6:2607:f8b0:400c:c01::22a])
 by mx1.freebsd.org (Postfix) with ESMTP id 80032344
 for freebsd-questions@freebsd.org; Mon, 13 May 2013 13:38:04 + (UTC)
Received: by mail-ve0-f170.google.com with SMTP id 14so1764588vea.29
 for freebsd-questions@freebsd.org; Mon, 13 May 2013 06:38:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=google.com; s=20120113;
 h=x-received:subject:mime-version:content-type:from:in-reply-to:date
 :cc:content-transfer-encoding:message-id:references:to:x-mailer
 :x-gm-message-state;
 bh=fraUBdJHGprR0SIz026aV6gX1sxLt5mE/dRm08QHvPw=;
 b=R1PQ3JkT2kUn4rr6K5EDjUNtnMx6o1BYa8CdRiRs4o9G5ZK8kGjmgd9aQeAHbu8EC0
 6MSzHevF0eNaZG2N+GCGqUIko/YnY4Y1jh5NuUZ0lwlQR/LnrlLHeJw+gdzFlVHhg+f0
 AdeWkHamaqElHx1jP7mqDp/dB31asA7/fhTZZDm78NCbG42gUf3eGL/bE24Wqq/eznTj
 Zbemj5ndR6xrhuxZ0qGaO96FbygkSVwqcYl3kyVdNlQu195RlbOhNyZ9s+gg8vGbn2gA
 wUsP3vum/QV//qOGYPIrfoaaQFxXJdf6cMDhwS4zXWh/h6OIdCWQRfSfMpqlPRFzCioF
 B3BQ==
X-Received: by 10.52.155.141 with SMTP id vw13mr15269138vdb.43.1368452284000;
 Mon, 13 May 2013 06:38:04 -0700 (PDT)
Received: from [192.168.2.66] ([96.236.21.119])
 by mx.google.com with ESMTPSA id lb10sm12958692veb.5.2013.05.13.06.38.03
 for multiple recipients
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 13 May 2013 06:38:03 -0700 (PDT)
Subject: Re: ZFS mirror install /mnt is empty
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Paul Kraus p...@kraus-haus.org
In-Reply-To: alpine.bsf.2.00.1305131522340.72...@mail.fig.ol.no
Date: Mon, 13 May 2013 09:38:02 -0400
Message-Id: 8c7a7e3a-355a-405f-840e-a60b4b6cb...@kraus-haus.org
References: 5190058d.2030...@micite.net
 alpine.bsf.2.00.1305130743320.72...@mail.fig.ol.no
 472e17af-b249-4fd3-8f5e-716f8b786...@kraus-haus.org
 alpine.bsf.2.00.1305131522340.72...@mail.fig.ol.no
To: =?iso-8859-1?Q?Trond_Endrest=F8l?= trond.endres...@fagskolen.gjovik.no
X-Mailer: Apple Mail (2.1503)
X-Gm-Message-State: 
ALoCoQlcUPYOxXwSVCSd0DNkAj6rgUfRwZEcezGYlS8MEaQMvM2pjeaHrTE4xzqIXEQy9UlLPanD
Cc: freebsd-questions

Re: ZFS mirror install /mnt is empty

2013-05-15 Thread Roland van Laar

On 13-05-13 07:58, Trond Endrestøl wrote:

On Sun, 12 May 2013 23:11+0200, Roland van Laar wrote:


Hello,

I followed these[1] step up to the Finishing touches.
I'm using a 9.1 Release.

After the install I go into the shell and /mnt is empty.
The mount command shows that the zfs partitions are mounted.
When I reboot the system it can't find the bootloader.

What can I do to fix this?

Thanks,

Roland van Laar

[1] https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE

Looking through the wiki notes I would do a couple of things in a
different way.

Since you're running 9.1-RELEASE you should take into account the need
for the /boot/zfs/zpool.cache file until 9.2-RELEASE exist or you
switch to the latest 9-STABLE.

Create your zpool using a command like this one:

zpool create -o cachefile=/tmp/zpool.cache -m /tmp/zroot zroot /dev/gpt/disk0

Copy the /tmp/zpool.cache file to /tmp/zroot/boot/zfs/zpool.cache, or
in your case to /mnt/boot/zfs/zpool.cache after extracting the base
and kernel stuff.

In the wiki section Finishing touches, perform step 4 before step 3.
The final command missing in step 3 should be zfs unmount -a once
more. Avoid step 5 at all cost!

Maybe this recipe is easier to follow, it sure works for 9.0-RELEASE
and 9.1-RELEASE, I only hope you're happy typing long commands, and
yes, command line editing is available in the shell:

https://ximalas.info/2011/10/17/zfs-root-fs-on-freebsd-9-0/


Thank you for that link. This worked (better).
I'm getting into the 'mountroot' shell during the boot. Oh well, I'm 
getting better at this.


The ZFS guides on the wiki leave you with a empty root zfs filesystem 
after the installation.
After I know a bit more about ZFS and why the FreeBSD wiki is wrong on 
ZFS installation I hope

to edit them.

Thank you all for your answers,

Regards,

Roland van Laar

___
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: [offtopic] ZFS mirror install /mnt is empty

2013-05-15 Thread Paul Kraus
I responded to Trond privately.

On May 15, 2013, at 2:25 AM, Trond Endrestøl 
trond.endres...@fagskolen.gjovik.no wrote:

 Am I the only one to receive these emails twice, delayed only by a 
 couple of days since receiving the original emails?
 
 Judging be the headers below this is either misconfiguration, a MITM 
 attack or something else.

--
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: [offtopic] ZFS mirror install /mnt is empty

2013-05-15 Thread Shane Ambler

On 15/05/2013 15:55, Trond Endrestøl wrote:

Am I the only one to receive these emails twice, delayed only by a
couple of days since receiving the original emails?

Judging be the headers below this is either misconfiguration, a MITM
attack or something else.



yes I got a duplicate of the original message.
I just noticed that I also some got duplicates of pr responses.

In pr/178505 the closed message is listed before the commit which is 
time stamped just before the close and then there is a duplicate of my 
response listed after the commit.


Now I'm thinking it may be me, maybe my copy of thunderbird didn't save
the sent status and resent duplicates?


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


Re: ZFS mirror install /mnt is empty

2013-05-14 Thread Paul Kraus
On May 14, 2013, at 12:10 AM, Shane Ambler free...@shaneware.biz wrote:

 When it comes to disk compression I think people overlook the fact that
 it can impact on more than one level.

Compression has effects at multiple levels:

1) CPU resources to compress (and decompress) the data
2) Disk space used
3) I/O to/from disks

 The size of disks these days means that compression doesn't make a big
 difference to storage capacity for most people and 4k blocks mean little
 change in final disk space used.

The 4K block issue is *huge* if the majority of your data is less than 
4K files. It is also large when you consider that a 5K file will not occupy 8K 
on disk. I am not a UFS on FreeBSD expert, but UFS on Solaris uses a default 
block size of 4K but has a fragment size of 1K. So files are stored on disk 
with 1K resolution (so to speak). By going to a 4K minimum block size you are 
forcing all data up to the next 4K boundary.

Now, if the majority of your data is in large files (1MB or more), then 
the 4K minimum black size probably gets lost in the noise.

The other factor is the actual compressibility of the data. Most media 
files (JPEG, MPEG, GIF, PNG, MP3, AAC, etc.) are already compressed and trying 
to compress them again is not likely to garner any real reduction inn size. In 
my experience with the default compression algorithm (lzjb), even uncompressed 
audio files (.AIFF or .WAV) do not compress enough to make the CPU overhead 
worthwhile.

 One thing people seem to miss is the fact that compressed files are
 going to reduce the amount of data sent through the bottle neck that is
 the wire between motherboard and drive. While a 3k file compressed to 1k
 still uses a 4k block on disk it does (should) reduce the true data
 transferred to disk. Given a 9.1 source tree using 865M, if it
 compresses to 400M then it is going to reduce the time to read the
 entire tree during compilation. This would impact a 32 thread build more
 than a 4 thread build.

If the data does not compress well, then you get hit with the CPU 
overhead of compression to no bandwidth or space benefit. How compressible is 
the source tree ? [Not a loaded question, I haven't tried to compress it]

 While it is said that compression adds little overhead, time wise,

Compression most certainly DOES add overhead in terms of time, based on 
the speed of your CPU and how busy your system is. My home server is an HP 
Proliant Micro with a dual core AMD N36 running at 1.3 GHz. Turning on 
compression hurts performance *if* I am getting less than 1.2:1 compression 
ratio (5 drive RAIDz2 of 1TB Enterprise disks). Above that the I/O bandwidth 
reduction due to the compression makes up for the lost CPU cycles. I have 
managed servers where each case prevailed… CPU limited so compression hurt 
performance and I/O limited where compression helped performance.

 it is
 going to take time to compress the data which is going to increase
 latency. Going from a 6ms platter disk latency to a 0.2ms SSD latency
 gives a noticeable improvement to responsiveness. Adding compression is
 going to bring that back up - possibly higher than 6ms.

Interesting point. I am not sure of the data flow through the code to 
know if compression has a defined latency component, or is just throughput 
limited by CPU cycles to do the compression.

 Together these two factors may level out the total time to read a file.
 
 One question there is whether the zfs cache uses compressed file data
 therefore keeping the latency while eliminating the bandwidth.

Data cached in the ZFS ARC or L2ARC is uncompressed. Data sent via zfs 
send / zfs receive is uncompressed; there had been talk of an option to send / 
receive compressed data, but I do not think it has gone anywhere.

 Personally I have compression turned off (desktop). My thought is that
 the latency added for compression would negate the bandwidth savings.
 
 For a file server I would consider turning it on as network overhead is
 going to hide the latency.

Once again, it all depends on the compressibility of the data, the 
available CPU resources, the speed of the CPU resources, and the I/O bandwidth 
to/from the drives.

Note also that RAIDz (RAIDz2, RAIDz3) have their own computational 
overhead, so compression may be a bigger advantage in this case than in the 
case of a mirror, as the RAID code will have less data to process after being 
compressed.

--
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: ZFS mirror install /mnt is empty

2013-05-13 Thread Paul Kraus
On May 13, 2013, at 1:58 AM, Trond Endrestøl 
trond.endres...@fagskolen.gjovik.no wrote:

 Due to advances in hard drive technology, for the worse I'm afraid, 
 i.e. 4K disk blocks, I wouldn't bother enabling compression on any ZFS 
 file systems. I might change my blog posts to reflect this stop gap.
 
 If you do happen to have 4K drives, you might want to check out this 
 blog post:
 
 https://ximalas.info/2012/01/11/new-server-and-first-attempt-at-running-freebsdamd64-with-zfs-for-all-storage/

I did look, it doesn't explain why not to enable compression on 4k 
sector drives.

From discussion on the zfs-discuss lists (both the old one from 
OpenSolaris and the new one at Illumos) the only issue with 4K sector drives is 
mixing 0.5K sector and 4K sector drives. You can tunes the zpool offset to 
handle 4K sector drives just fine, but it is a pool wide tuning.

http://zfsday.com/wp-content/uploads/2012/08/Why-4k_.pdf has some 4K 
background, and the only mention I see of compression and 4K is that you may 
get less. But… you really need to test your data to see if turning compression 
on is beneficial with any dataset. There is noticeable computational overhead 
to enabling compression. If you are CPU bound, then you will get better 
performance with compression off. If you are limited by the I/O bandwidth to 
your drives, then *if* your data is highly compressible, then you will get 
better performance with compression on. I have managed large pools of both data 
that compresses well and data that does not.

http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks 
discusses the issue and presents solutions using Illumos. I could find no such 
examples for FreeBSD, but I'm sure some of the same techniques would work 
(manually setting the ashift to 12 for 4K disks).

--
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: ZFS mirror install /mnt is empty

2013-05-13 Thread Trond Endrestøl
On Mon, 13 May 2013 08:40-0400, Paul Kraus wrote:

 On May 13, 2013, at 1:58 AM, Trond Endrestøl 
 trond.endres...@fagskolen.gjovik.no wrote:
 
  Due to advances in hard drive technology, for the worse I'm afraid, 
  i.e. 4K disk blocks, I wouldn't bother enabling compression on any ZFS 
  file systems. I might change my blog posts to reflect this stop gap.
  
  If you do happen to have 4K drives, you might want to check out this 
  blog post:
  
  https://ximalas.info/2012/01/11/new-server-and-first-attempt-at-running-freebsdamd64-with-zfs-for-all-storage/

   I did look, it doesn't explain why not to enable compression on 4k 
 sector drives.

I guess it's due to my (mis)understanding that files shorter than 4KB 
stored on 4K drives never will be subject to compression. And as you 
state below, the degree of compression depends largely on the data at 
hand.
 
   From discussion on the zfs-discuss lists (both the old one from 
 OpenSolaris and the new one at Illumos) the only issue with 4K sector drives 
 is mixing 0.5K sector and 4K sector drives. You can tunes the zpool offset to 
 handle 4K sector drives just fine, but it is a pool wide tuning.
 
   http://zfsday.com/wp-content/uploads/2012/08/Why-4k_.pdf has some 4K 
 background, and the only mention I see of compression and 4K is that you may 
 get less. But? you really need to test your data to see if turning 
 compression on is beneficial with any dataset. There is noticeable 
 computational overhead to enabling compression. If you are CPU bound, then 
 you will get better performance with compression off. If you are limited by 
 the I/O bandwidth to your drives, then *if* your data is highly compressible, 
 then you will get better performance with compression on. I have managed 
 large pools of both data that compresses well and data that does not.
 
   http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks 
 discusses the issue and presents solutions using Illumos. I could find no 
 such examples for FreeBSD, but I'm sure some of the same techniques would 
 work (manually setting the ashift to 12 for 4K disks).
 
 --
 Paul Kraus
 Deputy Technical Director, LoneStarCon 3
 Sound Coordinator, Schenectady Light Opera Company

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: ZFS mirror install /mnt is empty

2013-05-13 Thread Paul Kraus
On May 13, 2013, at 9:25 AM, Trond Endrestøl 
trond.endres...@fagskolen.gjovik.no wrote:
 
 I guess it's due to my (mis)understanding that files shorter than 4KB 
 stored on 4K drives never will be subject to compression. And as you 
 state below, the degree of compression depends largely on the data at 
 hand.

Not a misunderstanding at all. With a 4K minimum block size (which is 
what a 4K sector size implies), a file less than 4KB will not compress at all. 
While ZFS does have a variable block size (512B to 128KB), with a 4K minimum 
black size (just like with any fixed block FS with a 4KB block size), small 
files take up more pace than they should (a 1KB file takes up an entire 4KB 
block). This ends up being an artifact of the block size and not ZFS, any FS on 
a 4K sector drive will have similar behavior.

I leave compression off on most of my datasets, only turning it on on 
ones where I see a real benefit. /var compresses vert well (I turn off 
compression in /etc/newsyslog.conf and let ZFS compress even the current logs 
:-), I find that some VM's compress very well, media files do NOT compress very 
well (they tend to already be compressed), generic data compresses well, as do 
scanned documents (uncompressed PDFs). Your individual results will vary :-)

Also remember, if you start with compression on and after a while you 
are not seeing good compression ratios, go ahead and turn it off. The already 
written data will remain compressed but new writes will not be.

--
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: ZFS mirror install /mnt is empty

2013-05-13 Thread Shane Ambler



On Mon, 13 May 2013 08:40-0400, Paul Kraus wrote:

On May 13, 2013, at 1:58 AM, Trond Endrestøl wrote:

Due to advances in hard drive technology, for the worse I'm
afraid, i.e. 4K disk blocks, I wouldn't bother enabling
compression on any ZFS file systems. I might change my blog posts
to reflect this stop gap.



I guess it's due to my (mis)understanding that files shorter than
4KB stored on 4K drives never will be subject to compression. And as
you state below, the degree of compression depends largely on the
data at hand.


I don't want to start a big discussion but want to express an opinion
that others may think about.

When it comes to disk compression I think people overlook the fact that
it can impact on more than one level.

The size of disks these days means that compression doesn't make a big
difference to storage capacity for most people and 4k blocks mean little
change in final disk space used.

One thing people seem to miss is the fact that compressed files are
going to reduce the amount of data sent through the bottle neck that is
the wire between motherboard and drive. While a 3k file compressed to 1k
still uses a 4k block on disk it does (should) reduce the true data
transferred to disk. Given a 9.1 source tree using 865M, if it
compresses to 400M then it is going to reduce the time to read the
entire tree during compilation. This would impact a 32 thread build more
than a 4 thread build.

While it is said that compression adds little overhead, time wise, it is
going to take time to compress the data which is going to increase
latency. Going from a 6ms platter disk latency to a 0.2ms SSD latency
gives a noticeable improvement to responsiveness. Adding compression is
going to bring that back up - possibly higher than 6ms.

Together these two factors may level out the total time to read a file.

One question there is whether the zfs cache uses compressed file data
therefore keeping the latency while eliminating the bandwidth.

Personally I have compression turned off (desktop). My thought is that
the latency added for compression would negate the bandwidth savings.

For a file server I would consider turning it on as network overhead is
going to hide the latency.

___
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


ZFS mirror install /mnt is empty

2013-05-12 Thread Roland van Laar

Hello,

I followed these[1] step up to the Finishing touches.
I'm using a 9.1 Release.

After the install I go into the shell and /mnt is empty.
The mount command shows that the zfs partitions are mounted.
When I reboot the system it can't find the bootloader.

What can I do to fix this?

Thanks,

Roland van Laar

[1] https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS mirror install /mnt is empty

2013-05-12 Thread Trond Endrestøl
On Sun, 12 May 2013 23:11+0200, Roland van Laar wrote:

 Hello,
 
 I followed these[1] step up to the Finishing touches.
 I'm using a 9.1 Release.
 
 After the install I go into the shell and /mnt is empty.
 The mount command shows that the zfs partitions are mounted.
 When I reboot the system it can't find the bootloader.
 
 What can I do to fix this?
 
 Thanks,
 
 Roland van Laar
 
 [1] https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE

Looking through the wiki notes I would do a couple of things in a 
different way.

Since you're running 9.1-RELEASE you should take into account the need 
for the /boot/zfs/zpool.cache file until 9.2-RELEASE exist or you 
switch to the latest 9-STABLE.

Create your zpool using a command like this one:

zpool create -o cachefile=/tmp/zpool.cache -m /tmp/zroot zroot /dev/gpt/disk0

Copy the /tmp/zpool.cache file to /tmp/zroot/boot/zfs/zpool.cache, or 
in your case to /mnt/boot/zfs/zpool.cache after extracting the base 
and kernel stuff.

In the wiki section Finishing touches, perform step 4 before step 3. 
The final command missing in step 3 should be zfs unmount -a once 
more. Avoid step 5 at all cost!

Maybe this recipe is easier to follow, it sure works for 9.0-RELEASE 
and 9.1-RELEASE, I only hope you're happy typing long commands, and 
yes, command line editing is available in the shell:

https://ximalas.info/2011/10/17/zfs-root-fs-on-freebsd-9-0/

Due to advances in hard drive technology, for the worse I'm afraid, 
i.e. 4K disk blocks, I wouldn't bother enabling compression on any ZFS 
file systems. I might change my blog posts to reflect this stop gap.

If you do happen to have 4K drives, you might want to check out this 
blog post:

https://ximalas.info/2012/01/11/new-server-and-first-attempt-at-running-freebsdamd64-with-zfs-for-all-storage/

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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

memstick serial console install is completely illegible ... am I doing something wrong ?

2013-04-29 Thread Jason Usher
I have the latest 9.1-RELEASE memstick image burned to a USB drive.

I boot from that and connect to my device with a serial console.  At some 
point, the installer asks me what terminal emulation I am using - I choose 
vt100.

But then things go to hell ...

I am not complaining that the screen draw is a bit weird, or that a lot of 
weird characters are used, etc. ... my problem is that I cannot even interact 
with it properly.  The up and down arrows seem to be interpreted as enter, 
which makes choosing menu items impossible ... the partition editor is 
completely unusable since it is getting drawn all over the screen and I can't 
use the up and down arrow keys ...

I thought vt100 would be the safest choice - what am I doing wrong here ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make install and portinstall

2013-04-28 Thread Alexey_Kurinnij

I can`t install xorg when use cd to port dir and run make install clean
Before make install clean I run make config-recursive and make 
fetch-recursive


Here errors
http://dpaste.com/1076927/

But portinstall can install xorg

I not mutch experienced with free bsd, but what I doing wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing new world failed (install -l)

2013-04-28 Thread Eir Nym
What should I do in this situation?

-- Eir Nym


On 28 April 2013 23:36, Eir Nym eir...@gmail.com wrote:
 Since -l switch introduced into install(8), I can't build new FreeBSD
 box at all.

 I do following command set to build new box: (http://eroese.org/mkw.sh)
 1) cd /usr/head/src  svn up
 2) make buildworld
 3) make DESTDIR=/path/to/directory hierarchy distrib-dirs distribution
 installworld

 This worked for long time but after some point it had been broken. I
 found only 20130425 in UPDATING about this, but installing mergemaster
 gives nothing, obviously.
 I can't compile new install(8) since I have old system like
 FreeBSD-9-RELEASE (FreeBSD-CURRENT, r226748) and it doesn't have
 needed functions.

 The tail of install log is below.

 .. (lines removed)
 mtree -deU -f /usr/head/src/etc/mtree/BSD.sendmail.dist -p
 /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/
 ./var/spool/clientmqueue missing (created)
 install -l s usr/src/sys 
 /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/sys
 install: illegal option -- l
 usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 *** [distrib-dirs] Error code 64

 Stop in /usr/head/src/etc.
 *** [hierarchy] Error code 1

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

 Stop in /usr/head/src.

 -- Eir Nym
___
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 9 port XORG failed to install

2013-04-27 Thread Савельев Владимир
   Hi, colleagues!

   I am trying to install FreeBSD 9 to my notebook Acer Aspire V3-571G.
   Ports I am trying to install:

   /usr/ports/x11/xorg

   My issue is that build fails on an unclear reason. Workflow is:

   1. Install FreeBSD

   2. Install system updates

   3. Download and extract latest ports

   cd /usr/ports/x11/xorg

   make BATCH=YES install clean

   Please, help me on those questions:

   1. How to fix this issue and build XORG properly

   2. Are there any locations where I can take latest packages? (Using
   pkg_add -r package_name downloads rather old packages, I want the
   latest ones)

   ==

   Regards,

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


Re: FreeBSD 9 port XORG failed to install

2013-04-27 Thread Matthias Apitz

Hi Савельев Владимир,

El día Saturday, April 27, 2013 a las 08:59:36PM +0400, Савельев Владимир 
escribió:

Hi, colleagues!
 
I am trying to install FreeBSD 9 to my notebook Acer Aspire V3-571G.
Ports I am trying to install:
 
/usr/ports/x11/xorg
 
My issue is that build fails on an unclear reason. Workflow is:
 
1. Install FreeBSD
 
2. Install system updates
 
3. Download and extract latest ports

How do you do this exactly? From SVN?

 
cd /usr/ports/x11/xorg
 
make BATCH=YES install clean

Please show the last hundred lines of the output of this. Without
messages nobody can help you.

matthias


-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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

Install TP-LINK TL-WDN4800 wireless network interface card

2013-04-10 Thread leeoliveshackelford
Good afternoon, dear FreeBSd enthusiasts.  Is there anyone who has attempted to 
install a TP-LINK TL-WDN4800 p.c.i.-express wireless network interface card?  I 
am using FreeBSD 9.1 on a Hewlett-Packard xw4400 workstation.  The card works 
perfectly under Windows XP.  However, it seems that the FreeBSD operating 
system does not even recognize the existence of the device;  at least, I cannot 
find any mention of it in the dmesg.boot file.  Any and all comments or 
suggestions will be appreciated.   Also, many thanks to those of you who have 
responded to my previous inquiries.  Yours truly, Newby Lee

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


Re: Install TP-LINK TL-WDN4800 wireless network interface card

2013-04-10 Thread Joshua Isom
You'll need to run -CURRENT instead of 9.1, and all the caveats that 
apply.  You'll also need the special HAL that hasn't yet been commited 
to -CURRENT.  There are instructions on the freebsd-wireless mailing 
list.  I'm using that exact card right now.


Run `pciconf -lv` and you should see it, but there's no driver in 9.1.

On 4/10/2013 3:39 PM, leeoliveshackelf...@surewest.net wrote:

Good afternoon, dear FreeBSd enthusiasts.  Is there anyone who has attempted to 
install a TP-LINK TL-WDN4800 p.c.i.-express wireless network interface card?  I 
am using FreeBSD 9.1 on a Hewlett-Packard xw4400 workstation.  The card works 
perfectly under Windows XP.  However, it seems that the FreeBSD operating 
system does not even recognize the existence of the device;  at least, I cannot 
find any mention of it in the dmesg.boot file.  Any and all comments or 
suggestions will be appreciated.   Also, many thanks to those of you who have 
responded to my previous inquiries.  Yours truly, Newby Lee

___
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 8.1 install on Intel Romley platform

2013-03-20 Thread Belle_Kuo
Dear Sir/Madam,

We are facing a problem to install FreeBSD8.1 on Intel Romley platform, SAS HDD 
could not be detected. While we tried FreeBSD 9.1, it has no problem. However, 
our Firewall application only work on FreeBSD 8.1 and 8.3. Is there any driver 
or kernel update that we can integrate to let FreeBSD 8.1 install successfully?


Best Regards,
Belle Kuo
Product Management

Wiwynn Corporation
Address: 8F, No. 90, Sec. 1, Xintai 5th Rd., Xizhi Dist., New Taipei City 
22102, Taiwan
Direct: +886 2-6612-3010
Mobile: +886 933 667688
Facsimile: +886 2 6615-8999
Email: belle_...@wiwynn.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: FreeBSD 8.1 install on Intel Romley platform

2013-03-20 Thread Andrea Venturoli

On 03/20/13 12:44, belle_...@wiwynn.com wrote:


We are facing a problem to install FreeBSD8.1


8.1 is not supported anymore; I don't think you'll get much help.



 our Firewall application only work on FreeBSD 8.1 and 8.3.

8.3 is still supported, so I'd move on to that one.




SAS HDD could not be detected.

 While we tried FreeBSD 9.1, it has no problem.

So, how does 9.1 detect it?




However,  Is there any driver or kernel update that we can integrate

 to let FreeBSD 8.1 install successfully?

Perhaps you could post the dmesg at boot from 9.1.
This could give the list some useful info.


 bye
av.
___
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


Looks Like New Changes To 'install' Break Mergemaster

2013-03-17 Thread Tim Daneliuk

$ mergemaster -Fi

*** The directory specified for the temporary root environment,
/var/tmp/temproot, exists.  This can be a security risk if untrusted
users have access to the system.

  Use 'd' to delete the old /var/tmp/temproot and continue
  Use 't' to select a new temporary root directory
  Use 'e' to exit mergemaster

  Default is to use /var/tmp/temproot as is

How should I deal with this? [Use the existing /var/tmp/temproot] d

   *** Deleting the old /var/tmp/temproot

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

install: illegal option -- l
usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...

  *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
  the temproot environment

___
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: Looks Like New Changes To 'install' Break Mergemaster

2013-03-17 Thread Tim Daneliuk

On 03/17/2013 02:36 PM, Tim Daneliuk wrote:

$ mergemaster -Fi

*** The directory specified for the temporary root environment,
 /var/tmp/temproot, exists.  This can be a security risk if untrusted
 users have access to the system.

   Use 'd' to delete the old /var/tmp/temproot and continue
   Use 't' to select a new temporary root directory
   Use 'e' to exit mergemaster

   Default is to use /var/tmp/temproot as is

How should I deal with this? [Use the existing /var/tmp/temproot] d

*** Deleting the old /var/tmp/temproot

*** Creating the temporary root environment in /var/tmp/temproot
  *** /var/tmp/temproot ready for use
  *** Creating and populating directory structure in /var/tmp/temproot

install: illegal option -- l
usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...

   *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
   the temproot environment




More specifically, running 'sh -x mergemaster' show us this:



___
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



+ cd /usr/src
+ od=/var/tmp/temproot/usr/obj
+ make -m /usr/src/share/mk DESTDIR=/var/tmp/temproot distrib-dirs
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk _obj 
SUBDIR_OVERRIDE=etc
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk 
everything SUBDIR_OVERRIDE=etc
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk 
DESTDIR=/var/tmp/temproot distribution
install: illegal option -- l
usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
+ echo ''

+ echo '  *** FATAL ERROR: Cannot '\''cd'\'' to /usr/src and install files to'
  *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
+ echo '  the temproot environment'
  the temproot environment
+ echo ''

+ exit 1



--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Looks Like New Changes To 'install' Break Mergemaster

2013-03-17 Thread Tim Daneliuk

On 03/17/2013 02:52 PM, Tim Daneliuk wrote:

PR 177055 submitted.







--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6?

2013-03-01 Thread Paul Kraus
On Mar 1, 2013, at 2:04 AM, Richard Sharpe realrichardsha...@gmail.com wrote:

 Hi,
 
 I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB
 4.2.6 under Win 7 and Linux.

Can you install *other* Guest OSes under VBox on these hosts ?

I have been running lots of 9.0 VMs under VBox with only minor issues :-)

--
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: Cannot install on HP Pavilion

2013-03-01 Thread Butch Whitby

On 02/25/2013 16:50, Jeff Tipton wrote:

On 02/25/2013 22:39, Russell Murphy wrote:

ERROR: No boot disk has been detected or the disk has failed

Isn't this a BIOS message about a failing harddisk?

http://h30434.www3.hp.com/t5/Desktop-Operating-Systems-e-g-Windows-8-Software-Recovery/Error-no-boot-disk-has-been-detected-or-the-disk-has-failed/td-p/1495065 


___
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

Are you sure the bootloader installed correctly?

Also, in the bios, what is the drive type set to?  I've seen that happen 
on a Lenovo when the drive type is set to AHCI.  Changing it to either 
legacy or normal (don't recall which one) allowed the machine to boot 
from the hard disk without issue.


--
Butch
Why is there never time to do it right the first time, but there is always time to 
do it again?

___
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


Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6?

2013-02-28 Thread Richard Sharpe
Hi,

I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB
4.2.6 under Win 7 and Linux.

Seems to install OK on QEMU/VMM under Linux ...

Does anyone know how to get it to run under Virtual Box?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___
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: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6?

2013-02-28 Thread Trond Endrestøl
On Thu, 28 Feb 2013 23:04-0800, Richard Sharpe wrote:

 Hi,
 
 I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB
 4.2.6 under Win 7 and Linux.
 
 Seems to install OK on QEMU/VMM under Linux ...
 
 Does anyone know how to get it to run under Virtual Box?

Ensure firmware settings (i.e. BIOS) allow for hw virtualization.
You don't specify if you are attempting i386 or amd64.
VB needs to know if you're running a 32 bit or 64 bit guest OS.

A higher degree of details would be nice.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6?

2013-02-28 Thread Richard Sharpe
On Thu, Feb 28, 2013 at 11:29 PM, Trond Endrestøl
trond.endres...@fagskolen.gjovik.no wrote:
 On Thu, 28 Feb 2013 23:04-0800, Richard Sharpe wrote:

 Hi,

 I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB
 4.2.6 under Win 7 and Linux.

 Seems to install OK on QEMU/VMM under Linux ...

 Does anyone know how to get it to run under Virtual Box?

 Ensure firmware settings (i.e. BIOS) allow for hw virtualization.

Thanks Trond. I assume you mean the host here. Since it has installed
under QEMU/vmm on Linux, I guess that I have HW Virtualization
enabled. Actually, I know that this is the case, since I have run
OpenIndianna under Virtual Box as well as Windows Server 2008.

 You don't specify if you are attempting i386 or amd64.

True. AMD64. Maybe I need to check that.

 VB needs to know if you're running a 32 bit or 64 bit guest OS.

 A higher degree of details would be nice.

 --
 +---++
 | Vennlig hilsen,   | Best regards,  |
 | Trond Endrestøl,  | Trond Endrestøl,   |
 | IT-ansvarlig, | System administrator,  |
 | Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
 | tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
 | sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
 +---++



-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___
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   10   >