Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9

2009-03-02 Thread Edward Ruggeri
Thanks very much!  Will this actually change behavior of the Linux
kernel module, or is it just supposed to trick new versions of
linux_base to build?

-- Ned Ruggeri

On Sun, Mar 1, 2009 at 7:35 PM, Pieter de Goeje pie...@degoeje.nl wrote:
 On Monday 02 March 2009, Edward Ruggeri wrote:
 I am using FreeBSD 7.0 Stable.  I want to run the Linguistica project
 Linux binary.  However, after loading the Linux kernel module, when I
 try to run the binary the system replies:

 ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
 found (required by ./lxa-ubuntu-325)
 ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version
 `GLIBC_2.4' not found (required by ./lxa-ubuntu-325)

 Besides asking the Linguistica developers whether they actually must
 require such recent versions of the GNU C, C++ libraries, I tried to
 install a more recent linux_base.  However, everything beyond
 linux_base-fc4 does not support Linux kernel 2.4.2.

 Is there a module for a newer version of the linux kernel that I can
 build so as to install a newer linux_base?  Or is there a way to use
 the same 2.4.2 module but use more recent GNU C libraries?  I am not
 an expert in this area; is there something I haven't thought of?

 You can upgrade the linux compatibility layer by setting the sysctl:

  compat.linux.osrelease=2.6.18

 For example in /etc/sysctl.conf. Then you should be able to install a newer
 version of linux_base.

 --
 Pieter de Goeje

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


Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9

2009-03-01 Thread Edward Ruggeri
I am using FreeBSD 7.0 Stable.  I want to run the Linguistica project
Linux binary.  However, after loading the Linux kernel module, when I
try to run the binary the system replies:

./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by ./lxa-ubuntu-325)
./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version
`GLIBC_2.4' not found (required by ./lxa-ubuntu-325)

Besides asking the Linguistica developers whether they actually must
require such recent versions of the GNU C, C++ libraries, I tried to
install a more recent linux_base.  However, everything beyond
linux_base-fc4 does not support Linux kernel 2.4.2.

Is there a module for a newer version of the linux kernel that I can
build so as to install a newer linux_base?  Or is there a way to use
the same 2.4.2 module but use more recent GNU C libraries?  I am not
an expert in this area; is there something I haven't thought of?

Thanks!

Sincerely,

-- E Ruggeri
___
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: joining 2 files together ?

2008-08-07 Thread Edward Ruggeri
On Thu, Aug 7, 2008 at 10:38 AM, Bill Moran [EMAIL PROTECTED] wrote:
 But to answer your real question, you can't just mash two avi files
 together to make 1 big one.  You'll need something like avidemux or
 one of the command line tools to actually get the avi headers correct.

If I recall correctly, generally you can play the file, but it will
stop at the end of the first part.  However, I think you can seek
past that point and avoid the premature termination.

Which is to say that you are correct.

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up Wireless net Card

2008-08-05 Thread Edward Ruggeri
On Tue, Aug 5, 2008 at 2:48 AM, Warren Liddell [EMAIL PROTECTED] wrote:
 Im trying to setup//configure my Belkin Wireless Card, but since i have had it
 for a while in a windows machine, im no clue about using a wireless card in
 FreeBSD an not as yet able to find to many sources//articles that can give me
 a head start on where to go to begin finding the cards chipset etc etc ..

 Any assistance would be appreciated.

Run ifconfig; if your card's driver is built into the GENERIC kernel
(it likely is), then iconfig should list it.  Alternatively, you can
run pciconf -lv.  If you can't find your card in either of these,
please copy the output of those two to the list.

(Hint: a goodway to save the output of a command to a file is:
command | tee file).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sorry - plaintext this time - Disk geometry and two OSes.

2008-08-05 Thread Edward Ruggeri
On Mon, Aug 4, 2008 at 8:02 PM, Slick Bo [EMAIL PROTECTED] wrote:
 I've
 seen a few people on this mailing list say that disk geometry really
 doesn't matter that much, and the OS usually works fine despite
 apparent errors. But I'd prefer to be able to keep my windows installation.
 If I let sysinstall change the disk geometry, will it create problems
 for the files on 0 and the WinXP installation? If so, do you know of
 an alternate way to find the disk geometry, and should I directly give
 these results to sysinstall? Will that fix my problem?

This is something I've wondered about, but blithely ignored.

