Re: Need sample xorg.conf for Intel Q35 Express chipset

2010-01-05 Thread Polytropon
On Wed, 6 Jan 2010 12:57:21 +0530, manish jain  
wrote:
> I can't find anything
> like the xf86cfg/xf86config tools for configuring X that used to come with
> FreeBSD earlier.

They do not longer exist. The X command (to start X) has
the option -configure; it creates xorg.conf.new in the
current directory. This file can be the basis of further
customizing.

Keep in mind that - with modern hardware - you usually
don't need xorg.conf anymore.



> Can somebody please send me a
> sample xorg.conf for Intel Q35 Express chipset (384 MB video RAM) and a PNP
> Dell LCD monitor which is happiest @ (1440X900 resolution/ 32-bit colour /
> 60 Hz refresh) in Windows ? The keyboard and mouse are standard USB.

Just run "X -configure" and you should have one. :-)



> I assume the default file location remains unchanged : /etc/X11/xorg.conf

It's one of the valid locations, so: yes.



For a better explaination than mine, refer to the excellent
documentation in the FreeBSD handbook, ch. 5.4, to be found
here: 

http://www.freebsd.org/doc/en/books/handbook/x-config.html


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


Need sample xorg.conf for Intel Q35 Express chipset

2010-01-05 Thread manish jain
Hello All,

I just installed FreeBSD-8.0-i386 on my office system. I can't find anything
like the xf86cfg/xf86config tools for configuring X that used to come with
FreeBSD earlier. The only utility I could find is xorg-edit, but this is
nowhere as user-friendly as the earlier tools. Can somebody please send me a
sample xorg.conf for Intel Q35 Express chipset (384 MB video RAM) and a PNP
Dell LCD monitor which is happiest @ (1440X900 resolution/ 32-bit colour /
60 Hz refresh) in Windows ? The keyboard and mouse are standard USB.

I assume the default file location remains unchanged : /etc/X11/xorg.conf


Thanks for any help

Manish Jain
invalid.poin...@gmail.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: Installing FreeBSD 8 on an HP Pavilion TX2510US

2010-01-05 Thread Warren Block

On Tue, 5 Jan 2010, Warren Block wrote:

For the future, it's often helpful to identify the notebook you're using.


And now I see it was in the subject all along...

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


Tuning for very little RAM

2010-01-05 Thread Da Rock
Its been a while- work's has been keeping me very busy for months now.

I have revived an old laptop which has very little RAM, and it is
absolutely hammering the swap.

I'm trying to set it up as a demo for some skeptics with no money, so I
need email, internet (with plugins), openoffice, acrobat, and wine.

Aside from all that though, for the academics of it how can I help this
situation? The laptop has around 100MB RAM, with 16k free, and has a new
install of FreeBSD 8.0.

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: Installing FreeBSD 8 on an HP Pavilion TX2510US

2010-01-05 Thread Warren Block

On Tue, 5 Jan 2010, Ed Lerner wrote:


Hello,

I have been wanting to put FreeBSD on my laptop for some time now. I backed
up all of my files to a separate HD. I burned 8.0-RELEASE-i386-dvd1.iso to a
DVD and installed it on my laptop, removing all partitions so FreeBSD is my
sole OS. I also used the FreeBSD boot manager. I have attempted a number of
different settings variations and installations. My problem is that FreeBSD
seems to install properly, yet I cannot get to a GUI. I have added all ports
and specifically checked the GNOME packages. When I attempt to run 'gdm', I
get returned:

** (gdm-binary:878): WARNING **: Couldn't connect to system bus: Failed to
connect to socket /var/run/dbus/system_bus_socket: No such file or directory


You need to start the GNOME services (including dbus):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

Short form: add gnome_enable="YES" in /etc/rc.conf and restart.

For the future, it's often helpful to identify the notebook you're 
using.  You might find information on specific models here:


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

-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: Failed to Load Kernel

2010-01-05 Thread Programmer In Training
On 1/5/2010 9:15 AM, Kevin Kinsey wrote:
> Programmer In Training wrote:

>> FreeBSD/i386 bootstrap loader, Revision 1.1
>> (r...@almeida.cse.buffalo.edu, Sat Nov 21 14:05:36 UTC 2009)
>> Loading /boot/defaults/loader.conf
>> /boot/kernel/kernel text=0x88d680
>> readin failed
> 
> Could that be "readln"?  Been too long since I saw it.
> The typo below makes me assume you're typing from the
> view on the the monitor.  Bad news is, ev'ry time I've
> seen this, it's because of bad media.  I've not seen it
> for years, though, and then, it was always on floppy
> installs, which, I think, are the posterboy for "bad media"
> on Google or Wikipedia or summat.

No, it's readin.

And, with another disk burned (from the same batch of disks), from a
different drive (my CD-RW drive, this time, primary on the secondary
IDE). Same error. I think I'm going to buy a DVD. I don't trust the
burning software on my mom's laptop at this point, nor do I trust the
remaining disks I have.

I haven't, it should be noted, tried them on another computer. I'll do
so tomorrow to verify one way or another.

So until then I'll just lurk around for a while.
-- 
PIT



signature.asc
Description: OpenPGP digital signature


Re: copying a disk with ignoring errors

2010-01-05 Thread Mike Tancsa

At 08:30 PM 1/5/2010, Polytropon wrote:

recoverdisk


This one worked for me to recover my mum's borked Windows XP HD. It 
was able to recover enough, that I only needed to find one missing 
dll.  Prior to that, it wouldnt even boot up getting stuck on the 
failing parts of the disk.


---Mike




Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/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"


Installing FreeBSD 8 on an HP Pavilion TX2510US

2010-01-05 Thread Ed Lerner
Hello,

