Re: Tuning for very little RAM

2010-01-06 Thread Gary Kline
On Tue, Jan 05, 2010 at 08:03:45PM +1000, Da Rock wrote:
 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
 


It's late here so I'm pretty much doing this ad hoc, but I think you
should renice the least important apps.  Your mail MUA/MTA can be set
to very low prio, for instance.  If this is an ongoing demo, bring up
and leave up OOo and have it set a it higher than your email.  wine:
don't know.  Your broswer should be set very high.

gary

PS: About three years back I ran a 1998 HP deskyop with less than 512M
with full KDE.  It was slow is some things, but perfectly adaquate so
long as I didn't try everything at once!

 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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


partly solved: kernel: g_vfs_done error = 5

2010-01-06 Thread Bas Smeelen
It turns out that when the vmware host san is being heavily (importing
vm's, multiple back-up jobs) used this error pops up in the freebsd guest.
It is (just) a timeout error, but still this should not happen.
I have been looking at the sysctl variables for vfs if it is possible to
increase the timeout value, but i do not see a setting that could
accomplish this, also this would not be the right solution i guess.
The only right solution would for the vmware host admin to tune the san
settings (or the specific lun) or to spread the load more evenly.



DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.
If you have received it by mistake please let us know by reply and then delete 
it from your system.

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


Re: copying a disk with ignoring errors

2010-01-06 Thread Christoph Kukulies

Thanks to all.

recoverdisk

was the one, indeed. phk was the original author. And that was the one 
that already helped me once.
Maybe I could have searched the archives  also and would have been able 
to find that previous message a couple of years ago.


I also found by searching archives, that ffsrecov, now ffs2recov, might 
be a tool for partially recovering a disk.


--
Christoph

Mike Tancsa schrieb:

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


Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Paul Shi
Hi Everyone,

I am trying to find a way to setup a wireless network with a FreeBSD server
machine running FTP service. The release of FreeBSD I intend to use is 2.0.5
but I could not find anything on how to setup FTP service on FreeBSD 2.0.5
in handbook. There are only howto on PPP and SLIP. Does anyone have a
handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks!

Your sincerely,
Paul Shi
Electronic and Communication Engineering Senior
Department of Electrical and Electronic Engineering
University of Hong Kong
___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Matthew Seaman

Paul Shi wrote:

Hi Everyone,

I am trying to find a way to setup a wireless network with a FreeBSD server
machine running FTP service. The release of FreeBSD I intend to use is 2.0.5
but I could not find anything on how to setup FTP service on FreeBSD 2.0.5
in handbook. There are only howto on PPP and SLIP. Does anyone have a
handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks!


Does FreeBSD 2.0.5 even have any support for wireless networking devices?  


As I recall for that vintage of FreeBSD, it was simply a matter of uncommenting
the appropriate line in /etc/inetd.conf and (re)starting inetd -- there are no
rc.subr scripts in a system that old, so to restart inetd, you'ld have to do
something like:

  # kill -HUP `cat /var/run/inetd.pid`

To start it at all, just run:

  # /usr/sbin/inetd

Enabling it to be automatically started on reboot is pretty much the same as
nowadays: just stick inetd_enable=YES into /etc/rc.conf.  If you want to
provide anonymous FTP, then I believe there were instructions in the ftpd(8)
man page.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Elias Chrysocheris
On Wednesday 06 of January 2010 12:20:53 Paul Shi wrote:
 Hi Everyone,
 
 I am trying to find a way to setup a wireless network with a FreeBSD server
 machine running FTP service. The release of FreeBSD I intend to use is
  2.0.5 but I could not find anything on how to setup FTP service on FreeBSD
  2.0.5 in handbook. There are only howto on PPP and SLIP. Does anyone have
  a handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks!
 
 Your sincerely,
 Paul Shi
 Electronic and Communication Engineering Senior
 Department of Electrical and Electronic Engineering
 University of Hong Kong
 ___
 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
 

See Chapter 29 section 8: 29.8 File Transfer Protocol (FTP)
Contributed by Murray Stokely.

http://www.freebsd.org/doc/en/books/handbook/network-ftp.html

It worked for me so I don't thing that you are going to have problems if you 
follow these instructions.

Elias
___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Polytropon
On Wed, 06 Jan 2010 10:38:17 +, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:
 As I recall for that vintage of FreeBSD, it was simply a matter of 
 uncommenting
 the appropriate line in /etc/inetd.conf [...]

Which would be something like

ftp stream tcp nowait root /usr/sbin/ftpd ftpd -ll

Note that I've appended ftpd -ll to enable extended
logging which is often useful when running an FTP server,
so you can check things if problems occur. To make this
setting take effect, touch /var/log/ftpd.log and

!ftpd
*.* /var/log/ftpd.log

to your /etc/syslog.conf.

I'm not sure if all these mechanisms have already been
present on 2.0.5, because I'm a FreeBSD user since 4.0.

Did 2.0.5 already have sysinstall? I seem to remember that
when enabling FTP, a little subtree was created in /var/ftp.
But I think it was related to anonymous FTP. If you're not
going to use it - I didn't say anything. :-)



 Enabling it to be automatically started on reboot is pretty much the same as
 nowadays: just stick inetd_enable=YES into /etc/rc.conf. 

Hasn't there been ,,ftpd_enable=YES'' in 2.0.5's rc.conf
already? Allthough I'm running FTP services, I've never used
that setting (inetd is sufficient).



 If you want to
 provide anonymous FTP, then I believe there were instructions in the ftpd(8)
 man page.

At least on my (7-S) system it is the case, but there should
be similar information in earlier man pages. It describes
the stuff sysinstall does, as I mentioned (guessed) before.

For security considerations, keep an eye on /etc/ftpusers;
the names ftp (stands for anonymous FTP account - if
you don't want to provide that service) and of course root
should be contained.



-- 
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: Tuning for very little RAM

2010-01-06 Thread Bill Moran
In response to Da Rock freebsd-questi...@herveybayaustralia.com.au:

 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.

The most obvious thing to do is reduce the number of running programs.
Go through /etc/ttys, for example, and disable all but one or two consoles,
and edit /etc/rc.conf to disable anything that you don't need on the
system (possible sendmail, syslog?, etc)


-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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


ad0s1a expected rawoffset 0, found 63 / after upgrade to FreeBSD-8.0

2010-01-06 Thread Hanno Krusken
after upgrading FreeBSD-7.1-releng-p9 to Freebsd-8.0-releng-p1 from source, I 
get a boot ERROR !

build world and the lot went OK, 1st boot and installworld as well, after 
mergemaster process and
the following reboot I get this boot message and get stuck:

LOADING /boot/defaults/loader.conf
error: stack overflow
error: stack overflow
.
.
error: stack overflow
..
|
can't load 'kernel'

(manual boot works but I get this errors:)
OK boot

GEOM: ad0: partition 1 dose not start on a track boundary
ad0s1a expected rawoffset 0, found 63


well as far I asked google there is no good answer to work around that 
regarding a upgrade
from FreeBSD-7.1 to FreeBSD-8.0... actually I get the same error by upgrading 
to FBSD-7.2 as well by

my /boot/defaults/loader.conf is the one coming with FreeBSD-8.0-releng-p1 and 
is unchanged !

after the error: stack overflow I can boot-s and boot in to the system, 
but my GELI /swap
partition is not found or used but the hidden drive is working after 
manual boot ?!

there is something going on with GEOM... (the disk was new and was 
formatted while installing
FreeBSD-5.4-releng years ago).. since than any FreeBSD-5.x, 6.x, 7.0+7.1 
installed from source with
out any problems.

my /etc/fstab:

/dev/ad0s1b.bde noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1f /home   ufs rw  2   2
/dev/ad0s1e /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

hidden drive working well after manual boot !
/dev/ad0s1g.bde

my /boot/loader.conf:

currdev=disk1s1a
module_path=/boot/modules
root_disk_unit=0
rootdev=ad0s1a
vfs.root.mountfrom=ufs:ad0s1a

kernel contains:
-
options GEOM_PART_BSD   # GUID Partition Tables.
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_PART_MBR   # GUID Partition Tables.
options GEOM_BSD# BSD encrypting Filesystem support
options GEOM_BDE# BDE encrypting Filesystem support
options GEOM_ELI# ELI encrypting Filesystem support
options GEOM_LABEL  # Provides labelization
options GEOM_MBR# MBR encrypting Filesystem support

the funny thing is, that if I put a faulty currdev string in to loader.conf, 
that I only get a
error regarding syntax error for currdev and the normal boot process is 
starting the right
kernel... well with some other errors than but is booting automatically.

need help to get FreeBSD-8.0-releng-p1 up and running as normal...
___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Paul Shi
Dear Matthew and Everyone,

Thank you so much for your response. I think I will just create a user named
ftp to enable anonymous access since security is not our major concern so
far.

The thing concerns me is exact the question you asked in the first place:
Does FreeBSD 2.0.5 even have any support for wireless networking devices?
Because I cannot find any reference it. I am wondering if anyone in this
mailing list has a answer to this question. And I am just curious to see how
people made wireless network back in 1990s. It must be quite fun. Again,
any comment on wireless networking under FreeBSD will be greatly
appreciated! Thank all of you so much!

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


On Wed, Jan 6, 2010 at 6:38 PM, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:

 Paul Shi wrote:

 Hi Everyone,

 I am trying to find a way to setup a wireless network with a FreeBSD
 server
 machine running FTP service. The release of FreeBSD I intend to use is
 2.0.5
 but I could not find anything on how to setup FTP service on FreeBSD 2.0.5
 in handbook. There are only howto on PPP and SLIP. Does anyone have a
 handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks!


 Does FreeBSD 2.0.5 even have any support for wireless networking devices?
 As I recall for that vintage of FreeBSD, it was simply a matter of
 uncommenting
 the appropriate line in /etc/inetd.conf and (re)starting inetd -- there are
 no
 rc.subr scripts in a system that old, so to restart inetd, you'ld have to
 do
 something like:

  # kill -HUP `cat /var/run/inetd.pid`

 To start it at all, just run:

  # /usr/sbin/inetd

 Enabling it to be automatically started on reboot is pretty much the same
 as
 nowadays: just stick inetd_enable=YES into /etc/rc.conf.  If you want to
 provide anonymous FTP, then I believe there were instructions in the
 ftpd(8)
 man page.

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Robert Huff

Hello:

  The thing concerns me is exact the question you asked in the
  first place: Does FreeBSD 2.0.5 even have any support for
  wireless networking devices?  Because I cannot find any reference
  it. I am wondering if anyone in this mailing list has a answer to
  this question. And I am just curious to see how people made
  wireless network back in 1990s.

I believe the answer would be No..  The first mention I can
find of wireless adapters in the release notes is for 3.3, in late
1998.


Robert Huff


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


Re: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Matthew Seaman

Robert Huff wrote:

Hello:


 The thing concerns me is exact the question you asked in the
 first place: Does FreeBSD 2.0.5 even have any support for
 wireless networking devices?  Because I cannot find any reference
 it. I am wondering if anyone in this mailing list has a answer to
 this question. And I am just curious to see how people made
 wireless network back in 1990s.


I believe the answer would be No..  The first mention I can
find of wireless adapters in the release notes is for 3.3, in late
1998.


Wireless networking in the mid-90's would have been a very new thing,
at least as a consumer item.  It's about then that the very first mobile
phones came out -- those were as big a brick and had about an hour's battery
life. 


Much of the computing world was running 10baseT thin-wire ethernet, and
although 100baseT Cat5 kit was available, it was pretty expensive.  The
WWW had only just become popular -- it was around '93  that it started to
make the big-time.  Most home connectivity was via acoustically coupled
modems running at 96Kbaud if you were lucky. 48Kbaud probably more common[*].
Oh, and 8 MB RAM or 1 GB Hard disk was considered quite big...

Cheers,

Matthew

[*] The Beeb was still using that modem-handshaking sound clip as an aural
clue that the subject of an item was 'computers' even up to a year or so
ago.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Jon Radel

Paul Shi wrote:

Dear Matthew and Everyone,

Thank you so much for your response. I think I will just create a user named
ftp to enable anonymous access since security is not our major concern so
far.


I should hope that security will never be your concern, given how many 
years of security related patches you're missing.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


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

2010-01-06 Thread Warren Block

On Wed, 6 Jan 2010, manish jain wrote:


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.


Xorg -configure will create a very basic xorg.conf.  Usually I just copy 
the Device section out of that and into one of my own configs where all 
the excess has been removed.


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.


First, check the Handbook X11 configuration section to see what it says 
about hal and dbus.  It describes both using them and running without.



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


That works, yes.

Here's a slightly-modified copy of the xorg.conf from my netbook, which 
uses hal and dbus.  You'll probably need to change the BusID to match 
your system.


Section ServerLayout
Identifier   AA1 Manually Configured
Screen   0  Screen0 0 0
EndSection

Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/bitstream-vera/
EndSection

Section DRI
Mode  0660
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel # [bool]
#Option SWcursor# [bool]
#Option ColorKey# i
#Option CacheLines  # i
#Option Dac6Bit # [bool]
#Option DRI # [bool]
#Option NoDDC   # [bool]
#Option ShowCache   # [bool]
#Option XvMCSurfaces# i
#Option PageFlip# [bool]
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 945GME Express Integrated Graphics Controller
BusID   PCI:0:2:0
Option  Monitor-LVDS Monitor0
Option  MonitorLayout LVDS,VGA
Option  AccelMethod EXA
EndSection

Section Screen
Identifier Screen0
Device Card0
SubSection Display
Virtual 1440 900
EndSubSection
EndSection

-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


class.ezpdf.php errors

2010-01-06 Thread Paul Macdonald



I just noticed that some dynamic pdfs are coming out with the content all 
misaligned, the same happens on the demo page

If anyone uses Cezpdf on latest php can they please test and see if it still 
works?

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


keyboard and mouse no longer working

2010-01-06 Thread n dhert
On a dual-boot PC (windows, ubuntu) I added a FreeBSD 7.2-amd64 partition.
No problem.

Then I removed the SATA disk, and replaced it with a larger SATA disk.
With GParted I removed everything on that newer disk, and started installing
FreeBSD 7.2 amd64
from a DVD. The installation started, and a the FreeBSD Welcome screen I
could press enter
to skip the 10 seconds wait time.
Then the normal messages rolled over the screen, but I noticed among them:
 usb1: host controller halted
 ubub1: IOERROR
And saw that the red light of the optical mouse went out...
And at the selecting screen to select a Country, I saw the keyboard was not
responding.
Both keyboard and mouse are USB, the system has no other kind of ports for
keyboard or mouse.
I tried with other USB ports (there are 4 at the back, 2 at the front) - no
help.

I reinstalled the original Windows/Ubuntu/FreeBSD disk. Booted in Windows,
everyhting OK,
booted in Ubuntu everything OK, booted in FreeBSD: now same phenomenon:
I can still press Enter at eh FreeBSD Welcome screen but the same messages
  usb1: host controller halted
 ubub1: IOERROR
appear and I can't use keyboard and mouse anymore.

It has worked before...

What can be the reason and how to solve this utterly mysterious behaviour
...
___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Robert Huff

Matthew Seaman writes:

  [*] The Beeb was still using that modem-handshaking sound clip as
  an aural clue that the subject of an item was 'computers' even up
  to a year or so ago.

Which may be anachronistic, but is both audibly and
conceptually distinct.  Quickly - what's the sound of an OC3, or a
web page loading?
(I spent 1996 (I think) doing QA for a company building a
remote access product.  Got to the point I could name each phase of
the modem handshake, and stood a good chance of being able to
identify the speed and encryption method.)


Robert Huff

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


Re: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Jerry McAllister
On Wed, Jan 06, 2010 at 06:20:53PM +0800, Paul Shi wrote:

 Hi Everyone,
 
 I am trying to find a way to setup a wireless network with a FreeBSD server
 machine running FTP service. The release of FreeBSD I intend to use is 2.0.5
 but I could not find anything on how to setup FTP service on FreeBSD 2.0.5
 in handbook. There are only howto on PPP and SLIP. Does anyone have a
 handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks!

The FreeBSD Handbook has information on using FTP.

I haven't followed your whole thread, but is there a good reason
you want to use such an old version of FreeBSD?   You would be
very seriously better off installing the latest version -- especially
if you plan to use the system on the internet.  There have been many
many security fixes since 2.0.5 was around. It should not be
difficult to have access to the latest version in Hong Kong.  
There may even be a mirror site there.

jerry   


 
 Your sincerely,
 Paul Shi
 Electronic and Communication Engineering Senior
 Department of Electrical and Electronic Engineering
 University of Hong Kong
 ___
 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: Tuning for very little RAM

2010-01-06 Thread Bruce Cran
On Tue, 05 Jan 2010 20:03:45 +1000
Da Rock freebsd-questi...@herveybayaustralia.com.au wrote:

 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.

You can save a bit of memory by building a custom kernel. First, remove
any options you don't need such as INET6, NFS, AUDIT etc. Then, you can
replace device ata with more specific drivers, and device mii with
specific PHY drivers for your NIC. On a 128MB box I have that's running
8-STABLE my kernel is just 4.1MB.

You should also be able to build Xorg so it'll use less memory - for
example by not requiring hald but getting it to read the
configuration from xorg.conf instead.

You can also tell FreeBSD to agressively swap idle processes out by
setting vm.swap_idle_enabled to 1.

-- 
Bruce Cran
___
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


mysql not starting on boot

2010-01-06 Thread Rob
Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting 
on boot anymore.  It starts fine once the system has booted, and looking 
at the mysql log I see:


100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from 
/var/db/m

ysql
100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!: 
Unknown er

ror: 0
100105 17:46:56 [ERROR] Aborting

I use dhcp and ddns in my network, so I'm guessing that mysql is 
attempting to start before the networking has stabilized.  Is there a 
way to make mysql be the last thing started at boot?


I tried adding:

# REQUIRE: NETWORKING

To the init script, but that didn't seem to have any effect.  Is there a 
tool that will run through all the init scripts and tell you the order 
of startup?


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


ubub1: device problem (IOERROR), disabling port 2

2010-01-06 Thread n dhert
On a Dell Optiplex210L (no PS/2 connectors) I installed Freebsd 7.2 a few
weeks ago.
All OK.
Then swapped the disk for a empty larger one, wanted to install freebsd from
the
7.2-RELEASE-amd643.dvd1.iso (as I did before).
In BIOS, and at FreeFSD Welcome screen keyboard still works, but later
during kernel initialization, I see:
usb1: host controller halted
uhub1: device problem (IOERROR), disabling port 2
and I can't use keyboard and mouse anymore, hence can't install.

Swapped the disk again for the original one.
Now I have the same problem when booting into FreeBSD, which booted a few
weeks ago ...

What is going onand how to solve it ?
(No options in the BIOS for USB legacy support)
___
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: mysql not starting on boot

2010-01-06 Thread Matthew Seaman

Rob wrote:
Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting 
on boot anymore.  It starts fine once the system has booted, and looking 
at the mysql log I see:


100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from 
/var/db/m

ysql
100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!: 
Unknown er

ror: 0
100105 17:46:56 [ERROR] Aborting

I use dhcp and ddns in my network, so I'm guessing that mysql is 
attempting to start before the networking has stabilized.  Is there a 
way to make mysql be the last thing started at boot?


MySQL will be happy if it can work out what the hostname of the machine
is.  You say you're using ddns?  If that means your machines are pushing
a hostname up to the DHCP server while they ask it for an IP number, then
there should be no problem.

You can simply set the hostname in /etc/rc.conf -- it doesn't really
matter if the machine thinks its name is one thing, and the IPs on its
network interfaces resolve to something else (at least, not for the
purposes of running mysql.).  The thing you'ld have to look out for are
the host part of  usernames in grants of permissions to users.  


I tried adding:

# REQUIRE: NETWORKING

To the init script, but that didn't seem to have any effect.  Is there a 
tool that will run through all the init scripts and tell you the order 
of startup?


rcorder(8)

You might also find it beneficial to use 'SYNCDHCP' instead of plain 'DHCP'
in ifconfig_XXY lines in /etc/rc.conf -- this will cause the boot process to
block on getting an IP for the interface, rather than the default action of
backgrounding that process and trying to start everything else up.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: mysql not starting on boot

2010-01-06 Thread P.
Qua, 2010-01-06 às 16:16 +, Matthew Seaman escreveu:
 Rob wrote:
  Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting 
  on boot anymore.  It starts fine once the system has booted, and looking 
  at the mysql log I see:
  
  100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from 
  /var/db/m
  ysql
  100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!: 
  Unknown er
  ror: 0
  100105 17:46:56 [ERROR] Aborting
  
  I use dhcp and ddns in my network, so I'm guessing that mysql is 
  attempting to start before the networking has stabilized.  Is there a 
  way to make mysql be the last thing started at boot?
 
 MySQL will be happy if it can work out what the hostname of the machine
 is.  You say you're using ddns?  If that means your machines are pushing
 a hostname up to the DHCP server while they ask it for an IP number, then
 there should be no problem.
 
 You can simply set the hostname in /etc/rc.conf -- it doesn't really
 matter if the machine thinks its name is one thing, and the IPs on its
 network interfaces resolve to something else (at least, not for the
 purposes of running mysql.).  The thing you'ld have to look out for are
 the host part of  usernames in grants of permissions to users.  

I have exactly the same problem, but with apache. It seems that the
apache try to start before the network.

  I tried adding:
  
  # REQUIRE: NETWORKING
  
  To the init script, but that didn't seem to have any effect.  Is there a 
  tool that will run through all the init scripts and tell you the order 
  of startup?
 
 rcorder(8)
 
 You might also find it beneficial to use 'SYNCDHCP' instead of plain 'DHCP'
 in ifconfig_XXY lines in /etc/rc.conf -- this will cause the boot process to
 block on getting an IP for the interface, rather than the default action of
 backgrounding that process and trying to start everything else up.

This will be useful for me too. Thank you.


___
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: mysql not starting on boot

2010-01-06 Thread Samuel Martín Moro
About apache, maybe it's the ServerName option that's missing.

On Wednesday, January 6, 2010, Dário P. fbsd.questions.l...@gmail.com wrote:
 Qua, 2010-01-06 às 16:16 +, Matthew Seaman escreveu:
 Rob wrote:
  Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting
  on boot anymore.  It starts fine once the system has booted, and looking
  at the mysql log I see:
 
  100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from
  /var/db/m
  ysql
  100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!:
  Unknown er
  ror: 0
  100105 17:46:56 [ERROR] Aborting
 
  I use dhcp and ddns in my network, so I'm guessing that mysql is
  attempting to start before the networking has stabilized.  Is there a
  way to make mysql be the last thing started at boot?

 MySQL will be happy if it can work out what the hostname of the machine
 is.  You say you're using ddns?  If that means your machines are pushing
 a hostname up to the DHCP server while they ask it for an IP number, then
 there should be no problem.

 You can simply set the hostname in /etc/rc.conf -- it doesn't really
 matter if the machine thinks its name is one thing, and the IPs on its
 network interfaces resolve to something else (at least, not for the
 purposes of running mysql.).  The thing you'ld have to look out for are
 the host part of  usernames in grants of permissions to users.

 I have exactly the same problem, but with apache. It seems that the
 apache try to start before the network.

  I tried adding:
 
  # REQUIRE: NETWORKING
 
  To the init script, but that didn't seem to have any effect.  Is there a
  tool that will run through all the init scripts and tell you the order
  of startup?

 rcorder(8)

 You might also find it beneficial to use 'SYNCDHCP' instead of plain 'DHCP'
 in ifconfig_XXY lines in /etc/rc.conf -- this will cause the boot process to
 block on getting an IP for the interface, rather than the default action of
 backgrounding that process and trying to start everything else up.

 This will be useful for me too. Thank you.


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


-- 
Samuel Martín Moro
CamTrace
{EPITECH.} tek4

Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(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: mysql not starting on boot

2010-01-06 Thread P.
Qua, 2010-01-06 às 18:03 +0100, Samuel Martín Moro escreveu:
 About apache, maybe it's the ServerName option that's missing.

I don't think so, because I have it on httpd.conf.

#
# ServerName gives the name and port that the server uses to identify
itself.
# This can often be determined automatically, but we recommend you
specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address
here.
#
ServerName www.ptbox.org:80


Can it be something wrong with VirtualHost's ?

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


Re: Tuning for very little RAM

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 04:25:31 PST Bill Moran wrote:

In response to Da Rock freebsd-questi...@herveybayaustralia.com.au:


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.


The most obvious thing to do is reduce the number of running programs.
Go through /etc/ttys, for example, and disable all but one or two consoles,
and edit /etc/rc.conf to disable anything that you don't need on the
system (possible sendmail, syslog?, etc)


The other most obvious thing to do is to look at the apps you're running
and see if there are more lightweight alternatives.

If I had to run a machine like that, I'd probably want to avoid X
Windows altogther and go console-only.  But it sounds like your
skeptics won't let you do that.

Assuming you have to use X, you'll want to avoid heavyweight desktop
environments like KDE or Gnome.  I like tiled window managers like musca
or dwm myself, but your skeptics will probably want a more traditional
window manager (aka MS-Windows clone) like xfce or openbox.

When you say internet (with plugins) I think you mean Firefox.  If
this isn't a hard and fast requirement, take a look at some of the more
lightweight browsers like Midori, Kazehakase or Arora.  (I'd recommend
even more lightweight alternatives like surf or elinks, but I don't
think your skeptics will approve.)

Same for OpenOffice.  There are alternatives to each of the apps in the
OpenOffice suite that might not have all the same bells and whistles,
but will run in much less RAM.   


For some ideas on which apps to try, look at the apps bundled in some of
the Linux distros that target small machines.
http://bengross.com/smallunix.html has a good list of these distros.
___
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: mysql not starting on boot

2010-01-06 Thread Matt
On Wed, Jan 6, 2010 at 11:20 AM, Dário P. fbsd.questions.l...@gmail.com wrote:
 Qua, 2010-01-06 às 18:03 +0100, Samuel Martín Moro escreveu:
 About apache, maybe it's the ServerName option that's missing.

 I don't think so, because I have it on httpd.conf.

 #
 # ServerName gives the name and port that the server uses to identify
 itself.
 # This can often be determined automatically, but we recommend you
 specify
 # it explicitly to prevent problems during startup.
 #
 # If your host doesn't have a registered DNS name, enter its IP address
 here.
 #
 ServerName www.ptbox.org:80


 Can it be something wrong with VirtualHost's ?

The only name-resolution errors I've seen with Apache startup that
resemble this situation have been related to the use of the
mod_unique_id.so module.  That one will fail if name resolution isn't
available at startup time.
___
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: keyboard and mouse no longer working

2010-01-06 Thread Warren Block

On Wed, 6 Jan 2010, n dhert wrote:


On a dual-boot PC (windows, ubuntu) I added a FreeBSD 7.2-amd64 partition.
No problem.

Then I removed the SATA disk, and replaced it with a larger SATA disk.
With GParted I removed everything on that newer disk, and started installing
FreeBSD 7.2 amd64
from a DVD. The installation started, and a the FreeBSD Welcome screen I
could press enter
to skip the 10 seconds wait time.
Then the normal messages rolled over the screen, but I noticed among them:
usb1: host controller halted
ubub1: IOERROR


If you have an external hub, try connecting keyboard and mouse directly 
to the computer.


If there's a Legacy USB Support or similar option in the BIOS, disable 
it.  Or you could try booting with the keyboard disconnected, then 
connect it after FreeBSD has started.


-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: Tuning for very little RAM

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 09:21:06 PST Charlie Kester wrote:


For some ideas on which apps to try, look at the apps bundled in some of
the Linux distros that target small machines.
http://bengross.com/smallunix.html has a good list of these distros.


Hmm, I probably should have checked that reference more thoroughly
before using it here.  It's not as helpful for these purposes as I
thought.

Instead, I recommend googling for lightweight linux apps.  It's a
frequently-discussed topic, and the people involved seem to love making
lists. Most of the apps mentioned are in the FreeBSD portstree, so don't
be put off by the fact that the discussion is usually confined to Linux.

___
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: Tuning for very little RAM

2010-01-06 Thread Warren Block

On Wed, 6 Jan 2010, Charlie Kester wrote:


Assuming you have to use X, you'll want to avoid heavyweight desktop
environments like KDE or Gnome.  I like tiled window managers like musca
or dwm myself, but your skeptics will probably want a more traditional
window manager (aka MS-Windows clone) like xfce or openbox.


Hey, xfce is not like Windows, it's fast.  If you want really light and 
Windows-like, icewm.  Although last time I tried it, desktop icons--the 
lifeblood of the typical Windows user--required external programs 
(idesk) and were a hassle.



When you say internet (with plugins) I think you mean Firefox.  If
this isn't a hard and fast requirement, take a look at some of the more
lightweight browsers like Midori, Kazehakase or Arora.  (I'd recommend
even more lightweight alternatives like surf or elinks, but I don't
think your skeptics will approve.)


AdblockPlus and FlashBlock are near requirements for browsing, 
particularly for slow machines.  Maybe they'll work with non-Firefox 
gecko browsers.



Same for OpenOffice.  There are alternatives to each of the apps in the
OpenOffice suite that might not have all the same bells and whistles,
but will run in much less RAM.


gnumeric is nice for a spreadsheet.  May not be particularly 
lightweight, but lighter than OO.


-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: mysql not starting on boot

2010-01-06 Thread Rob

To the mysql init script, I added:

# REQUIRE: dhclient

And to the dhclient init script I added:

# REQUIRE: NETWORKING

In addition to changing DHCP to SYNCDHCP in rc.conf, mysql now starts up 
on boot.  I would think the dhclient change should be required in the 
default setup since NETWORKING should be up before attempting to grab a 
dhcp IP, or am I misunderstanding here?


Either way, the above seems to have solved my problem.  Thanks!

Rob

Matthew Seaman wrote:

Rob wrote:
Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting 
on boot anymore.  It starts fine once the system has booted, and 
looking at the mysql log I see:


100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from 
/var/db/m

ysql
100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!: 
Unknown er

ror: 0
100105 17:46:56 [ERROR] Aborting

I use dhcp and ddns in my network, so I'm guessing that mysql is 
attempting to start before the networking has stabilized.  Is there a 
way to make mysql be the last thing started at boot?


MySQL will be happy if it can work out what the hostname of the machine
is.  You say you're using ddns?  If that means your machines are pushing
a hostname up to the DHCP server while they ask it for an IP number, then
there should be no problem.

You can simply set the hostname in /etc/rc.conf -- it doesn't really
matter if the machine thinks its name is one thing, and the IPs on its
network interfaces resolve to something else (at least, not for the
purposes of running mysql.).  The thing you'ld have to look out for are
the host part of  usernames in grants of permissions to users. 

I tried adding:

# REQUIRE: NETWORKING

To the init script, but that didn't seem to have any effect.  Is there 
a tool that will run through all the init scripts and tell you the 
order of startup?


rcorder(8)

You might also find it beneficial to use 'SYNCDHCP' instead of plain 'DHCP'
in ifconfig_XXY lines in /etc/rc.conf -- this will cause the boot 
process to

block on getting an IP for the interface, rather than the default action of
backgrounding that process and trying to start everything else up.

Cheers,

Matthew


___
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


Booting from ZFS raidz

2010-01-06 Thread Anselm Strauss
Hi,

I'm experimenting with a ZFS only system and booting from it in VirtualBox. 
Thanks to various mails and forum posts from the net I have a working scenario 
with booting from a ZFS mirror. However, I can't get the thing to work with 
raidz with the exactly same setup, except that the pool is now raidz instead of 
mirror and there is one more disk. I feel sure I have all the stuff with 
partitioning, boot loader installation, etc. right. I tested this with version 
8.0-RELEASE on 64bit.

Now, before I go into detailed explaining, is raidz really supported? I always 
get the following error after it says FreeBSD/i386 bootstrap loader, Revision 
1.1:

ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS object directory
(repeats a lot)
Can't find root filesystem - giving up
can't load 'kernel'

I think the MOS message comes from zfs_mount_root() in 
/usr/src/sys/boot/zfs/zfsimpl.c. I asume that is the point when /boot/loader 
has been loaded and now wants to load the kernel into memory. After that error 
I'm in the loader prompt. When I try to load any file I always get the same 
error as above.

Anyone any ideas?

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


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

2010-01-06 Thread Manish Jain


Hello Warren/Polytropon,

Thanks a lot for the information.

As Polytropon stated, xorg.conf is generally not needed nowadays. So I 
just did a startx and things worked out fine. However, this behaviour is 
more Windowish than Unixish. I would like to remember the -configure 
option for my own sake.



Thanks again to you and Polytropon.

Manish Jain
invalid.poin...@gmail.com


Warren Block wrote:

On Wed, 6 Jan 2010, manish jain wrote:

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.


Xorg -configure will create a very basic xorg.conf.  Usually I just 
copy the Device section out of that and into one of my own configs 
where all the excess has been removed.


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.


First, check the Handbook X11 configuration section to see what it 
says about hal and dbus.  It describes both using them and running 
without.


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


That works, yes.

Here's a slightly-modified copy of the xorg.conf from my netbook, 
which uses hal and dbus.  You'll probably need to change the BusID to 
match your system.


Section ServerLayout
Identifier   AA1 Manually Configured
Screen   0  Screen0 0 0
EndSection

Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/bitstream-vera/
EndSection

Section DRI
Mode  0660
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel# [bool]
#Option SWcursor   # [bool]
#Option ColorKey   # i
#Option CacheLines # i
#Option Dac6Bit# [bool]
#Option DRI# [bool]
#Option NoDDC  # [bool]
#Option ShowCache  # [bool]
#Option XvMCSurfaces   # i
#Option PageFlip   # [bool]
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 945GME Express Integrated Graphics Controller
BusID   PCI:0:2:0
Option  Monitor-LVDS Monitor0
Option  MonitorLayout LVDS,VGA
Option  AccelMethod EXA
EndSection

Section Screen
Identifier Screen0
Device Card0
SubSection Display
Virtual 1440 900
EndSubSection
EndSection

-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: Tuning for very little RAM

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 09:52:32 PST Warren Block wrote:

On Wed, 6 Jan 2010, Charlie Kester wrote:


Assuming you have to use X, you'll want to avoid heavyweight desktop
environments like KDE or Gnome.  I like tiled window managers like musca
or dwm myself, but your skeptics will probably want a more traditional
window manager (aka MS-Windows clone) like xfce or openbox.


Hey, xfce is not like Windows, it's fast.  


LOL


If you want really light and Windows-like, icewm.  Although last time I
tried it, desktop icons--the lifeblood of the typical Windows
user--required external programs (idesk) and were a hassle.


I don't think we want to hijack this thread or this forum and turn it
into a debate over which window managers and apps are best.  As I
pointed out in my followup to my original reply, there's already a
voluminous discussion on those topics.  I think we should simply point
interested readers in that direction and let them make up their own
minds.




When you say internet (with plugins) I think you mean Firefox.  If
this isn't a hard and fast requirement, take a look at some of the more
lightweight browsers like Midori, Kazehakase or Arora.  (I'd recommend
even more lightweight alternatives like surf or elinks, but I don't
think your skeptics will approve.)


AdblockPlus and FlashBlock are near requirements for browsing, 
particularly for slow machines.  Maybe they'll work with non-Firefox 
gecko browsers.


Good point.  Something anyone considering these Firefox alternatives
should investigate.




Same for OpenOffice.  There are alternatives to each of the apps in the
OpenOffice suite that might not have all the same bells and whistles,
but will run in much less RAM.


gnumeric is nice for a spreadsheet.  May not be particularly 
lightweight, but lighter than OO.


Same with Abiword for a word processor.  But again, we probably
shouldn't get too deep into the discussion of various apps.
___
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: Tuning for very little RAM

2010-01-06 Thread Kaya Saman

[...]


I don't think we want to hijack this thread or this forum and turn it
into a debate over which window managers and apps are best.  As I
pointed out in my followup to my original reply, there's already a
voluminous discussion on those topics.  I think we should simply point
interested readers in that direction and let them make up their own
minds.


[...]

I am currently using a PIV 2.4GHz with 480MB RAM with fluxbox!

This works really well, I have firefox and opera browsers installed and 
will look at getting my favorite Seamonkey installed too sometime but 
isn't a priority as this machine doubles as a DNS, NTP, NFS, and Radio 
streaming server :-)


And I only have a 35GB HD too which is peanuts considering that in my 
full-blown network in my other house I have round 3.2TB...


So far am only using 80-90MB RAM when X is turned off! With X on it's 
round ~125MB that's with running Xterm, Firefox, and Rhythmbox or even 
Mplayer.


In my opinion it's always best to test and try out a few WM's to see 
which one fits the bill best, after that it's easy!


Regards,

Kaya
___
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: Tuning for very little RAM

2010-01-06 Thread Da Rock
On Wed, 2010-01-06 at 21:02 +0200, Kaya Saman wrote:
 [...]
 
  I don't think we want to hijack this thread or this forum and turn it
  into a debate over which window managers and apps are best.  As I
  pointed out in my followup to my original reply, there's already a
  voluminous discussion on those topics.  I think we should simply point
  interested readers in that direction and let them make up their own
  minds.
 
 [...]
 
 I am currently using a PIV 2.4GHz with 480MB RAM with fluxbox!
 
 This works really well, I have firefox and opera browsers installed and 
 will look at getting my favorite Seamonkey installed too sometime but 
 isn't a priority as this machine doubles as a DNS, NTP, NFS, and Radio 
 streaming server :-)
 
 And I only have a 35GB HD too which is peanuts considering that in my 
 full-blown network in my other house I have round 3.2TB...
 
 So far am only using 80-90MB RAM when X is turned off! With X on it's 
 round ~125MB that's with running Xterm, Firefox, and Rhythmbox or even 
 Mplayer.
 
 In my opinion it's always best to test and try out a few WM's to see 
 which one fits the bill best, after that it's easy!

I'm running icewm - desktop icons are not a priority atm, but I will use
idesk later.

I think sysctl options will help, as well as reducing my consoles. I'll
keep everyone posted and see what happens.

Thanks for the pointers guys.


___
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: Tuning for very little RAM

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 11:02:49 PST Kaya Saman wrote:

[...]


I don't think we want to hijack this thread or this forum and turn it
into a debate over which window managers and apps are best.  As I
pointed out in my followup to my original reply, there's already a
voluminous discussion on those topics.  I think we should simply point
interested readers in that direction and let them make up their own
minds.


[...]

I am currently using a PIV 2.4GHz with 480MB RAM with fluxbox!


Well, I'm currently using a P3 866MHz with 512MB RAM with musca!

And it works very well too.  ;-)

