gptboot: invalid GPT backup header on soekris net5501

2011-03-30 Thread Matthias Teege

Hello,

I formatted a ssd with the following procedure:

gpart create -s gpt ad0
gpart add -t freebsd-boot -l sboot -s 64K ad0
gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ad0
gpart add -t freebsd-ufs -l sroot -b 2048 -s 1G ad0
gpart add -t freebsd-ufs -l svar -s 1G ad0
gpart add -t freebsd-ufs -l susr ad0

newfs -b 32768 -f 4096 -L root /dev/ad0p2
newfs -U -b 32768 -f 4096 -L var /dev/ad0p3
newfs -U -b 32768 -f 4096 -L usr /dev/ad0p4

After installing FreeBSD 8.2 the system (a soekris net5501) hangs on
boot with gptboot: invalid GPT backup header . I'm not sure if this
is a hardware problem or if I make a mistake during the setup.

What is the cause of the error message?

Many thanks
Matthias

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


about NKPT on amd64

2011-03-30 Thread fuzhli
Hi, Alan
 I'm study the Revision 187465 : Prepare for a larger kernel virtual
address space. After read some relative source code, I have an question
about the macro NKPT on amd64: why 32 is enough for the kernel page table
pages? Do it means that the range (KERNBASE, virtual_avail) should always
less than 64MB( 32 * 2MB)?
-- 
别做梦,你已24岁了
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xorg on Toshiba Tecra A1 freebsd senseless

2011-03-30 Thread Aftab Jahan Subedar
Xorg -configure
Xorg -config xorg.conf.new

After doing that on Toshiba Tecra A1 FreeBSD 8.2 Stable.
FreeBSD totally hanged + hard boot few times.
Hence stressing and fdisking with y option every try.

Any one suceeded rinning X on Toshiba Tecra A1?

- jahan
___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Chad Perrin
On Wed, Mar 30, 2011 at 02:09:17AM +0200, Polytropon wrote:
 On Tue, 29 Mar 2011 16:56:14 -0700, Chip Camden sterl...@camdensoftware.com 
 wrote:
  Quoth Polytropon on Wednesday, 30 March 2011:
   
   T: (a deep sigh while rolling his eyes) No, that's not the fuel,
  that's the tachometer. It is supposed to point at zero if the
  car is not started. The fuel indicator is usually to the left
  and smaller that the tachometer, and it should have E written
  upon it, then a semicircle, then F.
   
  
  And on a VW, it doesn't say E and F -- it says 0/1 and 1/1.
 
 That's okay - as long as it doesn't say 1/0 which would
 cause the operating system of the car to crash, and you have
 to send the onboard computer unit to VW Germany in order to
 get it replaced. :-)

We were speaking in analogies here, where the car *is* the operating
system -- so I think if it said 1/0 it would be more accurate to say
the car would crash.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpGQUXGi6Omc.pgp
Description: PGP signature


Re: Easiest desktop BSD distro

2011-03-30 Thread Chip Camden
Quoth Chad Perrin on Wednesday, 30 March 2011:
 On Wed, Mar 30, 2011 at 02:09:17AM +0200, Polytropon wrote:
  On Tue, 29 Mar 2011 16:56:14 -0700, Chip Camden 
  sterl...@camdensoftware.com wrote:
   Quoth Polytropon on Wednesday, 30 March 2011:

T: (a deep sigh while rolling his eyes) No, that's not the fuel,
   that's the tachometer. It is supposed to point at zero if the
   car is not started. The fuel indicator is usually to the left
   and smaller that the tachometer, and it should have E written
   upon it, then a semicircle, then F.

   
   And on a VW, it doesn't say E and F -- it says 0/1 and 1/1.
  
  That's okay - as long as it doesn't say 1/0 which would
  cause the operating system of the car to crash, and you have
  to send the onboard computer unit to VW Germany in order to
  get it replaced. :-)
 
 We were speaking in analogies here, where the car *is* the operating
 system -- so I think if it said 1/0 it would be more accurate to say
 the car would crash.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


It's uncertain whether the car would crash, or run infinitely.

-- 
.o. | Sterling (Chip) Camden  | http://camdensoftware.com
..o | sterl...@camdensoftware.com | http://chipsquips.com
ooo | 2048R/D6DBAF91  | http://chipstips.com


pgpb6c1QEYGxZ.pgp
Description: PGP signature


Re: Easiest desktop BSD distro

2011-03-30 Thread Chad Perrin
On Tue, Mar 29, 2011 at 02:45:27PM -0500, Jason Hsu wrote:
 I want to learn BSD.  I find that the best way to familiarize myself
 with a distro is to adopt it as my main distro (for web browsing,
 email, word processing, etc.).  

A word of caution -- as you have probably noticed in responses already:

