Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Leslie Jensen



2012-11-02 04:39, Warren Block skrev:

On Thu, 1 Nov 2012, Leslie Jensen wrote:




I've replaced my dual boot hard drive with an SSD.

My hard drive had one 100 GB windows partition and one 300 Gb Freebsd
slice with five partitions (/, /usr, /var, /tmp and /home).

In order to move my Win7 partition a Norton Ghost program was supplied
with the new disk.

When trying to clone that partition the process couldn't finish
because it needed a chkdsk command to be executed before cloning.

I ran a chkdsk c: with the choice of correcting errors.

Somewhere in that process the chkdsk program touched my freebsd
partition in a way so that it now is recognized as NTFS.

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?


If all it did was change the partition type, that should be easy to
change back with gpart modify.  Untested example below, make a backup of
the disk as it is right now first.  Clonezilla will make a (large)
binary backup.

# gpart modify -i2 -t !165 ada0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"



I use sysinstall and fdisk to find the disk, and I get


Offset   Size(ST)  End Name  PType   Desc  SubtypeFlags

   0 63 62- 12 unused0
63 256977 257039   ad12s1  4unknown   22
257040  163702350  163959389   ad12s2  4 NTFS/HPFS/QNX7
 163959390  812813778  976773167   ad12s3  4 NTFS/HPFS/QNX7


It's ad12s3 that's my freebsd slice

gpart show ad12s3 returns

gpart: No such geom: ad12s3


How do I proceed?

Thanks

/Leslie




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


Re: Autotools, libraries and man pages: oh my!

2012-11-02 Thread Polytropon
On Thu, 01 Nov 2012 22:01:16 -0700, James Colannino wrote:
> On 11/01/12 21:44, James Colannino wrote:
> > [...]I'm able to use autotools on FreeBSD to
> > generate configure and Makefile.in, and can use gmake to compile and
> > install it.
> >
> > Unfortunately, the man pages are installed to /usr/local/share/man
> > instead of to /usr/local/man, which I thought the tools would've taken
> > care of.  Also, even though I see my library was successfully compiled
> > and installed to /usr/local/lib, when I try to compile a program with
> > gcc source.c -ldstring, I get:
> >
> > /usr/bin/ld: cannot find -ldstring
> 
> Update: I can compile against my dstring library by using the following
> line:
> gcc source.c -L/usr/local/lib -ldstring.  I guess it didn't know to
> search /usr/local/lib.  Still having trouble figuring out how to install
> the man pages properly, though :(

The easiest way to do it is to have a look at the porter's
handbook (part of the FreeBSD documentation) and use the
predefined target locations for the generated components.

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

However, I always thought /usr/local/lib would be one of
the default search paths for ld, so -l for any
library residing there should be fine - except of course
you override default options of cc...

For your project, you could create a Makefile containing
the required CFLAGS and LDFLAGS, define a rule for building
the target and then just use "make".




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


lagg interface not created at reboot ( 9.0 )

2012-11-02 Thread Frank Bonnet

hello

I use the lagg feature on a server and it seems the lagg pseudo interface
is not created when the machine reboots , the server runs 9.0-p3

here is the incriminated part of the /etc/rc.conf file

ifconfig_bce2="up"
ifconfig_bce3="up"
cloned_interface="lagg0"
ifconfig_lagg0=" laggproto lacp laggport bce2 laggport bce3"
ipv4_addrs_lagg0=" xxx.xxx.xxx.xxx/24"
defaultrouter="xxx.xxx.xxx.xxx"

Note : if I create manually the lagg0 interface everything starts well ...

thanks for any info

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


Re: lagg interface not created at reboot ( 9.0 )

2012-11-02 Thread Damien Fleuriot

On 2 Nov 2012, at 10:56, Frank Bonnet  wrote:

> hello
> 
> I use the lagg feature on a server and it seems the lagg pseudo interface
> is not created when the machine reboots , the server runs 9.0-p3
> 
> here is the incriminated part of the /etc/rc.conf file
> 
> ifconfig_bce2="up"
> ifconfig_bce3="up"
> cloned_interface="lagg0"
> ifconfig_lagg0=" laggproto lacp laggport bce2 laggport bce3"
> ipv4_addrs_lagg0=" xxx.xxx.xxx.xxx/24"
> defaultrouter="xxx.xxx.xxx.xxx"
> 
> Note : if I create manually the lagg0 interface everything starts well ...
> 
> thanks for any info
> 

cloned_interfaces , notice the plural.

You're using "cloned_interface", you're missing the S.

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


Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Jerry
On Thu, 01 Nov 2012 10:26:33 +0100
Leslie Jensen articulated:

> I've replaced my dual boot hard drive with an SSD.
> 
> My hard drive had one 100 GB windows partition and one 300 Gb Freebsd 
> slice with five partitions (/, /usr, /var, /tmp and /home).
> 
> In order to move my Win7 partition a Norton Ghost program was
> supplied with the new disk.
> 
> When trying to clone that partition the process couldn't finish
> because it needed a chkdsk command to be executed before cloning.
> 
> I ran a chkdsk c: with the choice of correcting errors.
> 
> Somewhere in that process the chkdsk program touched my freebsd 
> partition in a way so that it now is recognized as NTFS.
> 
> That I trusted the chkdsk program to do what I told it to do was in 
> retrospect a bit naive ;-) I do have a backup although it's not as 
> recent as I would have liked.
> 
> Can you think of any way to perhaps recover the data from the freebsd 
> partition?

Let me get this straight. You ran the program with the "/F" flag, or
perhaps the "/R" flag which implies "/F", the program then did exactly
what it was designed to do and now you are bitching about it. Like an
attorney who never asks a question of a witness without knowing what
the answer is going to be, never run a program and then hope it somehow
magically knows exactly what you want it to do. Actually, in this case
it did exactly what you wanted it to do. Next time run "chkdsk" sans
flags and it will only report what it would have done.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

Re: Autotools, libraries and man pages: oh my!