I have been wanting to put FreeBSD on my laptop for some time now. I backed
up all of my files to a separate HD. I burned 8.0-RELEASE-i386-dvd1.iso to a
DVD and installed it on my laptop, removing all partitions so FreeBSD is my
sole OS. I also used the FreeBSD boot manager. I have attempted a number of
different settings variations and installations. My problem is that FreeBSD
seems to install properly, yet I cannot get to a GUI. I have added all ports
and specifically checked the GNOME packages. When I attempt to run 'gdm', I
get returned:

** (gdm-binary:878): WARNING **: Couldn't connect to system bus: Failed to
connect to socket /var/run/dbus/system_bus_socket: No such file or directory

I am also very limited at the prompt, unable to use 'su' or 'sudo'. Logging
in as root does not fix the issue. My 'uname -a' results are as follows:

FreeBSD 8.0-RELEASE  FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

SIDE NOTE:

After trying for a few hours to get my FreeBSD install to work properly, I
attempted a number of other OS installations; all of which failed.

Windows XP
-- Failed before attemting installation with a BSOD
-- STOP: 0x007B (0xF78D2524, 0xC034, 0x, 0x)
-- This seems to be tied to the fact that the XP installation cannot
recognize a SATA HD and therefore thinks it has nothing to install to.
(Typical Microsoft)

Ubuntu 7.04
-- After overcoming the ACPI heat issue, I was given a message stating that
my "display" was incompatible. This laptop is a tablet PC, so maybe this is
also the issue with the FreeBSD GUI?

Backtrack 3
-- .Fatal error occured - Data for Live CD not found. Are you using
unsupported SCSI?
-- Again, possibly the same issue as XP?

Knopppix 4
-- Can't find KNOPPIX filesystem, sorry.

Both Backtrack and Knoppix threw errors while trying to use off CD, not
install.

I will deeply appreciate any help you can offer. I would very much like to
use FreeBSD but any OS at this point is appreciated. I am hoping I did not
brick my laptop in this process ...


-- 
Edward Lerner

Twitter : http://twitter.com/wkdown/
LinkedIn : http://www.linkedin.com/in/edlerner
___
freebsd-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: copying a disk with ignoring errors

2010-01-05 Thread Polytropon
On Tue, 05 Jan 2010 15:31:46 +0100, Christoph Kukulies  
wrote:
> It copies a disk sector by sector to a file (kind of dd), but ignores 
> errors, it just skips sectors it couldn't read (after a couple
> of retries). The result was, that one had a - albeit - worm-eaten - 
> image of the disk allowing to access the filesystem
> and getting to the important files with a little luck these not being 
> amongst the corrupted data.
> 
> Anyone knowing what this little tool was named? Something like diskcopy, 
> devcopy, I forgot.

>From my "list" of recovery-related tools:
dd_rescue
ddrescue
fetch -rR 
recoverdisk

I'm quite sure it was one of them.


-- 
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: 7.2-RELEASE-p5 and kernel panic with mpt driver

2010-01-05 Thread Adam Vande More
On Tue, Jan 5, 2010 at 3:59 PM, Colin Waring <
free...@southportcomputers.co.uk> wrote:

> My supfile uses the tag
> *default release=cvs tag=RELENG_7_2
>
> The docs on stable say to use RELENG_7 for which I assumed was out of date
> with the docs not always being updated frequently. Is there a different tag
> for 7.2 Stable or am I not understanding the different versions?
>
>
> Thanks,
> Colin.
>

Your understanding is incorrect.  RELENG_7 is stable, RELENG_7_0, RELENG_7_1
and RELENG_7_2 are snapshots of RELENG_7.  RELENG_X will always be more
current than RELENG_X_Y.  Trust the docs unless you explicitly know
differently.

-- 
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: 7.2-RELEASE-p5 and kernel panic with mpt driver

2010-01-05 Thread Colin Waring





It's a little difficult to tell from the lack of info you've provided, 
but I'd assume you're running a release to which the patch has not 
been applied.  To do this, you'd need to upgrade to 7-STABLE, 
8-RELEASE, or 8-STABLE.  CURRENT would work too, but that's not really 
a candidate for production servers and you should think hard about 
putting STABLE on one.  That being said, STABLE is generally quite 
stable and I don't have a problem with one in production provided they 
are reasonably tested before deployment.


--
Adam Vande More



My supfile uses the tag
*default release=cvs tag=RELENG_7_2

The docs on stable say to use RELENG_7 for which I assumed was out of 
date with the docs not always being updated frequently. Is there a 
different tag for 7.2 Stable or am I not understanding the different 
versions?


Thanks,
Colin.

___
freebsd-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: 7.2 equiv for usbconfig on 8.0?

2010-01-05 Thread Mike Tancsa

At 04:53 PM 1/5/2010, Steve Franks wrote:

How do I reset my usb on 7.2 when I insert a card in the internal
flash reader?  usbconfig works great on 8, but I have systems I cannot
upgrade at the moment...


I dont think there is a reset equiv, but I usually do something like