FreeBSD, NetBSD, and OpenBSD (the most well-known three BSD Unix systems)
are each developed as complete OSes, from kernel through userland.  This
is different from how Linux-based systems are developed, where the kernel
is its own, completely separate project, and people collect software that
they think go well with that kernel into a distribution package.  That
distribution package comprises an OS, but the OS developers in this
case are often more like kit assemblers rather than software developers
(though there's usually a lot of software development involved in
ensuring everything gets integrated into a smoothly working whole, too).

These OSes in the Linux world are typically called Linux distributions,
or distros for short.  This means that, for instance, Mint is a Linux
distro.  By contrast, FreeBSD is not a distro of any particular
project; it *is* the project.  Both Mint and FreeBSD are operating
systems, but Linux is just a kernel.  FreeBSD is a BSD Unix operating
system because it is an OS descended from the original BSD Unix.  Mint is
a Linux distribution, because it is an OS assembled as a software
distribution package based on Linux.

The term BSD itself stands for Berkeley Software Distribution, because
BSD Unix was originally a software distribution package based on a UNIX
foundation, assembled to a substantial degree by Bill Joy.  The current
BSD Unix systems, however, have departed from that model; the development
of the software that makes up the core OS is no longer a distribution of
software developed separately and collected into a smoothly-working
whole.  In each of the major BSD Unix software projects, the OS is now
developed as a cohesive whole, each separately from the others (though
they do share code a fair bit).  The BSD in FreeBSD is there for
historical purposes, rather than because Berkeley or Distribution is
in any way particularly accurate or relevant now.

As such, you may encounter some poorly specified, potentially confusing
statements that BSD has no distros or something like that.  Hopefully
this explanation will help clear up any confusion you may encounter.


 
 But the challenge of BSD have so far proven too much for me.  It would
 take too long to configure FreeBSD to my liking.  I couldn't figure out
 what to enter in GRUB to multi-boot Linux and BSD.  I tried PC-BSD,
 GhostBSD, and DragonflyBSD in VirtualBox.  I've found PC-BSD
 agonizingly slow to install and operate, and KDE didn't even boot up
 when I logged in.  GhostBSD has too many things that don't work, such
 as the keyboard on my laptop and my Internet connection on my desktop.
 DragonflyBSD didn't boot up in Virtualbox.

Perhaps if you could tell us where you encountered problems, when you
tried to configure FreeBSD to [your] liking, we could point out some
different ways of doing things that would get you from zero to functional
OS in relatively short order.

I occasionally give PC-BSD a try, to see how suitable it is to
recommending for people who just want to avoid the Microsoft taxes
(including antivirus subscriptions, et cetera).  My impression is that it
is much like Ubuntu, in that it interferes with my ability to get things
done.  I guess I'm the wrong person to ask about something like that.

It is possible that some of the problems you have had with various BSD
Unix flavors is related to the fact you are trying to run them all in a
virtual machine.  Abstracting the hardware away from the OS might
introduce difficulties in getting everything working properly.  You might
be better served by installing something on bare metal -- directly on
the hard drive -- if you have a machine you can spare for that purpose.


 
 I recommend Linux Mint as a first Linux distro.  It's user-friendly,
 well-established, widely used, includes codecs/drivers that Ubuntu
 doesn't, and has a Windows-like user interface.  For those with older
 computers, I recommend Puppy Linux or antiX Linux as a first distro.
 I'm looking for the analogous choice in the BSD world.

PC-BSD is pretty much the analogous choice for BSD Unix based systems, I
think.  It is possible that many of PC-BSD's problems relate to its use
of KDE4; I'm not really sure.  It is possible to install a different
desktop environment or window manager and use that instead, though.  That
might relieve some of the difficulties you have with it.


 
 So what do you recommend as my first desktop BSD distro?  What desktop
 BSD distro is so easy to use that even Paris Hilton or Jessica Chicken
 of the Sea Simpson can handle it?

The sad truth seems to be that, unless someone else sets up the computer
in advance, some vapid media whore like Paris Hilton or 

Re: Unable to update to kde-4.6.1

2011-03-30 Thread Aftab Jahan Subedar
try uninstalling cmake
cd /usr/ports/devel/cmake
make deinstall
make install clean
-jahan