2012-11-02 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Fri Nov  2 00:03:38 2012
> Date: Thu, 01 Nov 2012 22:01:16 -0700
> From: James Colannino 
> To: freebsd-questions@freebsd.org
> Subject: Re: Autotools, libraries and man pages: oh my!
>
> On 11/01/12 21:44, James Colannino wrote:
> > [...]I'm able to use autotools on FreeBSD to
> > generate configure and Makefile.in, and can use gmake to compile and
> > install it.
> >
> > Unfortunately, the man pages are installed to /usr/local/share/man
> > instead of to /usr/local/man, which I thought the tools would've taken
> > care of.  Also, even though I see my library was successfully compiled
> > and installed to /usr/local/lib, when I try to compile a program with
> > gcc source.c -ldstring, I get:
> >
> > /usr/bin/ld: cannot find -ldstring
>
> Update: I can compile against my dstring library by using the following
> line:
> gcc source.c -L/usr/local/lib -ldstring.  I guess it didn't know to
> search /usr/local/lib.  

man ldconfig

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


Re: My freebsd partition changed by Windows chkdsk (Leslie Jensen)

2012-11-02 Thread Manish Jain

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?


I trust that you by now have discovered that your trust was never breached
by Microsoft (for once). Microsoft firmly believes that Windows is the only
OS that should reside on a PC's disk. Therefore running chkdsk with force
was only an invitation to Microsoft to run amok.

BTW, the reason I replied to this message was not to provide you with a
solution but with a trivial yet good bit of precaution I use on my own
dual-boot PC, wherein ad4s1 is NTFS/Windows and ad4s2 is my FreeBSD slice.
Right after installation of FreeBSD, I ran :

dd if=/dev/ad4 of=ad4.512 bs=512 count=1
dd if=/dev/ad4s2 of=ad4s2.512 bs=512 count=1
dd if=/dev/ad4s2a of=ad4s2a.512 bs=512 count=1

No matter how Windows screws up the MBR or FreeBSD's slice, recovering from
the situation is simple enough.

Regards

Manish Jain
bourne.ident...@hotmail.com

On 02-Nov-12 17:30, freebsd-questions-requ...@freebsd.org wrote:

Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-questions-requ...@freebsd.org

You can reach the person managing the list at
freebsd-questions-ow...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. My freebsd partition changed by Windows chkdsk (Leslie Jensen)
2. Re: laptop with no BIOS? or BIOS reflash pain (Anton Shterenlikht)
3. Dell H710 and H310 Raid Controller (Omer Faruk SEN)
4. Re: My freebsd partition changed by Windows chkdsk (Warren Block)
5. Autotools, libraries and man pages: oh my! (James Colannino)
6. Re: Autotools, libraries and man pages: oh my! (James Colannino)
7. Re: My freebsd partition changed by Windows chkdsk (Leslie Jensen)
8. Re: Autotools, libraries and man pages: oh my! (Polytropon)
9. lagg interface not created at reboot ( 9.0 ) (Frank Bonnet)
   10. Re: lagg interface not created at reboot ( 9.0 ) (Damien Fleuriot)
   11. Re: My freebsd partition changed by Windows chkdsk (Jerry)
   12. Re: Autotools, libraries and man pages: oh my! (Robert Bonomi)


--

Message: 1
Date: Thu, 01 Nov 2012 10:26:33 +0100
From: Leslie Jensen 
To: freebsd-questions@freebsd.org
Subject: My freebsd partition changed by Windows chkdsk
Message-ID: <50924049.1020...@eskk.nu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed



I've replaced my dual boot hard drive with an SSD.

My hard drive had one 100 GB windows partition and one 300 Gb Freebsd
slice with five partitions (/, /usr, /var, /tmp and /home).

In order to move my Win7 partition a Norton Ghost program was supplied
with the new disk.

When trying to clone that partition the process couldn't finish because
it needed a chkdsk command to be executed before cloning.

I ran a chkdsk c: with the choice of correcting errors.

Somewhere in that process the chkdsk program touched my freebsd
partition in a way so that it now is recognized as NTFS.

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?

Thanks

/Leslie


--

Message: 2
Date: Thu, 1 Nov 2012 11:27:21 GMT
From: Anton Shterenlikht 
To: flash...@flashrom.org, freebsd-questions@freebsd.org,
vid...@gmail.com
Subject: Re: laptop with no BIOS? or BIOS reflash pain
Message-ID:
<201211011127.qa1brlfz010...@mech-cluster241.men.bris.ac.uk>

Date: Tue, 30 Oct 2012 21:28:22 +0100
Subject: Re: laptop with no BIOS? or BIOS reflash pain
From: Idwer Vollering 
To: freebsd-questions@freebsd.org, flash...@flashrom.org

Another approach is to use an external SPI programmer:
http://flashrom.org/Supported_programmers
The 'downside' of this is that you need to take your laptop apart.

ODM schematics of your laptop are found here:
http://notebookschematic.com/wp-content/uploads/2010/06/6515b_6715s.png
Downloads for BIOS updates:

http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3356623&prodTypeId=321957&prodSeriesId=3368539&swLang=13&taskId=135&swEnvOID=1093#120
and ftp://ftp.hp.com/pub/softpaq/sp55501-56000/sp6.exe

My guess (I am not a HP service technician) is that you need
ROM.CAB/Rom.bin from sp6.exe - you can use 7zip to ex

Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Leslie Jensen



Jerry skrev 2012-11-02 12:22:

On Thu, 01 Nov 2012 10:26:33 +0100
Leslie Jensen articulated:


I've replaced my dual boot hard drive with an SSD.

My hard drive had one 100 GB windows partition and one 300 Gb Freebsd
slice with five partitions (/, /usr, /var, /tmp and /home).

In order to move my Win7 partition a Norton Ghost program was
supplied with the new disk.

When trying to clone that partition the process couldn't finish
because it needed a chkdsk command to be executed before cloning.

I ran a chkdsk c: with the choice of correcting errors.