What does the warning really mean?  Why doesn't it matter?

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ifconfig query/dhclient

2008-08-04 Thread Edward Ruggeri
On Mon, Aug 4, 2008 at 4:54 AM, Warren Liddell [EMAIL PROTECTED] wrote:
 Im trying to find out how i can change my net card on re0 to be a 10BaseT
 full duplex instead of auto @ 100.

I don't know, but someone else can probably help.

 Also trying to work out why when using dhclient fwe0 (presuming its my
 wireless card) it never gets a link .. is there more to getting a link with
 wireless?  there is no encryption.

Have you done 'ifconfig fwe0 up first?

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Atheros Wireless Card Causes Page Fault

2008-07-17 Thread Edward Ruggeri
Hi,

This is a question about a hardware problem.  I hope this is an
appropriate place to ask.

I have a recently purchased Lenovo ThinkPad, with a Atheros 5212
wireless card (well, dmesg says it's an Atheros 5212; I believe it).
It also has a wired internet connector, which works perfectly fine.  I
wish I was writing you from that computer, but I am at work right now
and don't have the ThinkPad at my fingertips.  I can update later
tonight, but perhaps you can spot my error with just the somewhat
incomplete information I have right now.

I have compiled the Atheros driver and wireless support into my kernel:
device ath
device ath_hal
device ath_rate_sample
device wlan
device wlan_wep
device wlan_ccmp
device wlan_tkip

The card is detected correctly upon system startup.

If I write ifconfig_ath0=DHCP into /etc/rc.conf (or, alternatively,
use dhclient ath0) the system connects to the wireless router and gets
an IP address successfully.  (My wireless at home is unsecured).

I go to test the connection in Lynx.  Google loads (yay!).  I submit a
google search, that may load.  But I rarely get a third page
transmitted before I get a page fault.  The error is quite like this
person's 
(http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065608.html),
though his problem didn't seem to be resolved on the list.

In particular, the system reports a fatal trap 12: page fault while
in kernel mode.  Fault virtual address is 0x0, not 0xc, if it makes a
difference.  The fault code is also supervisor read, page not
present.  The current process is ath0 taskq.

To my (totally uneducated) eyes, this seems to be a driver problem.  I
am not certain of my wireless card's make/number, but I assume that it
really is an Atheros 5212, not only because that's what FreeBSD says,
but that's also what Lenovo ships as the basic ThinkPad card (I didn't
go with Intel wireless).  So if I'm using the right driver, I'm not
sure what the issue might be.

Thanks for any help you might have!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Atheros Wireless Card Causes Page Fault

2008-07-17 Thread Edward Ruggeri
Hi,

This is a question about a hardware problem.  I hope this is an
appropriate place to ask.

I have a recently purchased Lenovo ThinkPad, with a Atheros 5212
wireless card (well, dmesg says it's an Atheros 5212; I believe it).
It also has a wired internet connector, which works perfectly fine.  I
wish I was writing you from that computer, but I am at work right now
and don't have the ThinkPad at my fingertips.  I can update later
tonight, but perhaps you can spot my error with just the somewhat
incomplete information I have right now.

I have compiled the Atheros driver and wireless support into my kernel:
device ath
device ath_hal
device ath_rate_sample
device wlan
device wlan_wep
device wlan_ccmp
device wlan_tkip

The card is detected correctly upon system startup.

If I write ifconfig_ath0=DHCP into /etc/rc.conf (or, alternatively,
use dhclient ath0) the system connects to the wireless router and gets
an IP address successfully.  (My wireless at home is unsecured).

I go to test the connection in Lynx.  Google loads (yay!).  I submit a
google search, that may load.  But I rarely get a third page
transmitted before I get a page fault.  The error is quite like this
person's 
(http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065608.html),
though his problem didn't seem to be resolved on the list.

In particular, the system reports a fatal trap 12: page fault while
in kernel mode.  Fault virtual address is 0x0, not 0xc, if it makes a
difference.  The fault code is also supervisor read, page not
present.  The current process is ath0 taskq.

To my (totally uneducated) eyes, this seems to be a driver problem.  I
am not certain of my wireless card's make/number, but I assume that it
really is an Atheros 5212, not only because that's what FreeBSD says,
but that's also what Lenovo ships as the basic ThinkPad card (I didn't
go with Intel wireless).  So if I'm using the right driver, I'm not
sure what the issue might be.

Thanks for any help you might have!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Atheros Wireless Card Causes Page Fault

