FreeBSD 8.0 reboot hangs at welcome screen

2010-03-03 Thread n dhert
I have a server with VMware ESXi4 with two FreeBSD-amd64 virtual machines
(one 7.2, one 8.0).
I wanted to do a shutdown -r of the 8.0 machine.
The system when down, started 'Rebooting ..', showed the FBSD Welcome
screen, counted down 10 seconds, .. then nothing happened, waited about 5
minutes
nothing happened.
I had do power-off the Virtual Machine, then power-on and it rebooted.
After that I saw the time (date command) on that machine was 5 minutes
behind ...

Why is that?
And can the 5 minutes behind in time be caused by that 5 minute 'hang'
period?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


locale settings and displaying file names in multiple languages

2010-03-03 Thread Dan Naumov
Hello

I have a 8.0/amd64 system serving a few Samba shares. Windows clients
write files to some of these shares using multiple languages: english,
finnish and russian. When accessed from any given Windows client, the
file and directory names all look correct. However when accessing
these same files locally, the file- and directory names that utilize
russian and finnish languages are full of question marks, like this
for russian:

-rw-r--r--  1 nobody  nobody11M Feb 21  2008  ??
-rw-r--r--  1 nobody  nobody   9.2M Feb 21  2008 ??-??
-rw-r--r--  1 nobody  nobody   6.3M Feb 21  2008 ?? ...
-rw-r--r--  1 nobody  nobody   7.6M Feb 21  2008
 
-rw-r--r--  1 nobody  nobody   7.1M Feb 21  2008 ?? 
-rw-r--r--  1 nobody  nobody   7.7M Feb 21  2008 ??

and like this for finnish:

drwxr-xr-x2 nobody  nobody   13 Mar  2 03:20 Turmion K??til??t
- Hoitovirhe
drwxr-xr-x2 nobody  nobody7 Mar  2 03:20 Turmion K??til??t
- Niuva 20
drwxr-xr-x2 nobody  nobody   13 Mar  2 03:20 Turmion K??til??t
- Pirun Nyrkki
drwxr-xr-x2 nobody  nobody   12 Mar  2 03:20 Turmion K??til??t
- U.S.C.H.!

And operating on these files locally is tricky to say the least: for
example I cannot do a: cd  ?? for obvious
reasons, because there is no directory that REALLY has all those
question marks. However, I am still able to browse and operate on
these files using Midnight Commander, somehow it actually works. How
do I need to set the locale settings on the FreeBSD machine so that
all file names are displayed correctly when operated on locally?


- Sincerely,
Dan Naumov
___
freebsd-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: locale settings and displaying file names in multiple languages

2010-03-03 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.03.2010 10:24, Dan Naumov wrote:
 Hello
 
 I have a 8.0/amd64 system serving a few Samba shares. Windows clients
 write files to some of these shares using multiple languages: english,
 finnish and russian. When accessed from any given Windows client, the
 file and directory names all look correct. However when accessing
 these same files locally, the file- and directory names that utilize
 russian and finnish languages are full of question marks, like this
 for russian:
 
 -rw-r--r--  1 nobody  nobody11M Feb 21  2008  ??
 -rw-r--r--  1 nobody  nobody   9.2M Feb 21  2008 ??-??
 -rw-r--r--  1 nobody  nobody   6.3M Feb 21  2008 ?? ...
 -rw-r--r--  1 nobody  nobody   7.6M Feb 21  2008
  
 -rw-r--r--  1 nobody  nobody   7.1M Feb 21  2008 ?? 
 -rw-r--r--  1 nobody  nobody   7.7M Feb 21  2008 ??
 
 and like this for finnish:
 
 drwxr-xr-x2 nobody  nobody   13 Mar  2 03:20 Turmion K??til??t
 - Hoitovirhe
 drwxr-xr-x2 nobody  nobody7 Mar  2 03:20 Turmion K??til??t
 - Niuva 20
 drwxr-xr-x2 nobody  nobody   13 Mar  2 03:20 Turmion K??til??t
 - Pirun Nyrkki
 drwxr-xr-x2 nobody  nobody   12 Mar  2 03:20 Turmion K??til??t
 - U.S.C.H.!
 
 And operating on these files locally is tricky to say the least: for
 example I cannot do a: cd  ?? for obvious
 reasons, because there is no directory that REALLY has all those
 question marks. However, I am still able to browse and operate on
 these files using Midnight Commander, somehow it actually works. How
 do I need to set the locale settings on the FreeBSD machine so that
 all file names are displayed correctly when operated on locally?
 
 
 - Sincerely,
 Dan Naumov
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

It's actually an illusion. It happens because ls quite rightly refuses
to spew characters the terminal capabilities doesn't state that can be
displayed, simply because they might send control characters to the
terminal that may or may not corrupt the display. If you use completion
(f.eks. tab), you'll see a ton of \#0x??? or whatnot being the actual
pathname. If you're really intent on displaying the directory, try echo *

//Svein

- -- 
- +---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.
- 
 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuOLcQACgkQODUnwSLUlKS7ZACgkHbTiMS/Nd3Bvt+9TSwaCt3i
xjAAoIA3d9vZg8CnqPTC6R7dWyJ9FtSR
=ig8W
-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


freebsd install from floppy

