nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean

I have nanoBSD

 uname -a
FreeBSD embeddedx86.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue May
22 11:04:12 PDT 2012 root@P9X79.tddhome:/usr/obj/nanobsd.TS5700
/i386.i386/usr/src/sys/TS5700  i386


gcc 4.2.1 is installed, but, missing libgcc.a.  libcompiler_rt.a is present.

 gcc -I../../include -c lcd_dio.c
gcc -I../../include  -o lcd_dio lcd_dio.o
/usr/bin/ld: cannot find -lgcc
*** Error code 1

If I link libgcc.a to libcompiler_rt.a the build works.

How do I get either
 1. gcc to use libcompiler_rt.a
 -or-
 2. the nanoBSD build to create or link to libgcc.a

Tom Dean
___
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: nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean

On 05/23/12 23:09, Thomas D. Dean wrote:

Sorry to reply to my own post.

I had some old obj files in the directory.

cleaning out the directories removed the problem.

Tom Dean
___
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: nanoBSD Missing libgcc.a

2012-05-24 Thread Thomas D. Dean

On 05/23/12 23:09, Thomas D. Dean wrote:

I have nanoBSD


Please ignore my post about cleaning directories.

The problem still exists.

I need to compile on the nanoBSD system - it is the only 32-bit system, now.

How do I get either
 1. gcc to use libcompiler_rt.a
 -or-
 2. the nanoBSD build to create or link to libgcc.a

For an immediate fix, I can mount the partition rw and create a link
ln -s libcompile_rt.a libgcc.a

Tom Dean
___
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


Cost Effective Natural S.E.O.Services

2012-05-24 Thread sonu


Hello,

I am Poonam Mourya Marketing Executive.

We have a S.E.O. discount offer going for the following package: -

Monthly Task and responsibilities: -

150 Directory submissions
50 Social Bookmarking Submissions
20 Article Submissions (1 article x 20 article directories)
10 Press Release Submissions (1 press release x 10 press release websites)
15 One Way back links with mix PR
15 Blog Submissions
5 Search Engine Submissions
1 Blog Creation
1 unique, 400 word article written
1 unique, 400 word press releases
Meta tags changes suggestions
Keyword research
Competitor Analysis
Heading tag changes
Alt tag changes
Interlinking wherever required.
Keyword density in site content.
HTML Site Map
XML site map and Submission in webmaster tool


Our Best rates for this are: - USD 149 per month per project at beginning of 
every month.


Please let us know in case you are interested.

Thanks  Regards
 Poonam
Online Marketing Manager
Ebriks InfoTech 


___
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


virtual scrum board

2012-05-24 Thread Matthias Apitz

Hi,

I was looking in our ports collection for some kind of virtual scrum
board with the following requirements:

- allows a team over the network to see the current page of all
  'sticker' for the tasks, and make changes (if in web browser even better)
- allows to put tasks (a few words) as 'stickers' on the board
- have columns (each one for each team member)
- have areas like: waiting, checked-out, done

Any ideas? Thanks

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: LRO support for IPv6

2012-05-24 Thread Bjoern A. Zeeb

On 23. May 2012, at 08:22 , Venkat Duvvuru wrote:

 Folks,
 Can somebody please explain me why tcp checsum calculation is mandated in
 the freebsd network stack (tcp_input---in6_cksum) albeit the card supports
 it?
 
 Probably Steve is the right person who can answer this.

Just for public reference;  we talked offline.  The code simply was never done
and let's see how much of it I can get into the tree the next 48 hours.

/bz

-- 
Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!

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


How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner


I need to rollback x.org to a point that tty switching worked.  I'm dead in
the water when stuck in x.org.

How do I do that?  I suppose the whole ports tree has to go back since
x.org drags in a bunch of stuff without doing anything itself.

I'm on 8.3 amd64.

PS: the WITHOUT_NOUVEAU switch does not exist anymore because nouveau
doesn't exist anymore.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Wed, 23 May 2012, Warren Block wrote:


On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the value 
assigned by the first.  The first alone is preferable because DHCP will do 
other setup, like the route and resolve.conf.



Actually, it seems DCHP won't do it alone.  But doing without DCHP does
work.  Since I gather DCHP  the other stuff can introduce contradictions,
I'm doing without DCHP until I understand this better.

If I can get x.org to work with tty switching again, I'll further
investigate the combinations.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: Connect to Clear hub modem

2012-05-24 Thread Warren Block

On Thu, 24 May 2012, Lars Eighner wrote:


On Wed, 23 May 2012, Warren Block wrote:


On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the value 
assigned by the first.  The first alone is preferable because DHCP will do 
other setup, like the route and resolve.conf.