cat /dev/null > /dev/da[#]

where da# corresponds to the internal reader / device.

eg.
cat /dev/null > /dev/da1

---Mike



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/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"


7.2 equiv for usbconfig on 8.0?

2010-01-05 Thread Steve Franks
How do I reset my usb on 7.2 when I insert a card in the internal
flash reader?  usbconfig works great on 8, but I have systems I cannot
upgrade at the moment...

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


7.2-RELEASE-p5 and kernel panic with mpt driver

2010-01-05 Thread Colin

Hi folks.
I updated my server from 7.0 to 7.2 over the Christmas period (sources 
updated to 26th Dec I think).


I have long suspected there was an issue with a hard drive in the server 
but the hosts told me that the useless messages logged by 7.0 were 
normal. Well it turns out one of the drives failed today and caused the 
array to keep changing status. This in turn caused about 20 kernel 
panics in until the hosts pulled the drive and put a new one.


I noted someone else talking about this back in May on the 
FreeBSD-stable list and the outcome seemed to be that a patch was rolled 
in but it would appear that whatever this patch is - I don't have it!


Can anyone point me in the right direction?
Thanks,
Colin.
___
freebsd-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: Problems building en-openoffice.org-GB-3.1.1 from ports

2010-01-05 Thread Mike Clarke
On Sunday 03 January 2010, Matthew Seaman wrote:

> Mike Clarke wrote:
> > After pondering a bit more over this problem I think I know where
> > the 6.4 stuff may have come from. After I built the base system I
> > copied various useful files from /root on the 6.4 system,
> > including /root/.cshrc which contained a line setting PACKAGESITE
> > to
> > ftp://ftp2.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-6.4-relea
> >se/All/ and it's quite possible that I ran portinstall -P for some
> > ports before I got round to changing this to point to packages-8.
>
> Yep.  This would stick a fairly hefty spanner in the works.

It certainly made quite a mess but it's surprising how well the system 
has been running with all this damage.

Thanks for your comments and suggestions regarding the rebuilding 
process. Although the procedure I had in mind was similar some of your 
suggestions hadn't occurred to me and are much appreciated, I would 
almost certainly have overlooked /compat/linux and the need to re-run 
config-recursive.

I've copied my system over to a spare PC so I can rebuild all the ports 
on the original machine without loosing access to a (sort of) working 
system. All the ports have been deinstalled from the original machine 
and I will now start work on re-installing the ports. Rather than run a 
single massive upgrade job I'll follow my normal practise of getting 
xorg and my nvidia driver working first then install the rest in a big 
batch.

-- 
Mike Clarke
___
freebsd-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: Failed to Load Kernel

2010-01-05 Thread Programmer In Training
On 1/5/2010 9:15 AM, Kevin Kinsey wrote:
> Programmer In Training wrote:
> 
> Hello, P I T (Joseph?),

Joseph is fine. (:

> 
> I'm rather astounded that no one has responded to your
> email as of yet.  IANAE, but here goes:

I'm used to it.

> 
> 
>> The message I'm getting (wish I could just screen cap and put it up on
>> the web):
>>
>> FreeBSD/i386 bootstrap loader, Revision 1.1
>> (r...@almeida.cse.buffalo.edu, Sat Nov 21 14:05:36 UTC 2009)
>> Loading /boot/defaults/loader.conf
>> /boot/kernel/kernel text=0x88d680
>> readin failed
> 
> Could that be "readln"?  Been too long since I saw it.
> The typo below makes me assume you're typing from the
> view on the the monitor.  Bad news is, ev'ry time I've

You assume correctly

> seen this, it's because of bad media.  I've not seen it

Would an md5 check of the files on their yield any clues as to if the
media itself is bad?

> for years, though, and then, it was always on floppy
> installs, which, I think, are the posterboy for "bad media"
> on Google or Wikipedia or summat.

It could be an l, I just assumed a capital "I", I imagine.

> 
>> elf32_loadimage: read failed
>> Unable to lad a kernel!
>> /
>> Hit [Enter] to boot immediately, or any other key for command prompt.
>> Booting [/boot/kernel/kernel]...
>> can't load 'kernel'
>>
>> As far as I can tell, the cd burned fine (I did the burn on a Toshiba
>> notebook running Vista, was able to browse the folders just fine,
>> everything looked in order).
> 
> I'm guessing there's some issue we're both unaware of.  Perhaps
> someone with a better grok on the situation will post.
> 
>> Do I need to use the bootonly.iso as well? What am I missing here? I
>> know my drive that I'm booting from is in perfect working order (DVD
>> Super Multi-Format DVD+/-R(W), HP, less then a year old with no problems
>> prior).
> 
> You could try the bootonly,iso, but the disc you are using does
> the same thing, and more.  Bootonly is just the installer program,
> and is intended to be used when you want to installer over the network,
> like in the old floppy days.  Disc1 should have the installer and
> all the necessary "chunks" to get a working environment without
> a network connection.
> 
>> All the hardware up to this point appears to be detected just fine.
> 
> That's good to hear.  As I mentioned, hopefully someone else
> will have a better clue on this, as I've not had the problem
> for years.  I've also not burned a CD for FreeBSD on Windows
> *ever*, so I'm thinking it could be related to that, somehow