Anyway, like I said, let's not get too carried away with this line of
thought.  This thread is about tuning for very little RAM. Choosing
lightweight apps is only one of the things needed to tackle that
problem.

___
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: Booting from ZFS raidz

2010-01-06 Thread krad
2010/1/6 Anselm Strauss amsiba...@gmail.com

 Hi,

 I'm experimenting with a ZFS only system and booting from it in VirtualBox.
 Thanks to various mails and forum posts from the net I have a working
 scenario with booting from a ZFS mirror. However, I can't get the thing to
 work with raidz with the exactly same setup, except that the pool is now
 raidz instead of mirror and there is one more disk. I feel sure I have all
 the stuff with partitioning, boot loader installation, etc. right. I tested
 this with version 8.0-RELEASE on 64bit.

 Now, before I go into detailed explaining, is raidz really supported? I
 always get the following error after it says FreeBSD/i386 bootstrap loader,
 Revision 1.1:

 ZFS: i/o error - all block copies unavailable
 ZFS: can't read MOS object directory
 (repeats a lot)
 Can't find root filesystem - giving up
 can't load 'kernel'

 I think the MOS message comes from zfs_mount_root() in
 /usr/src/sys/boot/zfs/zfsimpl.c. I asume that is the point when /boot/loader
 has been loaded and now wants to load the kernel into memory. After that
 error I'm in the loader prompt. When I try to load any file I always get the
 same error as above.

 Anyone any ideas?

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