2008-07-17 Thread Edward Ruggeri
On Thu, Jul 17, 2008 at 9:38 AM, Edward Ruggeri [EMAIL PROTECTED] wrote:
 Hi,

 This is a question about a hardware problem.  I hope this is an
 appropriate place to ask.

 I have a recently purchased Lenovo ThinkPad, with a Atheros 5212
 wireless card (well, dmesg says it's an Atheros 5212; I believe it).
 It also has a wired internet connector, which works perfectly fine.  I
 wish I was writing you from that computer, but I am at work right now
 and don't have the ThinkPad at my fingertips.  I can update later
 tonight, but perhaps you can spot my error with just the somewhat
 incomplete information I have right now.

My Lenovo representative informs me it may be a Ar5006ex, if that helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Even more documentation?

2008-04-29 Thread Edward Ruggeri
On Fri, Apr 25, 2008 at 10:32 PM, Edward Ruggeri [EMAIL PROTECTED] wrote:
 Hi all,

  I've used FreeBSD for about two years now.  Besides using Linux for
  projects on school computers, I never had much experience with
  Unix-like operating systems.  While I get by nicely on FreeBSD, I
  recently felt that I didn't have a very solid understanding of it's
  organization or structure.  I suppose one can't know everything about
  an operating system with as much functionality as FreeBSD, but I
  started to feel like my knowledge was really ad-hoc, and that I didn't
  completely understand what I was doing (as if I had learned only by
  example).

  To that end, I started reading the FreeBSD handbook front-to-back.
  I've gotten to Part III, and while it's been very valuable, I still
  feel like I'm learning by example, and not by understanding the
  operating system.  I'm starting to think I'm expecting something out
  of the handbook it's not designed to do.

  It seems like the man pages would be a good place to go, but my
  trouble with using them is that they're difficult to put together the
  information on different pages.  I suppose I want something like a
  textbook.  I dream of a KR type text that is very comprehensive and
  well-organized.

  If anyone has advice, I'd very much appreciate it!

  Sincerely,

  -- Ned Ruggeri


I have read the many replies from various people, and they have all
been exceptionally helpful.  Thanks very much everyone!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dynamic Memory Allocation Limit?

2008-04-29 Thread Edward Ruggeri
I have recently been writing an implementation of the sieve of
Eratosthenes in C.  To find all primes less than N, I dynamically
create an array of chars (relatively small datatype) of length N+1 (I
know I don't need to represent evens).

Everything works great up until around 600 million, at which case
memory allocation fails.  At this point, I am asking for 600M chars,
which is about 572MB (I might be failing to take account of offset?).

My system has about 2GB of memory.  Top says: Mem: 159M Active, 1113M
Inact, 185M Wired, 56M Cache, 112M Buf, 481M Free.

From the man page, I am not completely clear what these values mean.
However, I have read elsewhere that memory labeled as inactive should
be available for the heap

Is there a limit to how much memory may be allocated to a process?
Any other reasons someone might think of?

I am using FreeBSD 6.3-prerelease, with SMP for a Athlon X2 4200+ (if
it makes a difference).  Sorry if this is a RTFM question ...

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Even more documentation?

2008-04-25 Thread Edward Ruggeri
Hi all,

I've used FreeBSD for about two years now.  Besides using Linux for
projects on school computers, I never had much experience with
Unix-like operating systems.  While I get by nicely on FreeBSD, I
recently felt that I didn't have a very solid understanding of it's
organization or structure.  I suppose one can't know everything about
an operating system with as much functionality as FreeBSD, but I
started to feel like my knowledge was really ad-hoc, and that I didn't
completely understand what I was doing (as if I had learned only by
example).

To that end, I started reading the FreeBSD handbook front-to-back.
I've gotten to Part III, and while it's been very valuable, I still
feel like I'm learning by example, and not by understanding the
operating system.  I'm starting to think I'm expecting something out
of the handbook it's not designed to do.

It seems like the man pages would be a good place to go, but my
trouble with using them is that they're difficult to put together the
information on different pages.  I suppose I want something like a
textbook.  I dream of a KR type text that is very comprehensive and
well-organized.

If anyone has advice, I'd very much appreciate it!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: do I need to install xorg?

2008-04-25 Thread Edward Ruggeri
On Fri, Apr 25, 2008 at 10:15 PM, cuongvt [EMAIL PROTECTED] wrote:

  I bought nvidia geforce 8500GT graphic card
  and I want to install fresh Freebsd 7.0 (with X, gnome)
  So do I need to portinstall x11/xorg with x11/nvidia-driver?
  Or I only need to portinstall x11/nvidia-driver only in order to startx?
  Thanks and regards

You will need to install the x11/xorg port -- this is not part of the
base system.  You can do this through packages or ports.  You can even
install it (as a package) through sysinstall by selecting a
distribution containing x11.

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Handbook Question

2008-04-22 Thread Edward Ruggeri
Hi All!

Still reading through the FreeBSD handbook.  I'm at section 5.5.3; it
discusses how to edit the /usr/local/etc/fonts/local.conf file to
adjust how X11 handles the anti-aliasing of fonts.  It ends (about)
with this sentence: Anti-aliasing should be enabled the next time the
X server is started.

Perhaps I am splitting hairs: hasn't anti-aliasing been enabled all
along, it's now just going to be handled differently the next time
local.conf is read?  I ask because I'm afraid I missed something.

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing Console Video Modes

2008-04-22 Thread Edward Ruggeri
On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote:

 On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:


  I'm just reading through the manual for FreeBSD, and I am at section
  3.2.6 Changing Console Video Modes.  This discusses how to change
  the default console resolution.  I would try this out, but as I can
  only access my FreeBSD box remotely at the moment, I am hesitant to
  recompile the kernel with the necessary options (I currently get an
  error when running #vidcontrol -i mode: getting active vty:
  Inappropriate ioctl for device.  I assume this is because the current
  kernel is insufficient?).  I'm afraid my computer might need to be
  booted by hand, which I wouldn't be able to do.
 
  In any case, lacking the ability to experiment, I am curious about
  different video modes.  Will greater resolutions allow me to fit more
  text on the screen in the console?  Of course I know (maybe less than
  I think) about resolution in terms of graphical environments (e.g.,
  can see more of a high-resolution image w/ a greater resolution), but
  is it the same for text?
 
  Thanks!
 
  Sincerely,
 
  -- Ned Ruggeri
 

  Don't forget to use i386 instead of amd64, since those higher resolutions
 are vesa modes(I also don't think you can get any widescreen resolutions)
 and amd64 can't access the vesa instructions.  You might be able to try
 hacking the loader and change resolutions there but I don't know if it would
 stay that way through boot or what effect X windows would have.

  You could just try a fullscreen xterm.  Using evilwm it can give you the
 look of a console with a higher resolution.

On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote:

 On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:


  I'm just reading through the manual for FreeBSD, and I am at section
  3.2.6 Changing Console Video Modes.  This discusses how to change
  the default console resolution.  I would try this out, but as I can
  only access my FreeBSD box remotely at the moment, I am hesitant to
  recompile the kernel with the necessary options (I currently get an
  error when running #vidcontrol -i mode: getting active vty:
  Inappropriate ioctl for device.  I assume this is because the current
  kernel is insufficient?).  I'm afraid my computer might need to be
  booted by hand, which I wouldn't be able to do.
 
  In any case, lacking the ability to experiment, I am curious about
  different video modes.  Will greater resolutions allow me to fit more
  text on the screen in the console?  Of course I know (maybe less than
  I think) about resolution in terms of graphical environments (e.g.,
  can see more of a high-resolution image w/ a greater resolution), but
  is it the same for text?
 
  Thanks!
 
  Sincerely,
 
  -- Ned Ruggeri
 

  Don't forget to use i386 instead of amd64, since those higher resolutions
 are vesa modes(I also don't think you can get any widescreen resolutions)
 and amd64 can't access the vesa instructions.  You might be able to try
 hacking the loader and change resolutions there but I don't know if it would
 stay that way through boot or what effect X windows would have.

  You could just try a fullscreen xterm.  Using evilwm it can give you the
 look of a console with a higher resolution.

Interesting; I'll have to try that.

Thank you everyone for the information!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Changing Console Video Modes

2008-04-20 Thread Edward Ruggeri
I'm just reading through the manual for FreeBSD, and I am at section
3.2.6 Changing Console Video Modes.  This discusses how to change
the default console resolution.  I would try this out, but as I can
only access my FreeBSD box remotely at the moment, I am hesitant to
recompile the kernel with the necessary options (I currently get an
error when running #vidcontrol -i mode: getting active vty:
Inappropriate ioctl for device.  I assume this is because the current
kernel is insufficient?).  I'm afraid my computer might need to be
booted by hand, which I wouldn't be able to do.

In any case, lacking the ability to experiment, I am curious about
different video modes.  Will greater resolutions allow me to fit more
text on the screen in the console?  Of course I know (maybe less than
I think) about resolution in terms of graphical environments (e.g.,
can see more of a high-resolution image w/ a greater resolution), but
is it the same for text?

Thanks!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: overnight upgrade interrupted by questions

2008-04-15 Thread Edward Ruggeri
A lot of people would reply that they'd like to configure the ports
themselves before launching the installation, leading people to
suggest scripts such as:

#!/bin/sh
plist=`pkg_version -ovl'' |awk '{ print $1 }'`
for porg in $plist ; do
cd  /usr/ports/${porg}  make config-recursive
done

Before I go and annoy someone on the portupgrade list, does anyone
here know if the portupgrade people have decided this is unnecessary
functionality?

Sincerely,

-- Ned Ruggeri

On Tue, Apr 15, 2008 at 8:49 AM, Manolis Kiagias [EMAIL PROTECTED] wrote:



  Pollywog wrote:

  I did 'portupgrade -aP' last night but this morning I found that one
 package had some questions for me about how I want to compile the package
 (wants to know which options I want).  This meant that no packages were
 compiled since the cups package asked questions.
 
  Is there a way to circumvent this problem when upgrading with portupgrade?
  I know how to avoid this when installing a single port but not how to
 avoid it when upgrading all available packages.
 
 
  thanks
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 
  Try the --batch option of portupgrade


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

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


Slow performance as root over SSH?

2008-04-14 Thread Edward Ruggeri
Hi all,

(This may actually be a question for the dtach people).

I've recently been using dtach (basically the detach function of
screen) over SSH to instruct my freeBSD machine to perform long tasks
even after I disconnect from it.  It's worked great: I run SSH and
connect to my box, execute dtach to create a new session in which to
execute a program, hit ctr-\ to detach the session from the terminal,
and then I can close the SSH tunnel.

Recently, I figured to do this with portupgrade.  Now, I don't allow
root login, so I log in as a user in the wheel group and use su.  Now,
as root, I run: dtach -A portupgrade -a.  It starts working, but
extremely slowly.  For instance, portsnap fetch update takes several
minutes, whereas it normally is blazing fast when performed locally.
I can still detach, exit root, and close the SSH tunnel.  I suppose
this is probably a dtach performance issue?

If anyone has any thoughts, I'd definitely appreciate them.  Thanks!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow performance as root over SSH?

2008-04-14 Thread Edward Ruggeri
On Mon, Apr 14, 2008 at 9:29 AM, Kris Kennaway [EMAIL PROTECTED] wrote:

 Edward Ruggeri wrote:
  Recently, I figured to do this with portupgrade.  Now, I don't allow
  root login, so I log in as a user in the wheel group and use su.  Now,
  as root, I run: dtach -A portupgrade -a.  It starts working, but
  extremely slowly.  For instance, portsnap fetch update takes several
  minutes, whereas it normally is blazing fast when performed locally.
  I can still detach, exit root, and close the SSH tunnel.  I suppose
  this is probably a dtach performance issue?
 

  Likely unrelated to either.  There is nothing that would make root perform
 any differently than other users, and dtach only affects the terminal
 handling and not any other aspect of the system.

  Kris


Thanks Kris!

Well, that's what I would have expected.  But then what explains the
difference in performance?  The only other difference I can imagine is
that I am logging in with a wheel account and using su, rather than
logging in as root.  Being something of a novice still, could that be
the issue?

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow performance as root over SSH?

2008-04-14 Thread Edward Ruggeri
On Mon, Apr 14, 2008 at 12:41 PM, Kris Kennaway [EMAIL PROTECTED] wrote:
  No.  Unless dtach is doing something bizarre I cannot think of a reason
 this would be happening.

  Kris

Maybe I simply over-sentimentalized the old days of updating the portsdb.

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Random Restarts?

2007-05-20 Thread Edward Ruggeri

Hi,

My system randomly reboots, usually in the evening.  It is definitely not  
a soft reboot, since the filesystems don't get properly dismounted.  My  
suspicion is that it is a heat related issue -- I do leave the computer  
running just about all day long, and it has started to get warm.  Then  
again, it's coolest in the evening...


I have looked at /var/log/messages, and there is nothing right before the  
reboot of the system.  Is that proof this is a hardware and not a software  
issue?  Is there any other log file or diagnostic that might confirm my  
suspicions?


I'd rather not reset the heatsink, etc., if the problem is really  
something else :)


Thanks in advance guys!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Restarts?

2007-05-20 Thread Edward Ruggeri

On Sun, 20 May 2007 11:41:36 -0500, Roland Smith [EMAIL PROTECTED] wrote:


On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is definitely  
not a

 soft reboot, since the filesystems don't get properly dismounted.  My
 suspicion is that it is a heat related issue -- I do leave the computer
 running just about all day long, and it has started to get warm.  Then
 again, it's coolest in the evening...


Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it would  
show.


I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.

Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.


Roland


Thanks for the ideas, Roland (and Tamouh)!  I forgot about the possibility  
of power issues.  I do have an Antec power supply, 500W, which certainly  
doesn't mean it isn't the problem, but it _ought_ to be able handle this  
system...


But here's what I get if I run mbmon.

%mbmon -A -t -r 1
TEMP0 : 39.0
TEMP1 : 34.0
TEMP2 : 25.0
FAN0  :0
FAN1  : 5818
FAN2  :0
VC0   :  +1.28
VC1   :  +1.50
V33   :  +3.30
V50P  :  +4.97
V12P  : +11.13
V12N  : -11.52
V50N  :  -3.76
Sun May 20 12:32:10 CDT 2007

That CPU temp is at about 97% idle -- high, no?  The voltage on the 12V  
lines seems pretty bad, and especially so on the -5V line.  Should I trust  
the sensors and think about a new PSU?  In the meantime, I'll write to a  
file, and see if it records a dip in power before the next reboot.


-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Restarts?

2007-05-20 Thread Edward Ruggeri
On Sun, 20 May 2007 13:23:00 -0500, Garrett Cooper  
[EMAIL PROTECTED] wrote:



Roland Smith wrote:

On Sun, May 20, 2007 at 11:03:25AM -0500, Edward Ruggeri wrote:

 Hi,

 My system randomly reboots, usually in the evening.  It is definitely  
not a  soft reboot, since the filesystems don't get properly  
dismounted.  My  suspicion is that it is a heat related issue -- I do  
leave the computer  running just about all day long, and it has  
started to get warm.  Then  again, it's coolest in the evening...

 Try and install the mbmon port, and see if it works on your machine. If
so, start a cron job that appends mbmon output to a file say every 15
minutes. If it's a heat buildup issue in a monitored component, it  
would show.

 I wonder though. My machine usually doesn't need a day to heat up after
a cold start. An hour or so usually suffices.
 Other causes could be a spike in the line voltage due to a large device
switching on or off nearby. Or an underrated power supply overloaded
through a cron job.
  Roland


Also, check to see if your memory doesn't have any errors. That can  
cause reboots from time to time if either the memory controller is bad,  
or the memory itself is bad.


Also, this heat issue could be true for your hard drives. I've seen some  
of my faster drives get up to 140 degrees F (before I bought fans for  
them), then force the workstation to hard reboot. This was when I was  
doing a lot of disk access with them, too, since normal idling didn't  
head up the drives enough.


Just curious:
a. What's your Processor (speed, vendor)?
b. Who made your motherboard?
c. Who made your RAM?

Thanks,
-Garrett


Thanks everyone!

Athlon X2 4200+ proc (2.2GHz, maybe?)
DFI nF4 infinity SLI motheboard
G.Skill RAM (2GB)
Antec True Power II (550W)

I'll use MemTest or somesuch to test my RAM latter today for errors.

The drives sit right infront of the air-intake fans for the system, so  
there's a breeze that flows by them constantly.  However, additional  
cooling certainly might be necessary.  Perhaps, it is possible that  
rTorrent is doing a lot of reads and writes to the drive, stressing it,  
which may be why the problem seems to have come up around the time I  
started using rTorrent.


I think my plan will be so:
1.) Continue running mbmon until I get a restart, and then check to see if  
there was a voltage drop (or, less likely, a heat spike).

2.) Then, run MemTest86+ for a day or so, checking for RAM problems.