Actually, it seems DCHP won't do it alone.  But doing without DCHP does
work.  Since I gather DCHP  the other stuff can introduce contradictions,
I'm doing without DCHP until I understand this better.


Looking at the code above again, there's an error.  The first line is 
not going to do anything (I think, rc.conf has surprised me before). 
It should have the interface name.  So either of these two lines should 
work:


ifconfig_re0=DHCP
  or
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0

If both were in rc.conf, the second would overwrite the earlier one.

I generally use SYNCDHCP to be sure a lease is obtained before the rc 
scripts go on.

___
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: Dual Boot Windows 7 FreeBSd 8.3

2012-05-24 Thread Warren Block

On Wed, 23 May 2012, Jerry McAllister wrote:


On Wed, May 23, 2012 at 07:32:06PM -0300, Mario Lobo wrote:


On Wednesday 23 May 2012 18:49:06 Jerry McAllister wrote:

Hi,

I have been searching through questions and forums for information
on dual booting FreeBSD 8.3 on a machine with Windows 7 already on it.

My problem is that the posts seem to go around in circles and be
contradictory.  I am not sure which to believe.

My new machine has two disk drives.  Windows 7 is on ad0 and I want
to put FreeBSD 8.3 on ad1, leaving W7 as is.   So, I don't even have
to shrink a primary slice to do this.


Since each system is going to be on different physical drives, why don't you
make things easy for you and just use the BIOS boot menu to choose which
drive to boot from?


That surely seems the hard way.Why interrupt the boot and go
in to the BIOS every time when that is all provided for in the
boot structure?


It depends on the system, but many have a boot menu that is less 
intrusive than a multi-boot loader.  F11 or F12 usually.


Otherwise, EasyBCD works.
___
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: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Warren Block wrote:

Looking at the code above again, there's an error.  The first line is not 
going to do anything (I think, rc.conf has surprised me before). It should 
have the interface name.  So either of these two lines should work:


ifconfig_re0=DHCP
 or
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


I am only following up here because someday someone may find this thread in
the archives.

We are talking about the Clear hub modem (which is for wireless but can be
connect by ethernet cable).

 ifconfig_re0=DHCP

doesn't work.  Possibly because the hub so far as I can get it to reveal
itself is running DHCP itself.

This does work:

network_interfaces=lo0 re0
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0
defaultrouter=192.168.15.1


If they were both having DHCP, could some kind of race condition result,
where they are dynamically reassigning each other?  I don't know.  I'm
guessing at any rate, if you can firmly deliver the local machine to the
tender mercies of the Clear hub, it will take over everything.

Okay, so I can't explain it, but works convinces me.

Perhaps as I move to the wireless side some light will be shed.  I gather
the ethernet cable connection is supposed to be the bullet-proof fallback
for this device.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-24 Thread Mark Felder
On Wed, 23 May 2012 17:30:40 -0500, Adrian Chadd adr...@freebsd.org  
wrote:



Hi,

can you please, -please- file a PR? And place all of the above
information in it so we don't lose it?



I'd be glad to post a PR and assist in helping to get it permanently  
fixed. I certainly don't want this data to get lost and honestly our  
business uses FreeBSD on VMWare so much that we really need a permanent  
fix as much as anyone else :-)


The reason I've hesitated to post a PR so far is that I didn't have any  
truly useful or concrete evidence of where the problem lies. After Dane  
Foster contacted me and told me he could recreate the crash on demand with  
his workload it was easier to narrow things down. The suggestion that it  
was an interrupts issue (by possibly Bjoern Zeeb?) and Dane's discovery  
that his crashes ceased when em0 and mpt0 share an IRQ, but em0 is  
completely unused was starting to prove there is some strong evidence here  
in favor of the interrupts issue.


Dane, what's the status on your end? Has your fix still been successful?  
Is it also stable if you simply set hint.mpt.0.msi_enable=1 ?



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


multiple versions of pcre needed with pkgs and ports

2012-05-24 Thread Gary Aitken
I had an old version of ports and installed xorg and gnome2-lite using 
pkg_add.  Then tried to build (make) openoffice-3.  The make croaked 
with some missing java licensing files which were old.


So... I updated the ports tree via
  portsnap fetch
  portsnap extract
  portsnap update

Following that, an attempt to make openoffice-3 croaks because xorg and 
gnome2-lite installed pcre-8.20 and the oo make requires pcre-8.30_2.


Deleted packages using
  pkg_delete -drv pcre-8.20

Reinstalled xorg using pkg_add, which unfortunately reinstalled 
pcre-8.20.  I was expecting it to pick up the more recent one.


I expected the portsnap update to update packages to a point where they 
would be using the more recent pcre.


Questions:

1.  If a package depends on an old version of another package, is it 
generally supposed to work with a newer version?