Opensolaris doesnt support booting off raidz yet so id be surprised if you
managed to, as i doubt all the relevent code is in the loader, and robust
enough yet. I have seen a few hacks mentioned in places that might get it to
work, bit these are unsupported and might flake out at any time.

Also why do you need a raidz for the os? It implys you might be mixing data
on the pool as well. This isnt best practice, and you are best off having a
separate pool for os and data. If you have 3+ drives, gpt it into 3 or 4
chunks dependent on whether you want swap on a zvol. Have and x way mirror
for the os and then the last and biggest gpt slice use for your raidz data.
Better still have the os and data on separate spindles
___
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: Tuning for very little RAM

2010-01-06 Thread Gary Kline
On Wed, Jan 06, 2010 at 09:21:06AM -0800, Charlie Kester wrote:
 On Wed 06 Jan 2010 at 04:25:31 PST Bill Moran wrote:
 In response to Da Rock freebsd-questi...@herveybayaustralia.com.au:
 
 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.
 
 The most obvious thing to do is reduce the number of running programs.
 Go through /etc/ttys, for example, and disable all but one or two consoles,
 and edit /etc/rc.conf to disable anything that you don't need on the
 system (possible sendmail, syslog?, etc)
 
 The other most obvious thing to do is to look at the apps you're running
 and see if there are more lightweight alternatives.
 
 If I had to run a machine like that, I'd probably want to avoid X
 Windows altogther and go console-only.  But it sounds like your
 skeptics won't let you do that.
 
 Assuming you have to use X, you'll want to avoid heavyweight desktop
 environments like KDE or Gnome.  I like tiled window managers like musca
 or dwm myself, but your skeptics will probably want a more traditional
 window manager (aka MS-Windows clone) like xfce or openbox.