This won't be the first time I've had bad media issues. If that's the
case, reburning it from a disc from the same stack probably won't yield
different results (and I'm not insane). I hate to burn it with one of my
light scribe dvd-r's (the only ones I have at the moment) if it will
give me the same problem, though.

> or other, despite the fact that you can "see" everything.  But
> then again, maybe I just don't trust Windows programs ;-)

You and me both!

-- 
PIT



signature.asc
Description: OpenPGP digital signature


Re: re-write is this booting info correct?

2010-01-05 Thread Bob Johnson
On 12/28/09, Fbsd1  wrote:
>
>
> How is this rewrite correct?
[...]
>
> corrupted by a virus. Microsoft/Windows provides no native method of
> selecting which partition to boot from in a multiple partition allocation.

Windows NT and XP both use a built-in boot loader that can be used to
select the boot partition. You can use it to dual-boot Windows and
FreeBSD, or multiple versions of Windows (or both). There is a FreeBSD
FAQ that explains how to configure it at
(http://www.freebsd.org/doc/en/books/faq/disks.html#NT-BOOTLOADER).
Basically, you edit the c:\boot.ini file and do a bit of other magic.

In Vista and Windows 7 it changed to some new method that can still
boot your choice of partitions, but the native configuration tool
provided can only configure it to boot different versions of Windows.
To configure it to boot FreeBSD you need a third-party tool (EasyBCD
is popular).

-- 
-- Bob Johnson
___
freebsd-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: Rename pictures in the command-line interface

2010-01-05 Thread Karl Vogel
>> On Mon, 04 Jan 2010 15:52:09 -0500, 
>> Nathan Vidican nat...@vidican.com said:

N> Personally I find things like this a LOT easier to do in Perl...

   Ditto.  Here's a more generic version which uses regular expressions to
   rename files:
 http://www.pobox.com/~vogelke/src/toolbox/perl/rename.txt

   I put up most of the scripts in my ~/bin directory for examination here,
   if anyone's interested:
 http://www.pobox.com/~vogelke/src/toolbox/

   The descriptions are NOT complete, but they're getting there.

-- 
Karl Vogel  I don't speak for the USAF or my company

The tides are a fight between the Earth and moon.  All water tends
towards the moon, because there is no water in the moon, and nature
abhors a vacuum.  I forget where the sun joins in this fight.
--submitted to science and health teachers, Jr High thru college
___
freebsd-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: copying a disk with ignoring errors

2010-01-05 Thread Bob Johnson
On 1/5/10, Yuri Pankov  wrote:
> On Tue, Jan 05, 2010 at 03:31:46PM +0100, Christoph Kukulies wrote:
>> I recall a case when I had a hard disk that had got bad sectors and
>> it wasn't accessible through normal mounting anymore.
>> Then a tool came into the game that - I believe - Poul Henning had
>> recommended or written for this purpose.
>>
>> It copies a disk sector by sector to a file (kind of dd), but
>> ignores errors, it just skips sectors it couldn't read (after a
>> couple
>> of retries). The result was, that one had a - albeit - worm-eaten -
>> image of the disk allowing to access the filesystem
>> and getting to the important files with a little luck these not
>> being amongst the corrupted data.
>>
>> Anyone knowing what this little tool was named? Something like
>> diskcopy, devcopy, I forgot.
>>
>> --
>> Christoph
>
> dd conv=noerror?

I think you need sync also. E.g.

dd if=/dev/ad3 of=disk.img bs=512 conv=sync,noerror

will replace the unreadable blocks with blocks of NULs.

-- 
-- Bob Johnson
___
freebsd-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: Failed to Load Kernel

2010-01-05 Thread Chad Perrin
On Tue, Jan 05, 2010 at 09:15:29AM -0600, Kevin Kinsey wrote:
> 
> I'm rather astounded that no one has responded to your
> email as of yet.  IANAE, but here goes:

For my part -- I just hadn't seen it before this.  I'm surprised there
aren't more replies too, though.


> 
> Could that be "readln"?  Been too long since I saw it.
> The typo below makes me assume you're typing from the
> view on the the monitor.  Bad news is, ev'ry time I've
> seen this, it's because of bad media.  I've not seen it
> for years, though, and then, it was always on floppy
> installs, which, I think, are the posterboy for "bad media"
> on Google or Wikipedia or summat.

It could just be a bad burn.  It happens sometimes, even with a good ISO
for the disk.  Burning again on a different disk might make the
difference, if that's the case.


> 
> I'm guessing there's some issue we're both unaware of.  Perhaps
> someone with a better grok on the situation will post.

Alas, I don't know anything more about the situation than you do, I
guess.  I hope someone else has more information.


> 
> That's good to hear.  As I mentioned, hopefully someone else
> will have a better clue on this, as I've not had the problem
> for years.  I've also not burned a CD for FreeBSD on Windows
> *ever*, so I'm thinking it could be related to that, somehow
> or other, despite the fact that you can "see" everything.  But
> then again, maybe I just don't trust Windows programs ;-)

I sympathize.  All my FreeBSD CDs have been burned on Debian or FreeBSD.

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


pgpZlLBm6RMuI.pgp
Description: PGP signature


Re: copying a disk with ignoring errors

2010-01-05 Thread Yuri Pankov
On Tue, Jan 05, 2010 at 03:31:46PM +0100, Christoph Kukulies wrote:
> I recall a case when I had a hard disk that had got bad sectors and
> it wasn't accessible through normal mounting anymore.
> Then a tool came into the game that - I believe - Poul Henning had
> recommended or written for this purpose.
> 
> It copies a disk sector by sector to a file (kind of dd), but
> ignores errors, it just skips sectors it couldn't read (after a
> couple
> of retries). The result was, that one had a - albeit - worm-eaten -
> image of the disk allowing to access the filesystem
> and getting to the important files with a little luck these not
> being amongst the corrupted data.
> 
> Anyone knowing what this little tool was named? Something like
> diskcopy, devcopy, I forgot.
> 
> --
> Christoph

dd conv=noerror?


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


Re: re-installing a port to a specific version

2010-01-05 Thread Paul Macdonald

On 05/01/2010 17:52, bsd wrote:

Hello,

I am re-installing a server where I have an old version of slony installed (db 
replication for postgresql)…
I am keeping my port tree up to date with portmaster (I have added an +IGNOREME 
file in order to avoid updates on this specific port).
I have to change server, a new server has been installed with a fresh BSD 
install.

I want to know how i can copy, or re-install this specific port…
I have in my possession :

1. the distfiles located on the running server in /usr/ports/distfiles/slony.xx
2. a newer version of the Makefile (couple of version ahead)…


Any idea or clue on how to reinstall this port to this specific version.

Thx.



have you tried portdowngrade?

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


re-installing a port to a specific version