2010-03-03 Thread Piotr Lukawski
Dears,
I need to install Freebsd 8.0 using floppy and then ftp, but there are no
floppy images in
ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/mentioned
in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
I tried so install Freebsd 7 using availiable floppy (successful) and update
it to 8.0 (after 3 days finally error and now now whole /usr directory so I
am stacked).
Could you please produce install floppy images for Freebsd 8.0? Please
please please. I have no power to do the install of 7, upgrade and fail
again :-(
Thanks in adavance.
Piotr
___
freebsd-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: Did something in the hashes change from 6 to 8?

2010-03-03 Thread Ivan Voras

On 03/02/10 16:48, Christian Baer wrote:

Mellow greetings!

On a box running FreeBSD 6.something (probably 6.4) the boot drive died.
I had never bothered to update it to 7 or 8, since I was planning to
build a new computer anyway. Since I hadn't done that yet and I still
needed the work of this machine, I just put in a new drive and installed
8.0.

The deal is that a script I restored from backup doesn't quite work as I
think it should. This is the part that somehow causes problems:

   !/bin/sh
   stty -echo
   read -p Enter passphrase:  passphrase
   stty echo
   main=`echo ${passphrase} | sha256 | cut -c 1-5`
   if [ ${main} != ddfab ]; then
 echo Wrong passphrase!
 exit
   fi

I have typed the password in question about a gazillion times, so I am
pretty sure I got it right. But somehow the 'if' keeps kicking in.

There are two possible reasons for this:

1. I have Alzheimer's.
2. Something about the way sha256(1) and/or digest(1) or one of the
other commands in the script react differenly than before.

Maybe there is another reason that I just don't see?


sha256 and the like cannot change because they are standard algorithms 
and changing them would break a lot of things.


Something else must be the problem. Maybe previous versions got newlines 
in the $passphrase variable or something like that? You will need to 
check output of every step of the script separately.


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


Virtualbox on Freebsd

2010-03-03 Thread Thomas Lawrence

   Hello Guys and Gals,
   Can you clear something up for me.
   Is it possible to install the closed source version of Virtualbox on
   Freebsd8.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Stress testing a new FreeBSD server?

2010-03-03 Thread Matthew Law

I would be grateful if anyone could recommend any tests, scripts, ports or
packages which would stress test a new FreeBSD box? - both CPU and disk
I/O.  I would particularly like to get the processors nice and warm! :-)

We already use bonnie++, unixbench, etc. but I was wondering if there is a
proper suite of tools for doing just this and google hasn't brought up
anything particularly appealing.

Thanks in advance,

Matt.



___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Aaron Lewis

On 3/3/2010 1:48 AM, Andreas Davour wrote:


I am thinking of buying a new laptop, and want one which will work 
fine with FBSD. Anyone have any suggestions?


It must have a connector for a external screen (i.e. a projector when 
doing presentations), wireless, ~15 screen, lots of memory, and 
optical unit, and preferable a long battery time (i.e. CPU speed is 
not that important).


Webpages, own experiences or any other comparisons available?

Please cc me if answering.

/andreas


You May want to checkout this list:

http://laptop.bsdgroup.de/freebsd/


Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX 
Drivers .. )


Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video 
Card ,

FBSD doesn't boot when i switched to ATI Video card.
___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Programmer In Training
On 03/03/10 16:15, Aaron Lewis wrote:
snip
 Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX
 Drivers .. )
 
 Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video
 Card ,
 FBSD doesn't boot when i switched to ATI Video card.

Is this only true of more recent ATI devices, or is this only affecting
laptops with ATI cards? I only ask because I'm running an ATI card for
my desktop with no problems. If this is true for more recent ATI cards
only, this puts a crimp in my plans for my super-computer.

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: / slice too small

2010-03-03 Thread Malcolm Kay
On Mon, 1 Mar 2010 08:44 am, krad wrote:
 On 28 February 2010 15:42, Elias Chrysocheris 
elias...@cha.forthnet.grwrote:
  On Sunday 28 of February 2010 15:26:54 Frank Shute wrote:
   I've got a machine here running 7.2 which I want to
   upgrade to 8.0 but looking at the root slice it is
   woefully small:
  
   $ df -h
   FilesystemSizeUsed   Avail Capacity  Mounted on
   /dev/ad4s2190M146M 29M84%/
   devfs 1.0K1.0K  0B   100%/dev
   /dev/ad4s4129G 15G104G12%/usr
   devfs 1.0K1.0K  0B   100%   
   /var/named/dev
  
   I've got a CD/DVD writer on that machine along with a
   100MB ethernet connection to my desktop.
  
   How do I go about upgrading it? Dump/restore and change
   the partition table?
  
   Any suggestions gratefully received.
  
  
   Regards,
 
  Yes. The dump/restore should do the trick as long as you
  have another medium
  to store the dumps (such as another hard disk). You will
  store the images of
  your slices to the new medium using dump(8). You can then
  use FixIt console to
  re-partition and re-slice your hard disk and then restore(8)
  your images in the newly sliced hard disk. Actually, if you
  have another hard disk device, you can use piped
  dump/restore to copy the whole system from one disk to the
  other and make the second one your bootable disk. Of course
  you must have sliced the second device first.
  I've done this many times. The first was to remove an
  openSUSE partition I had,
  living in the same hard disk as my FreeBSD. The second time
  was to move my FreeBSD to another hard disk (physical
  device). The new disk became my boot disk.
  The third time was to move my system to another bigger hard
  disk device and at
  the same time be formated as ZFS.
  Now my system boots from this third hard disk device, having
  ZFS and the operating system is the same as that I first
  installed (of cource updated...)
 
  Elias
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org

 You might well find it easier to use rsync rather than dump.
 Just make sure you use the following flags

 rsync -aHP --numeric-ids

This is a bit questionable for copying live fs. Probably OK if
you use snapshots. Leaves you in very similar situation as doing
backups with tar. These schemes also alter the access times on 
files (which I guess doesn't usually matter too much).

But dump/restore is no more complex to use than rsync and manages 
snapshots for you, so why mess about with questionable schemes.

Malcolm Kay

 I use it in our backup setup at work, and have restored
 countless freebsd boxes.

 When you repartition the drive remember to add the boot blocks

 eg

 fdisk -B ad0
 bsdlabel -B ad0s1
 ___
 freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Gonzalo Nemmi
On Wed, Mar 3, 2010 at 11:15 PM, Aaron Lewis aaron.lewis1...@gmail.com wrote:
 On 3/3/2010 1:48 AM, Andreas Davour wrote:

 I am thinking of buying a new laptop, and want one which will work fine
 with FBSD. Anyone have any suggestions?

 It must have a connector for a external screen (i.e. a projector when
 doing presentations), wireless, ~15 screen, lots of memory, and optical
 unit, and preferable a long battery time (i.e. CPU speed is not that
 important).

 Webpages, own experiences or any other comparisons available?

 Please cc me if answering.

 /andreas

 You May want to checkout this list:

 http://laptop.bsdgroup.de/freebsd/


 Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX Drivers
 .. )