Or even lighter weight, CTWM, which is just a step up from twm


 
 When you say internet (with plugins) I think you mean Firefox.  If
 this isn't a hard and fast requirement, take a look at some of the more
 lightweight browsers like Midori, Kazehakase or Arora.  (I'd recommend
 even more lightweight alternatives like surf or elinks, but I don't
 think your skeptics will approve.)
 
 Same for OpenOffice.  There are alternatives to each of the apps in the
 OpenOffice suite that might not have all the same bells and whistles,
 but will run in much less RAM.   



AbiWord is a great word-processor if that would serve Da Rock's
needs.  For very kwik browsing I use links -G [[the graphical
incarnation of the otherwise text]] links.  

Every bell and whistle is 'just a tad more'; but then so many tads
add up to tons; so it takes some forethought before piling on the
apps.   Da Rock, did you mis-type that you only have 16k free? 

 
 For some ideas on which apps to try, look at the apps bundled in some of
 the Linux distros that target small machines.
 http://bengross.com/smallunix.html has a good list of these distros.


Good one!

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix

___
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: Booting from ZFS raidz

2010-01-06 Thread Sergiy Suprun
Hi.
Some time ago I follow instruction from this wiki
http://wiki.freebsd.org/RootOnZFS and I had a problem like yours.
After some experiments I build loader from CURRENT, and boot fine from
raidz2 zpool. I don't know, may be now this code avialable in 8-STABLE.