2010-01-05 Thread bsd
Hello, 

I am re-installing a server where I have an old version of slony installed (db 
replication for postgresql)… 
I am keeping my port tree up to date with portmaster (I have added an +IGNOREME 
file in order to avoid updates on this specific port). 
I have to change server, a new server has been installed with a fresh BSD 
install. 

I want to know how i can copy, or re-install this specific port… 
I have in my possession : 

1. the distfiles located on the running server in /usr/ports/distfiles/slony.xx
2. a newer version of the Makefile (couple of version ahead)… 


Any idea or clue on how to reinstall this port to this specific version. 

Thx. 



P.S. I know there is a solution that consist to sync the port tree to the 
specific date (of version xxx of slony) and then compile, but this is quite 
heavy manipulation… If I could avoid that, It'd be great; 



Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


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


Re: Re: LSILogic SAS/SATA Adapter performance under FreeBSD 8.0 and 7.2 ( 20!!! times slower then in RHEL )

2010-01-05 Thread Baginski Darren
Same mean I had initialy FreeBSD on it, not it's reformated under RHEL.
I can reformat back to FreeBSD 8.0 or 7.2 to perform additional tests.


05.01.10, 19:58, "Boris Samorodov" :

> On Tue, 05 Jan 2010 18:46:06 +0300 Baginski Darren wrote:
>  
>  > Now is the same server under RHEL5
>  
>  Is the server really the *same* or *alike*? I've got such difference
>  in performance between similar RAID cards with and without BBU (battery
>  backup unit).
>  
>  -- 
>  WBR, Boris Samorodov (bsam)
>  Research Engineer, http://www.ipt.ru Telephone & Internet SP
>  FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
>  
>  

-- 
Здесь спама нет http://mail.yandex.ru/nospam/sign
___
freebsd-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: LSILogic SAS/SATA Adapter performance under FreeBSD 8.0 and 7.2 ( 20!!! times slower then in RHEL )

2010-01-05 Thread Boris Samorodov
On Tue, 05 Jan 2010 18:46:06 +0300 Baginski Darren wrote:

> Now is the same server under RHEL5

Is the server really the *same* or *alike*? I've got such difference
in performance between similar RAID cards with and without BBU (battery
backup unit).

-- 
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: copying a disk with ignoring errors

2010-01-05 Thread tk
On Tue, Jan 05, 2010 at 03:31:46PM +0100, Christoph Kukulies wrote:

Hi,

> It copies a disk sector by sector to a file (kind of dd), but ignores 
> errors, it just skips sectors it couldn't read (after a couple
> of retries). The result was, that one had a - albeit - worm-eaten - 

I think you mean dd_rescue or GNU ddrescue. I personally have used the
latter in a similar case.

Regards,
Thomas
___
freebsd-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: Rename pictures in the command-line interface

2010-01-05 Thread P.
Ter, 2010-01-05 às 15:35 +0100, herbert langhans escreveu:
> Hi Dario,
> another way is to use batren - its a shell script and should work out of the 
> box on FreeBSD:
> http://batren.sourceforge.net/cgi-bin/blis.cgi/Home
> 
> Cheers
> herb langhans

Thank you Herbert, sounds a interesting tool. I'm going to try it.
Now I'm also using Midnight Commander suggested by Polytropon, and that
makes my life alot easer.

More I use FreeBSD, more I like it! :)

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


LSILogic SAS/SATA Adapter performance under FreeBSD 8.0 and 7.2 ( 20!!! times slower then in RHEL )

2010-01-05 Thread Baginski Darren
Hi!

I have a Dell 1435 with folowing LSI config:

mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares High-Priority-ReSync )
mpt0:vol0(mpt0:0:0): Using Spare Pool: 0
mpt0:vol0(mpt0:0:0): 2 Members:
  (mpt0:1:32:0): Primary Online
  (mpt0:1:1:0): Secondary Online
mpt0:vol0(mpt0:0:0): RAID-1 - Optimal
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:0:0)
(mpt0:vol0:1): Online
(mpt0:vol0:0): Physical (mpt0:0:32:0), Pass-thru (mpt0:1:1:0)
(mpt0:vol0:0): Online
da0 at mpt0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-5 device 
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C)


Here is simple test

[r...@freebsd tmp]# dd if=/dev/zero of=1g bs=1M count=1000 conv=sync
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 196.386202 secs (5339357 bytes/sec)

[r...@freebsd tmp]# time $(dd if=/dev/zero of=1g bs=1M count=1000 ; sync)  
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 198.980241 secs (5269749 bytes/sec)

real3m24.876s
user0m0.002s
sys 0m1.869s

So I've got _only_ 5Megabytes per second.
Now is the same server under RHEL5

[r...@rhel5 tmp]# dd if=/dev/zero of=1g bs=1M count=1000 conv=sync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 5.34952 seconds, 196 MB/s

[r...@rhel5 tmp]# time $(dd if=/dev/zero of=1g bs=1M count=1000 ; sync)
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 4.70584 seconds, 223 MB/s

real0m42.567s
user0m0.007s
sys 0m6.038s

Both systems default install, no tweaking or custom kernels.
FreeBSD 8.0-release is on UFS, RHEL is on ext3.
I've tried same test on zfs/ufs FreeBSD 7.2 and 8.0 and got always about 
6megabytes per sec.

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


Re: FreeBSD 2.0.5 Release

2010-01-05 Thread nvidican
Confirmed; you should only need boot.flp to boot to do an install on  
FreeBSD 2.0.5, (just tried with older 2.2.2 disks I had). root.flp is  
the 'live/fixit' boot image IIRC.


--
Nathan Vidican
nat...@vidican.com

Quoting Paul Shi :