On 3/27/11, Jerry freebsd.u...@seibercom.net wrote:
 After following the instructions in UPDATING, I am still experiencing
 a problem getting KDE-4 updated. I have tried several different
 methods. The following is the output of the last attempt.

 ===   kde4-4.6.1 depends on file: /usr/local/kde4/bin/kdebugdialog - not
 found
 ===Verifying install for /usr/local/kde4/bin/kdebugdialog in
 /usr/ports/x11/kdebase4-runtime
 ===  Vulnerability check disabled, database not found
 ===  License check disabled, port has not defined LICENSE
 ===  Found saved configuration for kdebase-runtime-4.6.1
 ===  Extracting for kdebase-runtime-4.6.1
 = SHA256 Checksum OK for KDE/kdebase-runtime-4.6.1.tar.bz2.
 /bin/mkdir -p
 /usr/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.6.1/build
 ===  Patching for kdebase-runtime-4.6.1
 ===  Applying FreeBSD patches for kdebase-runtime-4.6.1
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/lib/libssh.so -
 found
 ===   kdebase-runtime-4.6.1 depends on executable: gmake - found
 ===   kdebase-runtime-4.6.1 depends on file:
 /usr/local/lib/qt4/libQtCore.so - found
 ===   kdebase-runtime-4.6.1 depends on file:
 /usr/local/lib/qt4/libQtDBus.so - found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/moc-qt4 - found
 ===   kdebase-runtime-4.6.1 depends on file:
 /usr/local/lib/qt4/libQtOpenGL.so - found
 ===   kdebase-runtime-4.6.1 depends on file:
 /usr/local/lib/qt4/libphonon.so - found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/qmake-qt4 -
 found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/rcc - found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/uic-qt4 - found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/automoc4 -
 found
 ===   kdebase-runtime-4.6.1 depends on file: /usr/local/bin/cmake - found
 ===   kdebase-runtime-4.6.1 depends on shared library: IlmImf.6 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: exiv2.9 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: xine.1 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: slp.1 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: smbclient.0 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: ssh.4 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: attica.0 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: pulse.0 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: canberra.0 - found
 ===   kdebase-runtime-4.6.1 depends on shared library: intl - found
 ===   kdebase-runtime-4.6.1 depends on shared library: kimproxy.5 - found
 ===  Configuring for kdebase-runtime-4.6.1
 /bin/mkdir -p
 /usr/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.6.1/build
 -- The C compiler identification is GNU
 -- The CXX compiler identification is GNU
 -- Check for working C compiler: /usr/bin/cc
 -- Check for working C compiler: /usr/bin/cc -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Check for working CXX compiler: /usr/bin/c++
 -- Check for working CXX compiler: /usr/bin/c++ -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 CMake Error at /usr/local/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
 Call Stack (most recent call first):
   CMakeLists.txt:14 (find_package)


 CMake Warning (dev) in CMakeLists.txt:
   No cmake_minimum_required command is present.  A line of code such as

 cmake_minimum_required(VERSION 2.8)

   should be added at the top of the file.  The version specified may be
 lower
   if you wish to support older CMake versions for this project.  For more
   information run cmake --help-policy CMP.
 This warning is for project developers.  Use -Wno-dev to suppress it.

 -- Configuring incomplete, errors occurred!
 *** Error code 1

 Stop in /usr/ports/x11/kdebase4-runtime.
 *** Error code 1

 Stop in /usr/ports/x11/kde4.

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

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


Re: about NKPT on amd64

2011-03-30 Thread Alan Cox
On 03/30/2011 01:47, fuzhli wrote:
 Hi, Alan
 I'm study the Revision 187465 : Prepare for a larger kernel virtual
 address space. After read some relative source code, I have an
 question about the macro NKPT on amd64: why 32 is enough for the
 kernel page table pages? Do it means that the range (KERNBASE,
 virtual_avail) should always less than 64MB( 32 * 2MB)?

NKPT sets the size of the kernel page table during the earliest part of
the kernel's initialization. After that, the size of the page table
grows dynamically according to usage.

Regards,
Alan

___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread four.harris...@googlemail.com
When I find things in FreeBSD difficult to accomplish (eg. first time upgrading 
world  kernel from source) I reflect on something I read I think in the 
introduction to 'Learning Perl' which applies equally to FreeBSD.

If there is a choice between making things easy to learn and easy to use, the 
design principle is to make it easy to use - even if that comes at the cost of 
a steeper learning curve.