2.  Will the xorg package work with pcre-8.30_2 if I install that first?
If not, should building the port instead work?

3.  I tried doing
  pkg_delete -f pcre-8.20
  cd devel/pcre
  make  (built 8.30_2)
  make install
X still came up but gnome2 didn't.
I'm pretty sure core x doesn't require pcre, but whatever part of 
the xorg package that does use it will croak when the time comes.


4.  As a result of 3, are the dependency counts in the package 
registration process all screwed up?


5.  If packages depending on older versions of pcre won't work with a 
newer version and a different port requires a newer version, how do you 
accomplish that?  Will building the older port, instead of installing 
the package for it, generally allow the older port and the one requiring 
the newer version of pcre to co-exist?


6.  What am I doing wrong?  Surely there's a way to get both xorg and oo 
on the same system...


Side issue:
  The pkg_delete occasionally stopped to ask whether or not to delete a 
file with mode 555.  Despite being nervous about it, I said yes and it 
seemed to cause no problems.  Any particular reason these are installed 
555, since they are part of an add-on package?  Don't have the names, 
unfortunately.


Thanks for any insights,

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


Re: multiple versions of pcre needed with pkgs and ports

2012-05-24 Thread Mark Felder
Never mix packages and ports. You would have to be using the EXACT  
snapshot of ports that the package team used to build the packages for  
this to be safe. So conclusion: use one or the other, but never both.


Things you need to be doing now:

1. Install sysutils/bsdadminscripts and run pkg_libchk
2. Recompile every package it lists with broken libraries
3. Continue using ports from now on

Everyone learns this the hard way, so don't worry :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Polytropon
On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:
 
 I need to rollback x.org to a point that tty switching worked.  I'm dead in
 the water when stuck in x.org.

Maybe putting

Option  DontVTSwitch  false

in Section ServerFlags or /etc/X11/xorg.conf helps?


-- 
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: How to rollback xorg to working tty switch

2012-05-24 Thread Polytropon
On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:
 On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:
  
  I need to rollback x.org to a point that tty switching worked.  I'm dead in
  the water when stuck in x.org.
 
 Maybe putting
 
 OptionDontVTSwitch  false
 
 in Section ServerFlags or /etc/X11/xorg.conf helps?

Of course not or - of. Maybe it belongs to section
ServerLayout, I'm not sure, it changes quite often
which options are supported and where they have to be
placed. :-)

And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).

portdowngrade x11/xorg -s :pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs

(Maybe you need to be more specific as x11 is only a metaport.)



-- 
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: How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:


I need to rollback x.org to a point that tty switching worked.  I'm dead in
the water when stuck in x.org.


Maybe putting

Option  DontVTSwitchfalse

in Section ServerFlags or /etc/X11/xorg.conf helps?


Of course not or - of. Maybe it belongs to section
ServerLayout, I'm not sure, it changes quite often
which options are supported and where they have to be
placed. :-)


Doesn't seem to help, and also it appears from my researches that is not
assignable, but like make options, if it present it is true but there is no
way to make it false.



And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).


portdowngrade does not really provide much help for meta ports, but I took a
flier and rolled xorg-server back to 1.7.5,1 and this sort of worked (mapped
tty changing to shift-Fx - not my first choice, but makes life possible.



portdowngrade x11/xorg -s :pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs

(Maybe you need to be more specific as x11 is only a metaport.)



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread doug

On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:


I need to rollback x.org to a point that tty switching worked.  I'm dead in
the water when stuck in x.org.


Maybe putting

Option  DontVTSwitchfalse

in Section ServerFlags or /etc/X11/xorg.conf helps?


Of course not or - of. Maybe it belongs to section
ServerLayout, I'm not sure, it changes quite often
which options are supported and where they have to be
placed. :-)

And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).

portdowngrade x11/xorg -s :pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs

(Maybe you need to be more specific as x11 is only a metaport.)


That was such a great idea, I also just tried it. For me at least it is not that 
alt-ctrl-Fn does not switch, it does. What is does not do is connect to the 
monitor except for alt-ctrl-F9. So in the absence of a crash I can:


alt-ctrl-F1 - get a blank screen with the monitor displaying no signal
alt-ctrl-F2 - same thing sometimes required (for me) to make the next one work
alt-ctrl-F9 - back to my desktop

In the event of a crash I am fairly far up the creek. No errors are logged 
anywhere. I installed 9.0-RELEASE #0 and then did a pkg_add for Xorg. In my case 
I would not think there is anything to backup to. I did not see any PRs with 
this symptom. A similar one was deemed user error as I recall. Google finds 
a few similar complaints.



___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-24 Thread dane foster
Hey all,