Actually, I do have a floppy drive on my computer (what a piece of old
junk...)

So I suppose that I do need to write content in /floppies/ directory,
including root.flp, boot.flp and 00_TRANS.TBL, into a floppy disc while
having install 2.0.5-install.iso in CD drive, according to Warren and
Andrew. I just found a boot.flp in /floppies directory and I am wondering if
I could boot from the floppy disc this time? I probably will try it first.

Again, thank you guys so much! All of you have been so warmhearted and I
really appreciate it!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong


On Tue, Jan 5, 2010 at 12:39 PM, Warren Block  wrote:


On Tue, 5 Jan 2010, Paul Shi wrote:

 Thank you guys! At least, I got some idea where I should start. Install
manual has a section "Install from DOS partition" It said that I   
should copy

the /floppies/ to a new folder in hard disk named /FREEBSD/.



Well, yes, but you're going to have to format the hard drive to DOS first.
 And still figure out a way to get FreeBSD to boot.


 So I have following thoughts and correct me if I am wrong. I do NOT need

an actual floppy disk. But I could make boot from Floppy Disk the first
priority in boot order and system will find the root.flp in /floppies/ and
start installation.



They might exist, but I've never met a BIOS that could boot from a floppy
image.  CDs can do that, if the CD image is set up for it.

If you have a floppy drive, you should probably install from floppies at
least once.  2.0.5 doesn't look like it took that many, either.


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





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


Re: FreeBSD 2.0.5 Release

2010-01-05 Thread nvidican

Paul,

You'll need either a *nix machine with 'dd' or rawwrite.exe (should be  
on the cd image in the /tools/ folder). You need to write 'root.flp'  
to a floppy disk similar to the way you'd write an .iso image to a  
cdrom.


dd if=root.flp of=/dev/fd0<- assuming existing FreeBSD box,

or

rawwrite.exe root.flp a:  <- from a dos/windows box

Depending on the FreeBSD release, (IIRC 2.0.5 only requires one),  
you'd need one or two disks for the .flp images.


--
Nathan Vidican
nat...@vidican.com

Quoting Paul Shi :


Actually, I do have a floppy drive on my computer (what a piece of old
junk...)

So I suppose that I do need to write content in /floppies/ directory,
including root.flp, boot.flp and 00_TRANS.TBL, into a floppy disc while
having install 2.0.5-install.iso in CD drive, according to Warren and
Andrew. I just found a boot.flp in /floppies directory and I am wondering if
I could boot from the floppy disc this time? I probably will try it first.

Again, thank you guys so much! All of you have been so warmhearted and I
really appreciate it!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong


On Tue, Jan 5, 2010 at 12:39 PM, Warren Block  wrote:


On Tue, 5 Jan 2010, Paul Shi wrote:

 Thank you guys! At least, I got some idea where I should start. Install
manual has a section "Install from DOS partition" It said that I   
should copy

the /floppies/ to a new folder in hard disk named /FREEBSD/.



Well, yes, but you're going to have to format the hard drive to DOS first.
 And still figure out a way to get FreeBSD to boot.


 So I have following thoughts and correct me if I am wrong. I do NOT need

an actual floppy disk. But I could make boot from Floppy Disk the first
priority in boot order and system will find the root.flp in /floppies/ and
start installation.



They might exist, but I've never met a BIOS that could boot from a floppy
image.  CDs can do that, if the CD image is set up for it.

If you have a floppy drive, you should probably install from floppies at
least once.  2.0.5 doesn't look like it took that many, either.


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





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


copying a disk with ignoring errors

2010-01-05 Thread Christoph Kukulies
I recall a case when I had a hard disk that had got bad sectors and it 
wasn't accessible through normal mounting anymore.
Then a tool came into the game that - I believe - Poul Henning had 
recommended or written for this purpose.


It copies a disk sector by sector to a file (kind of dd), but ignores 
errors, it just skips sectors it couldn't read (after a couple
of retries). The result was, that one had a - albeit - worm-eaten - 
image of the disk allowing to access the filesystem
and getting to the important files with a little luck these not being 
amongst the corrupted data.


Anyone knowing what this little tool was named? Something like diskcopy, 
devcopy, I forgot.


--
Christoph

___
freebsd-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]: BUG setfib

2010-01-05 Thread Коньков Евгений
Здравствуйте, Ihor.

Вы писали 4 января 2010 г., 20:44:18:

IP> Коньков Евгений wrote:
>> Здравствуйте, Freebsd-questions.
>> 
>> kes# setfib 1 get_last.pl
>> setfib: get_last.pl: No such file or directory
>> kes# pwd
>> /usr/home/kes/
>> Для продолжения нажмите любую клавишу...
>> kes# setfib -1 /usr/home/kes/get_last.pl
>> run is OK!
>> 
>> setfib must use current directory to run programm
>> or at least must supply option to ON/OFF this behavior
IP> why do you think setfib MUST be such an exception?
IP> you can do setfib 1 ./bla.pl or tweak your PATH

>> 
>> so I can run:
>> kes# setfib -c -1 get_last.pl
>> 

You are right. I miss that %-(
Thank you

-- 
С уважением,
 Коньков  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: Failed to Load Kernel

2010-01-05 Thread Kevin Kinsey

Programmer In Training wrote:

Hello, P I T (Joseph?),

I'm rather astounded that no one has responded to your
email as of yet.  IANAE, but here goes:




The message I'm getting (wish I could just screen cap and put it up on
the web):

FreeBSD/i386 bootstrap loader, Revision 1.1
(r...@almeida.cse.buffalo.edu, Sat Nov 21 14:05:36 UTC 2009)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x88d680
readin failed