Once you've scaled the learning curve, you will appreciate how easy it is to 
achieve things with FreeBSD compared to other OS which attempt to make things 
'easy' for you (wireless networking springs to mind - in my experience if 
Windows can't do it 'automagically' then you haven't a hope in hell of finding 
out what's wrong and fixing it).

So the easiest BSD? Any of them, if you're prepared to invest the time learning 
it.

--

Peter Harrison
www.4harrisons.blogspot.com

-original message-
Subject: Easiest desktop BSD distro
From: Jason Hsu jhsu802...@jasonhsu.com
Date: 29/03/2011 21:14

I want to learn BSD.  I find that the best way to familiarize myself with a 
distro is to adopt it as my main distro (for web browsing, email, word 
processing, etc.).  

But the challenge of BSD have so far proven too much for me.  It would take too 
long to configure FreeBSD to my liking.  I couldn't figure out what to enter in 
GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and DragonflyBSD 
in VirtualBox.  I've found PC-BSD agonizingly slow to install and operate, and 
KDE didn't even boot up when I logged in.  GhostBSD has too many things that 
don't work, such as the keyboard on my laptop and my Internet connection on my 
desktop.  DragonflyBSD didn't boot up in Virtualbox.

I recommend Linux Mint as a first Linux distro.  It's user-friendly, 
well-established, widely used, includes codecs/drivers that Ubuntu doesn't, and 
has a Windows-like user interface.  For those with older computers, I recommend 
Puppy Linux or antiX Linux as a first distro.  I'm looking for the analogous 
choice in the BSD world.

So what do you recommend as my first desktop BSD distro?  What desktop BSD 
distro is so easy to use that even Paris Hilton or Jessica Chicken of the Sea 
Simpson can handle it?

Please keep in mind that I have a slow Internet connection, and these BSD 
distros are ENORMOUS.  It took some 12-14 hours to download PC-BSD.

-- 
Jason Hsu jhsu802...@jasonhsu.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

___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Paul Schmehl
--On March 30, 2011 9:49:02 AM -0600 Chad Perrin per...@apotheon.com 
wrote:



On Tue, Mar 29, 2011 at 02:45:27PM -0500, Jason Hsu wrote:

I want to learn BSD.  I find that the best way to familiarize myself
with a distro is to adopt it as my main distro (for web browsing,
email, word processing, etc.).


A word of caution -- as you have probably noticed in responses already:



What a delightful answer.  I especially liked As vi is to Notepad, so 
FreeBSD is to

Ubuntu or Mint, I think;

My compliments on a job very well done.

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

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


Re: Easiest desktop BSD distro

2011-03-30 Thread Jerry
On Wed, 30 Mar 2011 09:32:29 -0700 (PDT)
four.harris...@googlemail.com four.harris...@googlemail.com
articulated:

 Once you've scaled the learning curve, you will appreciate how easy
 it is to achieve things with FreeBSD compared to other OS which
 attempt to make things 'easy' for you (wireless networking springs to
 mind - in my experience if Windows can't do it 'automagically' then
 you haven't a hope in hell of finding out what's wrong and fixing it).

You have conveniently left out the part that if the OS does not have
a driver for the wireless card, specifically N protocol cards, then
you haven't any hope of getting it to work, period.

In any case, the easiest way to get any wireless card to work in
Windows, at least up to Win-7, was to deactivate the Windows wireless
utility and use the one that accompanies the device, assuming that it
does come with a configuration utility. I have not seen any of the top
rated ones that did not. If for some reason that did not work, you
could still manually enter any of the specific information manually,
assuming that you actually took the time to learn (where did I here
that term before) how to accomplish it.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
In an orderly world, there's always a place for the disorderly.
___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Ilya Kazakevich

 If there is a choice between making things easy to learn and easy to use,
 the design principle is to make it easy to use - even if that comes at the
 cost of a steeper learning curve.

And you can always create easy-to-learn GUI-based tool that works on the top
of low-level tools.
BTW Microsoft came to this idea too (see MinWin)




 So the easiest BSD? Any of them, if you're prepared to invest the time
 learning it.

FreeBSD probably is the easiest to study in all BSD family because it has a
really good handbook. But for people with *nix background (like linux) any
BSD should not be difficult.






 --

 Peter Harrison
 www.4harrisons.blogspot.com

 -original message-
 Subject: Easiest desktop BSD distro
 From: Jason Hsu jhsu802...@jasonhsu.com
 Date: 29/03/2011 21:14

 I want to learn BSD.  I find that the best way to familiarize myself with a
 distro is to adopt it as my main distro (for web browsing, email, word
 processing, etc.).

 But the challenge of BSD have so far proven too much for me.  It would take
 too long to configure FreeBSD to my liking.  I couldn't figure out what to
 enter in GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and
 DragonflyBSD in VirtualBox.  I've found PC-BSD agonizingly slow to install
 and operate, and KDE didn't even boot up when I logged in.  GhostBSD has too
 many things that don't work, such as the keyboard on my laptop and my
 Internet connection on my desktop.  DragonflyBSD didn't boot up in
 Virtualbox.

 I recommend Linux Mint as a first Linux distro.  It's user-friendly,
 well-established, widely used, includes codecs/drivers that Ubuntu doesn't,
 and has a Windows-like user interface.  For those with older computers, I
 recommend Puppy Linux or antiX Linux as a first distro.  I'm looking for the
 analogous choice in the BSD world.

 So what do you recommend as my first desktop BSD distro?  What desktop BSD
 distro is so easy to use that even Paris Hilton or Jessica Chicken of the
 Sea Simpson can handle it?

 Please keep in mind that I have a slow Internet connection, and these BSD
 distros are ENORMOUS.  It took some 12-14 hours to download PC-BSD.

 --
 Jason Hsu jhsu802...@jasonhsu.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


 ___
 freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Tom Worster
I only know FreeBSD so I can't recommend any other BSD as being easier.
And I don't use a windowing system on it. But I've an answer to a question
you didn't ask:

FreeBSD in VirtualBox a convenient way of learning. It saves a lot of
uninteresting messing around. And it allows me to save my project (by
saving VM state), get on with some other work and come back to it later.

Regarding your problems with internet speed, I think you can download one
of the small FreeBSD images, run that and instruct the FreeBSD install
program to get the files via FTP. Configure the installer to install only
the set of OS parts you want. That should save a lot of download relative
to the ISO images that contain everything. I've never done this but I
expect others can help if you run into difficulty.


___
freebsd-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 enforce password change at first login

2011-03-30 Thread Michael

On 30/03/2011 06:19, Yuri Pankov wrote:


Something like:
# pw usermodusername  -p -1



Thanks a lot, exactly what I was looking for.

Michael
___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Al Plant

Polytropon wrote:

On Tue, 29 Mar 2011 16:56:14 -0700, Chip Camden sterl...@camdensoftware.com 
wrote:

Quoth Polytropon on Wednesday, 30 March 2011:

T: (a deep sigh while rolling his eyes) No, that's not the fuel,
   that's the tachometer. It is supposed to point at zero if the
   car is not started. The fuel indicator is usually to the left
   and smaller that the tachometer, and it should have E written
   upon it, then a semicircle, then F.


And on a VW, it doesn't say E and F -- it says 0/1 and 1/1.


That's okay - as long as it doesn't say 1/0 which would
cause the operating system of the car to crash, and you have
to send the onboard computer unit to VW Germany in order to
get it replaced. :-)