Here´s another suggestion: don´t buy anything that has a Broadcom
(BCM) ethernet and/or wireless card of any kind.
You´ll  find that your hardware has no support at all or that the
existen support has some serious issues (specially regarding ACPI)

My 2 cents

 Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video
 Card ,
 FBSD doesn't boot when i switched to ATI Video card.
 ___
 freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Aaron Lewis

Programmer In Training wrote:

On 03/03/10 16:15, Aaron Lewis wrote:
snip
  

Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX
Drivers .. )

Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video
Card ,
FBSD doesn't boot when i switched to ATI Video card.



Is this only true of more recent ATI devices, or is this only affecting
laptops with ATI cards? I only ask because I'm running an ATI card for
my desktop with no problems. If this is true for more recent ATI cards
only, this puts a crimp in my plans for my super-computer.

  

Yeah , it's too new, the open-source driver will not support it.

Well , that's because my Thinkpad has two video card , one ATI , one 
Intel integrated card.
The Default OS is Vista , it supports switch between these two without 
changing BIOS settings.

But i kick windows off my laptop , i'm using Linux with ATI card someway ;-)
So in my BIOS , i disabled intel integrated video card , only use ATI.
Then FBSD hangs after boot menu , can't load kernel ;- (

Strongly recommand you try out NVIDIA , at least it has FreeBSD and 
Solaris drivers


ATI has a bad support for Linux/UNIX ..

--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode

___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Warren Block

On Wed, 3 Mar 2010, Aaron Lewis wrote:


On 3/3/2010 1:48 AM, Andreas Davour wrote:


I am thinking of buying a new laptop, and want one which will work fine 
with FBSD. Anyone have any suggestions?


It must have a connector for a external screen (i.e. a projector when doing 
presentations), wireless, ~15 screen, lots of memory, and optical unit, 
and preferable a long battery time (i.e. CPU speed is not that important).


Webpages, own experiences or any other comparisons available?

Please cc me if answering.

/andreas


You May want to checkout this list:

http://laptop.bsdgroup.de/freebsd/


Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX Drivers 
.. )


Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
drivers for FreeBSD (although they do have Linux drivers, I think).


xorg's open xf86-video-ati driver supports ATI video cards, including 
the Radeon Mobility cards in two notebooks I've tested.


Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video Card 
FBSD doesn't boot when i switched to ATI Video card.


Are you saying the R400 has both integrated and discrete video cards? 
Lenovo's web site doesn't seem very oriented to telling potential 
customers details about their newer computers.


-Warren Block * Rapid City, South Dakota 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


Re: Suitable laptop for FreeBSD?

2010-03-03 Thread Aaron Lewis


Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
drivers for FreeBSD (although they do have Linux drivers, I think).



Well , the opensource ati driver doesn't work for me , no matter linux 
or FreeBSD , it crashes
I've read the documents , and found my ATI is on the support list , but 
it just don't work ;-(


Are you saying the R400 has both integrated and discrete video cards? 
Lenovo's web site doesn't seem very oriented to telling potential 
customers details about their newer computers.


-Warren Block * Rapid City, South Dakota USA
I bought it in china , you'll had to know R400 has lots of types , mine 
is 2784a18.
Of course you can choose to buy an energy-save laptop , which has on 
independent Video Cards ,

Just an build-in intel Video Card , it's better for power saving someway.

--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode

___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread William Bulley
According to Warren Block wbl...@wonkity.com on Wed, 03/03/10 at 10:30:
 
 Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
 drivers for FreeBSD (although they do have Linux drivers, I think).
 
 xorg's open xf86-video-ati driver supports ATI video cards, including 
 the Radeon Mobility cards in two notebooks I've tested.
 
 Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video 
 Card FBSD doesn't boot when i switched to ATI Video card.
 
 Are you saying the R400 has both integrated and discrete video cards? 
 Lenovo's web site doesn't seem very oriented to telling potential 
 customers details about their newer computers.

I think yes.  At least in my case.  I have a T500 and it came with
both integrated Intel video plus an additional ATI mini-card.  I don't
recall if there was an Nvidia video choice.

Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template -|
___
freebsd-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: Compiler Flags problem with core2 CPU

2010-03-03 Thread Aaron Lewis

[r...@meilk /usr/src/sys/i386/compile/AARON]# make
CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile 
MAKESRCPATH=../../../dev/aic7xxx/aicasm
Warning: Object directory not changed from original 
/usr/src/sys/i386/compile/AARON
cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3  -nostdinc 
-I/usr/include -I. -I../../../dev/aic7xxx/aicasm -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch 
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c 
../../../dev/aic7xxx/aicasm/aicasm.c

cc1: warnings being treated as errors
../../../dev/aic7xxx/aicasm/aicasm.c:1: warning: SSE instruction set 
disabled, using 387 arithmetics

*** Error code 1


It's interesting something can work with SSE instruction , while some 
are not ,


Warnings are treated as errors , if we can safely disable it in some 
specific occasions.

___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Warren Block

On Wed, 3 Mar 2010, Aaron Lewis wrote:


Programmer In Training wrote:

On 03/03/10 16:15, Aaron Lewis wrote:
snip


Here's some suggestions ,  don't choose ATI video cards.  ( No UNIX
Drivers .. )

Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video
Card ,
FBSD doesn't boot when i switched to ATI Video card.



Is this only true of more recent ATI devices, or is this only affecting
laptops with ATI cards? I only ask because I'm running an ATI card for
my desktop with no problems. If this is true for more recent ATI cards
only, this puts a crimp in my plans for my super-computer.



Yeah , it's too new, the open-source driver will not support it.

Well , that's because my Thinkpad has two video card , one ATI , one Intel 
integrated card.
The Default OS is Vista , it supports switch between these two without 
changing BIOS settings.

But i kick windows off my laptop , i'm using Linux with ATI card someway ;-)
So in my BIOS , i disabled intel integrated video card , only use ATI.
Then FBSD hangs after boot menu , can't load kernel ;- (

Strongly recommand you try out NVIDIA , at least it has FreeBSD and Solaris 
drivers