I don't have a probe to measure the hard drive temps, but if 12 fail,  
I'll arrange better cooling for the drives, I guess.  If it's a driver  
issue, is there any way to find it?  I haven't installed any new hardware  
recently, and hadn't had this problem until maybe a week ago.


Sorry to clog up the freeBSD listhost with (likely) a hardware issue.  I  
can move to another listhost if you guys think I should.

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


Re: Problem Launching Applications in Gnome

2007-03-11 Thread Edward Ruggeri
On Thu, 08 Mar 2007 13:04:48 -0600, Edward Ruggeri [EMAIL PROTECTED]  
wrote:



On Thu, 08 Mar 2007 12:54:55 -0600, Chuck Swiger [EMAIL PROTECTED] wrote:


On Mar 7, 2007, at 6:57 PM, [EMAIL PROTECTED] wrote:

The main application I run is Vim, which I run through Gnome-
Terminal.  I frequently have several copies running
simultaneously.  In general response to Gnome-Terminal
commands is very fast, but sometimes when I try to open a
file with Vim it takes up to 20-30 seconds to load.  The
files are not particularly large (max 300 lines).

During this time, if I try to launch another application in
Gnome (e.g., Opera or another Gnome-Terminal), it will not
come up.  It is as if everything is frozen until finally Vi
loads and opens the file, at which point anything else I have
tried to open works fine.