Aloha Poly,

Your replies are the funniest ever on the list. Make me smile.

Have a great day.

--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-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: xorg on Toshiba Tecra A1 freebsd senseless

2011-03-30 Thread Anton Shterenlikht
On Wed, Mar 30, 2011 at 01:32:32PM +, Aftab Jahan Subedar wrote:
 Xorg -configure
 Xorg -config xorg.conf.new
 
 After doing that on Toshiba Tecra A1 FreeBSD 8.2 Stable.
 FreeBSD totally hanged + hard boot few times.
 Hence stressing and fdisking with y option every try.
 
 Any one suceeded rinning X on Toshiba Tecra A1?
 

Maybe of no relevance, but I think the
default for Xorg -config xorg.conf.new is to show
blank screen. You have to type CTRL+ALT+BACKSPACE to
get back to the terminal.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread David Brodbeck
On Tue, Mar 29, 2011 at 4:56 PM, Chip Camden
sterl...@camdensoftware.com wrote:
 Quoth Polytropon on Wednesday, 30 March 2011:

 T: (a deep sigh while rolling his eyes) No, that's not the fuel,
    that's the tachometer. It is supposed to point at zero if the
    car is not started. The fuel indicator is usually to the left
    and smaller that the tachometer, and it should have E written
    upon it, then a semicircle, then F.


 And on a VW, it doesn't say E and F -- it says 0/1 and 1/1.

On a lot of the older VWs (and Mercedes cars, as well) it says R and
1/1.  The R supposedly stood for reserve.

I had a Saab for a while that went from 0 to 1, and the middle of the
0 lit up when fuel was low.

User interface inconsistencies between cars are actually quite
rampant, as anyone who's ever sat down in a rental car and tried to
figure out how to turn on the windshield wipers can attest. ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Gui CD soft recommend

2011-03-30 Thread Graham Bentley
Which GUI CD writing software can you recommend [less dependencies = better]

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: xorg on Toshiba Tecra A1 freebsd senseless

2011-03-30 Thread Warren Block

On Wed, 30 Mar 2011, Anton Shterenlikht wrote:


Maybe of no relevance, but I think the
default for Xorg -config xorg.conf.new is to show
blank screen. You have to type CTRL+ALT+BACKSPACE to
get back to the terminal.


Depending on key mapping, that may not work.  But ctrl-alt-f1 to switch 
back to a console should.

___
freebsd-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: Gui CD soft recommend

2011-03-30 Thread Devin Teske
On Wed, 2011-03-30 at 22:00 +0100, Graham Bentley wrote:

 Which GUI CD writing software can you recommend [less dependencies = better]


Depends on what you want to write.