Somewhere in that process the chkdsk program touched my freebsd
partition in a way so that it now is recognized as NTFS.

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?


Let me get this straight. You ran the program with the "/F" flag, or
perhaps the "/R" flag which implies "/F", the program then did exactly
what it was designed to do and now you are bitching about it. Like an
attorney who never asks a question of a witness without knowing what
the answer is going to be, never run a program and then hope it somehow
magically knows exactly what you want it to do. Actually, in this case
it did exactly what you wanted it to do. Next time run "chkdsk" sans
flags and it will only report what it would have done.



Yes I ran chkdsk c: /R
It was not my intention to be bitching about it. I just realized that 
the outcome or the result of the command was not what I had expected. I 
thought that c: would make chkdsk work only with c:!

I've now learned the hard way that that is not the case.
Usually the nice people here on the list can and will help even when 
someone makes a mistake.

I hope that there will not be a next time ;-)
/Leslie

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


Re: My freebsd partition changed by Windows chkdsk (Leslie Jensen)

2012-11-02 Thread Leslie Jensen



Manish Jain skrev 2012-11-02 14:39:

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?


I trust that you by now have discovered that your trust was never breached
by Microsoft (for once). Microsoft firmly believes that Windows is the only
OS that should reside on a PC's disk. Therefore running chkdsk with force
was only an invitation to Microsoft to run amok.

BTW, the reason I replied to this message was not to provide you with a
solution but with a trivial yet good bit of precaution I use on my own
dual-boot PC, wherein ad4s1 is NTFS/Windows and ad4s2 is my FreeBSD slice.
Right after installation of FreeBSD, I ran :

dd if=/dev/ad4 of=ad4.512 bs=512 count=1
dd if=/dev/ad4s2 of=ad4s2.512 bs=512 count=1
dd if=/dev/ad4s2a of=ad4s2a.512 bs=512 count=1

No matter how Windows screws up the MBR or FreeBSD's slice, recovering from
the situation is simple enough.

Regards

Manish Jain
bourne.ident...@hotmail.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"



Thank you for your comment.
I must admit that I do not fully understand what it is you do.
Will you explain the details, Please?
Thanks
/Leslie

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


Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Warren Block

On Fri, 2 Nov 2012, Leslie Jensen wrote:


Yes I ran chkdsk c: /R
It was not my intention to be bitching about it. I just realized that the 
outcome or the result of the command was not what I had expected. I thought 
that c: would make chkdsk work only with c:!

I've now learned the hard way that that is not the case.


Windows lives in an insular universe, where everything else is Windows. 
Or should be, as far as it is concerned.


Same as always: make a backup before doing something serious to the 
disk.

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


Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Warren Block

On Fri, 2 Nov 2012, Leslie Jensen wrote:


I use sysinstall and fdisk to find the disk, and I get


Please don't use sysinstall for this or any disk formatting.


   Offset   Size(ST)  End Name  PType   Desc  SubtypeFlags

0 63 62- 12 unused0
   63 256977 257039   ad12s1  4unknown   22
   257040  163702350  163959389   ad12s2  4 NTFS/HPFS/QNX7
163959390  812813778  976773167   ad12s3  4 NTFS/HPFS/QNX7


It's ad12s3 that's my freebsd slice

gpart show ad12s3 returns

gpart: No such geom: ad12s3


How do I proceed?


I don't see why gpart doesn't see that.  Please show the output of 
'gpart show ad12'.

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


Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Leslie Jensen



2012-11-02 16:12, Warren Block skrev:

On Fri, 2 Nov 2012, Leslie Jensen wrote:


I use sysinstall and fdisk to find the disk, and I get


Please don't use sysinstall for this or any disk formatting.


   Offset   Size(ST)  End Name  PType   Desc  Subtype
Flags

0 63 62- 12 unused0
   63 256977 257039   ad12s1  4unknown   22
   257040  163702350  163959389   ad12s2  4 NTFS/HPFS/QNX7
163959390  812813778  976773167   ad12s3  4 NTFS/HPFS/QNX7


It's ad12s3 that's my freebsd slice

gpart show ad12s3 returns

gpart: No such geom: ad12s3


How do I proceed?


I don't see why gpart doesn't see that.  Please show the output of
'gpart show ad12'.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"



=>   63  976773105  ad12  MBR  (465G)
 63 256977 1  !22  (125M)
 257040  163702350 2  ntfs  [active]  (78G)
  163959390  812813778 3  ntfs  (387G)


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


Re: poudriere amassing fetch errors

2012-11-02 Thread Wolfgang Riegler
Hi,

unfortunately I have the same problem. A lot of fetch and checksum errors. I 
have set RESOLV_CONF=/etc/resolv.conf in /usr/local/etc/poudriere.conf, 
resolv.conf is copied to the poudriere jail and manual fetching of the ports is 
working.
On every run of poudriere bulk different ports are failing due to fetch or 
checksum errors. Sometimes no file is fetched, sometimes a small one and then I 
get a checksum failure, sometimes the file is about two times bigger and I get 
a checksum failure, too.

Normal make install clean is running fine on that machine.

I'm using FreeBSD 9.1-rc2 and poudriere 2.2 (2.1. had the same issue)


I have some other problems as well:
- poudriere bulk doesn't exit; after building all pkgs it sleeps forever
- I have two errors several times, but I don't know to which ports they belong:
perl: not found
"Makefile", line 86: warning: "/bin/sh -c 'case `perl --version` in 
*freebsd-thread*) echo yes ;; esac'" returned non-zero status
and
/usr/local/bin/apr-1-config: not found
"Makefile.common", line 115: warning: "/usr/local/bin/apr-1-config 
--includedir" returned non-zero status


Could anybody help me?

Thanks

Wolfgang