Could that be "readln"?  Been too long since I saw it.
The typo below makes me assume you're typing from the
view on the the monitor.  Bad news is, ev'ry time I've
seen this, it's because of bad media.  I've not seen it
for years, though, and then, it was always on floppy
installs, which, I think, are the posterboy for "bad media"
on Google or Wikipedia or summat.


elf32_loadimage: read failed
Unable to lad a kernel!
/
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
can't load 'kernel'

As far as I can tell, the cd burned fine (I did the burn on a Toshiba
notebook running Vista, was able to browse the folders just fine,
everything looked in order).


I'm guessing there's some issue we're both unaware of.  Perhaps
someone with a better grok on the situation will post.


Do I need to use the bootonly.iso as well? What am I missing here? I
know my drive that I'm booting from is in perfect working order (DVD
Super Multi-Format DVD+/-R(W), HP, less then a year old with no problems
prior).


You could try the bootonly,iso, but the disc you are using does
the same thing, and more.  Bootonly is just the installer program,
and is intended to be used when you want to installer over the network,
like in the old floppy days.  Disc1 should have the installer and
all the necessary "chunks" to get a working environment without
a network connection.


All the hardware up to this point appears to be detected just fine.


That's good to hear.  As I mentioned, hopefully someone else
will have a better clue on this, as I've not had the problem
for years.  I've also not burned a CD for FreeBSD on Windows
*ever*, so I'm thinking it could be related to that, somehow
or other, despite the fact that you can "see" everything.  But
then again, maybe I just don't trust Windows programs ;-)

Kevin Kinsey
___
freebsd-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: Updating from 7.2-STABLE FreeBSD 7.2-STABLE #901 to 8-release

2010-01-05 Thread eculp

Quoting Andreas Rudisch :


On Mon, 04 Jan 2010 19:14:45 -0600
eculp  wrote:


I intend to first upgrade my old, but up to date, 7.2-STABLE FreeBSD
7.2-STABLE #901 to the latest 8.0 release



I want to conserve as much as I can so I thought that I might give
freebsd-update upgrade -r 8.0-RELEASE a try.


freebsd-update does not work on STABLE branches. You can only track a
RELEASE branch and a few Beta/RC releases with it.


I am trying to follow the instructions at
http://www.freebsd.org/releases/8.0R/announce.html



From the first paragraph:

"Systems running 7.[012]-RELEASE, 8.0-BETA[1234], or 8.0-RC[123] can
upgrade"


Looks like I was reading what I wanted to read and not what was  
written.  Sorry.  Thanks for the the wakeup call.


Have a great day,

ed



Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565




___
freebsd-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: tweak FreeBSD 8 for optimal java/weka performance

2010-01-05 Thread Dino Vliet


--- On Mon, 1/4/10, Greg Lewis  wrote:


From: Greg Lewis 
Subject: Re: tweak FreeBSD 8 for optimal java/weka performance
To: "Dino Vliet" 
Cc: freebsd-questions@freebsd.org, gle...@freebsd.org, si...@olofsson.de
Date: Monday, January 4, 2010, 11:28 PM


On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
> Dear freebsd people,
> ?
> in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core
> machine and use the system as a application server. I will install
> the /usr/ports/textproc/weka toolkit, a program written in java. I
> will use the diablo jdk port in /usr/ports/java.
> ?
> Due to the nature of the research I will be doing I will need to max
> out my machine for optimal java performance. For example, I will use
> the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB.
> ?
> Are there any other tweaks I should think of to get as much RAM for
> my java programs?
> Like building custom and small kernel, in order to minimize te size
> of the kernel?
> ?

I'd recommend using openjdk6 instead of Diablo if you want to maximise
performance.  Diablo is getting old and isn't available natively for 8.x
(its runs as a compatible binary with the compat7x port installed).

IIRC there is an option to tell the JVM to use as much RAM as possible,
but I don't recall it off the top of my head.  There should be some docs
on this on the main Java site at Sun and they will be equally relevant to
FreeBSD as they are to any other OS.

-- 
Greg Lewis                          Email   : gle...@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : gle...@freebsd.org
Thanks for the advice, but isn't weka depandent on diablo-jdk-1.6.0.07.02_7, so 
I guess I'll have to do something (change makefile to what?) before I install 
weka? 
 
Thanks
Dino



___
freebsd-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: Qt4: Help, can not install or update any QT lib/app anymore!