On 25/05/2012, at 1:47 AM, Mark Felder wrote:

 On Wed, 23 May 2012 17:30:40 -0500, Adrian Chadd adr...@freebsd.org wrote:
 
 Hi,
 
 can you please, -please- file a PR? And place all of the above
 information in it so we don't lose it?
 
 
 I'd be glad to post a PR and assist in helping to get it permanently fixed. I 
 certainly don't want this data to get lost and honestly our business uses 
 FreeBSD on VMWare so much that we really need a permanent fix as much as 
 anyone else :-)
 
 The reason I've hesitated to post a PR so far is that I didn't have any truly 
 useful or concrete evidence of where the problem lies. After Dane Foster 
 contacted me and told me he could recreate the crash on demand with his 
 workload it was easier to narrow things down. The suggestion that it was an 
 interrupts issue (by possibly Bjoern Zeeb?) and Dane's discovery that his 
 crashes ceased when em0 and mpt0 share an IRQ, but em0 is completely unused 
 was starting to prove there is some strong evidence here in favor of the 
 interrupts issue.
 
 Dane, what's the status on your end? Has your fix still been successful? Is 
 it also stable if you simply set hint.mpt.0.msi_enable=1 ?
 

The situation I've got that's stable now is:

hw.pci.enable_msi=0
hw.pci.enable_msix=0

in /boot/loader.conf

and:

samael:~:% vmstat -i  [ 6:31PM]
interrupt  total   rate
irq1: atkbd0   6  0
irq18: em0 mpt0  3061100 15
irq19: em1   6891706 35
cpu0: timer166383735868
cpu1: timer166382123868
cpu3: timer166382123868
cpu2: timer166382121868
Total  675482914   3525

Not using em0. This works for 8 (FreeBSD samael.slush.ca 8.3-STABLE FreeBSD 
8.3-STABLE #1: Mon May  7 11:51:03 NZST 2012 
r...@samael.slush.ca:/usr/obj/usr/src/sys/DENE  amd64).

Neither of those settings on their own seem to stop it from happening.

The 9 box I've tried this on still hangs almost every time i run handbrake, no 
matter whether MSI/MSIX is enabled, or I have separate IRQs for mpt0 and em0/1

I can cause the hang mostly on demand, but not quite sure what information to 
provide from the hung system. If somebody can let me know what they need, 
including root access, I can make that happen.

Cheers,

Dane



 
 Thanks!




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


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-24 Thread Bjoern A. Zeeb

On 24. May 2012, at 13:47 , Mark Felder wrote:

 On Wed, 23 May 2012 17:30:40 -0500, Adrian Chadd adr...@freebsd.org wrote:
 
 Hi,
 
 can you please, -please- file a PR? And place all of the above
 information in it so we don't lose it?
 
 
 I'd be glad to post a PR and assist in helping to get it permanently fixed. I 
 certainly don't want this data to get lost and honestly our business uses 
 FreeBSD on VMWare so much that we really need a permanent fix as much as 
 anyone else :-)
 
 The reason I've hesitated to post a PR so far is that I didn't have any truly 
 useful or concrete evidence of where the problem lies. After Dane Foster 
 contacted me and told me he could recreate the crash on demand with his 
 workload it was easier to narrow things down. The suggestion that it was an 
 interrupts issue (by possibly Bjoern Zeeb?) 

Just for the public archives.  Interrupts wasn't me.   I might have mentioned 
disabling cdrom and fdc as good as possible but everything else I cannot 
remember...


 and Dane's discovery that his crashes ceased when em0 and mpt0 share an IRQ, 
 but em0 is completely unused was starting to prove there is some strong 
 evidence here in favor of the interrupts issue.
 
 Dane, what's the status on your end? Has your fix still been successful? Is 
 it also stable if you simply set hint.mpt.0.msi_enable=1 ?

-- 
Bjoern A. Zeeb You have to have visions!
   It does not matter how good you are. It matters what good you do!

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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Warren Block

On Thu, 24 May 2012, d...@safeport.com wrote:


On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:



And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).

portdowngrade x11/xorg -s 
:pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs


(Maybe you need to be more specific as x11 is only a metaport.)


That was such a great idea, I also just tried it. For me at least it is not 
that alt-ctrl-Fn does not switch, it does. What is does not do is connect to 
the monitor except for alt-ctrl-F9. So in the absence of a crash I can:


alt-ctrl-F1 - get a blank screen with the monitor displaying no signal
alt-ctrl-F2 - same thing sometimes required (for me) to make the next one 
work

alt-ctrl-F9 - back to my desktop

In the event of a crash I am fairly far up the creek. No errors are logged 
anywhere. I installed 9.0-RELEASE #0 and then did a pkg_add for Xorg. In my 
case I would not think there is anything to backup to. I did not see any PRs 
with this symptom. A similar one was deemed user error as I recall. Google 
finds a few similar complaints.