Am Samstag, 20. Oktober 2012, 16:14:28 schrieb Christopher J. Ruwe:
> On Fri, 19 Oct 2012 22:29:51 +0200
> Patrick Lamaiziere  wrote:
> 
> > Le Sun, 14 Oct 2012 03:57:20 +0200,
> > "Christopher J. Ruwe"  a écrit :
> > 
> > Hello,
> > 
> > > for some time I have noticed that poudriere bulk build amass fetch
> > > errors, i.e., the corresponding distfile(s) cannot be fetched by the
> > > build jail and I have to fetch these manually.
> > > 
> > > Does anybody know a fix to this unnerving condition?
> > 
> > I don't see this problem.
> > 
> > Missing resolv.conf ?
> > /usr/local/etc/poudriere.conf
> > # By default the jails have no /etc/resolv.conf, you will need to set
> > # REVOLV_CONF to a file on your hosts system that will be copied has
> > # /etc/resolv.conf for the jail, except if you don't need it (using an
> > http # proxy for example)
> > RESOLV_CONF=/etc/resolv.conf
> > 
> 
> 
> My apolgies for that absolutly crappy discription of the error I was
> witnessing. Upon reading my post anew, I just do not know what hit me
> posting that.
> 
> Anyways, I did not have a /etc/resolv.conf entry in my poudriere.conf,
> as it has been working for some time without. The error was rather
> byzanthine ... sometimes, the sources were fetched correctly, sometimes
> not. Regrettably, I do not have any fetch error messages around any
> more, so I cannot supply the information I should have included in my
> first post. 
> 
> Anyways, setting the entry in poudriere.conf seems to have solved the
> issue. Interesting how any fetching could have occured without ...
> 
> Thanks and 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"

Re: My freebsd partition changed by Windows chkdsk (Leslie Jensen)

2012-11-02 Thread Manish Jain

On 02-Nov-12 19:19, Leslie Jensen wrote:



Manish Jain skrev 2012-11-02 14:39:

That I trusted the chkdsk program to do what I told it to do was in
retrospect a bit naive ;-) I do have a backup although it's not as
recent as I would have liked.

Can you think of any way to perhaps recover the data from the freebsd
partition?


I trust that you by now have discovered that your trust was never 
breached
by Microsoft (for once). Microsoft firmly believes that Windows is 
the only
OS that should reside on a PC's disk. Therefore running chkdsk with 
force

was only an invitation to Microsoft to run amok.

BTW, the reason I replied to this message was not to provide you with a
solution but with a trivial yet good bit of precaution I use on my own
dual-boot PC, wherein ad4s1 is NTFS/Windows and ad4s2 is my FreeBSD 
slice.

Right after installation of FreeBSD, I ran :

dd if=/dev/ad4 of=ad4.512 bs=512 count=1
dd if=/dev/ad4s2 of=ad4s2.512 bs=512 count=1
dd if=/dev/ad4s2a of=ad4s2a.512 bs=512 count=1

No matter how Windows screws up the MBR or FreeBSD's slice, 
recovering from

the situation is simple enough.

Regards

Manish Jain
bourne.ident...@hotmail.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"



Thank you for your comment.
I must admit that I do not fully understand what it is you do.
Will you explain the details, Please?
Thanks
/Leslie




Hello Leslie,

Sorry if my comment sounded a bit cryptic.

The first 512 bytes of any hard-disk reside outside of any slice and
contain the master boot record. If you installed Windows first and
FreeBSD second and opted for the FreeBSD (a.k.a. Easy) Boot Manager,
the disk's first 512 bytes will contain 446 bytes of Boot Manager
code (which the BIOS executes to give you the F1/F2/F3/F4 choices),
64 bytes containing the disk's slice layout (maximum 4 slices) and
2 bytes for a BIOS checksum.

It is very easy to lose the MBR. If, instead of chkdsk, you were to
run the fixmbr command, Windows will put its own code into the 446
bytes. That code is capable of only one thing - booting drive C:

When you ran chkdsk /f, Windows changed the slice-type of your
FreeBSD slice from FFS (ID=165) to NTFS (ID=7) in the MBR. Only
Microsoft knows why chkdsk is permitted to do that.

Once that happens, you would REALLY like to fix the MBR. One way to
do it is to to run the reverse of the first command :

dd if=ad4.512 of=/dev/ad4 bs=512 count=1

This assumes 1) you can boot into FreeBSD or Linux or have a GParted
bootable CD, and 2) you saved your original MBR as ad4.512 and have
access to it, possibly on a USB pendrive that you can mount.

Just as the disk's first 512 bytes reside outside of any slice,
every slice's first 512 bytes reside outside any partition in that
slice and consequently outside the filesystems in that slice. This
sector contains the boot code (a.k.a. boot record) needed to boot
the OS on that slice. Windows will generally be nice enough to first
read the boot.ini file, which gives us the option of booting FreeBSD
from Windows' boot.ini :

dd if=/dev/ad4s2 of=ad4s2.512 bs=512 count=1

Copy out ad4s2.512 to drive C:, and put this in your boot.ini :

c:\ad4s2.412="Boot FreeBSD instead"

Of course, you have to substitute your correct numbers in the
ads{N} notation. For me,  is 4 and {N} is 2.

The ad4s2a.512 file contains the first sector in your FreeBSD /
partition and is meaningful to the loader more than to us mortals.

If everything else fails, you might like to give the following a
try :

1) Boot from your FreeBSD CD/DVD, enter the slice editor and
change the type of your FreeBSD slice back to 165. Do not press Q.
Press W instead. Conform with Yes to the warning, and then press
Ctrl+Alt+Del to abort the installation.

2) Boot from your FreeBSD CD/DVD again, and run boot0cfg -B in an
emergency shell.



I hope my message sounds less cryptic now. I personally don't have
anything against running chkdsk or fixmbr, AS LONG AS I have backed
up the important sectors.

Regards

Manish Jain
bourne.ident...@hotmail.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: My freebsd partition changed by Windows chkdsk (Leslie Jensen)

2012-11-02 Thread Peter Vereshagin
Hello.