Is it possible that you're low on RAM, and the system has to swap in a  
bunch of stuff to let you task-switch to Opera or GT?  Is it only the  
combination of GT  Vim, or do you sometimes encounter this long delay  
when switching between applications doing other things?



I have of course looked at top when this problem occurs.  CPU
usage is about 2%, and there is no significant memory usage
either.


It would be helpful to know what state the GT  vim processes were in,  
too.


RAM usage remains very low throughout.  In addition, I have 2GB of RAM  
on this system, so while that was also my first suspicion, I don't think  
that's it.


When vim exhibits this behavior (which it doesn't always do), it will  
sit in sbwait and will finally load as it comes out of sbwait.  If I try  
to open another GT during vim's stalling, it will also be stuck in  
sbwait, generally coming out of it at the same time as vim.


Thanks very much for your thoughts!

-- Ned Ruggeri



Sorry to post again in response to my own email, but I have some new  
information.  In addition to the processes being stuck in sbwait, it also  
appears that when loading they start on the second core but switch to the  
first when getting out of the sbwait state.  Also, this problem definitely  
seems to be exhibited in other applications.  Sometimes I have to wait 15  
seconds for Gnome-Terminal to load even with no applications running.


I'm suspicious this might be related to Gnome's Screensaver, since GT  
opens slowly generally after coming out of screensaver.  Any thoughts?


It's a real drag, because freeBSD is so fast for me outside this problem,  
but it's making it impossible to use...


Thanks guys!

Sincerely,

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem Launching Applications in Gnome

2007-03-08 Thread Edward Ruggeri

On Thu, 08 Mar 2007 12:54:55 -0600, Chuck Swiger [EMAIL PROTECTED] wrote:


On Mar 7, 2007, at 6:57 PM, [EMAIL PROTECTED] wrote:

The main application I run is Vim, which I run through Gnome-
Terminal.  I frequently have several copies running
simultaneously.  In general response to Gnome-Terminal
commands is very fast, but sometimes when I try to open a
file with Vim it takes up to 20-30 seconds to load.  The
files are not particularly large (max 300 lines).

During this time, if I try to launch another application in
Gnome (e.g., Opera or another Gnome-Terminal), it will not
come up.  It is as if everything is frozen until finally Vi
loads and opens the file, at which point anything else I have
tried to open works fine.


Is it possible that you're low on RAM, and the system has to swap in a  
bunch of stuff to let you task-switch to Opera or GT?  Is it only the  
combination of GT  Vim, or do you sometimes encounter this long delay  
when switching between applications doing other things?



I have of course looked at top when this problem occurs.  CPU
usage is about 2%, and there is no significant memory usage
either.


It would be helpful to know what state the GT  vim processes were in,  
too.


RAM usage remains very low throughout.  In addition, I have 2GB of RAM on  
this system, so while that was also my first suspicion, I don't think  
that's it.


When vim exhibits this behavior (which it doesn't always do), it will sit  
in sbwait and will finally load as it comes out of sbwait.  If I try to  
open another GT during vim's stalling, it will also be stuck in sbwait,  
generally coming out of it at the same time as vim.


Thanks very much for your thoughts!

-- Ned Ruggeri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]