On Wed, Jan 6, 2010 at 20:25, Anselm Strauss amsiba...@gmail.com wrote:

 Hi,

 I'm experimenting with a ZFS only system and booting from it in VirtualBox.
 Thanks to various mails and forum posts from the net I have a working
 scenario with booting from a ZFS mirror. However, I can't get the thing to
 work with raidz with the exactly same setup, except that the pool is now
 raidz instead of mirror and there is one more disk. I feel sure I have all
 the stuff with partitioning, boot loader installation, etc. right. I tested
 this with version 8.0-RELEASE on 64bit.

 Now, before I go into detailed explaining, is raidz really supported? I
 always get the following error after it says FreeBSD/i386 bootstrap loader,
 Revision 1.1:

 ZFS: i/o error - all block copies unavailable
 ZFS: can't read MOS object directory
 (repeats a lot)
 Can't find root filesystem - giving up
 can't load 'kernel'

 I think the MOS message comes from zfs_mount_root() in
 /usr/src/sys/boot/zfs/zfsimpl.c. I asume that is the point when /boot/loader
 has been loaded and now wants to load the kernel into memory. After that
 error I'm in the loader prompt. When I try to load any file I always get the
 same error as above.

 Anyone any ideas?

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

___
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


Abiword window corruption

2010-01-06 Thread Warren Block
With the recent mentions of Abiword, I've reinstalled it.  Yet it has 
the same problem it had the last time I tried it: random pixels under 
the current row of text, the old cursor isn't erased when you move to a 
different line.  Am I the only one that sees this?


Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg

-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: Booting from ZFS raidz

2010-01-06 Thread Anselm Strauss
On Jan 6, 2010, at 21:37 , krad wrote:

 2010/1/6 Anselm Strauss amsiba...@gmail.com
 Hi,
 
 I'm experimenting with a ZFS only system and booting from it in VirtualBox. 
 Thanks to various mails and forum posts from the net I have a working 
 scenario with booting from a ZFS mirror. However, I can't get the thing to 
 work with raidz with the exactly same setup, except that the pool is now 
 raidz instead of mirror and there is one more disk. I feel sure I have all 
 the stuff with partitioning, boot loader installation, etc. right. I tested 
 this with version 8.0-RELEASE on 64bit.
 
 Now, before I go into detailed explaining, is raidz really supported? I 
 always get the following error after it says FreeBSD/i386 bootstrap loader, 
 Revision 1.1:
 
 ZFS: i/o error - all block copies unavailable
 ZFS: can't read MOS object directory
 (repeats a lot)
 Can't find root filesystem - giving up
 can't load 'kernel'
 
 I think the MOS message comes from zfs_mount_root() in 
 /usr/src/sys/boot/zfs/zfsimpl.c. I asume that is the point when /boot/loader 
 has been loaded and now wants to load the kernel into memory. After that 
 error I'm in the loader prompt. When I try to load any file I always get the 
 same error as above.
 
 Anyone any ideas?
 
 Thanks,
 Anselm___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 Opensolaris doesnt support booting off raidz yet so id be surprised if you 
 managed to, as i doubt all the relevent code is in the loader, and robust 
 enough yet. I have seen a few hacks mentioned in places that might get it to 
 work, bit these are unsupported and might flake out at any time.
 
 Also why do you need a raidz for the os? It implys you might be mixing data 
 on the pool as well. This isnt best practice, and you are best off having a 
 separate pool for os and data. If you have 3+ drives, gpt it into 3 or 4 
 chunks dependent on whether you want swap on a zvol. Have and x way mirror 
 for the os and then the last and biggest gpt slice use for your raidz data. 
 Better still have the os and data on separate spindles