2012/11/02 14:49:57 +0100 Leslie Jensen  => To Manish Jain :
LJ> > Right after installation of FreeBSD, I ran :
LJ> > dd if=/dev/ad4 of=ad4.512 bs=512 count=1
LJ> > dd if=/dev/ad4s2 of=ad4s2.512 bs=512 count=1
LJ> > dd if=/dev/ad4s2a of=ad4s2a.512 bs=512 count=1
LJ> Will you explain the details, Please?

Copy first 512 bytes from every block device to different files.


--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov

how to find which process take space?


root@newflux:/var/log # cd /var
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var # df -h
Filesystem  SizeUsed   Avail Capacity  Mounted on
/dev/ada0s1a  2G455M1.3G25%/
devfs   1.0k1.0k  0B   100%/dev
/dev/ada0s1e3.9G488M3.1G13%/tmp
/dev/ada0s1f 37G 27G7.3G79%/usr
/dev/ada0s1d 30G 23G3.7G87%/var
/dev/ada0s1g216G8.0k199G 0%/backup
procfs  4.0k4.0k  0B   100%/proc
devfs   1.0k1.0k  0B   100%/var/named/dev
root@newflux:/var # fstat -f /var
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
root fstat  97928   wd /var  2 drwxr-xr-x 512  r
root csh96949   wd /var  2 drwxr-xr-x 512  r
root mc 96947   wd /var 802560 drwxr-xr-x3072  r
root csh96124   wd /var  2 drwxr-xr-x 512  r
root snmpd  960247 /var 804161 -rw-r- 728  r
root mpd5   515854 /var 3691792 -rw-r--r--   6 rw
freeradi radiusd515543 /var 802703 -rw-r-   0  w
root inetd  226873 /var 3691804 -rw---   5  w
root cron   22392   wd /var 3772032 drwxr-x--- 512  r
root cron   223923 /var 3691803 -rw---   5  w
smmspsendmail   22311   wd /var 1926151 drwxrwx--- 512  r
smmspsendmail   223114 /var 1926203 -rw---  51  w
root sendmail   22202   wd /var 1926147 drwxr-xr-x 512  r
root sendmail   222025 /var 3691802 -rw---  80  w
bind named   7370   wd /var 401288 drwxr-xr-x 512  r
bind named   7370 root /var 401280 drwxr-xr-x 512  r
bind named   7370 jail /var 401280 drwxr-xr-x 512  r
root devd56935 /var 3691824 -rw---   4  w
quagga   bgpd46163 /var 3691791 -rw-r--r--   5 rw
quagga   zebra   46115 /var 3691788 -rw-r--r--   5 rw
root@newflux:/var # du -h -d 1
4.0k./.snap
4.0k./account
 12k./at
4.0k./audit
3.1M./backups
858M./crash
8.0k./cron
1.3G./db
 36k./empty
4.0k./heimdal
3.7G./log
352M./mail
8.0k./msgs
1.6M./named
4.0k./preserve
108k./run
4.0k./rwho
608k./spool
236k./tmp
 28k./yp
4.0k./games
4.0k./agentx
4.0k./cache
 28k./net-snmp
 28k./lost+found
212k./monit
6.2G.


-- 
 Eugen  mailto:kes-...@yandex.ru

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


Re: HELP: some process eat my /var

2012-11-02 Thread Bryan Drewery
On 11/2/2012 2:05 PM, Eugen Konkov wrote:
> 858M./crash
> 
> 1.3G./db
> 
> 3.7G./log

Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
of your big logfiles in /var/log. Also consider moving whatever is large
in /var/db elsewhere.

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


Re[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:09:49:

BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>> 858M./crash
>> 
>> 1.3G./db
>> 
>> 3.7G./log

BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
BD> of your big logfiles in /var/log. Also consider moving whatever is large
BD> in /var/db elsewhere.

BD> Bryan

Notice df -h
/dev/ada0s1d 30G 23G3.7G87%/var

and notice du -h -d 1
6.2G

I have only 6.2G are occupied by files

where 18Gb of disk space?

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

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

Re: poudriere amassing fetch errors

2012-11-02 Thread Bryan Drewery
On 11/2/2012 11:52 AM, Wolfgang Riegler wrote:
> Hi,
> 
> unfortunately I have the same problem. A lot of fetch and checksum errors. I 
> have set RESOLV_CONF=/etc/resolv.conf in /usr/local/etc/poudriere.conf, 
> resolv.conf is copied to the poudriere jail and manual fetching of the ports 
> is working.
> On every run of poudriere bulk different ports are failing due to fetch or 
> checksum errors. Sometimes no file is fetched, sometimes a small one and then 
> I get a checksum failure, sometimes the file is about two times bigger and I 
> get a checksum failure, too.
> 

This doesn't sound like a poudriere-specific issue. There may be a
general fetching issue with bsd.port.mk, that I plan to investigate further.

> Normal make install clean is running fine on that machine.
> 
> I'm using FreeBSD 9.1-rc2 and poudriere 2.2 (2.1. had the same issue)
> 
> 
> I have some other problems as well:
> - poudriere bulk doesn't exit; after building all pkgs it sleeps forever

This issue should be fixed in poudriere-devel.

> - I have two errors several times, but I don't know to which ports they 
> belong:
>   perl: not found
>   "Makefile", line 86: warning: "/bin/sh -c 'case `perl --version` in 
> *freebsd-thread*) echo yes ;; esac'" returned non-zero status
>   and
>   /usr/local/bin/apr-1-config: not found
>   "Makefile.common", line 115: warning: "/usr/local/bin/apr-1-config 
> --includedir" returned non-zero status
> 

The first I'm not sure about.

The 2nd are apache ports incorrectly depending on apr to be installed,
which does not work in a fresh jail.

If you run ports-mgmt/poudriere-devel bulk with -J1 you should see which
port is causing these issues, so they can be reported to the
maintainers. The specific problem as that the ports do not build
properly within clean jails.

> 
> Could anybody help me?
> 
> Thanks
> 
> Wolfgang
> 

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


Re: HELP: some process eat my /var