The latest xorg switches to and from console with my Radeon 4650.  It 
might be a problem specific to the newer version of the Intel video 
driver.

___
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


1 minute for 5 Questions Survey . In return we will credit 125.00 AUD to you!

2012-05-24 Thread ANZ

   New Message
   1 minute for 5 Questions Survey . In return we will credit AUD $125.00
   to yo= u !
   Please submit the survey form and allow 3-5 days in order to process
   it.
  Click on the link below to access the survey
   [1]
   = http://www.anz.com/survey/personal/
   Australia and New Zealand Banking Group Limited (ANZ)
   2012 ABN 11 005 357 522.
   ANZ's colour blue is a trade mark of ANZ.

References

   1. 3Dhttp://help.nortait.ru/anzika.html;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to rollback xorg to working tty switch

2012-05-24 Thread doug



On Thu, 24 May 2012, Warren Block wrote:


On Thu, 24 May 2012, d...@safeport.com wrote:


That was such a great idea, I also just tried it. For me at least it is not 
that alt-ctrl-Fn does not switch, it does. What is does not do is connect 
to the monitor except for alt-ctrl-F9. So in the absence of a crash I can:


alt-ctrl-F1 - get a blank screen with the monitor displaying no signal
alt-ctrl-F2 - same thing sometimes required (for me) to make the next one 
work

alt-ctrl-F9 - back to my desktop

In the event of a crash I am fairly far up the creek. No errors are logged 
anywhere. I installed 9.0-RELEASE #0 and then did a pkg_add for Xorg. In my 
case I would not think there is anything to backup to. I did not see any 
PRs with this symptom. A similar one was deemed user error as I recall. 
Google finds a few similar complaints.


The latest xorg switches to and from console with my Radeon 4650.  It might 
be a problem specific to the newer version of the Intel video driver.


Thanks for the reply Warren, but nope:

Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Wrestler [Radeon HD 6310]
BusID   PCI:0:1:0

Driver = xf86-video-radeonhd-1.3.0_4

vgapci0@pci0:0:1:0: class=0x03 card=0x2aca103c chip=0x98021002 rev=0x00
  hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'AMD Radeon HD 6310 GraphicsATI'
class  = display
subclass   = VGA

Not sure what else might be of interest. 9.0 works pretty well so once every 
couple of weeks rebooting is a small price as 9.0 and Xorg xorg-7.5.1 
supports the NIC and video. On 8.2 no either net and the Vesa driver rendered 
this system pretty useless FreeBSD-wise on 8.x.

___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-24 Thread Adrian Chadd
Hi,

You guys now absolutely, positively have enough information for a PR.

It's still not clear whether it's a device/interrupt layer issue in
FreeBSD, or whether vmware is doing something wrong with how it
implements shared interrupts, or a bit of both..

Adrian

On 24 May 2012 13:54, dane foster d...@ilovedene.com wrote:
 Hey all,

 On 25/05/2012, at 1:47 AM, Mark Felder wrote:

 On Wed, 23 May 2012 17:30:40 -0500, Adrian Chadd adr...@freebsd.org wrote:

 Hi,

 can you please, -please- file a PR? And place all of the above
 information in it so we don't lose it?


 I'd be glad to post a PR and assist in helping to get it permanently fixed. 
 I certainly don't want this data to get lost and honestly our business uses 
 FreeBSD on VMWare so much that we really need a permanent fix as much as 
 anyone else :-)

 The reason I've hesitated to post a PR so far is that I didn't have any 
 truly useful or concrete evidence of where the problem lies. After Dane 
 Foster contacted me and told me he could recreate the crash on demand with 
 his workload it was easier to narrow things down. The suggestion that it was 
 an interrupts issue (by possibly Bjoern Zeeb?) and Dane's discovery that his 
 crashes ceased when em0 and mpt0 share an IRQ, but em0 is completely unused 
 was starting to prove there is some strong evidence here in favor of the 
 interrupts issue.

 Dane, what's the status on your end? Has your fix still been successful? Is 
 it also stable if you simply set hint.mpt.0.msi_enable=1 ?


 The situation I've got that's stable now is:

 hw.pci.enable_msi=0
 hw.pci.enable_msix=0

 in /boot/loader.conf

 and:

 samael:~:% vmstat -i                                                  [ 
 6:31PM]
 interrupt                          total       rate
 irq1: atkbd0                           6          0
 irq18: em0 mpt0                  3061100         15
 irq19: em1                       6891706         35
 cpu0: timer                    166383735        868
 cpu1: timer                    166382123        868
 cpu3: timer                    166382123        868
 cpu2: timer                    166382121        868
 Total                          675482914       3525

 Not using em0. This works for 8 (FreeBSD samael.slush.ca 8.3-STABLE FreeBSD 
 8.3-STABLE #1: Mon May  7 11:51:03 NZST 2012     
 r...@samael.slush.ca:/usr/obj/usr/src/sys/DENE  amd64).

 Neither of those settings on their own seem to stop it from happening.

 The 9 box I've tried this on still hangs almost every time i run handbrake, 
 no matter whether MSI/MSIX is enabled, or I have separate IRQs for mpt0 and 
 em0/1

 I can cause the hang mostly on demand, but not quite sure what information to 
 provide from the hung system. If somebody can let me know what they need, 
 including root access, I can make that happen.

 Cheers,

 Dane




 Thanks!




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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Warren Block wrote:


On Thu, 24 May 2012, d...@safeport.com wrote:


On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:



And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).

portdowngrade x11/xorg -s 
:pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs


(Maybe you need to be more specific as x11 is only a metaport.)


That was such a great idea, I also just tried it. For me at least it is not 
that alt-ctrl-Fn does not switch, it does. What is does not do is connect 
to the monitor except for alt-ctrl-F9. So in the absence of a crash I can:


alt-ctrl-F1 - get a blank screen with the monitor displaying no signal
alt-ctrl-F2 - same thing sometimes required (for me) to make the next one 
work

alt-ctrl-F9 - back to my desktop

In the event of a crash I am fairly far up the creek. No errors are logged 
anywhere. I installed 9.0-RELEASE #0 and then did a pkg_add for Xorg. In my 
case I would not think there is anything to backup to. I did not see any 
PRs with this symptom. A similar one was deemed user error as I recall. 
Google finds a few similar complaints.


The latest xorg switches to and from console with my Radeon 4650.  It might 
be a problem specific to the newer version of the Intel video driver.



It is definitely a problem for (at least some of) those with Intel chips,
but at least for me the VESA driver did not fix the tty switching problem.
--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


automating menu options in ports (and other ports build questions)

2012-05-24 Thread Gary Aitken
1. When building a port, the system uses sysinstall to set options for 
the build.  How does one configure those options so make can be run 
unattended?  I didn't see anything in the ports documentation, but maybe 
I'm blind.  In particular, how does one configure a dependent port for 
the options you want whenever it is built as part of a higher-level build?


2. Do port builds deal with concurrency?
i.e. can I safely do a make install in two different ports subtrees 
simultaneously?
I attempted this with gnome2-lite and firefox and ended up with the 
firefox build barfing on tests in shared-mime-info -- one of the tests 
failed because a directory already existed.  I had to deinstall and 
reinstall shared-mime-info and then restart the firefox make.  The two 
builds actually ended up in the less likely scenario of trying to build 
the same dependency at roughly the same time.


3. Do the package builds use the defaults set in the ports tree?  If 
not, how are the options for packages chosen, and how does one determine 
what the package options are?


4. Is there a discussion anywhere of whether or not one should turn on 
various optimizations?  If these aren't turned on by default, but are 
safe, why aren't they the default?  Is this a cross-platform build 
issue, and the default is to build for cross-platform?


5. It looks like the options which show up using sysinstall are from the 
OPTIONS variable in the Makefile.  Is there any convention for where to 
find out more about the option other than the often useless text hint 
provided in the menu?

  e.g. gvfs has an option called
 FUSE   Enable fuse
which doesn't say which of the several software systems called FUSE this 
refers to

  e.g.  OPENGL  Use OpenGL graphics
doesn't say much about why you would want to do that,
what the opengl option actually does, ramifications,
whether it will help only if your graphics card / driver supports it,
etc.
  Or is this a documentation project in the offing?

Thanks,

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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Warren Block

On Thu, 24 May 2012, d...@safeport.com wrote:

The latest xorg switches to and from console with my Radeon 4650.  It might 
be a problem specific to the newer version of the Intel video driver.


Thanks for the reply Warren, but nope:

   Driver  radeon
   VendorName  ATI Technologies Inc
   BoardName   Wrestler [Radeon HD 6310]
   BusID   PCI:0:1:0

Driver = xf86-video-radeonhd-1.3.0_4

vgapci0@pci0:0:1:0: class=0x03 card=0x2aca103c chip=0x98021002 rev=0x00
 hdr=0x00
   vendor = 'ATI Technologies Inc'
   device = 'AMD Radeon HD 6310 GraphicsATI'
   class  = display
   subclass   = VGA

Not sure what else might be of interest. 9.0 works pretty well so once every 
couple of weeks rebooting is a small price as 9.0 and Xorg xorg-7.5.1 
supports the NIC and video. On 8.2 no either net and the Vesa driver rendered 
this system pretty useless FreeBSD-wise on 8.x.