I find that Gnome has pretty good built-in support (both for writing
ISO's and dysjoint files/directories).
-- 
Cheers,
Devin Teske

- FUN STUFF -
-BEGIN GEEK CODE BLOCK-
Version 3.12
GAT/CS/B/CC/E/IT/MC/M/MU/P/S/TW d+(++) s: a- C+++@$ UB$ P@$ L
$ E-
W+++ N? o? K? w@ O M++$ V- PS+++ PE@ Y+ PGP- t(+) 5? X(+) R(-) tv+ b
+++ DI+
D+(++) G++ e h r+++ z+++
--END GEEK CODE BLOCK--
Learn about the Geek Code: http://www.geekcode.com/

- LEGAL DISCLAIMER -
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

- END TRANSMISSION -
___
freebsd-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: xorg on Toshiba Tecra A1 freebsd senseless

2011-03-30 Thread Aftab Jahan Subedar
Its confirmed dead with 20 - 60 blocks un referenced i nodes in HDD.
I had to fsck -y using option 4 from boot menu ( the single user mode).

And I thing as Unix it should not be able to that right?
Its happening tried this that etc.

In the process I found that  doing Xorg -config xorg.conf.new
-showopts this also kills the machine. I kept a ssh login from
outside to be able to reboot but it disconnects me also and hangs,
gave 3+ minutes to come back to senses but did not.

Anyway this is my conclusion:
-- Only one driver is recognized intel display driver card0 and card1
-- Dies when reaches ATI load
-- Deleted all but intel vesa
--  keyboard did not recognize
-- touchpad synaptics did not recognize
-- hald did not complain a word about touchpad/keyboard but recognizes
both in text mode

You all dont waste time researching on it, unless someone has
succeeded with this Tecra A1.

If you all interested to invest some time on it I can connect it
online but u all got email me.

-- Jahan


On 3/30/11, Warren Block wbl...@wonkity.com wrote:
 On Wed, 30 Mar 2011, Anton Shterenlikht wrote:

 Maybe of no relevance, but I think the
 default for Xorg -config xorg.conf.new is to show
 blank screen. You have to type CTRL+ALT+BACKSPACE to
 get back to the terminal.

 Depending on key mapping, that may not work.  But ctrl-alt-f1 to switch
 back to a console should.
 ___
 freebsd-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: Easiest desktop BSD distro

2011-03-30 Thread Polytropon
Allow me to add something here:

On Wed, 30 Mar 2011 13:49:55 -0400, Tom Worster f...@thefsb.org wrote:
 FreeBSD in VirtualBox a convenient way of learning. It saves a lot of
 uninteresting messing around. And it allows me to save my project (by
 saving VM state), get on with some other work and come back to it later.

There is a project called VirtualBSD that developed a
FreeBSD system image that can be used with VirtualBox.
It is a preinstalled and preconfigured OS + applications
comparable to PC-BSD, but it uses Xfce instead of KDE,
and (in my opinion) it looks much better. :-)

Project homepage:
http://www.virtualbsd.info/

Screenshots:
http://www.virtualbsd.info/screenshots/

Downloads:
http://www.virtualbsd.info/download.html

In order to download the 1.3 GB image, you can easily
install e. g. the ctorrent program from ports, download
the torrent file from the web page mentioned above, and
then let ctorrent get the file.


-- 
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: Easiest desktop BSD distro

2011-03-30 Thread Polytropon
On Wed, 30 Mar 2011 13:12:23 -0400, Jerry freebsd.u...@seibercom.net wrote:
 On Wed, 30 Mar 2011 09:32:29 -0700 (PDT)
 four.harris...@googlemail.com four.harris...@googlemail.com
 articulated:
 
  Once you've scaled the learning curve, you will appreciate how easy
  it is to achieve things with FreeBSD compared to other OS which
  attempt to make things 'easy' for you (wireless networking springs to
  mind - in my experience if Windows can't do it 'automagically' then
  you haven't a hope in hell of finding out what's wrong and fixing it).
 
 You have conveniently left out the part that if the OS does not have
 a driver for the wireless card, specifically N protocol cards, then
 you haven't any hope of getting it to work, period.

Although this is correct, you're concluding the wrong
thing, in my opinion.



 In any case, the easiest way to get any wireless card to work in
 Windows, at least up to Win-7, was to deactivate the Windows wireless
 utility and use the one that accompanies the device, assuming that it
 does come with a configuration utility. I have not seen any of the top
 rated ones that did not. If for some reason that did not work, you
 could still manually enter any of the specific information manually,
 assuming that you actually took the time to learn (where did I here
 that term before) how to accomplish it.