2012-11-02 Thread Bryan Drewery
On 11/2/2012 2:20 PM, Eugen Konkov wrote:
> Здравствуйте, Bryan.
> 
> Вы писали 2 ноября 2012 г., 21:09:49:
> 
> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>>> 858M./crash
>>>
>>> 1.3G./db
>>>
>>> 3.7G./log
> 
> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
> BD> of your big logfiles in /var/log. Also consider moving whatever is large
> BD> in /var/db elsewhere.
> 
> BD> Bryan
> 
> Notice df -h
> /dev/ada0s1d 30G 23G3.7G87%/var
> 
> and notice du -h -d 1
> 6.2G
> 
> I have only 6.2G are occupied by files
> 
> where 18Gb of disk space?
> 

Are you running MySQL? It uses hidden tmpfiles that may grow quite
large. Restarting it may cleanup the space.

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

Re: Re[2]: HELP: some process eat my /var

2012-11-02 Thread Steve O'Hara-Smith
On Fri, 2 Nov 2012 21:20:51 +0200
Eugen Konkov  wrote:

> Notice df -h
> /dev/ada0s1d 30G 23G3.7G87%/var
> 
> and notice du -h -d 1
> 6.2G
> 
> I have only 6.2G are occupied by files
> 
> where 18Gb of disk space?

Probably in a deleted file still open by some process.

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


Re: HELP: some process eat my /var

2012-11-02 Thread Michael Powell
Eugen Konkov wrote:

> 
> how to find which process take space?
> 
> 
You might want to look at fstat and lsof. fstat is in system while lsof is 
an add-on third party port. Keep in mind that when you do find the space you 
are looking for it will be held 'open' as an open file in the file system as 
long as the process is running. During normal operations you can shut down 
the process and release the space so it can be deleted. This is relatively 
straightforward as long as everything is 'normal'. The more difficult 
position arises when a process has behaved abnormally, including going 
zombie, crashing, etc. With the 'abnormal' there can be a chance that even 
though the process is gone you may encounter difficulty trying to 
delete/recover the space because the file system still considers it an open 
file.

-Mike



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