Closed binary drivers only.  Which is adequate if they support the 
version and arch of operating system you plan to run, and you trust the 
vendor to supply updated drivers for later versions of the OS.



ATI has a bad support for Linux/UNIX ..


I disagree.  ATI has released programming information for their boards; 
nVidia has not.  Which is why there's a mostly-functional open-source 
driver with 2D and 3D acceleration for ATI, ...and nouveau for nVidia.


-Warren Block * Rapid City, South Dakota 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


Re: Suitable laptop for FreeBSD?

2010-03-03 Thread Bas v.d. Wiel

Aaron Lewis wrote:


Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
drivers for FreeBSD (although they do have Linux drivers, I think).



Well , the opensource ati driver doesn't work for me , no matter linux 
or FreeBSD , it crashes
I've read the documents , and found my ATI is on the support list , 
but it just don't work ;-(


Are you saying the R400 has both integrated and discrete video cards? 
Lenovo's web site doesn't seem very oriented to telling potential 
customers details about their newer computers.


-Warren Block * Rapid City, South Dakota USA
I bought it in china , you'll had to know R400 has lots of types , 
mine is 2784a18.
Of course you can choose to buy an energy-save laptop , which has on 
independent Video Cards ,

Just an build-in intel Video Card , it's better for power saving someway.

It's very strange that your machine should crash so early in its boot 
process. I don't own any ATI hardware so I'm not entirely sure on this, 
but my impression is that booting into the console should work with just 
about any kind of video hardware. Does Windows actually work with the 
ATI card? I'm beginning to suspect broken hardware here..


Bas

___
freebsd-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: / slice too small

2010-03-03 Thread krad
On 3 March 2010 14:23, Malcolm Kay malcolm@internode.on.net wrote:

 On Mon, 1 Mar 2010 08:44 am, krad wrote:
  On 28 February 2010 15:42, Elias Chrysocheris
 elias...@cha.forthnet.grwrote:
   On Sunday 28 of February 2010 15:26:54 Frank Shute wrote:
I've got a machine here running 7.2 which I want to
upgrade to 8.0 but looking at the root slice it is
woefully small:
   
$ df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/ad4s2190M146M 29M84%/
devfs 1.0K1.0K  0B   100%/dev
/dev/ad4s4129G 15G104G12%/usr
devfs 1.0K1.0K  0B   100%
/var/named/dev
   
I've got a CD/DVD writer on that machine along with a
100MB ethernet connection to my desktop.
   
How do I go about upgrading it? Dump/restore and change
the partition table?
   