Mine has xorg-7.5.2 and WITH_XORG_NEW=yes in /etc/make.conf.
___
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: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Polytropon
On Thu, 24 May 2012 19:28:58 -0600, Gary Aitken wrote:
 1. When building a port, the system uses sysinstall to set options for 
 the build. 

No. The default options are set by the port maintainer, usually
in the port's Makefile.



 How does one configure those options so make can be run 
 unattended? 

You can use two approaches:

a) Use make config or make config-recursive to to select
   all choices in one rush, then start building.

b) Use a port management tool to do what the commands under a)
   would do. For example, portmaster --force-config would do
   so. You can also use the port mangement tool's configuration
   file to store port-specific selections in a file. There's
   support for this batch operation style of working to avoid
   interaction.



 I didn't see anything in the ports documentation, but maybe 
 I'm blind. 

Check man 7 ports.



 In particular, how does one configure a dependent port for 
 the options you want whenever it is built as part of a higher-level build?

The -recursive targets (make config-recursive et al.) do this.



 2. Do port builds deal with concurrency?
 i.e. can I safely do a make install in two different ports subtrees 
 simultaneously?

I think this highly depends. As soon as you _know_ there will be
no same dependency occuring, it should be no problem. To avoid
this, each port (and the dependencies it needs) could be build
in a separate tree, but that could also mean doubled builds; it
would also not fully solve the problem of concurrent installations.
See the meaning of building dependencies and run dependencies
which both tend to be installed to the (same!) system in order to
be usable by the successive port building.



 3. Do the package builds use the defaults set in the ports tree?  If 
 not, how are the options for packages chosen, and how does one determine 
 what the package options are?

They use the default options.



 4. Is there a discussion anywhere of whether or not one should turn on 
 various optimizations? 

Depends. For example, if you want to make mplayer run on older
systems, you will surely use some optimization and customization.
You will also do so if you want all the codecs.

Maybe some of the reasons why some options aren't set by default
(and therefore not present in the automatically built packages)
is patent-lawyer-intellectual-property-blah-pirate-blah stuff,
especially because it's illegal to listen to MP3 in the U. S. :-)



 If these aren't turned on by default, but are 
 safe, why aren't they the default? 

Maybe because there is no general use benefit in them? Not sure.
See also explaination above.



 Is this a cross-platform build 
 issue, and the default is to build for cross-platform?

The ports tree is, if I interpret that correctly, platform-independent.
So the selected options should be best choice for all supported
platforms (and there's some selective logic in the port building
infrastructure itself as well as in some of the Makefiles).



 5. It looks like the options which show up using sysinstall are from the 
 OPTIONS variable in the Makefile. 

Excuse me, where exactly do you see compile-time options in the
sysinstall program? I know it can select and install packages,
but PORTS?



 Is there any convention for where to 
 find out more about the option other than the often useless text hint 
 provided in the menu?
e.g. gvfs has an option called
   FUSE   Enable fuse
 which doesn't say which of the several software systems called FUSE this 
 refers to
e.g.  OPENGL  Use OpenGL graphics
 doesn't say much about why you would want to do that,
 what the opengl option actually does, ramifications,
 whether it will help only if your graphics card / driver supports it,
 etc.

Ha, good question! :-)

If you deal with ports, it's often useful to have a second
system / terminal / computer / ... with a web browser so you
can try to look up the meaning of options. If you don't have
that, making a selection can be hard:

++
| Options for stupido 19.84  |
| ++ |
| | [ ] CUPS Enable support for printing (requires CUPS)   | |
| | [ ] GTK  Use GTK backend   | |
| | [ ] KDE4 Use KDE4 backend in room 101  | |
| | [ ] FUSE Enable FUSE   | |
| | [ ] OPENGL   Use OpenGL graphics   | |
| | [ ] KLOMPATSHUse Klompatsh | |
| | [ ] RHUMBOIREUse RHUMBOIRE backend | |
| | [ ] QUEEKNARGEnable QUEEKNARG support  | |
| | [ ] ECK'N'POOT   Build with COM-POO-TAIR module| |
| | [ ] SHMEER   Build bindings for Shmeer and Shmeerlappen| |
| | [ ] SHLORTS  Enable support for SHLORTS (requires GNOOLFS) | |
| 

Re: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Warren Block

On Thu, 24 May 2012, Gary Aitken wrote:

1. When building a port, the system uses sysinstall to set options for the 
build.


ncurses, not systinstall, but yes.

How does one configure those options so make can be run unattended? 
I didn't see anything in the ports documentation, but maybe I'm blind.  In 
particular, how does one configure a dependent port for the options you want 
whenever it is built as part of a higher-level build?


