Problem regarding free BSD

2009-10-14 Thread Abhilash Shukla
Hello,Respected Sir/Madam,Actually i tried to install free BSD on my system, I 
have 1 TB hard disk of 500GB X 2 in which i made a partition in one of my hard 
disk which even contains some data. Unfortunately i lost all my data, as i 
think but its truly very important for me. As after the completion of the 
installation part when i tried to boot into it, i was unable to do so, now i 
installed Windows XP into my system and tried to access the other hard disk but 
still i can't. As when i installed BSD in other partition why i am not able to 
access the other drive in the same hard drive. Please help me how can i recover 
my data.Thank You,Abhilash Shukla.Dear questi...@freebsd.org ! Get Yourself a 
cool, short @in.com Email ID now!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man quits back to the prompt after CTRL-G

2009-10-14 Thread Chris Stankevitz

Bill Campbell wrote:

The -e and -E options to less control this.  You want neither of
these specified if you don't want to have less automatically exit
at end-of-file.  The ``-e'' option causes it to exit the second
time it hits eof while ``-E'' exits the first time.


Bill,

Thank you for your explanation.  I hope to find that my PAGER 
environment variable is less -E.  If so, I will drop the -E.


Chris

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


Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Jonathan McKeown
On Tuesday 13 October 2009 18:44:57 Jon Radel wrote:
 Jacques Henry wrote:
  I commented the commands involved and nothing changed... (with only 10
  minutes of time difference)

 The 19 minutes between when I sent my suggestions and you responded is
 hardly enough time to see if ntpd was slewing the time.  Slewing 587
 seconds takes days.

  I even tried to force the sync:
 
  U450XA0A0800650nstop ntp
  U450XA0A0800650ntpd -x -n -q -c /var/ntp.conf
  U450XA0A0800650nstart ntp

 Are you sure that -x in there, telling ntpd to not step unless the
 offset is over 600 sec, doesn't override what you're trying to do with
 the -q?  How about you try simple:

 ntpdate the_windows_server

 and see what that does?  After that look in /var/log/messages.

   In fact I am still quite convinced that the MS implementation isn't
  totally compliant with the client...

 Could be, but ntpq was showing that your ntpd was accepting time data
 from the Windows server at least on some level.

Alternatively, from the commandline try

ntpd -g -q -c /etc/ntp.conf

The -g flag allows ntpd to set the clock once regardless of the offset and 
the -q causes it to quit after setting the time.

In /etc/rc.conf, all you should need is

ntpd_enable=YES
ntpd_sync_on_start=YES

The second option adds -g to the ntpd flags, allowing it to set the clock at 
startup and continue running.

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


Re: man quits back to the prompt after CTRL-G

2009-10-14 Thread Frank Shute
On Tue, Oct 13, 2009 at 11:10:02PM -0700, Chris Stankevitz wrote:

 Bill Campbell wrote:
 The -e and -E options to less control this.  You want neither of
 these specified if you don't want to have less automatically exit
 at end-of-file.  The ``-e'' option causes it to exit the second
 time it hits eof while ``-E'' exits the first time.
 
 Bill,
 
 Thank you for your explanation.  I hope to find that my PAGER 
 environment variable is less -E.  If so, I will drop the -E.
 
 Chris
 

Chris,

Set $PAGER to less and then set $LESS to something reasonable in
your shells rc/profile.

E.g On my machine:

LESS=-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END)

All explained in less(1)

Regards,

-- 

 Frank

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


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


Re: View font selection

2009-10-14 Thread Ricardo Jesus

Chris Stankevitz wrote:

Hello,

Question: What command should I issue to see what each of my installed x11 
fonts looks like?

Thank you,

Chris


  
___

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


xfontsel.

To install the port: cd /usr/ports/x11-fonts/xfontsel/  make install 
clean ; rehash


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


Re: some issues with 9-CURRENT

2009-10-14 Thread Alexander Best
since my first question got answers, here are answers to questions 2 and 3:

2: there's a problem report here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/108968

this still exists in CURRENT

3: i believe it takes so long to do fsck on a device in background mode
because a snapshot has to be taken first.

i decided i'd rather wait for a few minutes instead of running a system for
half an hour which is incredibly slow. i simply added the following to
/etc/rc.conf:

background_fsck=NO

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


Re: man quits back to the prompt after CTRL-G

2009-10-14 Thread Ashok TM
send me ur citiback card no

On Wed, Oct 14, 2009 at 1:40 PM, Frank Shute fr...@shute.org.uk wrote:

 On Tue, Oct 13, 2009 at 11:10:02PM -0700, Chris Stankevitz wrote:
 
  Bill Campbell wrote:
  The -e and -E options to less control this.  You want neither of
  these specified if you don't want to have less automatically exit
  at end-of-file.  The ``-e'' option causes it to exit the second
  time it hits eof while ``-E'' exits the first time.
 
  Bill,
 
  Thank you for your explanation.  I hope to find that my PAGER
  environment variable is less -E.  If so, I will drop the -E.
 
  Chris
 

 Chris,

 Set $PAGER to less and then set $LESS to something reasonable in
 your shells rc/profile.

 E.g On my machine:

 LESS=-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END)

 All explained in less(1)

 Regards,

 --

  Frank

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


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

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


Re: Problem regarding free BSD

2009-10-14 Thread Neal Hogan
On Wed, Oct 14, 2009 at 12:55 AM, Abhilash  Shukla abhi_shu...@in.com wrote:
 Hello,Respected Sir/Madam,Actually i tried to install free BSD on my system, 
 I have 1 TB hard disk of 500GB X 2 in which i made a partition in one of my 
 hard disk which even contains some data. Unfortunately i lost all my data, 
 as i think but its truly very important for me. As after the completion of 
 the installation part when i tried to boot into it, i was unable to do so, 
 now i installed Windows XP into my system and tried to access the other hard 
 disk but still i can't. As when i installed BSD in other partition why i am 
 not able to access the other drive in the same hard drive. Please help me 
 how can i recover my data.Thank You,Abhilash Shukla.Dear 
 questi...@freebsd.org ! Get Yourself a cool, short @in.com Email ID now!

As far as I understand, the data on the partition you put freeBSD on
is gone. You should have noticed the warning during install that
warned of this.

Concerning XP and looking at other partitions, (as far as I
understand) you should install XP first and then install freeBSD with
a bootloader that will allow you (easier) access to all of the OS's.
MS doesn't like to share disk space.

Perhaps I misunderstood your situation concerning the loss of data.
If so, there is open source data recovery software out there. I can't
think of the names right now, but I'm sure you have the necessary
searching skills to find them yourself.

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


test please ignore

2009-10-14 Thread henter2009

test please ignore
-- 
View this message in context: 
http://www.nabble.com/test-please-ignore-tp25889720p25889720.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: howto install virtualbox

2009-10-14 Thread henter2009

anyone can give some references of this?
 any kind how to explanation will be more than welcome :D