2010-01-05 Thread Dima Panov
On Tuesday 05 January 2010 23:02:25 O. Hartmann wrote:
> Dear Sirs,
> on a very 'production'-sensitive box I get an error whenever I try to
> install any qt4-related application or library. After deinstalling every
> qt4-lib/-app, and deleting every /usr/local/*/qt4 directory, I'm
> incapable of installing anything related to Qt4, even qt4-corelib fails.
> 
> I need those qt4-stuff for several applications and would appreciate any
> help. Please email, I'm not subscriber of the -question'-mailinglist.
> 
> Thanks in advance,
> 
> Oliver
> thusnelda# make install clean
> ===>   qt4-corelib-4.5.3 depends on package: qt4-qmake>=4.5.3 - found
> ===>   qt4-corelib-4.5.3 depends on package: qt4-moc>=4.5.3 - not found
> ===>Verifying install for qt4-moc>=4.5.3 in /usr/ports/devel/qt4-moc
> ===>  Building for qt4-moc-4.5.3
> [...]
> 
> c++ -c -O2 -pipe -march=nocona -fno-strict-aliasing -O2 -pipe
> -march=nocona -fno-strict-aliasing -Wall -W -DQT_BOOTSTRAPPED
> -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII
> -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY
> -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM
> -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include
> -I../../../include/QtCore -I../../../include/QtXml -I/usr/local/include
> -o .obj/release-static/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::openFh(QFlags, FILE*)':
> ../../corelib/io/qfsfileengine.cpp:309: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::posFdFh() const':
> ../../corelib/io/qfsfileengine.cpp:531: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::seekFdFh(qint64)':
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readLineFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:707: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:707: error: expected `;' before 'oldPos'
> ../../corelib/io/qfsfileengine.cpp:712: error: 'oldPos' was not declared
> in this scope
> ../../corelib/io/qfsfileengine.cpp:712: error: 'QT_FTELL' was not
> declared in this scope
> *** Error code 1
> 
> Stop in
> /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/bootstr
> ap. *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-moc.
> *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-corelib.
> 
According to this log, your system uses qmake from qt33 package, not qmake-qt4, 
so your system is polluted. At first, please update your portstree, try to 
deinstall qt33 
also and reistall qt4 apps again

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


signature.asc
Description: This is a digitally signed message part.


Qt4: Help, can not install or update any QT lib/app anymore!

2010-01-05 Thread O. Hartmann

Dear Sirs,
on a very 'production'-sensitive box I get an error whenever I try to 
install any qt4-related application or library. After deinstalling every 
qt4-lib/-app, and deleting every /usr/local/*/qt4 directory, I'm 
incapable of installing anything related to Qt4, even qt4-corelib fails.


I need those qt4-stuff for several applications and would appreciate any 
help. Please email, I'm not subscriber of the -question'-mailinglist.


Thanks in advance,

Oliver
thusnelda# make install clean
===>   qt4-corelib-4.5.3 depends on package: qt4-qmake>=4.5.3 - found
===>   qt4-corelib-4.5.3 depends on package: qt4-moc>=4.5.3 - not found
===>Verifying install for qt4-moc>=4.5.3 in /usr/ports/devel/qt4-moc
===>  Building for qt4-moc-4.5.3
[...]

c++ -c -O2 -pipe -march=nocona -fno-strict-aliasing -O2 -pipe 
-march=nocona -fno-strict-aliasing -Wall -W -DQT_BOOTSTRAPPED 
-DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII 
-DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY 
-DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM 
-DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include 
-I../../../include/QtCore -I../../../include/QtXml -I/usr/local/include 
-o .obj/release-static/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp
../../corelib/io/qfsfileengine.cpp: In member function 'bool 
QFSFileEnginePrivate::openFh(QFlags, FILE*)':
../../corelib/io/qfsfileengine.cpp:309: error: 'QT_FSEEK' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp: In member function 'qint64 
QFSFileEnginePrivate::posFdFh() const':
../../corelib/io/qfsfileengine.cpp:531: error: 'QT_FTELL' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp: In member function 'bool 
QFSFileEnginePrivate::seekFdFh(qint64)':
../../corelib/io/qfsfileengine.cpp:561: error: 'QT_OFF_T' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp:561: error: 'QT_FSEEK' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp: In member function 'qint64 
QFSFileEnginePrivate::readFdFh(char*, qint64)':
../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FTELL' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FSEEK' was not 
declared in this scope
../../corelib/io/qfsfileengine.cpp: In member function 'qint64 
QFSFileEnginePrivate::readLineFdFh(char*, qint64)':
../../corelib/io/qfsfileengine.cpp:707: error: 'QT_OFF_T' was not 
declared in this scope

../../corelib/io/qfsfileengine.cpp:707: error: expected `;' before 'oldPos'
../../corelib/io/qfsfileengine.cpp:712: error: 'oldPos' was not declared 
in this scope
../../corelib/io/qfsfileengine.cpp:712: error: 'QT_FTELL' was not 
declared in this scope

*** Error code 1

Stop in 
/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/bootstrap.

*** Error code 1

Stop in /usr/ports/devel/qt4-moc.
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.

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


portmaster -a question

2010-01-05 Thread kalpin
Hello all,

Is it possible to run portmaster -a with other options to recompile all
dependency without interactive? Of course accept default options for all
modules.

Thank you

Kalpin E. Silaen

___
freebsd-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: Updating from 7.2-STABLE FreeBSD 7.2-STABLE #901 to 8-release

2010-01-05 Thread Andreas Rudisch
On Mon, 04 Jan 2010 19:14:45 -0600
eculp  wrote:

> I intend to first upgrade my old, but up to date, 7.2-STABLE FreeBSD  
> 7.2-STABLE #901 to the latest 8.0 release

> I want to conserve as much as I can so I thought that I might give
> freebsd-update upgrade -r 8.0-RELEASE a try.

freebsd-update does not work on STABLE branches. You can only track a
RELEASE branch and a few Beta/RC releases with it.

> I am trying to follow the instructions at
> http://www.freebsd.org/releases/8.0R/announce.html

>From the first paragraph:
"Systems running 7.[012]-RELEASE, 8.0-BETA[1234], or 8.0-RC[123] can
upgrade"

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgp57onOdNsXA.pgp
Description: PGP signature


Re: tweak FreeBSD 8 for optimal java/weka performance

2010-01-05 Thread Simon Olofsson
On Mon, 2010-01-04 at 14:28 -0800, Greg Lewis wrote:
> On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
> > Are there any other tweaks I should think of to get as much RAM for
> > my java programs?
>
> IIRC there is an option to tell the JVM to use as much RAM as possible,
> but I don't recall it off the top of my head.  There should be some docs
> on this on the main Java site at Sun and they will be equally relevant to
> FreeBSD as they are to any other OS.

http://java.sun.com/javase/technologies/performance.jsp
is a good starting point.
There are many articles and books available for maximizing Java
performance. Maybe the weka people also have some advice.

Regards
Simon

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