I was just out for maximum flexibility and easiness. Having just one pool gives 
you the most possibilities in resizing data sets. Using partitions always 
imposes some hard limits that are sometimes different to overcome when you want 
to re-layout you filesystems. I like the idea of ZFS that the boundaries 
between filesystems (or data sets) are just quotas and reservations, instead of 
low-level address borders as with partitions. But then again, as you mentioned, 
one might want to make multiple pools for best performance. At least I want to 
have the system data on a redundant volume, but you are right I could just make 
a separate mirror for that.

By the way, I also tested to boot from a degraded mirror, which worked 
perfectly well. You just have to make sure that the boot loader stages are 
installed on all drives.

Thanks,
Anselm

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


Re: Abiword window corruption

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote:
With the recent mentions of Abiword, I've reinstalled it.  Yet it has 
the same problem it had the last time I tried it: random pixels under 
the current row of text, the old cursor isn't erased when you move to 
a different line.  Am I the only one that sees this?


Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg


I just reinstalled it too.  ;-)

I don't see any stray pixels like you're seeing. One thing I notice is
that your cursor is a lot thicker than the one I'm seeing.  If Abiword
is expecting you to have a thinner cursor, that might be why it doesn't
erase the extra pixels when you move it.

I also see several differences in the appearance of your toolbar buttons
and other UI elements.  What window manager are you using, and what
theme?
___
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: Abiword window corruption

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 13:52:53 PST Charlie Kester wrote:

On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote:
With the recent mentions of Abiword, I've reinstalled it.  Yet it 
has the same problem it had the last time I tried it: random pixels 
under the current row of text, the old cursor isn't erased when you 
move to a different line.  Am I the only one that sees this?


Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg


I just reinstalled it too.  ;-)

I don't see any stray pixels like you're seeing. One thing I notice is
that your cursor is a lot thicker than the one I'm seeing.  If Abiword
is expecting you to have a thinner cursor, that might be why it doesn't
erase the extra pixels when you move it.

I also see several differences in the appearance of your toolbar buttons
and other UI elements.  What window manager are you using, and what
theme?


I just remembered that I had implemented a tip I got somewhere for
forcing use of the condensed versions of the DejaVu fonts.  Try saving
the attached file in home directory as .fonts.config and see if it makes
any difference when you restart X and abiword.

?xml version=1.0?
!DOCTYPE fontconfig SYSTEM fonts.dtd

fontconfig
match target=pattern
test name=family qual=any
stringDejaVu Sans/string
/test
edit mode=assign name=family
stringDejaVu Sans Condensed/string
/edit
/match

match target=pattern
test name=family qual=any
stringDejaVu Serif/string
/test
edit mode=assign name=family
stringDejaVu Serif Condensed/string
/edit
/match
/fontconfig
___
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: Abiword window corruption

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 14:16:55 PST Charlie Kester wrote:

I just remembered that I had implemented a tip I got somewhere for
forcing use of the condensed versions of the DejaVu fonts.


For the curious, here's where I got that tip:

http://keramida.wordpress.com/2009/11/07/dejavu-condensed-as-default/

___
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


OOo stuff [acroread too]

2010-01-06 Thread Gary Kline

Folks,

I edit a lot of my daughter essays for punct, and to tweak a
few things, c.  Normally i check my fixes my having flite read back
to me after I have saved her doc files as txt.  Since i installed
the OOo spellchecker I have found a couple other interesting plugins 
or extensions.  One is a text-to-speech plugin.  I can't be sure if
it is truly OS independent or if the Linux version would work on
the FBSD version.  Anybody know?  There were at least a few other
plugin thing that might be worth a go... .

I've used acroread for years, especially when they are long and
dreary essays.  Does the speech part of this reader work, and if
so, what is the magic?   I keep getting lost in click-land!

thanks for any clues, guys,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix

___
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: Can't get wifi working in 8.0, please help.

2010-01-06 Thread alex_p
Hello!
Here's my working rc.conf:

wlans_ral0=wlan0
create_args_wlan0=wlanmode hostap mode 11g
ifconfig_wlan0=inet 192.168.0.1 netmask 0xff00 ssid btest channel
11

or you can do it by hand:
# ifconfig wlan0 create wlandev ral0 wlanmode hostap
# ifconfig wlan0 inet 192.168.0.1 netmask 0xff00 ssid btest
channel 11



On 5 янв, 05:31, Eric Webster ericwebsterm...@yahoo.com wrote:
 Hello, I recently upgraded from bsd 6.4 to bsd8.0release ( new install ) and 
 I am having issues getting mywifitowork. Before the upgrade it worked 
 perfectly in 6.4.
 I am a bit confused as I have read different things about this. The 
 handbookhttp://www.freebsd.org/doc/en/books/handbook/network-wireless.html#NE...
 under basic settings says check to see if your device supports host based ap 
 mode by doing

 ifconfig wlan0 list caps

 # ifconfig wlan0 list caps
 drivercaps=2985cd01STA,IBSS,HOSTAP,AHDEMO,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,WDS,BGSCAN

 Then it says the wireless device can now be put into AP mode by doing:

 ifconfig wlan0 ssid freebsdap mode 11g mediaopt hostap inet 10.0.0.1 netmask 
 255.255.255.0

 Which returns:
 ifconfig: inet: bad value

 I read some place that you need to put inet before ssid so I tried it with 
 the following:

 # ifconfig wlan0 inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wepkey 
 apasswordhere mode 11g mediaopt hostap

 Which returns:
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 If I try to configure it like it was in 6.4 I get another error:

 ifconfig wlan0 ssid gangsta channel 8 wepmode on weptxkey 1 wepkey 
 apasswordhere mode 11g mediaopt hostap 10.0.0.1 netmask 255.255.255.0

 Which returns:
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 I know wep is not secure, I am just trying to get it working.

 At start of the guide it tells you to configure the following in 
 /boot/loader.conf which I did.

 /boot/loader.conf

 if_ral_load=YES
 wlan_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES
 wlan_wep_load=YES
 wlan_ccmp_load=YES
 wlan_Tkip_load=YES

 When I run kldstat I see the if_ral is loaded. I don't know if its supposed 
 to show the other modules.

 kldstat

 Id Refs Address    Size Name
  1    9 0xc040 b22548   kernel
  2    1 0xc0f23000 13e4c    if_ral.ko
  3    1 0xc357b000 35000    ipl.ko

 Here is rc.conf

 check_quotas=NO
 gateway_enable=YES
 hostname=router.foo.bar
 ibcs2_enable=NO
 ifconfig_sk0=DHCP
 ifconfig_xl0=inet 192.168.0.1  netmask 255.255.255.0
 wlans_ral0=wlan0
 ifconfig_wlan0=inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wepkey 
 apasswordhere mode 11g mediaopt hostap
 ipfilter_enable=YES
 ipfilter_rules=/etc/ipf.rules
 ipmon_enable=YES
 ipmon_flags=-Ds
 ipnat_enable=YES
 ipnat_rules=/etc/ipnat.rules

 Here is ifconfig -a

 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
     options=8VLAN_MTU
     ether 00:60:97:7f:3e:6c
     inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
     media: Ethernet autoselect (100baseTX full-duplex)
     status: active
 sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
     options=bRXCSUM,TXCSUM,VLAN_MTU
     ether 00:0c:41:e4:7e:83
     inet x.x.x.x netmask 0xf800 broadcast 255.255.255.255
     media: Ethernet autoselect (100baseTX full-duplex)
     status: active
 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
     ether 00:14:bf:78:a2:a7
     media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
     status: associated
 plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
     options=3RXCSUM,TXCSUM
     inet 127.0.0.1 netmask 0xff00
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
     ether 00:14:bf:78:a2:a7
     media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
     status: no carrier
     ssid gangsta channel 11 (2462 Mhz 11g)
     country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
     txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
     roam:rssi 7 roam:rate 5 protmode CTS bintval 0

 netstat -rn

 Routing tables

 Internet:
 Destination    Gateway    Flags    Refs  Use  Netif Expire
 default    x.x.x.x    UGS 0   35    sk0
 x.x.x.x/21 link#2 U   0    0    sk0
 x.x.x.x    link#2 UHS 0    0    lo0
 127.0.0.1  link#5 UH  0   32    lo0
 192.168.0.0/24 link#1 U   1  568    xl0
 192.168.0.1    link#1 UHS 0    0    lo0

 Many thanks in advance!!

 Eric

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