Manolis Kiagias-2 wrote:
 
 Mark Stapper wrote:
 Hello,

 I'm currently migrating my home desktop from Gentoo linux to FreeBSD
 8.0(Beta but it'll be Stable soon. Using RELENG_8 btw).
 I'm kind of a OS collector/nut/geek/nerd. As such virtualization is
 quite important to me.
 I've been using VMware Server 2.x on Gentoo for quite some time and,
 apart from the new console *barf*, it's been working for me so far.
 So needless to say I was hoping for vmware support. Tough luck... Ow
 well, the handbook spoke of virtualbox support. Only OSE, but still,
 better than nothing.
 After trying virtualbox on windows(at work) I decided to give it a go on
 FreeBSD amd64...
 Issuing make install in the virtualbox directory complained about me not
 having any 32-bit libraries installed.
 My questions are two fold:
 1. Which options do I have when it comes to vritualization on FreeBSD 8
 amd64?
 2. How do I install virtualbox on amd64?

 Thanks,
 Mark

   
 I don't have a suitable amd64 system to test, but apparently virtualbox
 on amd64 requires this option to be built into the kernel:
 
 COMPAT_IA32
 
 for latest info check the wiki page, as virtualbox is under heavy
 development:
 
 http://wiki.freebsd.org/VirtualBox
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 
 

-- 
View this message in context: 
http://www.nabble.com/howto-install-virtualbox-tp25001665p25889863.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: test please ignore

2009-10-14 Thread Chris Rees
2009/10/14 henter2009 jeronimocal...@googlemail.com:

 test please ignore
 --
 View this message in context: 
 http://www.nabble.com/test-please-ignore-tp25889720p25889720.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.



This is not the list to test on.

http://lists.freebsd.org/mailman/listinfo/freebsd-test

Please use it.

Chris

-- 
A: Because it messes up 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 in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Linux compatibility in FreeBSD

2009-10-14 Thread Leandro F Silva
Dears,

Does anyone know or already configured the linux compatibility in FreeBSD to
install rpm packages and so on.
Actually I'm running the i386 7.2 FreeBSD and the following package.

%pkg_info |grep linu
linux_base-fc-4_14  Base set of packages needed in Linux mode (for
i386/amd64)

I already saw the linux compatibility in the hand book of FreeBSD, but I
didn't find too much information regarding rpm packages.

Is there any way to do it ? any help is really welcome !

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


Re: man quits back to the prompt after CTRL-G

2009-10-14 Thread Bill Campbell
On Tue, Oct 13, 2009, Chris Stankevitz wrote:
 Bill Campbell wrote:
 The -e and -E options to less control this.  You want neither of
 these specified if you don't want to have less automatically exit
 at end-of-file.  The ``-e'' option causes it to exit the second
 time it hits eof while ``-E'' exits the first time.

 Bill,

 Thank you for your explanation.  I hope to find that my PAGER  
 environment variable is less -E.  If so, I will drop the -E.

You probably also want the ``-r'' option which I think gets less
to properly highlight the nroff things like bold.

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

It is no crime to be ignorant of economics, which is, after all, a
specialized discipline and one that most people consider to be a 'dismal
science.' But it is totally irresponsible to have a loud and vociferous
opinion on economic subjects while remaining in this state of ignorance.
-- Murray N. Rothbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: man quits back to the prompt after CTRL-G

2009-10-14 Thread RW
On Tue, 13 Oct 2009 23:10:02 -0700
Chris Stankevitz cstankev...@toyon.com wrote:

 Bill Campbell wrote:
  The -e and -E options to less control this.  You want neither of
  these specified if you don't want to have less automatically exit
  at end-of-file.  The ``-e'' option causes it to exit the second
  time it hits eof while ``-E'' exits the first time.
 
 Bill,
 
 Thank you for your explanation.  I hope to find that my PAGER 
 environment variable is less -E.  If so, I will drop the -E.

I think it's sufficient simply to change your pager to less. IIRC it
defaults to more.

more and less are the same binary in FreeBSD, but they work
slightly differently according to how they are invoked.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: whacky `fc-list` output

2009-10-14 Thread Boris Samorodov
On Tue, 13 Oct 2009 21:21:16 +0200 (CEST) Alexander Best wrote:

 hi there,

 when i do `fc-list` the output looks rather odd. `fc-cache -f` doesn't help.
 the output looks the same using different shells.

Those messages seem to be UTF-8 formatted. I use UTF-8 locale and
iso10646 font. Here is a head of `fc-list`:
-
CourierNew:style=PSMT-BoldItalic
Lucida 
Console:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Navadno
,Arrunta
AcademyPSCyr:style=Regular
Utopia:style=Bold Italic
CollegePSCyr:style=Regular
DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
Times New 
Roman:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Normá
lne,Navadno,thường,Arrunta
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Graphics card recommendation

2009-10-14 Thread freebsd
I'm in need of a new graphics card for a new computer, that I hope will
run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a
dual-monitor, which I believe means the 3D acceleration has to be in good
working order. I don't really care whether the graphics driver is binary,
or freely-licensed.

Has anyone bought a recent graphics card that they know to be working in
x64 with 3D acceleration?

I've heard Nvidea support is probably better than ATI. Some of the GPU
choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+ series
or the GTS/GTX 2** series. Are some of those better-supported than others?

I didn't see anything recent on this list or the website, and there wasn't
much response on IRC. Recommendations would be appreciated. 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


zfs root

2009-10-14 Thread krad
Hi,

I have a quick question about freebsd on zfs root. I have built a few test
systems all work fine. I have one question though. Does the loader replay
any information when it accesses the pool?

Basically im interested in how or what is done on reboot after the kernel
panic or power loss. Are there any safe guards with regard to the zpool
integrity?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Broadcom bce interface problems

2009-10-14 Thread Brian McCann
On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli faza...@sepehrs.com wrote:
 what type of blade switch you are using?
 Are you using HS21 onboard ports or an expansion card?

 Make sure the corresponding internal ports of
 the blade switch are at 'no shutdown' state.


 Brian McCann wrote:

 I'm having problems with the bce interface on a FreeBSD 7.2 install, using
 an IBM BladeCenter HS21 machine.  The machine uses the NetXtreme II card.
  The really strange thing here is, the switch shows a link, but the card
 shows no carrier in the setup.  It started working for a few seconds at
 one
 point when I reset the switch (at least, I think that's what I did), and
 it
 detected 1000BaseSX as the media and showed a status of active, but
 promptly
 went away.  If I try setting the media type manually, that doesn't appear
 to
 work.
 Has anyone seen this or have any ideas?
 Thanks!
 --Brian



 --

 Best regards.
 Hooman Fazaeli






Yes, I'm using an HS21 onbaord card...the Broadcom.  The internal
ports show a link (using the Nortel manager...it's got a the Nortel
L3-7 switch in it).

I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last
night...it looks like that change was never commited by anyone...I'm
working on recompiling that into 7.1 now and plan on trying it once
it's done.  I'll post the results up here (and to freebsd-net as well
if it works).

I'm really hoping that works...since I really would like to avoid
installing VMWare ESXi on 14 blades just to run 1 VM in each of them
and loose performance.  I'll keep y'all posted.

--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Linux compatibility in FreeBSD

2009-10-14 Thread Boris Samorodov
On Wed, 14 Oct 2009 10:57:58 -0300 Leandro F Silva wrote:

 Does anyone know or already configured the linux compatibility in FreeBSD to
 install rpm packages and so on.

hm, actually (almost) all linux applications are installed using 
RPM packages. Did you mean using linux RPM database?

 Actually I'm running the i386 7.2 FreeBSD and the following package.

 %pkg_info |grep linu
 linux_base-fc-4_14  Base set of packages needed in Linux mode (for
 i386/amd64)

FYI: You may use `pkg_info -Ix linux_base` for this.

 I already saw the linux compatibility in the hand book of FreeBSD, but I
 didn't find too much information regarding rpm packages.

 Is there any way to do it ? any help is really welcome !

Using RPM database is not supported since FreeBSD has its own
package database for all applications including linux ones.

Said that I don't mean it doesn't work. If you need to use RPM
database to register applications that does not exist at ports
you may give it a try.

But the best way is to create ports for those applications
and install them from ports. BTW, they really don't need to
exist at the official portstree. You may place them, say, to
/usr/ports/local. A PR with them will be a good thing though.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Graphics card recommendation

2009-10-14 Thread Jerry
On Wed, 14 Oct 2009 08:31:00 -0700
free...@t41t.com free...@t41t.com (free...@t41t.com) replied:

I'm in need of a new graphics card for a new computer, that I hope will
run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a
dual-monitor, which I believe means the 3D acceleration has to be in
good working order. I don't really care whether the graphics driver is
binary, or freely-licensed.

Has anyone bought a recent graphics card that they know to be working
in x64 with 3D acceleration?

I've heard Nvidea support is probably better than ATI. Some of the GPU
choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+
series or the GTS/GTX 2** series. Are some of those better-supported
than others?

I didn't see anything recent on this list or the website, and there
wasn't much response on IRC. Recommendations would be appreciated.
Thanks!

nVidia (AMD64) is not supported in 7.x versions of FreeBSD as far as I
know. There was some talk of it being supported in 8.x, but I have
not heard from anyone actually doing so. All my machines use nvidea
cards, and the lack of support for it in FBSD, even after an extended
period of time, is a real PIA.

-- 
Jerry
ges...@yahoo.com

The bold youth of today is very lonely.

Poul Henningsen [1894-1967]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Jacques Henry
  The 19 minutes between when I sent my suggestions and you responded is
  hardly enough time to see if ntpd was slewing the time.  Slewing 587
  seconds takes days.


 The thing is that ntpd is not slewing the time at all, even after several
hours!!


  Are you sure that -x in there, telling ntpd to not step unless the
  offset is over 600 sec, doesn't override what you're trying to do with
  the -q?  How about you try simple:
 
  ntpdate the_windows_server
 
  and see what that does?  After that look in /var/log/messages.


I don't have that command on my system...



 Alternatively, from the commandline try

 ntpd -g -q -c /etc/ntp.conf

 The -g flag allows ntpd to set the clock once regardless of the offset and
 the -q causes it to quit after setting the time.


I tried this command without success...  I can see the NTP packets (client
and server) but the clock is never set

with the debugging option enabled (-D 3), at the end I get:

...
...
poll_update: at 15 172.30.1.5 flags 0201 poll 6 burst 1 last 1 next 17
read_network_packet: fd=22 length 48 from ac1e0105 172.30.1.5
receive: at 15 172.30.1.250-172.30.1.5 flags 19 restrict 080
receive: at 15 172.30.1.250-172.30.1.5 mode 4 code 1 auth 0
packet: flash header 0040
addto_syslog: no reply; clock not set
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Upgrade 7.2-RELEASE to 8.0-RC1 problem

2009-10-14 Thread Alexandre
Hi,

I have tried to upgrade my laptop system from 7.2-RELEASE to 8.0-RC1 using
the freebsd-update method.
I have ran the following commands :

# freebsd-update -r 8.0-RC1 upgrade
# freebsd-update install
# nextboot -k GENERIC
# shutdown -r now
# freebsd-update install
# portmaster -adf

Then portmaster program does not recognize by the system.
# rehash
Does not have effect.
Then I have rebooted the machine one more time and I have select the boot
option 6 and type

boot GENERIC

Now the system don't want to boot correctly because it can't do fsck_ufs on
/dev/ad0s1a

I have download and burn the livefs 8.0-RC1 iso and use the fixit part.
fsck_ufs /dev/ad0s1a do the steps correctly then I tried to boot on my
GENERIC patched local kernel (using boot option 6 like described above) but
I always got the same error.

I have noticed that I have got these messages before the boot menu
Boot: syntax error on file /boot/device.hints
Boot: syntax error on file /boot/loader.conf

Also, I tried this :
(escape to loader prompt) *
*# boot -s  OK - It boot on 7.2 kernel
# adjkerntz -i  OK
# swapon -a  swapon: not found
# fsck -p  fsck: exec fsck_ufs for /dev/ad0s1a in /sbin:/usr/sbin: no such
file or directory
# mount -u /  OK
# mount -va  OK

If I rebooted like this method
(escape to loader prompt)
# boot GENERIC

It boot on 8.0-RC1 kernel, but the only command that doesn't passed is
# swapon -a  swapon: not found


After the command :
# fsck -p
I can access to the login prompt. But when I tried to login with root or
another user, I got the following error :
login: login: could not determine audit condition

Can you help me to repair the errors ?

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


Re: Graphics card recommendation

2009-10-14 Thread jgrosch
 On Wed, 14 Oct 2009 08:31:00 -0700
 free...@t41t.com free...@t41t.com (free...@t41t.com) replied:

I'm in need of a new graphics card for a new computer, that I hope will
run FreeBSD (with a strong preference for AMD64) and compiz-fusion on a
dual-monitor, which I believe means the 3D acceleration has to be in
good working order. I don't really care whether the graphics driver is
binary, or freely-licensed.

Has anyone bought a recent graphics card that they know to be working
in x64 with 3D acceleration?

I've heard Nvidea support is probably better than ATI. Some of the GPU
choices I see are like GeForce 9400/9500/9600 GT, GSO, and/or GTX+
series or the GTS/GTX 2** series. Are some of those better-supported
than others?

I didn't see anything recent on this list or the website, and there
wasn't much response on IRC. Recommendations would be appreciated.
Thanks!

 nVidia (AMD64) is not supported in 7.x versions of FreeBSD as far as I
 know. There was some talk of it being supported in 8.x, but I have
 not heard from anyone actually doing so. All my machines use nvidea
 cards, and the lack of support for it in FBSD, even after an extended
 period of time, is a real PIA.

nVidia support on i386 FreeBSD is not much better. One can use an nVidia
card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google
search finds many posts on how to fix this but none of them seem to work.
I could be wrong but nVidia does not seem to be very interested in working
with the FreeBSD project to address these problems. ATI also seems to have
a problem with mtrr under 7.2. I'm still trying to sort this out. I hope
8.0 will address these problems.


Josef

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


Re: whacky `fc-list` output

2009-10-14 Thread Alexander Best
Boris Samorodov schrieb am 2009-10-14:
 On Tue, 13 Oct 2009 21:21:16 +0200 (CEST) Alexander Best wrote:

  hi there,

  when i do `fc-list` the output looks rather odd. `fc-cache -f`
  doesn't help.
  the output looks the same using different shells.

 Those messages seem to be UTF-8 formatted. I use UTF-8 locale and
 iso10646 font. Here is a head of `fc-list`:
 -
 CourierNew:style=PSMT-BoldItalic
 Lucida
 Console:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Navadno
 ,Arrunta
 AcademyPSCyr:style=Regular
 Utopia:style=Bold Italic
 CollegePSCyr:style=Regular
 DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
 Times New
 Roman:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Normá
 lne,Navadno,thường,Arrunta
 -

this is the output of `locale` on my box:

LANG=C
LC_CTYPE=de_DE.ISO8859-15
LC_COLLATE=en_GB.ISO8859-15
LC_TIME=de_DE.ISO8859-15
LC_NUMERIC=de_DE.ISO8859-15
LC_MONETARY=de_DE.ISO8859-15
LC_MESSAGES=en_GB.ISO8859-15
LC_ALL=

so why does fc-list output in utf8 if none of the LC_* vars is set to it?

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


Re: Graphics card recommendation

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, jgro...@es.net wrote:

nVidia support on i386 FreeBSD is not much better. One can use an nVidia
card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google
search finds many posts on how to fix this but none of them seem to work.
I could be wrong but nVidia does not seem to be very interested in working
with the FreeBSD project to address these problems. ATI also seems to have
a problem with mtrr under 7.2. I'm still trying to sort this out. I hope
8.0 will address these problems.


All of my cards are ATI and I don't know of the mtrr problem you're 
talking about.  This X1650 works fine on i386 with both 7-STABLE and 
8-STABLE.


-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: Broadcom bce interface problems

2009-10-14 Thread Diego F. Arias R.
do you double-check the internal por assignement? How many switchs  has that
blade1 or 2?

You can try running a linux live-cd or maybe Windows to discard a FreeBSD
trouble with the nic. does Freebsd detects 1 or 2 nics, and how many does
the blade have?

On Wed, Oct 14, 2009 at 10:49 AM, Brian McCann bjmcc...@gmail.com wrote:

 On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli faza...@sepehrs.com wrote:
  what type of blade switch you are using?
  Are you using HS21 onboard ports or an expansion card?
 
  Make sure the corresponding internal ports of
  the blade switch are at 'no shutdown' state.
 
 
  Brian McCann wrote:
 
  I'm having problems with the bce interface on a FreeBSD 7.2 install,
 using
  an IBM BladeCenter HS21 machine.  The machine uses the NetXtreme II
 card.
   The really strange thing here is, the switch shows a link, but the card
  shows no carrier in the setup.  It started working for a few seconds at
  one
  point when I reset the switch (at least, I think that's what I did), and
  it
  detected 1000BaseSX as the media and showed a status of active, but
  promptly
  went away.  If I try setting the media type manually, that doesn't
 appear
  to
  work.
  Has anyone seen this or have any ideas?
  Thanks!
  --Brian
 
 
 
  --
 
  Best regards.
  Hooman Fazaeli
 
 
 
 
 

 Yes, I'm using an HS21 onbaord card...the Broadcom.  The internal
 ports show a link (using the Nortel manager...it's got a the Nortel
 L3-7 switch in it).

 I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last
 night...it looks like that change was never commited by anyone...I'm
 working on recompiling that into 7.1 now and plan on trying it once
 it's done.  I'll post the results up here (and to freebsd-net as well
 if it works).

 I'm really hoping that works...since I really would like to avoid
 installing VMWare ESXi on 14 blades just to run 1 VM in each of them
 and loose performance.  I'll keep y'all posted.

 --Brian

 --
 _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
 Brian McCann

 I don't have to take this abuse from you -- I've got hundreds of
 people waiting to abuse me.
-- Bill Murray, Ghostbusters
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




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


Re: whacky `fc-list` output

2009-10-14 Thread Boris Samorodov
On Wed, 14 Oct 2009 18:40:07 +0200 (CEST) Alexander Best wrote:

 so why does fc-list output in utf8 if none of the LC_* vars is set to it?

If you can reproduce it by rebuilding fontconfig from ports, it may be
good to write to the maintainer (gnome@).

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Graphics card recommendation

2009-10-14 Thread jgrosch
 On Wed, 14 Oct 2009, jgro...@es.net wrote:
 nVidia support on i386 FreeBSD is not much better. One can use an nVidia
 card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google
 search finds many posts on how to fix this but none of them seem to
 work.
 I could be wrong but nVidia does not seem to be very interested in
 working
 with the FreeBSD project to address these problems. ATI also seems to
 have
 a problem with mtrr under 7.2. I'm still trying to sort this out. I hope
 8.0 will address these problems.

 All of my cards are ATI and I don't know of the mtrr problem you're
 talking about.  This X1650 works fine on i386 with both 7-STABLE and
 8-STABLE.

 -Warren Block * Rapid City, South Dakota USA


I am seeing mtrr error using a Diamond Radeon HD4670 on FreeBSD 7.2


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


First time for everything

2009-10-14 Thread jeffry killen

Hello;
How is a usb device accessed on Freebsd.
I installed an SATA drive in a usb enclosure
and plugged in into usb port on the machine.
Console message indicated detection of the
device when the power switch for the usb enclosure
 was set to on.
When I did mount -w /dev/usb (or usbN) I got
special device unknown.
Or mount -w /dev/usb (or usbN) /mnt
needs block device.

There is a first time for everything.
man usb does not tell me.
and Absolute BSD (M. Lucas) does
not say anything about usb devices
let alone how to access them.

Thank you for patience and guidance
Jeff K.

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


Re: First time for everything

2009-10-14 Thread Neal Hogan
On Wed, Oct 14, 2009 at 12:33 PM, jeffry killen jekil...@prodigy.net wrote:
 Hello;
 How is a usb device accessed on Freebsd.
 I installed an SATA drive in a usb enclosure
 and plugged in into usb port on the machine.
 Console message indicated detection of the
 device when the power switch for the usb enclosure
  was set to on.
 When I did mount -w /dev/usb (or usbN) I got
 special device unknown.
 Or mount -w /dev/usb (or usbN) /mnt
 needs block device.

 There is a first time for everything.
 man usb does not tell me.
 and Absolute BSD (M. Lucas) does
 not say anything about usb devices
 let alone how to access them.

try:

http://www.freebsd.org/doc/en/books/handbook/usb-disks.html

 Thank you for patience and guidance
 Jeff K.

 ___
 freebsd-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: whacky `fc-list` output

2009-10-14 Thread Alexander Best
Boris Samorodov schrieb am 2009-10-14:
 On Wed, 14 Oct 2009 18:40:07 +0200 (CEST) Alexander Best wrote:

  so why does fc-list output in utf8 if none of the LC_* vars is set
  to it?

 If you can reproduce it by rebuilding fontconfig from ports, it may
 be
 good to write to the maintainer (gnome@).

i rebuilt the port but that didn't help. i informed gnome@ at the problem.

thanks for the help.

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


First time for everything

2009-10-14 Thread Robert Huff

jeffry killen writes:

   How is a usb device accessed on Freebsd.
   I installed an SATA drive in a usb enclosure
  and plugged in into usb port on the machine.
  Console message indicated detection of the
  device when the power switch for the usb enclosure was set to on.
   When I did mount -w /dev/usb (or usbN) I got special device
   unknown.

Look for /dev/da*.
Also: I believe there's a section in the handbook that covers
this.


Robert Huff

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


Re: Graphics card recommendation

2009-10-14 Thread Robert Huff

jgro...@es.net writes:

  I could be wrong but nVidia does not seem to be very interested
  in working with the FreeBSD project to address these problems.

nVidia has offered what many/most hardware vendors* do not: to
write and maintain a driver for their product.
However, in order for that driver to be fully functional they
want certain improvements in FreeBSD - particularly the virtual
memory system.  Not an unreasonable request.
Some work has been done; there was a post somewhere within the
last few months about John Baldwin making improvements.
Check the archives of this list for pointers to the list of
changes and the status of the work.


Robert Huff

* - a notable exception being Intel, for their network cards.

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


Re: Graphics card recommendation

2009-10-14 Thread jgrosch

 jgro...@es.net writes:

  I could be wrong but nVidia does not seem to be very interested
  in working with the FreeBSD project to address these problems.

   nVidia has offered what many/most hardware vendors* do not: to
 write and maintain a driver for their product.
   However, in order for that driver to be fully functional they
 want certain improvements in FreeBSD - particularly the virtual
 memory system.  Not an unreasonable request.
   Some work has been done; there was a post somewhere within the
 last few months about John Baldwin making improvements.
   Check the archives of this list for pointers to the list of
 changes and the status of the work.


   Robert Huff

 * - a notable exception being Intel, for their network cards.


Thank you. I am happy to be wrong about this.


Josef

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


Re: Broadcom bce interface problems

2009-10-14 Thread Brian McCann
On Wed, Oct 14, 2009 at 12:24 PM, Diego F. Arias R. dak@gmail.com wrote:
 do you double-check the internal por assignement? How many switchs  has that
 blade1 or 2?

 You can try running a linux live-cd or maybe Windows to discard a FreeBSD
 trouble with the nic. does Freebsd detects 1 or 2 nics, and how many does
 the blade have?

 On Wed, Oct 14, 2009 at 10:49 AM, Brian McCann bjmcc...@gmail.com wrote:

 On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli faza...@sepehrs.com wrote:
  what type of blade switch you are using?
  Are you using HS21 onboard ports or an expansion card?
 
  Make sure the corresponding internal ports of
  the blade switch are at 'no shutdown' state.
 
 
  Brian McCann wrote:
 
  I'm having problems with the bce interface on a FreeBSD 7.2 install,
  using
  an IBM BladeCenter HS21 machine.  The machine uses the NetXtreme II
  card.
   The really strange thing here is, the switch shows a link, but the
  card
  shows no carrier in the setup.  It started working for a few seconds at
  one
  point when I reset the switch (at least, I think that's what I did),
  and
  it
  detected 1000BaseSX as the media and showed a status of active, but
  promptly
  went away.  If I try setting the media type manually, that doesn't
  appear
  to
  work.
  Has anyone seen this or have any ideas?
  Thanks!
  --Brian
 
 
 
  --
 
  Best regards.
  Hooman Fazaeli
 
 
 
 
 

 Yes, I'm using an HS21 onbaord card...the Broadcom.  The internal
 ports show a link (using the Nortel manager...it's got a the Nortel
 L3-7 switch in it).

 I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last
 night...it looks like that change was never commited by anyone...I'm
 working on recompiling that into 7.1 now and plan on trying it once
 it's done.  I'll post the results up here (and to freebsd-net as well
 if it works).

 I'm really hoping that works...since I really would like to avoid
 installing VMWare ESXi on 14 blades just to run 1 VM in each of them
 and loose performance.  I'll keep y'all posted.

 --Brian

 --
 _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
 Brian McCann

 I don't have to take this abuse from you -- I've got hundreds of
 people waiting to abuse me.
                -- Bill Murray, Ghostbusters
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



 --
 mmm, interesante.


Windows runs fine on them.  I applied the changes mentioned the patch
I just posted, and that fixed the problem...no throughput hit as a
result.  Thanks to all for the help!

--Brian


-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Graphics card recommendation

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, jgro...@es.net wrote:


All of my cards are ATI and I don't know of the mtrr problem you're
talking about.  This X1650 works fine on i386 with both 7-STABLE and
8-STABLE.


I am seeing mtrr error using a Diamond Radeon HD4670 on FreeBSD 7.2


Really need a lot more specifics.  What is the exact error?  What 
doesn't work?  Which driver are you using?


-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: Graphics card recommendation

2009-10-14 Thread cpghost
On Wed, Oct 14, 2009 at 10:55:05AM -0600, Warren Block wrote:
 On Wed, 14 Oct 2009, jgro...@es.net wrote:
  nVidia support on i386 FreeBSD is not much better. One can use an nVidia
  card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google
  search finds many posts on how to fix this but none of them seem to work.
  I could be wrong but nVidia does not seem to be very interested in working
  with the FreeBSD project to address these problems. ATI also seems to have
  a problem with mtrr under 7.2. I'm still trying to sort this out. I hope
  8.0 will address these problems.
 
 All of my cards are ATI and I don't know of the mtrr problem you're 
 talking about.  This X1650 works fine on i386 with both 7-STABLE and 
 8-STABLE.

Try starting X with DRI, then quit X, and restart X again. If you
don't have DRI anymore, chances are you've hit the ominous MTRR
problem.

At least, that's what I think it is, from what I've gathered from
this list.

I seem to have this problem with an ATI HD 3200, using the radeonhd
driver under RELENG_7. It's pretty annoying, that if X crashes (or
you have to stop it for some reason), you only get DRI support again
after rebooting. :-(

Having said this, IMHO ATI will probably be better supported in the
long run on FreeBSD, because they have released the specs of rather
recent chipsets, while nVidia has not (AFAIK).

 -Warren Block * Rapid City, South Dakota USA

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Graphics card recommendation

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, cpghost wrote:


On Wed, Oct 14, 2009 at 10:55:05AM -0600, Warren Block wrote:

On Wed, 14 Oct 2009, jgro...@es.net wrote:

nVidia support on i386 FreeBSD is not much better. One can use an nVidia
card with 7.1 but under 7.2 one hits the dreaded mtrr error. A Google
search finds many posts on how to fix this but none of them seem to work.
I could be wrong but nVidia does not seem to be very interested in working
with the FreeBSD project to address these problems. ATI also seems to have
a problem with mtrr under 7.2. I'm still trying to sort this out. I hope
8.0 will address these problems.


All of my cards are ATI and I don't know of the mtrr problem you're
talking about.  This X1650 works fine on i386 with both 7-STABLE and
8-STABLE.


Try starting X with DRI, then quit X, and restart X again. If you
don't have DRI anymore, chances are you've hit the ominous MTRR
problem.


I do that all the time without noticeable problems, but then this 
particular card is an RV530 or RV560 chipset which has been supported 
for quite a while.  Most or all of the Radeon HD cards are R600 or R700 
chipsets, and that's still work in process.



I seem to have this problem with an ATI HD 3200, using the radeonhd
driver under RELENG_7. It's pretty annoying, that if X crashes (or
you have to stop it for some reason), you only get DRI support again
after rebooting. :-(


Plain radeon driver from xf86-video-ati works best here, although I 
haven't tried radeonhd for a while.



Having said this, IMHO ATI will probably be better supported in the
long run on FreeBSD, because they have released the specs of rather
recent chipsets, while nVidia has not (AFAIK).


Agreed.

-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


Unknown devices

2009-10-14 Thread Arkady Tokaev

While I was trying to update ports I have received message about absence disk 
space.It's impossible, I thought.But df command said:$ df -hFilesystem Size 
   Used   Avail Capacity  Mounted on/dev/ad0s1a 23G3.5G 18G16%  
  /devfs  1.0K1.0K  0B   100%/dev/dev/md0   9.4M
2.8M6.5M30%/etc/dev/md131M 16M 13M55%
/usr/local/etc/dev/md219M 18K 19M 0%/root/dev/md3   
 31M6.1M 24M20%/var$What is the md devices?How I can remove 
them?


freebsd-questions@freebsd.org 

Arkady Tokaev



  
_
Часто мучаетесь, вспоминая нужный адрес? Internet Explorer 8 помнит адреса за 
вас.
http://www.microsoft.ru/ie8___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread Len Conrad
the FreeBSD 6.2 i386 dmesg.boot shows:

CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3150913536 (3004 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard

thanks,
Len


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


Re: No serial console input in loader

2009-10-14 Thread Anselm Strauss

Hi,

I have to come back to this problem. When I boot over the serial  
console, input works all fine until I come to the loader menu. There,  
input from the serial console is just ignored, I can not interrupt the  
autoboot and e.g. choose a different kernel. I have partitioned with  
GPT and installed /boot/pmbr into the MBR and /boot/gptboot into the  
first partition of type freebsd-boot. The keyboard works in the BIOS,  
and in gptboot I think, where I can interrupt the boot by pressing a  
key, and a list like this shows:


FreeBSD/i386 boot
Default: 0:ad(0p2)/boot/loader
boot:

Then, in the loader menu the input is dead, when the kernel boots and  
also afterwards it works again fine.


When I use GRUB to start the loader the keyboard also works.

Any ideas on what the problem could be or how to track this down?

Cheers
Anselm



On Jun 28, 2008, at 13:15 , Anselm Strauss wrote:


Hi,

I have a small router that has no video output, it only supports a
serial console. I configured the serial console in /boot/
boot.config, /boot/loader.conf and /etc/ttys. It's working in the
BIOS, on the boot prompt before the loader starts, and when logging
in on the getty. The only place where it's not working correctly is
at the loader prompt. I can see the loader menu and the logo, but I
can't choose the boot entry or interrupt the timeout. I can't make
any input at all. What could this be?

Cheers,
Anselm


Don't know what this was, but now it works. I use Grub to directly
load /boot/loader as kernel. I set the serial console in the BIOS to
115200 Baud. In Grub's menu.lst I then use:

serial --unit=0 --speed=115200
terminal serial

and in /boot/loader.conf:

console=comconsole
comconsole_speed=115200

Seems like this is all that is needed.

Anselm

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


Re: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread jhell


No you want: IA64 not AMD64

ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/


On Wed, 14 Oct 2009 16:48, lconrad@ wrote:

the FreeBSD 6.2 i386 dmesg.boot shows:

CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf41  Stepping = 1
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
 AMD Features=0x2010NX,LM
 Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3150913536 (3004 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard

thanks,
Len


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



--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

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


Re: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread Roland Smith
Yes.

On Wed, Oct 14, 2009 at 10:48:26PM +0200, Len Conrad wrote:
 the FreeBSD 6.2 i386 dmesg.boot shows:
 
 CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14

You should be looking at the following line. LM means Long Mode, meaning it can
run 64-bit instructions: [http://en.wikipedia.org/wiki/Long_mode];

   AMD Features=0x2010NX,LM

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


pgpDCBkpqhMxw.pgp
Description: PGP signature


Re: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread Diego F. Arias R.
On Wed, Oct 14, 2009 at 4:08 PM, jhell jh...@dataix.net wrote:


 No you want: IA64 not AMD64

 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/



 On Wed, 14 Oct 2009 16:48, lconrad@ wrote:

 the FreeBSD 6.2 i386 dmesg.boot shows:

 CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1

  
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
 real memory  = 3220963328 (3071 MB)
 avail memory = 3150913536 (3004 MB)
 ACPI APIC Table: DELL   PE BKC  
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
 ioapic0: Changing APIC ID to 8
 ioapic1: Changing APIC ID to 9
 ioapic1: WARNING: intbase 32 != expected base 24
 ioapic2: Changing APIC ID to 10
 ioapic2: WARNING: intbase 64 != expected base 56
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 ioapic1 Version 2.0 irqs 32-55 on motherboard
 ioapic2 Version 2.0 irqs 64-87 on motherboard

 thanks,
 Len


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


 --

  ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
  ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
  ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E


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


Why ia64 if its a XEON?

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


clone-dump-restore

2009-10-14 Thread PJ
Gentlemen,
I have not had a chance to thank you for your very helpful suggestions.
I have tried to follow them as well as possible and I cerainly am
grateful for your input.
It has taken me some time to prepare for a cloning of an existing 7.2 sytem.
Now that I have everything running smoothly with all the proggies 
configurations the way I want them, I tried (notice - tried) to clone
the system.
Here's the setup:
FBSD 7.2 on ad4 and same on ad12.
First, running on ad4, I tried to dump  restore each partition directly:
ad12s1a to da0s1a (usb sata disk).  No go. I had set it up originally
with livefs, minimal; then redid it all with fdisk, bsdlabel and nwfs; then
dump -0af - /dev/ad12s1a | restore -rf - /dev/da0s1a
--- got error messages about not being a tape device. Great.
Next, I tried with another usb/sata disk on da0... dumped to files (dump
went w/out problems) ... mounted da0 partitions 1 x 1 to /mnt, cd'd to
/mnt and did
restore -rf file.
Only the ad12s1f(usr) restore gave long list of unable to create file
or link or something like that.
When I then installed the restored disk to another computer (identical
except for CPU (3gb instead of 2.4gb), booted from the restored disk and
saw that it was trying to boot from ad12s1a which doesn't exist on the
new machine. uh...oh...
Somehow I think I may not have understood something.
Perhaps I should install the disk directly in the dump/restore machine
and try again.
Oh, yes, another sign from the gods... when restoring to a partition
just newfsed there is a warning that .snap is already installed... now
what on earth or moon is that?
I will try again... and try to document more clearly... :-(
TIA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Graphics card recommendation

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 10:55:05 -0600 (MDT), Warren Block wbl...@wonkity.com 
wrote:
 All of my cards are ATI and I don't know of the mtrr problem you're 
 talking about.  This X1650 works fine on i386 with both 7-STABLE and 
 8-STABLE.

I had an old-fashioned ATI Radeon 9200 RV250 AGP with both a VGA
and a VGA-on-DVI monitor. With also old-fashioned XFree86 this
setting worked good performance-wise, which was in FreeBSD 5,
but I haven't tested this in FreeBSD 7 with Xorg yet because
I'm very upset about the speed-loss of modern software. :-(
Furthermore, I don't have the second 21 CRT anymore, so no
dual-head for me at the moment.

I am nearly sure that for today's requirements, Intel GPUs
seem to be the most fitting ones, but as I don't own any of
them, I can't give you clues from a user's point of view.
In the past, ATI always was my first choice, but today, I
would triple-check anything.


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


ldap and pam-mkhomedir, anyone know how to set directory ownership to the ldap user logging in ??

2009-10-14 Thread Craig Butler
Hi All

Currently I have got pam authenticating against ldap and mkhomedir
creating the home directories, but they are created owned as root:wheel
and the user can't write to their own home directory -- I have read the
man page for pam_mkhomedir, the only way I see it working at the moment
is setting an insecure umask in the pam definition

Any ideas on how I can get them owned by the ldap user signing in ?

Thanks

Craig B

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


Re: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread Erik Trulsson
On Wed, Oct 14, 2009 at 05:08:23PM -0400, jhell wrote:
 
 No you want: IA64 not AMD64

No, he does not want that.  IA64 is for Intel's Itanium CPUs which are only
used in a few big servers and just about nowhere else.  The below is an
ordinary x86 CPU (which the Itanium most certainly is not.)

 
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ISO-IMAGES/7.2/
 
 
 On Wed, 14 Oct 2009 16:48, lconrad@ wrote:
  the FreeBSD 6.2 i386 dmesg.boot shows:
 
  CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
   AMD Features=0x2010NX,LM
   Logical CPUs per core: 2
  real memory  = 3220963328 (3071 MB)
  avail memory = 3150913536 (3004 MB)
  ACPI APIC Table: DELL   PE BKC  
  FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7
  ioapic0: Changing APIC ID to 8
  ioapic1: Changing APIC ID to 9
  ioapic1: WARNING: intbase 32 != expected base 24
  ioapic2: Changing APIC ID to 10
  ioapic2: WARNING: intbase 64 != expected base 56
  ioapic0 Version 2.0 irqs 0-23 on motherboard
  ioapic1 Version 2.0 irqs 32-55 on motherboard
  ioapic2 Version 2.0 irqs 64-87 on motherboard
 
  thanks,
  Len
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 -- 
 
   ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
   ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
   ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clone-dump-restore

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 17:21:57 -0400, PJ af.gour...@videotron.ca wrote:
 It has taken me some time to prepare for a cloning of an existing 7.2 sytem.
 Now that I have everything running smoothly with all the proggies 
 configurations the way I want them, I tried (notice - tried) to clone
 the system.
 Here's the setup:
 FBSD 7.2 on ad4 and same on ad12.

I do assume that the system on ad6 is your source system, and
ad12 should then be the same by the means of cloning? In later
lines, you're dumping to a da device (not ad). Do you already
have two FreeBSD source systems set up?



 First, running on ad4, I tried to dump  restore each partition directly:
 ad12s1a to da0s1a (usb sata disk).  No go.

It would be good to see the command that you issued to do so,
including the currend working directory.



 I had set it up originally
 with livefs, minimal; then redid it all with fdisk, bsdlabel and nwfs;

There's no need to do the slicing and partitioning twice.



 then
 dump -0af - /dev/ad12s1a | restore -rf - /dev/da0s1a

The command does not look okay. Keep in mind that
a) ad0s1a is mounted,
b) you need to be in the mounted / of da0 and
c) ad1s2a is mounted ro.

You can forget about c) if you're dumping | restoring from a live
file CD or DVD. In this case, ad12s1a isn't mounted, which is
good.

You should end up with a setting like this:

# mount /dev/da0s1a /mnt
# cd /mnt
# dump -0 -f - /dev/ad12s1a | restore -r -f -

See the difference? The restore command does NOT require a device
name, because the point where to restore is the current working
directory, as indicated by the previous cd command.



 --- got error messages about not being a tape device. Great.

Looks like incorrect command... see above.



 Next, I tried with another usb/sata disk on da0... dumped to files (dump
 went w/out problems) ... mounted da0 partitions 1 x 1 to /mnt, cd'd to
 /mnt and did
 restore -rf file.
 Only the ad12s1f(usr) restore gave long list of unable to create file or 
 link  or something like that.

Again, the complete command (including pwd) would have been
helpful, so I can only guess.

I assume you dumped /usr into a file on a usb disk (da). In order
to restore this file to a partition you created on another disk,
let's say ad6 (ATTENTION, EXAMPLE!), the command to do so would
be:

# mount /dev/da0 /mnt
# mkdir /mnt2
# mount /dev/ad6s1e /mnt2
# cd /mnt2
# restore -r -f /mnt/usr.dump

Keep in mind that (in difference to my previous example) /mnt now
refers to the /usr partition, not to /.

This of course assumes that you've already sliced and partitioned
ad6. It includes formatting (newfs), obviously.



 When I then installed the restored disk to another computer (identical
 except for CPU (3gb instead of 2.4gb), booted from the restored disk and
 saw that it was trying to boot from ad12s1a which doesn't exist on the
 new machine. uh...oh...

The boot loader tries to boot the first ATA disk. This has been
discussed in the questions@ list few days ago.



 Somehow I think I may not have understood something.

I'm sure about this. Re-read the examples above and you'll notice
easily how the dump and especially the restore command have to be
invoked for proper operations.



 Perhaps I should install the disk directly in the dump/restore machine
 and try again.

This is possible, but as long as you're using an USB transfer disk
which gets its content as data files (.dump files) from the ATA
disk (source disk), and which are then restored to another ATA
disk (target disk), there shouldn't be a problem.

Because I'm a lazy guy, I mostly use a live file system (FreeBSD
live fs is completely okay, but FreeSBIE is good, too) in order to
run the sysinstall program which I use to slice, partition and format
the target disk as intended. I then use a USB stick or a USB disk
to make the dump files available (previous example) and restore them
to the target disk. Note that things like the boot loader are now
independent of my dumps as they get written by sysinstall.



 Oh, yes, another sign from the gods... when restoring to a partition
 just newfsed there is a warning that .snap is already installed... now
 what on earth or moon is that?

The .snap directory is used for file system snapshot. As far as
I remember, newfs creates this directory, or maybe it's fsck at
its first run? Don't mind, it's not important (until you need it
for data recovery).


 I will try again... and try to document more clearly... :-(

Yes, please.



Good luck!




-- 
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: ldap and pam-mkhomedir, anyone know how to set directory ownership to the ldap user logging in ??

2009-10-14 Thread Chris Cowart
Craig Butler wrote:
 Currently I have got pam authenticating against ldap and mkhomedir
 creating the home directories, but they are created owned as root:wheel
 and the user can't write to their own home directory -- I have read the
 man page for pam_mkhomedir, the only way I see it working at the moment
 is setting an insecure umask in the pam definition
 
 Any ideas on how I can get them owned by the ldap user signing in ?

It should Just Work. Do you have the accounts properly configured in
/etc/nsswitch.conf? 

If you:
getent passwd USER

For the account whose home directory isn't being created correctly? Do
you see the entry?

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpdVmY1iejNt.pgp
Description: PGP signature


Re: Unknown devices

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev tok...@hotmail.com wrote:
 
 While I was trying to update ports I have received message
 about absence disk space.It's impossible, I thought.But df
 command said:

 $ df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a 23G3.5G 18G16%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/md0   9.4M2.8M6.5M30%/etc
 /dev/md131M 16M 13M55%/usr/local/etc
 /dev/md219M 18K 19M 0%/root
 /dev/md331M6.1M 24M20%/var
 $
 What is the md devices?How I can remove them?

See man md: The md devices refer to memory disks, RAM that
emulates a hard disk.

Sadly, I don't recognize a reason why your /etc, /usr/local/etc,
/root and /var subtrees are mounted onto memory disks... seems
that you're not running a default install, do you?

Regarding your initial problem - updating ports - this involves
writing operations in the ports directory (usually /usr/ports
which may be a subtree of /dev/ad0s1a on / in your setting) as
well as in /var, especially /var/db/pkg, the installed packages
database, and /var/ports. When /var is a memory disk with 30 MB,
it may be too small for such a process. Furthermore, if I see this
correctly, you're loosing the content of the package database
on reboot; is this intended?





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


Link exchange with my site voipmodem.net?

2009-10-14 Thread Damien Ross
Hey-

I've got a website targeted towards the keyword Voip Modem and I'm looking for 
link exchanges.

Would you be interested? If so, please reply and I'm sure we can work something 
out.

Have a nice day!

Damien Ross  


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


Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Chris Hill

On Wed, 14 Oct 2009, Jacques Henry wrote:


The 19 minutes between when I sent my suggestions and you responded is
hardly enough time to see if ntpd was slewing the time.  Slewing 587
seconds takes days.




The thing is that ntpd is not slewing the time at all, even after several
hours!!


If I may pipe up... Can you not set the clock manually, then let ntpd take 
it from there? Seems like your clock would become synced a lot faster if 
it started out close. Sorry if I'm being naive, but this seemed like the 
obvious thing to do.


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


Experiencing blank @pkgdep entries

2009-10-14 Thread Vinny

Hi,

I tried to do some port maintenance, specifically,
updating python and its ports to 2.6.  I used
the instructions in UPDATING for portmaster:

20090608:
  AFFECTS: users of lang/python* and py-*
  AUTHOR: m...@freebsd.org

  The default version of Python has been changed from 2.5.x to 2.6.x.
...

# portmaster -o lang/python26 lang/python25

I did not retain 2.5 as the default, so I did not create
the make.conf variable entry, nor did I run the 'portupgrade -R
python' command (I deduced the portupgrade -R command was for
those who wish to retain 2.5, was that correct?).

Anyway, I ran:

# cd /usr/ports/lang/python  make upgrade-site-packages -DUSE_PORTMASTER

Aside: From memory, I saw some complaints about libtool15/22 pass by.
Must one follow the UPDATING's timeline in reverse when doing an
upgrade that might touch many files?  I.e. should I have run the
libtool/libtldl upgrade before python's?

To continue: It chugged along (while annoyingly asking me about
deleting distfiles) until it hung on a fetch (net issues).  I hit
CTRL-C and reran the above make command.  It continued and ended
after a while with a status report of quite a few update failures
with 'uninstall errors'.

These were due to pkg_delete or 'make deinstall' dumping core
on blank @pkgdep lines in various ports' +CONTENTS files.

These blank pkgdep entries weren't there before I started the
upgrade process, as evidenced by my current backup of the
/var/db/pkg database, which has no blank entries in any +CONTENTS
files.  I got a nice command line from the net somewhere:

grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS

I don't believe hitting CTRL-C during the fetch could have
caused ALL these blank @pkgdep lines.  There were upwards
of 50 ports with this problem after running the make commands.

Is this a know problem?  I've only seen a couple of threads
and they were one-off's (i.e. one port affected only).

I restored from backup, but I'd still like to upgrade python.
Hopefully, I can achieve this without corrupting my port
databases.

Anyone have any information or comments?  Thanks a lot!

Vinny



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


persian home page

2009-10-14 Thread saber adavi
hi,
my name is saber adavi and im CS student at tehran polytechnic university.
im using freeBsd as my main OS near one year and i like to help ( if there
is a chance) to add persian language into your website.

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


Multiple qt4 issues

2009-10-14 Thread Warren Liddell
im running AMD64 FreeBSD7.2-STABLE latest src//kernel and ports so far 
as what depends on various QT4 pkgs ...


Everything comes down to this 1 port but yet i removed all of them an it 
still cracks .. what am i missing or havent read...


===Verifying install for qt4-phonon=4.5.2 in 
/usr/ports/multimedia/qt4-phonon
===  qt4-phonon-4.5.2 conflicts with KDE4 phonon. Please, deinstall 
multimedia/phonon.

*** Error code 1

Stop in /usr/ports/multimedia/qt4-phonon.
*** Error code 1

Stop in /usr/ports/www/qt4-webkit.

enterprise# ls /var/db/pkg | grep phon
enterprise#

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


Re: persian home page

2009-10-14 Thread Adam Vande More
On Wed, Oct 14, 2009 at 5:39 PM, saber adavi saber.ad...@gmail.com wrote:

 hi,
 my name is saber adavi and im CS student at tehran polytechnic university.
 im using freeBsd as my main OS near one year and i like to help ( if there
 is a chance) to add persian language into your website.

 cheers


If you don't find the desired response on this list, you can try info listed
here:

http://www.freebsd.org/docproj/docproj.html

-- 
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: Experiencing blank @pkgdep entries

2009-10-14 Thread Adam Vande More
On Wed, Oct 14, 2009 at 6:00 PM, Vinny 
vinny-mail-01+f.questions20091...@palaceofretention.cavinny-mail-01%2bf.questions20091...@palaceofretention.ca
 wrote:

 Hi,

 I tried to do some port maintenance, specifically,
 updating python and its ports to 2.6.  I used
 the instructions in UPDATING for portmaster:

 20090608:
  AFFECTS: users of lang/python* and py-*
  AUTHOR: m...@freebsd.org

  The default version of Python has been changed from 2.5.x to 2.6.x.
 ...

 # portmaster -o lang/python26 lang/python25

 I did not retain 2.5 as the default, so I did not create
 the make.conf variable entry, nor did I run the 'portupgrade -R
 python' command (I deduced the portupgrade -R command was for
 those who wish to retain 2.5, was that correct?).

 Anyway, I ran:

 # cd /usr/ports/lang/python  make upgrade-site-packages -DUSE_PORTMASTER

 Aside: From memory, I saw some complaints about libtool15/22 pass by.
 Must one follow the UPDATING's timeline in reverse when doing an
 upgrade that might touch many files?  I.e. should I have run the
 libtool/libtldl upgrade before python's?


Yes, but you're more likely to run into these dependencies issues the longer
you wait between upgrades.



 To continue: It chugged along (while annoyingly asking me about
 deleting distfiles)


man portmaster


 until it hung on a fetch (net issues).  I hit
 CTRL-C and reran the above make command.  It continued and ended
 after a while with a status report of quite a few update failures
 with 'uninstall errors'.

 These were due to pkg_delete or 'make deinstall' dumping core
 on blank @pkgdep lines in various ports' +CONTENTS files.

 These blank pkgdep entries weren't there before I started the
 upgrade process, as evidenced by my current backup of the
 /var/db/pkg database, which has no blank entries in any +CONTENTS
 files.  I got a nice command line from the net somewhere:

 grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS

 I don't believe hitting CTRL-C during the fetch could have
 caused ALL these blank @pkgdep lines.  There were upwards
 of 50 ports with this problem after running the make commands.

 Is this a know problem?  I've only seen a couple of threads
 and they were one-off's (i.e. one port affected only).

 I restored from backup, but I'd still like to upgrade python.
 Hopefully, I can achieve this without corrupting my port
 databases.


I have run into issues with both portupgrade and portmaster.  I prefer
portmaster but it doesn't always work and neither does portupgrade.  As
noted by the UPDATING entry, portupgrade does a smoother on the python
upgrade.




 Anyone have any information or comments?  Thanks a lot!

 Vinny



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




-- 
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: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread jhell


On Wed, 14 Oct 2009 17:10, rsmith@ wrote:

Yes.

On Wed, Oct 14, 2009 at 10:48:26PM +0200, Len Conrad wrote:

the FreeBSD 6.2 i386 dmesg.boot shows:

CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14


You should be looking at the following line. LM means Long Mode, meaning it can
run 64-bit instructions: [http://en.wikipedia.org/wiki/Long_mode];


  AMD Features=0x2010NX,LM


Roland



My apologies to the original poster. I tend to usually mix up these two 
arch's for some reason or another. Thanks to the second poster for clearing 
that up.


 --

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

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


mkisofs error

2009-10-14 Thread Warren Block

My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one file 
that casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it 
reads fine.


The filename is present on the DVD, but the file always gives a read 
error:


# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' 
(Input/output error)


It's not a one-time error; every DVD always has the same problem.  What 
is going wrong?  A poison filename?


-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: clone-dump-restore

2009-10-14 Thread PJ
I believe that my problems arise out of subliminal refuse syndrome: the
brain refuses to comprehend dump and restore TOs and FROMs.
In other words, I'm beginning to see that
dump -0af TO ( - or device/file) FROM (device or directory/file)
and
restore -rf  (TO curr.dir FROM device or file) 

or
dump -0af  - (FROM device or file) | restore  -rf - (TO device or directory)

or do I still not have it right?
It's the stdout and stdin that makes me stumble.
Do I really need to mount the partitions or can I just dump and restore
from device to device directly?
The manual says I should be able to dump  restore across the lan too...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple qt4 issues

2009-10-14 Thread Steve Bertrand
Warren Liddell wrote:
 im running AMD64 FreeBSD7.2-STABLE latest src//kernel and ports so far
 as what depends on various QT4 pkgs ...
 
 Everything comes down to this 1 port but yet i removed all of them an it
 still cracks .. what am i missing or havent read...

What exactly are you doing that reproduces your breakage?

Forcing the registration of the package may help, but in this case I'd
be leery of doing that due to the explicit 'conflict' warning.

 ===Verifying install for qt4-phonon=4.5.2 in
 /usr/ports/multimedia/qt4-phonon
 ===  qt4-phonon-4.5.2 conflicts with KDE4 phonon. Please, deinstall
 multimedia/phonon.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/qt4-phonon.
 *** Error code 1
 
 Stop in /usr/ports/www/qt4-webkit.
 
 enterprise# ls /var/db/pkg | grep phon

Do a:

%pkg_version -v  ~/pv.out

...and then review the ~/pv.out file *manually* to see if you can
identify any oddities. (yes, grep is good and grep is great, but I've
missed obvious things by grep'ing the pkg db in the past).

I'm personally not one to help with GUI things, but hopefully my
suggestion may provide a lead.

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


Re: clone-dump-restore

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 21:29:42 -0400, PJ af.gour...@videotron.ca wrote:
 I believe that my problems arise out of subliminal refuse syndrome: the
 brain refuses to comprehend dump and restore TOs and FROMs.
 In other words, I'm beginning to see that
 dump -0af TO ( - or device/file) FROM (device or directory/file)
 and
 restore -rf  (TO curr.dir FROM device or file) 
 
 or
 dump -0af  - (FROM device or file) | restore  -rf - (TO device or directory)
 
 or do I still not have it right?

Not entirely. Let me give this little cheat sheet:

# dump -0 -a -f dumpfile source-device
if dumpfile is -, then write to standard output

# cd target-directory
# restore -r -f dumpfile
if dumpfile is -, then read to standard input

and combined:
# cd target-directory
# dump -0 -a -f - source-device | restore -r -f -

A common command line parametron for dump -0Lauf (Lauf
means (the) run or imperative run! in German, so it's
easy to remember, Null-Lauf! or Zero Lauf). Check
the manpage at man dump for the meaning of the different
options which are often used for some welcome side effects.

And now: Lauf! Lauf! Lauf! :-)



 It's the stdout and stdin that makes me stumble.

It's quite easy if you recognize what stdin and stdout are.
One program (dump) outputs to stdout, the | (pipe) method
redirects this stdout of one program to another program to
which it is the stdin, so this other program (restore) reads
the stdin.



 Do I really need to mount the partitions or can I just dump and restore
 from device to device directly?

No. For direct full device operations, you would need dd.

The reason is that dump reads from a partition. This partition
should be unmounted, but may be mounted if you specify -L in
order to tell dump that it will dump a live file system and
should therefore create a snapshot, because it simply cannot
dump data that is constantly changing. The restore program
reads dump files and creates directories and files (with all
the stuff like owner:group, permissions and flags), so it has
to operate on a mounted file system.

That's why the rule: source not mounted or -L, destination
mounted and writable (and empty).

The dd program operates on blocks of variable size. It has no
concept of files and directories. It should not be used on
mounted partitions. Unlike dump | restore, dd allows you to
duplicate disks fulwise, this means you don't even have to 
care for slices and partitions. This method is very often used
in forensic settings where you need to duplicate a whole disk.
But you can, if needed, just dd a whole (at file level defective)
partition, as I had to do. The dd program does not care for
such problems. There are extended dd variants that can cope
with massive reading errors if the source drive is already
physically failing.



 The manual says I should be able to dump  restore across the lan too...

Yes, that's easy. For example, you can use ssh to connect to
another machine where you get the dump files from. The handbook
even lists an example, if I remember correctly. In such a
setting, you usually prepare the target (slice, partition,
format), mount it, connect to the backup server and let
restore take the dump files from there. This process can
even be scripted, so you simply put a CD or an USB stick into
a new computer and let it rock automatically. :-)



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


FBSD 7.2, on a CQ60-419WM Presario, about headphones, function keys, FVWM fonts, and GBDE

2009-10-14 Thread Henry Olyer
How do I get to use the headphones?
The speaker works but continues to play when I plug in headphones.

Also adjusting the keyboard function controls to control the sound, (o
anything else,) does nothing -- what is with this?

Last, how do I change the font size with FVWM?  As you can see I am new to a
lot of things.

I develop and sometimes I'd like to use headphones and gasp!, put up a DVD
movie.  Using mplayer.  I made sound work.  Hey, for me that was big.

Last (this time I really mean last,) I'm using GBDE.  I'd like to hear
from anyone else who uses it.  I have questions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: restore(8)ing new / -- boots on metal but not in a VM

2009-10-14 Thread Alex Jurkiewicz
2009/10/14 Tim Judd taj...@gmail.com:
 My suggestion is to check the VM config and see if you can emulate an
 IDE ad(4) device instead of the possible SCSI da(4) device that
 vmware/virtualbox may setup.  I'm almost positive (not 100% because I
 don't have either one of those installed at the moment) that both
 those products default to a SCSI device.

Both are capable of emulating IDE, and both can offer something that
FreeBSD uses the da driver for (SATA for Vbox, SCSI for Vmware). I've
tested with both ad and da drives on both solutions.

Creating a dump image fresh in a VM gives me a file I can restore from
and boot successfully in VMs. I haven't tested physical machines yet
-- if I can boot physical machines off this new dump file my problems
are solved. If not...

At this point it seems simplest to produce a few different versions of
my dump image. Chances there's just something different in the first
few sectors of the disk, but having a single dump image and multiple
first sectors for the image seems more complex overall.

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


Re: mkisofs error

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, Warren Block wrote:


My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one file that 
casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it reads 
fine.


The filename is present on the DVD, but the file always gives a read error:

# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' (Input/output 
error)


It's not a one-time error; every DVD always has the same problem.  What is 
going wrong?  A poison filename?


Following up: growisofs with the same parameters has no problems with 
that file.


-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: mkisofs error

2009-10-14 Thread Al Plant

Warren Block wrote:

On Wed, 14 Oct 2009, Warren Block wrote:


My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one 
file that casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it 
reads fine.


The filename is present on the DVD, but the file always gives a read 
error:


# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' 
(Input/output error)


It's not a one-time error; every DVD always has the same problem.  
What is going wrong?  A poison filename?


Following up: growisofs with the same parameters has no problems with 
that file.


-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



Aloha Warren,

Manolis Kiagias pointed me to growisofs a while ago and I have had no 
problems making dvd's since from the command line.


~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: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread LoH
Get cpuid from /usr/ports/misc/cpuid and run it, that should give you a 
better idea of what your processor is. Although, from the string you 
gave, looks like a 'yes'. I think that's a nocona xeon (I have a pair of 
gallatins).


jhell wrote:


On Wed, 14 Oct 2009 17:10, rsmith@ wrote:

Yes.

On Wed, Oct 14, 2009 at 10:48:26PM +0200, Len Conrad wrote:

the FreeBSD 6.2 i386 dmesg.boot shows:

CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE 


  Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14


You should be looking at the following line. LM means Long Mode, 
meaning it can

run 64-bit instructions: [http://en.wikipedia.org/wiki/Long_mode];


  AMD Features=0x2010NX,LM


Roland



My apologies to the original poster. I tend to usually mix up these 
two arch's for some reason or another. Thanks to the second poster for 
clearing that up.


 -- 

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


Best procedure for full backup of live system

2009-10-14 Thread Nerius Landys
My server is increasingly having important work stored on it, and I
need to start taking backups of a lot of directories, especially
/home, /opt, /etc, /usr/local/etc, and maybe others.  The ideal backup
(and what I've done in the past) is to take a full low-level dd image
of the disk while the system is down (this is easy to do in a
situation where you have dual boot).  Or, since the output of dd would
take up tons of space and would only be usable on an identical hard
drive, use dump to take the backup while the machine is turned off
(again easy to do on a dual boot).  But now, I cannot bring down the
machine.  My plan is to do a tar gzip of / on the fly, and pipe that
to ssh (remote machine).  However, the system is live, and files will
be in the progress of changing.

My question is, what is the recommended procedure of taking a full
backup on a live system?  Ideally, if my hard drive were to crash, I
would like to have such a backup so as to make it possible to copy
over the entire backup to a new identical harddrive without doing any
reinstall or configuration.  Should I use tar/gzip?  dump?  What exact
command should I use?  I guess I'll back up all of / including system
files, because there is not too much data.  I will be piping the
output to ssh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Best procedure for full backup of live system

2009-10-14 Thread LoH
Take a UFS2 snapshot and then backup the snapshot. A similar approach 
using ZFS  snapshots would also work.


See the handbook for more details.

http://www.freebsd.org/doc/en/books/handbook/backup-strategies.html

Nerius Landys wrote:

My server is increasingly having important work stored on it, and I
need to start taking backups of a lot of directories, especially
/home, /opt, /etc, /usr/local/etc, and maybe others.  The ideal backup
(and what I've done in the past) is to take a full low-level dd image
of the disk while the system is down (this is easy to do in a
situation where you have dual boot).  Or, since the output of dd would
take up tons of space and would only be usable on an identical hard
drive, use dump to take the backup while the machine is turned off
(again easy to do on a dual boot).  But now, I cannot bring down the
machine.  My plan is to do a tar gzip of / on the fly, and pipe that
to ssh (remote machine).  However, the system is live, and files will
be in the progress of changing.

My question is, what is the recommended procedure of taking a full
backup on a live system?  Ideally, if my hard drive were to crash, I
would like to have such a backup so as to make it possible to copy
over the entire backup to a new identical harddrive without doing any
reinstall or configuration.  Should I use tar/gzip?  dump?  What exact
command should I use?  I guess I'll back up all of / including system
files, because there is not too much data.  I will be piping the
output to ssh.
___
freebsd-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: Multiple qt4 issues

2009-10-14 Thread Warren Liddell



Do a:

%pkg_version -v  ~/pv.out

...and then review the ~/pv.out file *manually* to see if you can
identify any oddities. (yes, grep is good and grep is great, but I've
missed obvious things by grep'ing the pkg db in the past).

I'm personally not one to help with GUI things, but hopefully my
suggestion may provide a lead.

Steve


I solved that issue, after reading info in UPDATING .. however the issue 
now is qt4-designer


--

: undefined reference to 
`qdesigner_internal::QDesignerSharedSettings::formTemplatePaths() const'
.obj/release-shared/saveformastemplate.o(.text+0x12d3): In function 
`SaveFormAsTemplate::SaveFormAsTemplate(QDesignerFormEditorInterface*, 
QDesignerFormWindowInterface*, QWidget*)':
: undefined reference to 
`qdesigner_internal::QDesignerSharedSettings::formTemplatePaths() const'
.obj/release-shared/newform.o(.text+0x5): In function 
`NewForm::grabForm(QDesignerFormEditorInterface*, QIODevice, QString 
const, qdesigner_internal::DeviceProfile const)':
: undefined reference to 
`qdesigner_internal::NewFormWidget::grabForm(QDesignerFormEditorInterface*, 
QIODevice, QString const, qdesigner_internal::DeviceProfile const)'
.obj/release-shared/newform.o(.text+0xcfc): In function 
`NewForm::NewForm(QDesignerWorkbench*, QWidget*, QString const)':
: undefined reference to 
`QDesignerNewFormWidgetInterface::createNewFormWidget(QDesignerFormEditorInterface*, 
QWidget*)'
.obj/release-shared/newform.o(.text+0x112c): In function 
`NewForm::NewForm(QDesignerWorkbench*, QWidget*, QString const)':
: undefined reference to 
`QDesignerNewFormWidgetInterface::createNewFormWidget(QDesignerFormEditorInterface*, 
QWidget*)'
.obj/release-shared/preferencesdialog.o(.text+0x245): In function 
`PreferencesDialog::PreferencesDialog(QDesignerFormEditorInterface*, 
QWidget*)':
: undefined reference to `QDesignerFormEditorInterface::optionsPages() 
const'
.obj/release-shared/preferencesdialog.o(.text+0x625): In function 
`PreferencesDialog::PreferencesDialog(QDesignerFormEditorInterface*, 
QWidget*)':
: undefined reference to `QDesignerFormEditorInterface::optionsPages() 
const'
/usr/local/lib/qt4/libQtDesigner.so: undefined reference to 
`QCss::Parser::parse(QCss::StyleSheet*)'

*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-designer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Best procedure for full backup of live system

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, Nerius Landys wrote:


My question is, what is the recommended procedure of taking a full
backup on a live system?  Ideally, if my hard drive were to crash, I
would like to have such a backup so as to make it possible to copy
over the entire backup to a new identical harddrive without doing any
reinstall or configuration.  Should I use tar/gzip?  dump?  What exact
command should I use?


dump(8) with the -L option will take a snapshot of a live filesystem and 
then back that up.


-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: Multiple qt4 issues

2009-10-14 Thread Steve Bertrand
Warren Liddell wrote:
 
 Do a:

 %pkg_version -v  ~/pv.out

 ...and then review the ~/pv.out file *manually* to see if you can
 identify any oddities. (yes, grep is good and grep is great, but I've
 missed obvious things by grep'ing the pkg db in the past).

 I'm personally not one to help with GUI things, but hopefully my
 suggestion may provide a lead.

 Steve
 
 I solved that issue, after reading info in UPDATING .. however the issue
 now is qt4-designer

... after a quick literal Google search, it appears that qt4-designer is
a 'Linux' thing with a GUI resemblance.

I don't know what to do other than offer:

http://qt.nokia.com/doc/4.0/qt4-designer.html ( TrollTech? )

With a qd search, it appears as though others have had issues with
qt4-designer as well, trying to run it within a GUI atop of FreeBSD
recently:

http://osdir.com/ml/kde-freebsd/2009-10/msg00014.html

...again, I don't do GUI w/FBSD, so this is far out of my scope. This is
a ^bump if anything.

Good luck!

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


Re: Best procedure for full backup of live system

2009-10-14 Thread Steve Bertrand
Nerius Landys wrote:
 My server is increasingly having important work stored on it, and I
 need to start taking backups of a lot of directories, especially
 /home, /opt, /etc, /usr/local/etc, and maybe others.  The ideal backup
 (and what I've done in the past) is to take a full low-level dd image
 of the disk while the system is down (this is easy to do in a
 situation where you have dual boot).  Or, since the output of dd would
 take up tons of space and would only be usable on an identical hard
 drive, use dump to take the backup while the machine is turned off
 (again easy to do on a dual boot).  But now, I cannot bring down the
 machine.  My plan is to do a tar gzip of / on the fly, and pipe that
 to ssh (remote machine).  However, the system is live, and files will
 be in the progress of changing.
 
 My question is, what is the recommended procedure of taking a full
 backup on a live system?  Ideally, if my hard drive were to crash, I
 would like to have such a backup so as to make it possible to copy
 over the entire backup to a new identical harddrive without doing any
 reinstall or configuration.  Should I use tar/gzip?  dump?  What exact
 command should I use?  I guess I'll back up all of / including system
 files, because there is not too much data.  I will be piping the
 output to ssh.

Always consider, document and thoroughly test-utilize anything that
'Warren Block' has to say about backup and archiving ( search the
archives for his name ).

*always* remember that _archive_ is not a _backup_.

*always* remember that if you have neither an archive or a backup, you
are a complete failure as an 'admin' in general.

*never* be responsible for losing data...EVER.

I like to use space on remote servers ( or oftentimes local disks ) as
clone-able space. To manufacture a live clone, I love rsync(1).

Without getting into the nitty-gritty ( ( proper db mgmt pausing etc ),
Here is a qd example to get the blood flowing.. comment the first
line...legal..blah etc ):

#   rsync -arcvv \  # be very verbose
--exclude=/backup \ # ignore our backup location
--exclude=/tmp  \   # ignore sessions, etc
--delete-after  \   # delete changes since last rsync
/   \   # sync this
/backup # ...to this...

Steve

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