So what are you doing, basically? You're taking the operating
system's responsibility to interact with hardware. I know there
are different approaches. One approach is to let the system
interface with hardware, usually by its kernel and the
corresponding (loadable) modules. A different approach is
to use drivers to do that. Those drivers traditionally
come from the same source as the hardware comes. Advantage:
The hardware vendor doesn't have to pay attention to
existing standards. He just has to made sure that his
driver works with the system - depending on his target
audience, this may be only one special system (version) in
particular. You furthermore suggested to explicitely BYPASS
the system's means of accessing hardware and to rely on what
the hardware vendor provided. If you haven't lost control
by the OS choice yet, you have lost it by the driver.
If you don't care for having control about who plays foul
with your system (which you can't either notice or even
test for), also fine. Dealing with black boxes is what
the main target customers of the home PC area are used
to. They accept it as being normal. They don't know that
there are different ways of doing things.

And: As long as everything works as intended - no problems.
But diagnosing and SOLVING problems - the not easy parts
of the story - you are lost without knowledge and proper
tools, and basic skills, of course. And if something doesn't
work, the typical customer does not try to solve the problem.
If he doesn't delegate it, he buys something different and
tries again. Trial  error, if you want. And it's not even
a financial problem as such hardware costs nearly less
than nothing. The targeted customers have been trained
to think the following: If I invest time in getting this
working, I loose money. Instead of doing that, I invest
money into a different product which hopefully will work.

What does it imply? If the Windows can't bring up the
wireless network, the manufacturer has to do it using his
black box driver. If this also doesn't work (maybe because
the driver is not compatible to the Windows), the product
gets discarded, and a new one is bought.


-- 
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: Easiest desktop BSD distro

2011-03-30 Thread Chad Perrin
On Wed, Mar 30, 2011 at 08:45:23AM -0700, Chip Camden wrote:
 Quoth Chad Perrin on Wednesday, 30 March 2011:
  
  We were speaking in analogies here, where the car *is* the operating
  system -- so I think if it said 1/0 it would be more accurate to
  say the car would crash.
 
 It's uncertain whether the car would crash, or run infinitely.

Mathematically, that seems to be the case, but implementations tend to
result in crashy behavior -- or, quite often, raise exceptions.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpYzNSB85upw.pgp
Description: PGP signature


Re: Easiest desktop BSD distro

2011-03-30 Thread Polytropon
On Wed, 30 Mar 2011 13:41:54 -0600, Chad Perrin per...@apotheon.com wrote:
 On Wed, Mar 30, 2011 at 08:45:23AM -0700, Chip Camden wrote:
  Quoth Chad Perrin on Wednesday, 30 March 2011:
   
   We were speaking in analogies here, where the car *is* the operating
   system -- so I think if it said 1/0 it would be more accurate to
   say the car would crash.
  
  It's uncertain whether the car would crash, or run infinitely.
 
 Mathematically, that seems to be the case, but implementations tend to
 result in crashy behavior -- or, quite often, raise exceptions.

We're talking about a car. It doesn't raise exceptions, it
simply explodes! :-)



-- 
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: Gui CD soft recommend

2011-03-30 Thread Polytropon
On Wed, 30 Mar 2011 22:00:14 +0100, Graham Bentley ad...@cpcnw.co.uk wrote:
 Which GUI CD writing software can you recommend
 [less dependencies = better]

I don't know of a stand-alone GUI program, but all the big
desktop environments have a favourite. The one provided by
Gnome should work quite well, but if you're already using
KDE, use the tools that come with it. I think the Xfce
file manager also comes with the respective functionalities.
In how far they depend on command line tools, I'm not sure.
But in the realm of dependencies, those should be the smallest
problem. :-)


-- 
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: kern.geom.journal.stats.low_mem refers to what?

2011-03-30 Thread Luke Dean


I've recently set up gjournal on top of gmirror on FreeBSD 8.2.  I understand 
that this setup has a lot of redundant writing.  It is working, but I'm not 
sure I've set it up as efficiently as I should.


During prolonged writes, such as copying large files to the file system 
across the network or producing very large logfiles, the low_mem and 
skipped_bytes statisics rise rapidly and the system becomes less 
responsive.  top always reports free memory, so I don't think that's the 
issue.  journal_full and wait_for_copy have never occurred.  Here's a 
sample of what happens after a couple hours of intense writing...


kern.geom.journal.stats.low_mem: 5379
kern.geom.journal.stats.journal_full: 0
kern.geom.journal.stats.wait_for_copy: 0
kern.geom.journal.stats.switches: 7543
kern.geom.journal.stats.combined_ios: 265318
kern.geom.journal.stats.skipped_bytes: 935712768

low_mem sounds like a bad thing.  What could I do to remedy that?  Did I 
make the journal too small?  The stats say that journal_full has never 
happened, so maybe not?  Is there a setting I should tweak?


The Handbook says 1GB is good enough most of the time, but it also says that 
3x the amount of physical memory is a good size as well.  I compromised 
between the two and made an 8GB journal for this system that has ~4GB of 
memory.


Replying to myself for posterity...  I think I figured it out.