Re[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:27:15:

BD> On 11/2/2012 2:20 PM, Eugen Konkov wrote:
>> Здравствуйте, Bryan.
>> 
>> Вы писали 2 ноября 2012 г., 21:09:49:
>> 
>> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
 858M./crash

 1.3G./db

 3.7G./log
>> 
>> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
>> BD> of your big logfiles in /var/log. Also consider moving whatever is large
>> BD> in /var/db elsewhere.
>> 
>> BD> Bryan
>> 
>> Notice df -h
>> /dev/ada0s1d 30G 23G3.7G87%/var
>> 
>> and notice du -h -d 1
>> 6.2G
>> 
>> I have only 6.2G are occupied by files
>> 
>> where 18Gb of disk space?
>> 

BD> Are you running MySQL? It uses hidden tmpfiles that may grow quite
BD> large. Restarting it may cleanup the space.

BD> Bryan

as I have showed  'fstat -f /var' have no mysql running.

as 'top' shows there is no zombie:
# top -SIHP
last pid: 99128;  load averages:  0.85,  0.93,  1.03
  up 3+04:05:04  21:48:50
186 processes: 5 running, 139 sleeping, 42 waiting
CPU 0:  0.0% user,  0.0% nice,  7.7% system,  8.5% interrupt, 83.8% idle
CPU 1:  0.7% user,  0.0% nice, 11.3% system,  5.6% interrupt, 82.4% idle
CPU 2:  1.4% user,  0.0% nice,  4.9% system,  9.2% interrupt, 84.5% idle
CPU 3:  0.7% user,  0.0% nice,  8.5% system,  7.7% interrupt, 83.1% idle
Mem: 97M Active, 1781M Inact, 264M Wired, 55M Cache, 112M Buf, 1274M Free
Swap: 2048M Total, 220K Used, 2048M Free

Maybe other process uses hidden files. How to find such files??



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

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

ATI HD 4850 driver

2012-11-02 Thread ds

Hello,

I installed stellarium and the 3d acceleration of my ATI 4850 card 
didn't work in FreeBSD 9.0. The /var/log/Xorg.0.log showed that AIGLX 
could not load the r600_dri.so driver because it was missing in the 
/usr/local/lib/dri/ folder.
So I recovered the r600_dri.so file from a PCBSD 9.0 installation and 
copied it to my FreeBSD 9.0  /usr/local/lib/dri/ folder  and now my 3d 
acceleration works. Are there plans to resolve this bug in FreeBSD 
version 9.1 ?


Kind regards,
Dirk




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


Burning .iso DVD's

2012-11-02 Thread Al Plant


Aloha,

I am not able to get a successfull burn of .iso DVD's  9.0 or higher 
FreeBSD.



Chapter 19.7 ... of Handbook says to use growisofs with ATAPI support 
same as I do for 7.* 8.* FreeBSD etc.


I get error of no growisofs ..when I run growisofs -dvd-compat -Z 
/dev/cd0=image.iso


What has cdrecord home.iso got to do with this ? It seems that to run 
growisofs some people say you have to use this now. Not clearly defined 
in handbook pages I printed.


I would like to make a new burner that works on 9.* up.  Any help would 
be great. Thanks.


~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: ATI HD 4850 driver

2012-11-02 Thread Warren Block

On Fri, 2 Nov 2012, ds wrote:

I installed stellarium and the 3d acceleration of my ATI 4850 card didn't 
work in FreeBSD 9.0. The /var/log/Xorg.0.log showed that AIGLX could not load 
the r600_dri.so driver because it was missing in the /usr/local/lib/dri/ 
folder.
So I recovered the r600_dri.so file from a PCBSD 9.0 installation and copied 
it to my FreeBSD 9.0  /usr/local/lib/dri/ folder  and now my 3d acceleration 
works. Are there plans to resolve this bug in FreeBSD version 9.1 ?


It's hard to say what happened on your system, but it works on others. 
The DRI libraries are installed by the graphics/dri port.  Deinstalling, 
rebuilding, and reinstalling that port should create them.  If it does 
not, something else is wrong on that system.

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


Re: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Warren Block

On Fri, 2 Nov 2012, Leslie Jensen wrote:




2012-11-02 16:12, Warren Block skrev:

On Fri, 2 Nov 2012, Leslie Jensen wrote:


I use sysinstall and fdisk to find the disk, and I get


Please don't use sysinstall for this or any disk formatting.


   Offset   Size(ST)  End Name  PType   Desc  Subtype
Flags

0 63 62- 12 unused0
   63 256977 257039   ad12s1  4unknown   22
   257040  163702350  163959389   ad12s2  4 NTFS/HPFS/QNX7
163959390  812813778  976773167   ad12s3  4 NTFS/HPFS/QNX7


It's ad12s3 that's my freebsd slice

gpart show ad12s3 returns

gpart: No such geom: ad12s3


How do I proceed?


I don't see why gpart doesn't see that.  Please show the output of
'gpart show ad12'.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"



=>   63  976773105  ad12  MBR  (465G)
63 256977 1  !22  (125M)
257040  163702350 2  ntfs  [active]  (78G)
 163959390  812813778 3  ntfs  (387G)


Well, that's a start.  The MBR is fine.  The bad news is that the 
bsdlabel information in slice 3 may be missing.  gpart should see that 
if it exists.


If you have a printed or saved version of the bsdlabel (disklabel) 
information, that could be recreated.  Without it, I don't know.

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


Testing for false email freebsd.org

2012-11-02 Thread Al Plant

Test
--

~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: My freebsd partition changed by Windows chkdsk

2012-11-02 Thread Matthew Navarre

On Nov 2, 2012, at 2:33 PM, Warren Block wrote:

> On Fri, 2 Nov 2012, Leslie Jensen wrote:
> 
>> 
>> 
>> 2012-11-02 16:12, Warren Block skrev:
>>> On Fri, 2 Nov 2012, Leslie Jensen wrote:
 I use sysinstall and fdisk to find the disk, and I get
>>> Please don't use sysinstall for this or any disk formatting.
>>> 
   Offset   Size(ST)  End Name  PType   Desc  Subtype
 Flags
 
0 63 62- 12 unused0
   63 256977 257039   ad12s1  4unknown   22
   257040  163702350  163959389   ad12s2  4 NTFS/HPFS/QNX7
 163959390  812813778  976773167   ad12s3  4 NTFS/HPFS/QNX7
 It's ad12s3 that's my freebsd slice
 gpart show ad12s3 returns
 gpart: No such geom: ad12s3
 How do I proceed?
>>> I don't see why gpart doesn't see that.  Please show the output of
>>> 'gpart show ad12'.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscr...@freebsd.org"
>> 
>> 
>> =>   63  976773105  ad12  MBR  (465G)
>>63 256977 1  !22  (125M)
>>257040  163702350 2  ntfs  [active]  (78G)
>> 163959390  812813778 3  ntfs  (387G)
> 
> Well, that's a start.  The MBR is fine.  The bad news is that the bsdlabel 
> information in slice 3 may be missing.  gpart should see that if it exists.
> 
> If you have a printed or saved version of the bsdlabel (disklabel) 
> information, that could be recreated.  Without it, I don't know.

sysutils/scan_ffs scans a raw device for UFS partitions and prints probable 
disklabel info. sysutils/testdisk might help also.
> ___
> freebsd-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: HELP: some process eat my /var

2012-11-02 Thread Gary Aitken
Looks like /var/log has most of it.
If you're running X, check for a huge Xorg.0.log.
I had this problem as a result of a radeon graphics card that would get into
some kind of reinitialization loop.
In any case, look at the files in /var/log

On 11/02/12 13:05, Eugen Konkov wrote:
> 
> how to find which process take space?
> 
> 
> root@newflux:/var/log # cd /var
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var # df -h
> Filesystem  SizeUsed   Avail Capacity  Mounted on
> /dev/ada0s1a  2G455M1.3G25%/
> devfs   1.0k1.0k  0B   100%/dev
> /dev/ada0s1e3.9G488M3.1G13%/tmp
> /dev/ada0s1f 37G 27G7.3G79%/usr
> /dev/ada0s1d 30G 23G3.7G87%/var
> /dev/ada0s1g216G8.0k199G 0%/backup
> procfs  4.0k4.0k  0B   100%/proc
> devfs   1.0k1.0k  0B   100%/var/named/dev
> root@newflux:/var # fstat -f /var
> USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
> root fstat  97928   wd /var  2 drwxr-xr-x 512  r
> root csh96949   wd /var  2 drwxr-xr-x 512  r
> root mc 96947   wd /var 802560 drwxr-xr-x3072  r
> root csh96124   wd /var  2 drwxr-xr-x 512  r
> root snmpd  960247 /var 804161 -rw-r- 728  r
> root mpd5   515854 /var 3691792 -rw-r--r--   6 rw
> freeradi radiusd515543 /var 802703 -rw-r-   0  w
> root inetd  226873 /var 3691804 -rw---   5  w
> root cron   22392   wd /var 3772032 drwxr-x--- 512  r
> root cron   223923 /var 3691803 -rw---   5  w
> smmspsendmail   22311   wd /var 1926151 drwxrwx--- 512  r
> smmspsendmail   223114 /var 1926203 -rw---  51  w
> root sendmail   22202   wd /var 1926147 drwxr-xr-x 512  r
> root sendmail   222025 /var 3691802 -rw---  80  w
> bind named   7370   wd /var 401288 drwxr-xr-x 512  r
> bind named   7370 root /var 401280 drwxr-xr-x 512  r
> bind named   7370 jail /var 401280 drwxr-xr-x 512  r
> root devd56935 /var 3691824 -rw---   4  w
> quagga   bgpd46163 /var 3691791 -rw-r--r--   5 rw
> quagga   zebra   46115 /var 3691788 -rw-r--r--   5 rw
> root@newflux:/var # du -h -d 1
> 4.0k./.snap
> 4.0k./account
>   12k./at
> 4.0k./audit
> 3.1M./backups
> 858M./crash
> 8.0k./cron
> 1.3G./db
>   36k./empty
> 4.0k./heimdal
> 3.7G./log
> 352M./mail
> 8.0k./msgs
> 1.6M./named
> 4.0k./preserve
> 108k./run
> 4.0k./rwho
> 608k./spool
> 236k./tmp
>   28k./yp
> 4.0k./games
> 4.0k./agentx
> 4.0k./cache
>   28k./net-snmp
>   28k./lost+found
> 212k./monit
> 6.2G.
> 
> 

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


Re: HELP: some process eat my /var

2012-11-02 Thread Robert Huff

Gary Aitken writes:

>  Looks like /var/log has most of it.
>  If you're running X, check for a huge Xorg.0.log.
>  I had this problem as a result of a radeon graphics card that would get into
>  some kind of reinitialization loop.
>  In any case, look at the files in /var/log

A way to check disk usage:

du /var | sort -nr | head -n 25

If you see something you don't recognize or that seems wrong



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: Burning .iso DVD's

2012-11-02 Thread Waitman Gobble
On Nov 2, 2012 2:18 PM, "Al Plant"  wrote:
>
>
> Aloha,
>
> I am not able to get a successfull burn of .iso DVD's  9.0 or higher
FreeBSD.
>
>
> Chapter 19.7 ... of Handbook says to use growisofs with ATAPI support
same as I do for 7.* 8.* FreeBSD etc.
>
> I get error of no growisofs ..when I run growisofs -dvd-compat -Z
/dev/cd0=image.iso
>
> What has cdrecord home.iso got to do with this ? It seems that to run
growisofs some people say you have to use this now. Not clearly defined in
handbook pages I printed.
>
> I would like to make a new burner that works on 9.* up.  Any help would
be great. Thanks.
>
> ~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"

Mahalo Al,

I have been burning DVD's ok on 9 and 10. I'm not at a place to check this
second, but I believe you need to install something like cdtools (?) .
Should be listed in handbook. I can check later when I get home.

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


What tool is generating the various normal port install messages?

2012-11-02 Thread Ronald F. Guilmette

I ran into something that looks like a small bug relating to install
of the ffmpeg port.  (See below.)  I will be filing of formal PR (shortly)
to report this bug, but usually, I do try to spend at least a few
minutes before I file any formal PR, trying to work out for myself
what the proper solution or workaround is.  In this case however
I am utterly stumped.  I can't even get to first base.  This has
made me realize that I know a lot less about the FreeBSD ports
building system than I thought I did.

So I'm asking:  Which tool (or piece of code) is it, exactly, that
prints all these normal build messages when building or installing
a port? I mean specifically these ones:

===>   Generating temporary packing list

INSTALL <...>

STRIP <...>

Who generates those message?

I scrounged around for a short while within the /usr/share/mk directory
and I was just not able to find anyplace where these messages are being
generated, so I'm stumped.

Oh yea, and the ports(7) man page is of no help either.  (In short, there
does seem to me to be some important stuff missing from TFM.  And we can
include in that any & all information about how to properly build & install
any arbitrary port with debugging information preserved.)


=
...
% cd /usr/ports/multimedia/ffmpeg
% make WITH_DEBUG=yes STRIP= deinstall
...
% make WITH_DEBUG=yes STRIP= reinstall
===>  Installing for ffmpeg-0.7.13_6,1
===>   ffmpeg-0.7.13_6,1 depends on shared library: aacplus.2 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: faac.0 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: freetype.9 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: mp3lame.0 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: opencv_imgproc.2 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: openjpeg.2 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: schroedinger-1.0.11 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: theora.0 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: va.1 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: vorbisenc.2 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: vpx.1 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: x264.125 - found
===>   ffmpeg-0.7.13_6,1 depends on shared library: xvidcore.4 - found
===>   Generating temporary packing list
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL libavdevice/libavdevice.a
INSTALL libavdevice/libavdevice.so
STRIP   install-libavdevice-shared
gmake: *** [install-libavdevice-shared] Segmentation fault: 11 (core dumped)
*** Error code 2

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.

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


Re: What tool is generating the various normal port install messages?

2012-11-02 Thread Gary Aitken
On 11/02/12 21:41, Ronald F. Guilmette wrote:
> 
> I ran into something that looks like a small bug relating to install
> of the ffmpeg port.  (See below.)  I will be filing of formal PR (shortly)
> to report this bug, but usually, I do try to spend at least a few
> minutes before I file any formal PR, trying to work out for myself
> what the proper solution or workaround is.  In this case however
> I am utterly stumped.  I can't even get to first base.  This has
> made me realize that I know a lot less about the FreeBSD ports
> building system than I thought I did.
> 
> So I'm asking:  Which tool (or piece of code) is it, exactly, that
> prints all these normal build messages when building or installing
> a port? I mean specifically these ones:
> 
>   ===>   Generating temporary packing list
> 
>   INSTALL <...>
> 
>   STRIP <...>
> 
> Who generates those message?

I don't know squat about the ports build but the Generating... string is
from /usr/ports/Mk/bsd.port.mk

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


AUTO: KVVSN Murthy is out of the office. (returning 11/07/2012)

2012-11-02 Thread KVVSN Murthy

I am out of the office until 11/07/2012.

Please coordinate with miss Swetha for my PET related activities.


Note: This is an automated response to your message  "freebsd-questions
Digest, Vol 439, Issue 7" sent on 11/3/2012 9:55:02 AM.

This is the only notification you will receive while this person is away.

Disclaimer

This message contains legally privileged and/or confidential information. If 
you are not the intended recipient(s), or employee or agent responsible for 
delivery of this message to the intended recipient(s), you are hereby notified 
that any dissemination, distribution or copying of this e-mail message is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and delete this e-mail message from your computer.
WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

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