Any suggestions gratefully received.
   
   
Regards,
  
   Yes. The dump/restore should do the trick as long as you
   have another medium
   to store the dumps (such as another hard disk). You will
   store the images of
   your slices to the new medium using dump(8). You can then
   use FixIt console to
   re-partition and re-slice your hard disk and then restore(8)
   your images in the newly sliced hard disk. Actually, if you
   have another hard disk device, you can use piped
   dump/restore to copy the whole system from one disk to the
   other and make the second one your bootable disk. Of course
   you must have sliced the second device first.
   I've done this many times. The first was to remove an
   openSUSE partition I had,
   living in the same hard disk as my FreeBSD. The second time
   was to move my FreeBSD to another hard disk (physical
   device). The new disk became my boot disk.
   The third time was to move my system to another bigger hard
   disk device and at
   the same time be formated as ZFS.
   Now my system boots from this third hard disk device, having
   ZFS and the operating system is the same as that I first
   installed (of cource updated...)
  
   Elias
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
 
  You might well find it easier to use rsync rather than dump.
  Just make sure you use the following flags
 
  rsync -aHP --numeric-ids
 
 This is a bit questionable for copying live fs. Probably OK if
 you use snapshots. Leaves you in very similar situation as doing
 backups with tar. These schemes also alter the access times on
 files (which I guess doesn't usually matter too much).

 But dump/restore is no more complex to use than rsync and manages
 snapshots for you, so why mess about with questionable schemes.


I understand what you mean about live file systems, but in this case its not
a problem as he will be in single user mode.

Also using the a flag means the modification times are intact.

I use rsync at work over 100s of systems and it is very effective, and the
noc find it far easier to recover small numbers of files than having to go
digging into dump files.

The way we have got everything setup on a zfs backend mean we can do
incremental forever, as well which is much more efficient than having to do
regular level 0 dumps.



 Malcolm Kay

  I use it in our backup setup at work, and have restored
  countless freebsd boxes.
 
  When you repartition the drive remember to add the boot blocks
 
  eg
 
  fdisk -B ad0
  bsdlabel -B ad0s1
  ___
  freebsd-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: Remote Building of FreeBSD

2010-03-03 Thread Martin McCormick
I am beginning to wonder if there is something different about
the way mfsbsd boots since it actually extracts itself in to
memory upon boot. I looked at bootloader.conf once again and
created a new boot.config file. The system does definitely see
the file because it echos the commands. The boot process breaks
down immediately as if what is on /dev/ad0s1b is not seen as a
boot sector. Here is a screen capture from the system so you can
see both the boot.config file and the system's response.

þÿ/boot.config: -P
verbose_loading=YES   # Set to YES for verbose loader output
autoboot_delay=-1 # Delay in seconds before autobooting,
# set to -1 if you don't want user to be
# allowed to interrupt autoboot process and
comconsole_speed=9600 # Set the current serial console speed
console=vidconsole,comconsole # A comma separated list of console(s)
currdev=disk1s1b  # Set the current device
root_disk_unit=0  # Force the root disk unit number
rootdev=disk1s1b  # Set the root filesystem

System Response

FreeBSD/i386 boot
Default: 0:ad(0,a)to
boot:
'And there we die. There is a valid boot sector at Default: 0:ad(0,a)
but there is also now valid boot code at
 0:ad(0,b) which is what I am trying to force with boot.config.

If one does fdisk on a partition that has had
mfsboot.img sprayed on it, fdisk shows the first 3 partitions
as being unused while Partition 4 has a type of 165 or standard
FreeBSD.

I think I am calling the bootloader wrong since the very
same mfsboot image works properly when applied to /dev/ad0. The
only difference is that one now has the same partition
configuration on /dev/ad0 instead of ad0s1b

Martin McCormick
___
freebsd-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: Compiler Flags problem with core2 CPU

2010-03-03 Thread Giorgos Keramidas
On Tue, 2 Mar 2010 23:26:20 +0200, Dan Naumov dan.nau...@gmail.com wrote:
See the section 3.17.14 Intel 386 and AMD x86-64 Options in the gcc
Info manual.  It contains a full list of the supported CPU-TYPE values
for the -mtune=CPU-TYPE option.  The -march=CPU-TYPE option accepts the
same CPU types:

`-march=CPU-TYPE'
 Generate instructions for the machine type CPU-TYPE.  The
 choices for CPU-TYPE are the same as for `-mtune'.  Moreover,
 specifying `-march=CPU-TYPE' implies `-mtune=CPU-TYPE'.

 Hello
 Out of curiosity, what is the optimal -march= value to use for the
 new Atom D510 CPU: http://ark.intel.com/Product.aspx?id=43098 ?

I'm not sure.  'nocona' seems a pretty close match:

_nocona_
  Improved version of Intel Pentium4 CPU with 64-bit
  extensions, MMX, SSE, SSE2 and SSE3 instruction set
  support.

Without actually trying -march=nocona on one of these I can't
tell for sure if it is 'optimal' or not though.

___
freebsd-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: Compiler Flags problem with core2 CPU

2010-03-03 Thread Chuck Swiger

Aaron Lewis wrote:

[r...@meilk /usr/src/sys/i386/compile/AARON]# make
CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile 
MAKESRCPATH=../../../dev/aic7xxx/aicasm
Warning: Object directory not changed from original 
/usr/src/sys/i386/compile/AARON

cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3

[ ... ]

cc1: warnings being treated as errors
../../../dev/aic7xxx/aicasm/aicasm.c:1: warning: SSE instruction set 
disabled, using 387 arithmetics

*** Error code 1


It's interesting something can work with SSE instruction , while some 
are not , Warnings are treated as errors , if we can safely disable it in some 
specific occasions.


Dude, the FreeBSD kernel doesn't use floating point, MMX, or SSE.  See 
sys/conf/kern.mk:


# [ ... ]  Explicitly prohibit the use of SSE and other SIMD
# operations inside the kernel itself.  These operations are exclusively
# reserved for user applications.
#
.if ${MACHINE_ARCH} == i386  ${CC} != icc
CFLAGS+=-mno-align-long-strings -mpreferred-stack-boundary=2 \
-mno-mmx -mno-3dnow -mno-sse -mno-sse2
INLINE_LIMIT?=  8000
.endif

Trying to override the default compiler flags to force it to use SSE is simply 
not going to work.


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


SATA regression with 7.2

2010-03-03 Thread Andrea Venturoli

Hello.

I've got a box with a VIA VT8251 chipset and a single SATA HD, running 
6.3/i386.
I'm trying to upgrade it to 7.2, but, when booting with the new kernel, 
it won't detect any HD.
In my BIOS I can set the controller to SATA, RAID or AHCI, but that 
doesn't matter.




Here's what I see when booting 6.3:

atapci0: VIA AHCI controller port 
0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f 
mem 0xfebfec00-0xfebfefff irq 21 at device 15.0 on pci0

atapci0: AHCI Version 01.00 controller with 4 ports detected
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
atapci1: VIA 8251 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0

ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
...
ad4: 152627MB WDC WD1600AAJS-00PSA0 05.06H05 at ata2-master SATA300
Trying to mount root from ufs:/dev/ad4s1a

On 7.2 the output is roughly the same (I couldn't save it), but it won't 
find ad4 and prompt me for a boot device (with none available).




Here's an extract from pciconf -lv:

atap...@pci0:15:0:  class=0x010601 card=0x33491106 chip=0x33491106 
rev=0x00 hdr=0x00

vendor = 'VIA Technologies Inc'
device = 'VT8251 VIA VT8251 AHCI RAID Controller'
class  = mass storage
atap...@pci0:15:1:  class=0x01018a card=0x05711106 chip=0x05711106 
rev=0x07 hdr=0x00

vendor = 'VIA Technologies Inc'
device = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE 
Controller'

class  = mass storage
subclass   = ATA



Please help.

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


Re: 802.11QinQ support

2010-03-03 Thread Ross Cameron
Hi there all

Does anyone know off hand if FreeBSD 8.0 or -CURRENT supports
802.1QinQ aka netsted VLans?

If so, how do I configure it as I've tried the usual ifconfig vlan?
create and tried stipulating that the secondary VLan's parent
interface it the primary VLan interface. But this doesn't seem to work
:(

Regards,...
Ross Cameron




-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
freebsd-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: 802.11QinQ support

2010-03-03 Thread Sam Fourman Jr.
On Wed, Mar 3, 2010 at 1:17 PM, Ross Cameron
ross.came...@linuxpro.co.za wrote:
 Hi there all

 Does anyone know off hand if FreeBSD 8.0 or -CURRENT supports
 802.1QinQ aka netsted VLans?


I don't believe FreeBSD supports QinQ yet, however it apparently has
always been possible to do nested vlans with netgraph.
My trouble with netgraph has always been that there was never a
sufficient amount of examples on the web to be able to do anything
useful with it.

Sam Fourman Jr.
Fourman Networks
___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Frank Staals

On 03/03/10 14:48, Andreas Davour wrote:


I am thinking of buying a new laptop, and want one which will work 
fine with FBSD. Anyone have any suggestions?


It must have a connector for a external screen (i.e. a projector when 
doing presentations), wireless, ~15 screen, lots of memory, and 
optical unit, and preferable a long battery time (i.e. CPU speed is 
not that important).


Webpages, own experiences or any other comparisons available?

Please cc me if answering.

/andreas

I am running FreeBSD (8-STABLE) on a Dell Latitude D630, and I'm very 
content with it. The D630 version has a 14.1 display, but I believe 
there is also a 15 version (which was called D830 if I recall 
correctly).  Out of the box support for wireless (wpi) , wired (bge) , 
cpu-throtteling (cpufreq), audio (snd_hda) and the display-dimming 
functionality. When I bought it battery lifetime was over 6 hours (with 
a 9 cell battery) when just using browser/e-mail client/ word-processor 
kind of applications. Now (I have this machine about 2.5 years now) it's 
still about 3 hours, and I use it every day for at least 3 or 4 hours.  
Suspend/Resume almost works; meaning it does actually suspend and 
resume, unfortunately both wired and wireless are dead after resuming.


Since I never use a external monitor I do not know if that works 
correctly or not. My version has an intel card but it is also possible 
to obtain a laptop with a nvidia GPU. For the external monitor stuff I 
guess the best bet would be an nvidia card. Anyway: the conclusion is 
that it may be a good idea to take a look at Dell's range of laptops.


Good luck  Regards,

--

- Frank

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


starting kernel from non zero physical address

2010-03-03 Thread Naeem Afzal
Hi,

I am trying to figure out best way to boot FreeBSD8 kernel when physical memory 
is not starting at zero address. Is using physfree address in hammer_time() 
argument is the one which sets start of physical memory address? Any input 
would be appreciated.

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


signal strength for wireless

2010-03-03 Thread Eitan Adler
Does any of the output of ifconfig have to do with the signal strength
of the network?
If yes - which part? If no - how can I determine that?
I looked in the ifconfig man page but could not find any information
relating to 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


Re: Suitable laptop for FreeBSD?

2010-03-03 Thread George Liaskos
On Wed, Mar 3, 2010 at 1:48 PM, Andreas Davour a...@update.uu.se wrote:

 I am thinking of buying a new laptop, and want one which will work fine with
 FBSD. Anyone have any suggestions?

 It must have a connector for a external screen (i.e. a projector when doing
 presentations), wireless, ~15 screen, lots of memory, and optical unit, and
 preferable a long battery time (i.e. CPU speed is not that important).

 Webpages, own experiences or any other comparisons available?

 Please cc me if answering.

 /andreas

 --
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-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


I use a lenovo thinkpad T500 running 8.0-STABLE, with xrandr i can set
up external monitors in no time.
The ATi card works very well, i get over 2000fps on glxgears but it
does not have power management just yet, so it gets hot.

15.4 @ 1680x1050, 4GB DDR3, T9550  @ 2.66GHz

hos...@pci0:0:0:0:  class=0x06 card=0x20e017aa chip=0x2a408086
rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile Memory Controller Hub'
class  = bridge
subclass   = HOST-PCI
pc...@pci0:0:1:0:   class=0x060400 card=0x20e217aa chip=0x2a418086
rev=0x07 hdr=0x01
vendor = 'Intel Corporation'
device = 'Mobile PCI Express Graphics Port'
class  = bridge
subclass   = PCI-PCI
no...@pci0:0:3:0:   class=0x078000 card=0x20e617aa chip=0x2a448086
rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel Management Engine Interface (Mobile 4 Series Chipset)'
class  = simple comms
no...@pci0:0:3:3:   class=0x070002 card=0x20ec17aa chip=0x2a478086
rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Active Management Technology - SOL (20EC17AA)'
class  = simple comms
subclass   = UART
e...@pci0:0:25:0:class=0x02 card=0x20ee17aa chip=0x10f58086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel  82567LM-2 Gigabit Network Connection (82567LM)'
class  = network
subclass   = ethernet
uh...@pci0:0:26:0:  class=0x0c0300 card=0x20f017aa chip=0x29378086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class  = serial bus
subclass   = USB
uh...@pci0:0:26:1:  class=0x0c0300 card=0x20f017aa chip=0x29388086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class  = serial bus
subclass   = USB
uh...@pci0:0:26:2:  class=0x0c0300 card=0x20f017aa chip=0x29398086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class  = serial bus
subclass   = USB
eh...@pci0:0:26:7:  class=0x0c0320 card=0x20f117aa chip=0x293c8086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
class  = serial bus
subclass   = USB
hd...@pci0:0:27:0:  class=0x040300 card=0x20f217aa chip=0x293e8086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) HD Audio Controller'
class  = multimedia
subclass   = HDA
pc...@pci0:0:28:0:  class=0x060400 card=0x20f317aa chip=0x29408086
rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:28:1:  class=0x060400 card=0x20f317aa chip=0x29428086
rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 2'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:28:2:  class=0x060400 card=0x20f317aa chip=0x29448086
rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 3'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:28:3:  class=0x060400 card=0x20f317aa chip=0x29468086
rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 4'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:28:4:  class=0x060400 card=0x20f317aa chip=0x29488086
rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5'
class  = bridge
subclass   = PCI-PCI
uh...@pci0:0:29:0:  class=0x0c0300 card=0x20f017aa chip=0x29348086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 

Re: Virtualbox on Freebsd

2010-03-03 Thread sand_man
On Wed, 03 Mar 2010 12:49:12 +
Thomas Lawrence thomas.lawre...@bbconsult.co.uk wrote:

 
Hello Guys and Gals,
Can you clear something up for me.
Is it possible to install the closed source version of Virtualbox
 on Freebsd8.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 

Since there is no FreeBSD download from the VirtualBox website, my
guess is no.
___
freebsd-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: Suitable laptop for FreeBSD?

2010-03-03 Thread Aaron Lewis

Bas v.d. Wiel wrote:

Aaron Lewis wrote:


Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
drivers for FreeBSD (although they do have Linux drivers, I think).



Well , the opensource ati driver doesn't work for me , no matter 
linux or FreeBSD , it crashes
I've read the documents , and found my ATI is on the support list , 
but it just don't work ;-(


Are you saying the R400 has both integrated and discrete video 
cards? Lenovo's web site doesn't seem very oriented to telling 
potential customers details about their newer computers.


-Warren Block * Rapid City, South Dakota USA
I bought it in china , you'll had to know R400 has lots of types , 
mine is 2784a18.
Of course you can choose to buy an energy-save laptop , which has on 
independent Video Cards ,
Just an build-in intel Video Card , it's better for power saving 
someway.


It's very strange that your machine should crash so early in its boot 
process. I don't own any ATI hardware so I'm not entirely sure on 
this, but my impression is that booting into the console should work 
with just about any kind of video hardware. Does Windows actually work 
with the ATI card? I'm beginning to suspect broken hardware here..


Bas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
Yeah , when i enable Switchable Video Card in BIOS , my Linux won't 
start X11 ,
fglrx driver doesn't allow me to do so , it tell me directly to disable 
this feature  ,

and must turn to Discrete Card Mode.

And if i do so  , after boot menu , right after the progress bar  , ( 
not the boot loader )
i don't know how to describe this , it just hangs at prompt when i press 
enter.


I think it's because my ATI Video Card is kind of special , it has 
Switchable Video Card ability ,
some new features , even ATI official linux driver can't really handle 
this , and for BSD ,

it even don't boot.

--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode

___
freebsd-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: Virtualbox on Freebsd

2010-03-03 Thread Chris Hill

On Wed, 3 Mar 2010, Thomas Lawrence wrote:


  Hello Guys and Gals,
  Can you clear something up for me.
  Is it possible to install the closed source version of Virtualbox on
  Freebsd8.


Glen Barber posted this...

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg217302.html

...last summer. I have not tried it, just saying it's there.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-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: Virtualbox on Freebsd

2010-03-03 Thread sand_man
On Wed, 3 Mar 2010 19:48:08 -0500 (EST)
Chris Hill ch...@monochrome.org wrote:

 On Wed, 3 Mar 2010, Thomas Lawrence wrote:
 
Hello Guys and Gals,
Can you clear something up for me.
Is it possible to install the closed source version of Virtualbox
  on Freebsd8.
 
 Glen Barber posted this...
 
 http://www.mail-archive.com/freebsd-questions@freebsd.org/msg217302.html
 
 ...last summer. I have not tried it, just saying it's there.
 
 --
 Chris Hill   ch...@monochrome.org
 ** [ Busy Expunging | ]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 

But is that the PUEL version? Or just a binary of the OSE version?
___
freebsd-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: Virtualbox on Freebsd

2010-03-03 Thread Glen Barber
Hi,

Chris Hill wrote: 
 On Wed, 3 Mar 2010, Thomas Lawrence wrote:
 
Hello Guys and Gals,
Can you clear something up for me.
Is it possible to install the closed source version of Virtualbox on
Freebsd8.
 
 Glen Barber posted this...
 
 http://www.mail-archive.com/freebsd-questions@freebsd.org/msg217302.html
 
 ...last summer. I have not tried it, just saying it's there.
 

It is a (horribly outdated) pkg_add(1) installer.  I haven't had a chance
to update it yet; hopefully this weekend now that my attention has been
drawn to it.

For the record, it is not the closed-source version.  It is
emulators/virtualbox before it was repocopied to
emulators/virtualbox-ose-*.

Regards,

-- 
Glen Barber
___
freebsd-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: / slice too small

2010-03-03 Thread Malcolm Kay
On Thu, 4 Mar 2010 02:44 am, krad wrote:
 On 3 March 2010 14:23, Malcolm Kay 
malcolm@internode.on.net wrote:
  On Mon, 1 Mar 2010 08:44 am, krad wrote:
   On 28 February 2010 15:42, Elias Chrysocheris
 
  elias...@cha.forthnet.grwrote:
On Sunday 28 of February 2010 15:26:54 Frank Shute wrote:
 I've got a machine here running 7.2 which I want to
 upgrade to 8.0 but looking at the root slice it is
 woefully small:

 $ df -h
 FilesystemSizeUsed   Avail Capacity  Mounted
 on /dev/ad4s2190M146M 29M84%/
 devfs 1.0K1.0K  0B   100%/dev
 /dev/ad4s4129G 15G104G12%/usr
 devfs 1.0K1.0K  0B   100%
 /var/named/dev

 I've got a CD/DVD writer on that machine along with a
 100MB ethernet connection to my desktop.

 How do I go about upgrading it? Dump/restore and
 change the partition table?

 Any suggestions gratefully received.


 Regards,
   
Yes. The dump/restore should do the trick as long as you
have another medium
to store the dumps (such as another hard disk). You will
store the images of
your slices to the new medium using dump(8). You can
then use FixIt console to
re-partition and re-slice your hard disk and then
restore(8) your images in the newly sliced hard disk.
Actually, if you have another hard disk device, you can
use piped dump/restore to copy the whole system from one
disk to the other and make the second one your bootable
disk. Of course you must have sliced the second device
first.
I've done this many times. The first was to remove an
openSUSE partition I had,
living in the same hard disk as my FreeBSD. The second
time was to move my FreeBSD to another hard disk
(physical device). The new disk became my boot disk.
The third time was to move my system to another bigger
hard disk device and at
the same time be formated as ZFS.
Now my system boots from this third hard disk device,
having ZFS and the operating system is the same as that
I first installed (of cource updated...)
   
Elias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questi
   ons To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
  
   You might well find it easier to use rsync rather than
   dump. Just make sure you use the following flags
  
   rsync -aHP --numeric-ids
 
  This is a bit questionable for copying live fs. Probably OK
  if you use snapshots. Leaves you in very similar situation
  as doing backups with tar. These schemes also alter the
  access times on files (which I guess doesn't usually matter
  too much).
 
  But dump/restore is no more complex to use than rsync and
  manages snapshots for you, so why mess about with
  questionable schemes.

 I understand what you mean about live file systems, but in
 this case its not a problem as he will be in single user mode.

I'm not sure that single user mode avoids this problem.

 Also using the a flag means the modification times are
 intact.

I did not mention modification times but access times which I 
admit are seldom put to any use. It is very difficult for any 
utility to avoid altering these -- dump is the only exception I 
know of.


 I use rsync at work over 100s of systems and it is very
 effective, and the noc find it far easier to recover small
 numbers of files than having to go digging into dump files.


I've not found this too difficult even when working with 
compressed dumps.

 The way we have got everything setup on a zfs backend mean we
 can do incremental forever, as well which is much more
 efficient than having to do regular level 0 dumps.

Yes, rsync is great for updating incremental changes but
this is quite irrelevant to the OP's problem.

For backup it seems this also somewhat reduces the effectiveness.
For example when you are asked to recover the original of a file 
that was changed before the lastest backup. Many of us think it 
desirable to regularly archive complete backups.

But each to his own; backup methods and strategies have always 
been something of a controverial issues.


  Malcolm Kay
 
   I use it in our backup setup at work, and have restored
   countless freebsd boxes.
  
   When you repartition the drive remember to add the boot
   blocks
  
   eg
  
   fdisk -B ad0
   bsdlabel -B ad0s1
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-question
  s 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 
  

Re: / slice too small

2010-03-03 Thread Malcolm Kay
On Mon, 1 Mar 2010 08:44 am, krad wrote:
 On 28 February 2010 15:42, Elias Chrysocheris 
elias...@cha.forthnet.grwrote:
  On Sunday 28 of February 2010 15:26:54 Frank Shute wrote:
   I've got a machine here running 7.2 which I want to
   upgrade to 8.0 but looking at the root slice it is
   woefully small:
  
   $ df -h
   FilesystemSizeUsed   Avail Capacity  Mounted on
   /dev/ad4s2190M146M 29M84%/
   devfs 1.0K1.0K  0B   100%/dev
   /dev/ad4s4129G 15G104G12%/usr
   devfs 1.0K1.0K  0B   100%   
   /var/named/dev
  
   I've got a CD/DVD writer on that machine along with a
   100MB ethernet connection to my desktop.
  
   How do I go about upgrading it? Dump/restore and change
   the partition table?
  
   Any suggestions gratefully received.
  
  
   Regards,
 
  Yes. The dump/restore should do the trick as long as you
  have another medium
  to store the dumps (such as another hard disk). You will
  store the images of
  your slices to the new medium using dump(8). You can then
  use FixIt console to
  re-partition and re-slice your hard disk and then restore(8)
  your images in the newly sliced hard disk. Actually, if you
  have another hard disk device, you can use piped
  dump/restore to copy the whole system from one disk to the
  other and make the second one your bootable disk. Of course
  you must have sliced the second device first.
  I've done this many times. The first was to remove an
  openSUSE partition I had,
  living in the same hard disk as my FreeBSD. The second time
  was to move my FreeBSD to another hard disk (physical
  device). The new disk became my boot disk.
  The third time was to move my system to another bigger hard
  disk device and at
  the same time be formated as ZFS.
  Now my system boots from this third hard disk device, having
  ZFS and the operating system is the same as that I first
  installed (of cource updated...)
 
  Elias
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org

 You might well find it easier to use rsync rather than dump.
 Just make sure you use the following flags

 rsync -aHP --numeric-ids

To preserve extended flags set with chflags you also need
  --fileflags
and the fileflags patch enabled on installing rsync.
For example look at:
#ls -lo /var
and note flag on empty. 

Malcolm Kay

 I use it in our backup setup at work, and have restored
 countless freebsd boxes.

 When you repartition the drive remember to add the boot blocks

 eg

 fdisk -B ad0
 bsdlabel -B ad0s1
 ___
 freebsd-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


gpart command fails sporadically

2010-03-03 Thread Peter Steele
We've seen this error sporadically when using the gpart command:

gpart: Cannot get GEOM tree: Cannot allocate memory

What would cause this? It does not happen often but I wouldn't think we should 
never see it, not with a simple gpart show command.

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


fsck cannot determine fstype automatically

2010-03-03 Thread Peter Steele
We use gpart to create GPT style partitions. For example:

# gpart show ad4
=   34  490234685  ad4  GPT  (234G)
 34 161  freebsd-boot  (8.0K)
 50   671088642  freebsd-swap  (32G)
   67108914   671088643  freebsd-swap  (32G)
  134217778   104857604  freebsd-ufs  (5.0G)
  144703538   251658245  freebsd-ufs  (12G)
  169869362   117190606  freebsd  (5.6G)
  181588422  2006200897  freebsd-ufs  (96G)
  382208511  1080262088  freebsd-ufs  (52G)

In this case, partitions 3, 4, and 5 are mirrored with equivalent partitions on 
another drive and these appear to be working fine. Partitions 7 and 8 are 
strictly data partitions and not mirrored. When I try to run fsck against them, 
I get this:

# fsck /dev/ad4p4  
fsck: Could not determine filesystem type

I have to specify the file system type explicitly:

# fsck -t ufs /dev/ad4p7
** /dev/ad4p7 (NO WRITE)
** Last Mounted on /v0
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
39 files, 553 used, 48573784 free (24 frags, 6071720 blocks, 0.0% fragmentation)

Why do I have to specify the fstype explicitly? I have a similar system 
configured with fdisk/bsdlabel and the fsck command doesn't have any problems 
with determining the fstype. Is there something we need to do to allow the 
fstype of GPT partitions to be automatically determined by fsck?

___
freebsd-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 install from floppy

2010-03-03 Thread ill...@gmail.com
On 3 March 2010 07:33, Piotr Lukawski plukaw...@googlemail.com wrote:
 Dears,
 I need to install Freebsd 8.0 using floppy and then ftp, but there are no
 floppy images in
 ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/mentioned
 in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
 I tried so install Freebsd 7 using availiable floppy (successful) and update
 it to 8.0 (after 3 days finally error and now now whole /usr directory so I
 am stacked).
 Could you please produce install floppy images for Freebsd 8.0? Please
 please please. I have no power to do the install of 7, upgrade and fail
 again :-(
 Thanks in adavance.
 Piotr

Have you tried installing 8.0-RELEASE from your
7.x floppies?  I have heard rumour that it is possible
by just changing the release name under View/Set
Various Installation Options.

-- 
--
___
freebsd-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.cfg for Documentation Installation Menu on 8.0-RELEASE

2010-03-03 Thread don Juan
On Wed, Feb 24, 2010 at 3:51 PM, don Juan fmem...@gmail.com wrote:
 Hi,

 What come up with 8.0-RELEASE is the new FreeBSD
 Documentation Installation Menu in sysinstall. I would like to know
 what command for install.cfg to configure my installation with, say,
 English Documentation.

 i've found this question already posted to this forum but it's still
 unanswered.

 Thanks!


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