I believe low_mem means its running out of gjournal cache, defined by 
kern.geom.journal.cache.limit, which is initially set by 
kern.geom.journal.cache.divisor, which is initially 2, which means half of 
the kernel memory, which is vm.kmem_size, which is 330MB on my i386 8.2 
system by default.  I don't know where this default comes from, but it 
seems common.  This gives me about 167MB of cache for journalling.


During big file transfers, I can watch the journal_data statistic in 
vmstat -m.  It climbs close to the 167MB cache size.  That's when I see 
kern.geom.journal.stats.low_mem tick over and the stutter happens.  So I 
think I understand what I'm seeing now.


I could try increasing vm.kmem_size and possibly the KMEM_SIZE option 
that's compiled into my kernel as described in the ZFS tuning documents, 
since it's a similar issue.  This would allow the kernel to have more 
memory and thus allow gjournal to use more memory for caching.  If I'm 
consistently filling the cache faster than I can empty it, making the 
cache bigger probably won't help.  This journal is on top of a mirror, so 
I'm always expecting it to read faster than it writes...  Copying large 
files locally might always max out the buffer?  No harm in trying, I 
guess.


Or I could just live with it.  It's doing what I told it to do.
___
freebsd-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: Gui CD soft recommend

2011-03-30 Thread Adam Vande More
On Wed, Mar 30, 2011 at 4:00 PM, Graham Bentley ad...@cpcnw.co.uk wrote:

 Which GUI CD writing software can you recommend [less dependencies =
 better]


If you're already got KDE libs, running sysutils/k3b or sysutils/k3b-kde4 is
pretty light.  It's feature set is comparable if not better than something
like Nero.

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


Re: kern.geom.journal.stats.low_mem refers to what?

2011-03-30 Thread Adam Vande More
On Wed, Mar 30, 2011 at 9:07 PM, Luke Dean lu...@pobox.com wrote:


 The Handbook says 1GB is good enough most of the time, but it also says
 that 3x the amount of physical memory is a good size as well.  I compromised
 between the two and made an 8GB journal for this system that has ~4GB of
 memory.



I've never understood why that article states that calculation.  The amount
of RAM a system has little to do with what gjournal needs.  That formula
will in most cases allocate far more journal space than is really
necessary.  Disk speed and latency are far more important factors.

Back when I was using gjournal, I used a 2GB journal on 7200rpm and was
never able to panic the system unlike with a 1 GB journal but that was with
all other settings at default.  Allocating more to gjournal cache would
increase the need for space so perhaps it's good you've made such a large
one.

As you've discovered, gjournal's performance isn't so great when large files
are involved.  It still helps on multi-threaded access but those big
sequential operations destroy most the other optimizations in place.  You
might want to consider placing your journal on an SSD.

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


gcc

2011-03-30 Thread Gary Dunn
When will we bump the version of gcc? On my fresh 8.2 build it is 4.2.1. The 
ports tree has newer, up to 4.7.0 dated 19 Mar 2011. 
-- 

Gary Dunn, Honolulu
Open Slate Project
http://openslate.org
http://www.facebook.com/garydunn808
http://e9erust.blogspot.com
Twitter @garydunn808
Sent from my Android phone with K-9 Mail.
___
freebsd-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: gcc

2011-03-30 Thread Adam Vande More
On Wed, Mar 30, 2011 at 9:06 PM, Gary Dunn knowt...@aloha.com wrote:

 When will we bump the version of gcc? On my fresh 8.2 build it is 4.2.1.
 The ports tree has newer, up to 4.7.0 dated 19 Mar 2011.


Probably never, as GPL 3 code isn't allowed in the base system.  There have
been some optimizations backported to gcc in CURRENT that add in stuff like
newer instruction sets I believe.

The base system compiler is moving towards clang/llvm and it's now possible
to run a clang kernel/world on CURRENT.  Efforts are underway to change the
ports system to allow for a more pluggable compiler eg
clang/gcc44/gcc45/gcc46.

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


Re: Easiest desktop BSD distro

2011-03-30 Thread Chad Perrin
On Thu, Mar 31, 2011 at 12:57:45AM +0200, Polytropon wrote:
 On Wed, 30 Mar 2011 13:41:54 -0600, Chad Perrin per...@apotheon.com
 wrote:
  On Wed, Mar 30, 2011 at 08:45:23AM -0700, Chip Camden wrote:
   
   It's uncertain whether the car would crash, or run infinitely.
  
  Mathematically, that seems to be the case, but implementations tend
  to result in crashy behavior -- or, quite often, raise exceptions.
 
 We're talking about a car. It doesn't raise exceptions, it simply
 explodes! :-)

If my car exploded, I would certainly take exception to that behavior.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpOQ2jJQ5015.pgp
Description: PGP signature