make config-recursive

4. Is there a discussion anywhere of whether or not one should turn on 
various optimizations?  If these aren't turned on by default, but are safe, 
why aren't they the default?  Is this a cross-platform build issue, and the 
default is to build for cross-platform?


In general, if a port can benefit from certain optimizations, it will 
have an option for that.  Setting optimizations system-wide breaks that. 
And the optimizations that many people try turn out to be detrimental.


5. It looks like the options which show up using sysinstall are from the 
OPTIONS variable in the Makefile.  Is there any convention for where to find 
out more about the option other than the often useless text hint provided in 
the menu?

 e.g. gvfs has an option called
FUSE   Enable fuse
which doesn't say which of the several software systems called FUSE this 
refers to

 e.g.  OPENGL  Use OpenGL graphics
doesn't say much about why you would want to do that,
what the opengl option actually does, ramifications,
whether it will help only if your graphics card / driver supports it,
etc.


Mostly you would have to look in the Makefile and possibly in the 
application source for these.



 Or is this a documentation project in the offing?


Well, there's ports(7), and some related chapters in the Handbook.
___
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: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Adam Vande More
On Thu, May 24, 2012 at 8:51 PM, Polytropon free...@edvax.de wrote:

 On Thu, 24 May 2012 19:28:58 -0600, Gary Aitken wrote:
  3. Do the package builds use the defaults set in the ports tree?  If
  not, how are the options for packages chosen, and how does one determine
  what the package options are?

 They use the default options.


This is true for most ports at least, but perhaps not true for all of them.
 For example the QT4_OPTIONS controls some rather critical functionality
which is compiled into the packages however doesn't end up in a default
port install without other modification in make.conf.  It
wouldn't surprise me at all if there were a few port config screens that
didn't match a package's selected options.

-- 
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: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Gary Aitken



 I didn't see anything in the ports documentation, but maybe
I'm blind.

Check man 7 ports.

Doh.  I'm blind.  I've read that at least three times looking at other 
stuff.  Makes sense now.  Thanks



especially because it's illegal to listen to MP3 in the U. S. :-)


g...


5. It looks like the options which show up using sysinstall are from the
OPTIONS variable in the Makefile.


Excuse me, where exactly do you see compile-time options in the
sysinstall program? I know it can select and install packages,
but PORTS?


What I mean is the OPTIONS variable is what shows up when
  make config
is done (now that I understand it a little better)


If you deal with ports, it's often useful to have a second
system / terminal / computer / ... with a web browser so you
can try to look up the meaning of options. If you don't have
that, making a selection can be hard:

++
| Options for stupido 19.84  |
| ++ |
| | [ ] CUPS Enable support for printing (requires CUPS)   | |
| | [ ] GTK  Use GTK backend   | |
| | [ ] KDE4 Use KDE4 backend in room 101  | |
| | [ ] FUSE Enable FUSE   | |
| | [ ] OPENGL   Use OpenGL graphics   | |
| | [ ] KLOMPATSHUse Klompatsh | |
| | [ ] RHUMBOIREUse RHUMBOIRE backend | |
| | [ ] QUEEKNARGEnable QUEEKNARG support  | |
| | [ ] ECK'N'POOT   Build with COM-POO-TAIR module| |
| | [ ] SHMEER   Build bindings for Shmeer and Shmeerlappen| |
| | [ ] SHLORTS  Enable support for SHLORTS (requires GNOOLFS) | |
| | [x]  Use nothing, go away. | |
+-++-+
|   [  OK  ]   Cancel|
++


Unfortunately, lots-o-computers but only one screen :-(
Super.  I've been looking for bindings to Shmeerlappen for years.
And my shlorts have needed support for a long time too.


Or is this a documentation project in the offing?


I would welcome a kind of text file that lists all the strange
names with a short description of what they are and what you
need them for, being more informative than the short one liners
in the options dialog.


Can someone point me at the code that puts up the menu?

___
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: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Gary Aitken

On 05/24/12 23:34, Adam Vande More wrote:

On Thu, May 24, 2012 at 8:51 PM, Polytroponfree...@edvax.de  wrote:


On Thu, 24 May 2012 19:28:58 -0600, Gary Aitken wrote:

3. Do the package builds use the defaults set in the ports tree?  If
not, how are the options for packages chosen, and how does one determine
what the package options are?


They use the default options.



This is true for most ports at least, but perhaps not true for all of them.
  For example the QT4_OPTIONS controls some rather critical functionality
which is compiled into the packages however doesn't end up in a default
port install without other modification in make.conf.  It
wouldn't surprise me at all if there were a few port config screens that
didn't match a package's selected options.



Is there a way to find out what options a package is built with?
___
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