Re: Abiword window corruption

2010-01-06 Thread Charlie Kester

On Wed 06 Jan 2010 at 14:16:55 PST Charlie Kester wrote:

On Wed 06 Jan 2010 at 13:52:53 PST Charlie Kester wrote:

On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote:
With the recent mentions of Abiword, I've reinstalled it.  Yet it 
has the same problem it had the last time I tried it: random 
pixels under the current row of text, the old cursor isn't erased 
when you move to a different line.  Am I the only one that sees 
this?


Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg


I just reinstalled it too.  ;-)

I don't see any stray pixels like you're seeing. One thing I notice is
that your cursor is a lot thicker than the one I'm seeing.  If Abiword
is expecting you to have a thinner cursor, that might be why it doesn't
erase the extra pixels when you move it.

I also see several differences in the appearance of your toolbar buttons
and other UI elements.  What window manager are you using, and what
theme?


I just remembered that I had implemented a tip I got somewhere for
forcing use of the condensed versions of the DejaVu fonts.  Try saving
the attached file in home directory as .fonts.config and see if it
makes any difference when you restart X and abiword.


On second thought, this is probably a red herring.  If the stray pixels
don't go away when you use a different font or change the point size,
this tweak of the DejaVu font has nothing to do with it.

Sorry for the misdirection!  I was focused on identifying what might be
different between your system and mine, and a little too narrowly on the
font used in your example.

Have you asked about this problem on the freebsd-gnome mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Failed to Load Kernel

2010-01-06 Thread Programmer In Training
snip

After testing out the boot disk on my mom's laptop, I have determined
there is an error somewhere with my computer. I don't know what it is or
where to even begin to look to fix it, but my computer is toast.

-- 
PIT



signature.asc
Description: OpenPGP digital signature


Replacing disks in a ZFS pool

2010-01-06 Thread Steve Bertrand
Hi everyone,

I've got a 7.2 system with four 500GB drives, originally built thusly:

# zpool history
History for 'storage':
2008-07-11.23:15:40 zpool create storage raidz ad4 ad5 ad6 ad7

I just bought four 1.5TB drives, in which I want to use to replace the
500GBs.

Also, I've been loosely following some of the GPT threads, and I like
the idea of using this type of label instead of the disk names themselves.

How should I proceed? I'm assuming something like this:

- add the new 1.5TB drives into the existing, running system
- GPT label them
- use 'zpool replace' to replace one drive at a time, allowing the pool
to rebuild after each drive is replaced
- once all four drives are complete, shut down the system, remove the
four original drives, and connect the four new ones where the old ones were

My understanding is, is that once the new labels are in place, I don't
have to worry about the fact that the device name has been changed (eg
ad8 to ad4), the system doesn't care anymore about that. Is this correct?

Any other advice/tips that those experienced can share with me?

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


Re: Abiword window corruption

2010-01-06 Thread Warren Block

On Wed, 6 Jan 2010, Charlie Kester wrote:


On Wed 06 Jan 2010 at 13:52:53 PST Charlie Kester wrote:

On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote:
With the recent mentions of Abiword, I've reinstalled it.  Yet it has the 
same problem it had the last time I tried it: random pixels under the 
current row of text, the old cursor isn't erased when you move to a 
different line.  Am I the only one that sees this?


Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg


I just reinstalled it too.  ;-)

I don't see any stray pixels like you're seeing. One thing I notice is
that your cursor is a lot thicker than the one I'm seeing.  If Abiword
is expecting you to have a thinner cursor, that might be why it doesn't
erase the extra pixels when you move it.

I also see several differences in the appearance of your toolbar buttons
and other UI elements.  What window manager are you using, and what
theme?


That's xfce4.6 with the Default-4.4 theme and Gnome icons.


I just remembered that I had implemented a tip I got somewhere for
forcing use of the condensed versions of the DejaVu fonts.  Try saving
the attached file in home directory as .fonts.config and see if it makes
any difference when you restart X and abiword.


It should be .fonts.conf, I think, but it didn't change anything either 
way.


-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: ports/devel/protobuf: Segmentation fault in mmap in some applications

2010-01-06 Thread Pieter de Goeje
On Wednesday 06 January 2010 14:14:28 O. Hartmann wrote:
 Dear Sirs,
 We use a software package for scientific imagery processing from USGS,
 ISIS3 (http://isis.astrogeology.usgs.gov/). The most recent version is
 3.1.21 and since this version, the software intensively uses
 libprotobuf.so.

 While we can use ISIS 3.1.20 very well under FreeBSD 8.0/amd64, it is
 impossible to use the software with version no. 3.1.21, which seems to
 have some issues wih libprotobuf.so. Every client out of this ISIS3
 package crashes with a segmentation fault and as far as I can judge the
 situation, there is a problem with libprotobuf.so, against which all
 clients out of ISIS 3.1.21 are linked.

Perhaps the ISIS package was developed using a different (older?) version of 
Google's protocol buffers. Compiling protobuf from source is quite easy on 
FreeBSD. You can find the source here: 
http://code.google.com/p/protobuf/downloads/list
I would start by trying version 2.1.0 and 2.2.0a.


 I searched for help on the ISIS3-support forum and realised that some
 Apple OS X guys have had similar problems, but those threads where
 closed immediately or got relative senseless response.

 In our case, we compile every necessary library and prerequisite
 software package (mostly Qt4 libs) from ports. This works great with
 some tweaks for FreeBSD in make/config.freebsd (which I derived from
 some linux and/or OS X config files).

 Now I'm floating like a dead man i the water. Below I provide q gdb
 output of the qview-client (the same is with all other clients, like
 photrim etc. for those familiar with the software package).

A backtrace ('bt' at the gdb prompt) might contain more useful information.


 Additionaly, I provide a truss-output, that stops at mmap issues.

 Well, if someone could provide me with some advance debugging hints I
 would appreaciate them. I'm pretty sure he problem is located within the
 libprotobuf library or the way it is treated, but this is a guess of a
 non-developer.

 Thanks very much in advance.
 Please reply also to this email address, since I'm not subscriber of the
 list I post to.

 Oliver

- Pieter
___
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: Replacing disks in a ZFS pool

2010-01-06 Thread Wes Morgan
On Wed, 6 Jan 2010, Steve Bertrand wrote:

 Hi everyone,

 I've got a 7.2 system with four 500GB drives, originally built thusly:

 # zpool history
 History for 'storage':
 2008-07-11.23:15:40 zpool create storage raidz ad4 ad5 ad6 ad7

 I just bought four 1.5TB drives, in which I want to use to replace the
 500GBs.

 Also, I've been loosely following some of the GPT threads, and I like
 the idea of using this type of label instead of the disk names themselves.

I personally haven't run into any bad problems using the full device, but
I suppose it could be a problem. (Side note - geom should learn how to
parse zfs labels so it could create something like /dev/zfs/uuid for
device nodes instead of using other trickery)

 How should I proceed? I'm assuming something like this:

 - add the new 1.5TB drives into the existing, running system
 - GPT label them
 - use 'zpool replace' to replace one drive at a time, allowing the pool
 to rebuild after each drive is replaced
 - once all four drives are complete, shut down the system, remove the
 four original drives, and connect the four new ones where the old ones were

If you have enough ports to bring all eight drives online at once, I would
recommend using 'zfs send' rather than the replacement. That way you'll
get something like a burn-in on your new drives, and I believe it will
probably be faster than the replacement process. Even on an active system,
you can use a couple of incremental snapshots and reduce the downtime to a
bare minimum.


 My understanding is, is that once the new labels are in place, I don't
 have to worry about the fact that the device name has been changed (eg
 ad8 to ad4), the system doesn't care anymore about that. Is this correct?

 Any other advice/tips that those experienced can share with me?

 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

___
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