Re: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-12-01 Thread Ruben de Groot
On Mon, Nov 30, 2009 at 11:34:06PM -0800, James Phillips typed:
 
 
 --- On Mon, 11/30/09, Bruce Cran br...@cran.org.uk wrote:
 
  
  This is actually the way UFS/FFS works too: when my system
  was crashing
  fairly regularly I was a bit surprised to find empty files
  after
  editing them.
  
  Also, I just verified that saving a file, rebooting,
  editing it again
  (with ee(1)) and powering off the system does still result
  in a zero
  length file being on disk.
  
 
 Ok, good to know.
 
 I saw UFS corruption once with frequent restarts, but assumed that was 
 because the delayed filesystem checking never had a chance to run.
 
 Since I don't have a UPS I guess backups are doubly important.

Note that finding an empty file you had just been editing before a 
crash is NOT UFS corruption. It's data loss, probably caused by
softupdates, which guarantees filesystem consistency in the case
of a crash, but it can sometimes be up to a minute behind in 
actually writing the data blocks to the disk.

Ruben

___
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: Wanting to buy a laptop w/ FreeBSD, AND...

2009-12-01 Thread Polytropon
On Mon, 30 Nov 2009 23:35:35 -0500, compc...@mail.com wrote:
 Hello - I found the?freebsd - hardware ?list.? Where is the
 freebsd-software list??

Check out FreeBSD's ports collection. From the project's main
page, choose the shortcut ports on the right.

http://www.freebsd.org/ports/index.html

You can have a look at the many programs for FreeBSD either
by logical or by alphabetical list. More than 20,000 ports
are available.



 I would like to buy a new or dependable used laptop.??

You should check the laptop's specifications with FreeBSD
hardware list, just to make sure everything is supported
properly.



 Initially, most of my questions are concerning?software.??

I think you#re primarily refering to application software,
not OS software in particular.



 For hardware, I would like a HP laptop, as?HP is my personal favorite.? 

I'm not a big fan of HP, but I'm sure they offer laptops that
are compatible.



 I prefer WP5.1 as a word processor.?

There has been a WordPerfect port for FreeBSD, but sadly...

Port:   editors/wordperfect
Moved:
Date:   2003-09-29
Reason: obsolete, sources pulled from the internet

No chance you could use OpenOffice, which is quite the
de-facto standard today? (By the way, I'm doing most writing
stuff, i. e. letters, books, documentation and many more,
with LaTeX.)



 I like to work on websites
 and to post to internet forums.??

Install a web browser that fits your needs. The most common
choice would surely be Firefox, but there is Opera as well
(my preferred browser), and many other good browsers for
FreeBSD, such as Konqueror, or Epiphany.



 I want to be 
 ?able to work with graphics, music, and videos, and to be
 able to watch movies (and TV).

For graphics, there are various tools, such as Gimp (and Gimpshop),
Krita, XFig or InkScape. For music, there's Amarok, XMMS, mplayer
and mencoder (gmplayer and gmencoder respectively). You can
access TV through the web, or by a TV tuner card (e. g. via
the bktr driver) and the appropriate programs.

I think using KDE or Gnome could be a good solution for you.

Finally, I may suggest that you have a look at the PC-BSD
project, which offers a preconfigured KDE environment and
some additional stuff, and it is based on FreeBSD. Maybe
that is what you're looking for?



 1.)? Hewlett-Packard laptop? 

Possibly.



2.)? FreeBSD as a OS? 

Sure.



3.)? No MS?software or programs??

No need for that.



 ?4).? WordPerfect 5.1? 

Could be a problem to run it natively.



5.)? DOS partition? 

You can access DOS partitions via the mount_msdosfs command.



6.)? ? SBIE /FreeBSD ?live CD ???

The FreeSBIE live CD is very useful for diagnostics and
checking hardware compatibility. But I don't know if this
project is still maintained, and if they offer a FreeSBIE
based on FreeBSD 8.0, the current production release.

Alternatively, you can always use FreeBSD's live system
CD, allthough it is not that comfortable as FreeSBIE.
But it will be fine for diagnostics.



7.)? Computer Shops ? 

Complete question? :-)



 What are my options concerning WordPerfect 5.1...?? Would WP 5.1
 run on FreeBSD??

You should check that. FreeBSD offers different means of
emulating or supporting other operating systems. DOSBOX
and DOSCMD, I think, are such tools. You could even try
to run WP under wine (Windows emulator, allthough it
is no emulator). Finally, there's the option of emulating
a whole PC, installing DOS on it, and then running WP
in this virtual PC.



 Or, 
 would I need to run WP5.1 on a DOS partition??

That could be possible, but there's no need to create a
DOS partition just to hold WP's files.



 If WP5.1 was on a DOS partition, could I readily 
 move the WP text files to the internet browser, to easily
 post them onto internet websites and forums?? 

Assume you run WP under X in wine - it doesn't need to be
on an own DOS partition, as I said -, you should be able
to copy  paste information from one window to another,
e. g. from WP's program window into a browser window.



 Or, would I have to buy a new version of WordPerfect??
 There was one of the newer versions that a person could 
 run in a WP5.1 mode.???

I'm not even sure WP is sold anymore... if you can, switch
to OpenOffice. Its standardized file format makes sure that
you can access your information in the future.



 7.)? Computer Shops 
 ?
 My first contact is with a computer tech in Placerville,
 CA (El Dorado County) 
 MACKENDRICK COMPUTERS = http://www.rmack3.com/main.htm
 ?
 He is very experienced w/ Linux, but not with FreeBSD.? 

This makes me believe that he should at least have some
useful UNIX background knowledge.






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

Porting jsoncpp in FreeBSD

2009-12-01 Thread Abhishek Seth
Hi,

I want to know of any plans to port jsoncpp in FreeBSD.
http://jsoncpp.sourceforge.net/

Thanks
-Abhishek
___
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: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update

2009-12-01 Thread Jonathan Chen
On Tue, Dec 01, 2009 at 01:44:00AM -0500, Curly Brace wrote:
 Hi all, I'm on 8.0/amd64, and my GNOME 2.28 update went off with no
 problems, but now Firefox 3.5 and Epiphany 2.28 crash when visiting
 certain pages, such as the Welcome to firefox first-start page.
 Firefox leaves Segmentation fault (core dump) in the console when it
 crashes, and Epiphany is silent. I've removed the Totem 2.28 plugins
 (thinking them to be the cause), removed Moonlight, removed Java,
 removed nspluginwrapper Flash10, and finally
 removed /usr/local/lib/browser_plugins altogether.
 
 This seems very similar to the Firefox 3.5 HTML5 video crash FreeBSD 7
 users experience until they kldload sem, but I'm on 8.0 and sem is
 loaded by default.

Did you remember to rebuild all your ports?
-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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


Checksum mismatch -- will transfer entire file

2009-12-01 Thread Victor Sudakov
Colleagues,

I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org.
Both the client and the server run CVSup Software version: SNAP_16_1h,
Protocol version: 17.0. 

Recently I noticed that there are lots of messages
Checksum mismatch -- will transfer entire file about all kinds of
downloaded files. 

What could be the reason? Is my CVS repository corrupt or what? Is
there a way to check the integrity of the entiry repository?

I have read about there being a checksum mismatch problem in CVSup
version before 15.4, but I am using SNAP_16_1h already.

If this question is offtopic here, please direct me to a more relevant
mailing list. TIA.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: tcp delays in jails

2009-12-01 Thread Ivan Voras

William Taylor wrote:

I recently started having a problem with tcp connections in one of my jails.
Im running 4.9-stable


I guess it will not do any good to tell you to upgrade to 8.0? :)


both sendmail and perdition experience the same problem. I even tried stopping
everything on the box and the problem still persists.


Just to verify - the problem is on the side of the servers (TCP listeners)?


Connections to other jails on different ip's on the same box are fine.
There seems to be about a 5 second delay.

From this snippet of a ktrace I did you can see what looks to be a delay of 
about 5 seconds  after the CALL kevent


I'm not sure what you are tracing but this trace looks like something 
having to do with DNS.


Does DNS resolve properly on the box? Reverse DNS also? Some servers, 
ssh and probably sendmail also, do a reverse DNS lookup on the 
connecting client.



86872 perdition 1259617190.144575 GIO   fd 6 wrote 43 bytes
   
n\M^]\^A\0\0\^A\0\0\0\0\0\0\^B18\^B96\^B81\^C206\ain-addr\^Darpa\0\0\f\0\^A
 86872 perdition 1259617190.144584 RET   sendto 43/0x2b
 86872 perdition 1259617190.144592 CALL  gettimeofday(0xbfbfde9c,0)
 86872 perdition 1259617190.144604 RET   gettimeofday 0
 86872 perdition 1259617190.144619 CALL  
kevent(0x4,0xbfbfdec0,0x1,0xbfbfdec0,0x1,0xbfbfdea4)
 86872 perdition 1259617195.147032 RET   kevent 0
 86872 perdition 1259617195.147085 CALL  close(0x6)
 86872 perdition 1259617195.147120 RET   close 0
 86872 perdition 1259617195.147138 CALL  socket(0x2,0x2,0)
 86872 perdition 1259617195.147150 RET   socket 6
 86872 perdition 1259617195.147159 CALL  
sendto(0x6,0xbfbfe100,0x2b,0,0x28269b60,0x10)
 86872 perdition 1259617195.147186 GIO   fd 6 wrote 43 bytes


Any ideas of what I can do to figure this out?


Just the generic ones... try seeing if DNS and reverse DNS work first.

___
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


[Call to Test] [OT] aMSN-0.98.1

2009-12-01 Thread Sylvio Cesar
Hi folks,

I would like to invite everyone to test the newest version of aMSN.
This version has support for video conferencing and audio conferencing, is
using tk and tcl 8.6 with support for threads.

The tarball style ports can be downloaded at:
http://people.freebsd.org/ ~ sylvio/amsn-0.98.1.tar.gz

Some screens:

http://people.freebsd.org/~sylvio/amsn-0.98.1.png
http://people.freebsd.org/~sylvio/amsn_with_voice.png

Thank you all.

Regards,

Sylvio Cesar.
___
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: [Call to Test] [OT] aMSN-0.98.1

2009-12-01 Thread Sylvio Cesar
Link is:

http://people.freebsd.org/~sylvio/amsn-0.98.1.tar.gz


2009/12/1 Sylvio Cesar scjamo...@bsd.com.br:
 Hi folks,

 I would like to invite everyone to test the newest version of aMSN.
 This version has support for video conferencing and audio conferencing, is
 using tk and tcl 8.6 with support for threads.

 The tarball style ports can be downloaded at:
 http://people.freebsd.org/ ~ sylvio/amsn-0.98.1.tar.gz

 Some screens:

 http://people.freebsd.org/~sylvio/amsn-0.98.1.png
 http://people.freebsd.org/~sylvio/amsn_with_voice.png

 Thank you all.

 Regards,

 Sylvio Cesar.

___
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: ntpdate on FreeBSD 8.0

2009-12-01 Thread Franci Nabalanci
I was not lucky. No one suggestions works. Maybe was wrong something with my
installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it works
without errors and very good.


On Sun, Nov 29, 2009 at 8:39 PM, ajtiM lum...@gmail.com wrote:

 Hi!

 I have new installed FreeBSD 8.0 and in rc.conf I have:

 ntpdate_enable=YES
 ntpdate_hosts=ntp1.cs.wisc.edu

 When I boot computer I get a message there are no this host but when I run
 /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.

 I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
 settings on FreeBSD8.0 are the same as I had on 7.2.

 Thanks in advance.

___
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: ntpdate on FreeBSD 8.0

2009-12-01 Thread Boris Samorodov
On Tue, 1 Dec 2009 06:25:45 -0600 Franci Nabalanci wrote:

 I was not lucky. No one suggestions works. Maybe was wrong something with my
 installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it works
 without errors and very good.

It works for me at LAN, but I didn't manage to sync time by
ntpdate at start time either when using PPPoE at my friends home.
Seems that the network interface/something else is not
ready at the time ntpdate fires. May be setting:
-
rc_debug=YES
-
at /etc/rc.conf[.local] will be helpful.

 On Sun, Nov 29, 2009 at 8:39 PM, ajtiM lum...@gmail.com wrote:

  Hi!
 
  I have new installed FreeBSD 8.0 and in rc.conf I have:
 
  ntpdate_enable=YES
  ntpdate_hosts=ntp1.cs.wisc.edu
 
  When I boot computer I get a message there are no this host but when I run
  /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
 
  I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
  settings on FreeBSD8.0 are the same as I had on 7.2.
 
  Thanks in advance.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-01 Thread Maxim Khitrov
On Sat, Nov 28, 2009 at 12:28 PM, Peggy Wilkins enli...@gmail.com wrote:
 Can someone elaborate on what exactly this statement in the 8.0
 detailed release notes means?

 http://www.freebsd.org/releases/8.0R/relnotes-detailed.html#FS

 2.2.5 File Systems

 “dangerously dedicated” mode for the UFS file system is no longer supported.

  Important: Such disks will need to be reformatted to work with this release.

 Due to history I won't go into, all my production (currently
 7.2-RELEASE) systems are installed onto dangerously dedicated disks.
  What exactly do I need to do to upgrade them to 8.0?  (I'm not asking
 for an upgrade procedure, I'm familiar with that, but rather, how this
 change impacts the upgrade.)  I think that the suggestion that the
 disks need to be reformatted is extreme and I hope something less
 extreme will suffice.

 Also, just to be clear, does this statement refer to boot disks, data
 disks, or both?

 It doesn't make sense to me that dangerously dedicated could have an
 impact on UFS filesystems specifically.  A partition table is just a
 partition table, regardless of what filesystems might be written on
 disks, yes?  Am I misunderstanding something here?

 Thanks for helping to clear up my confusion...

 plw

Peggy,

Were you able to find an answer for this? I also have a number of
servers and firewalls that use dangerously dedicated disks (boot and
data). I don't see why UFS would care if it's mounted from ad1a vs.
ad1s1a.

- Max
___
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: Sorting a device list

2009-12-01 Thread Michaël Grünewald

Peter Steele wrote:


Can anyone recommend a quick and dirty way to sort a device list? For example, 
if I do this:
I need to skip the device prefix before applying the -g option. Something like 
this works:

ls /dev/ad*|sort -g -k 1.8

/dev/ad4
/dev/ad6
/dev/ad8
/dev/ad10

but this assumes the device name is just two characters long. I want a quick 
way to sort a generic device list like this, considering only the numeric part 
of the device for the key. Is there a quick and dirty way to do this or do I 
need to pipe it into a perl script or something?

You can use sed to insert a sepcial character before the first digit, 
use sort with this special character as field delimiter, and then remove 
the special character with another call to sed. The following pipeline 
does it:


sed -e 's/\([0-9]\)/@\1/' | sort -t @ -n -k 2 | sed -e 's/@//'

(This assumes `@' does not appear in the names of the devices you are 
working with.)


Hope this helps!
--
Michaël

___
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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-12-01 Thread Alexander Motin
O. Hartmann wrote:
 I'm just wondering what's wrong with FreeBSD 8.0/amd64 when I read the
 Benchmarks on Phoronix.org's website. Especially FreeBSD's threaded I/O
 shows in contrast to all claims that have been to be improoved the
 opposite.

Instead of trying to compare something, I propose to look on that
numbers itself first:
- first test tells that average write latency is about 100us. But it
looks quite surprising for Laptop HDD, which has seek time of at least
several milliseconds.
- second test - a bit closer to life - 2-3ms - ok, Linux won here
slightly, as FreeBSD installation in this test had no NCQ support.
- third test - 9us per write on Linux. I am just crying.
- forth test - all OSes gave 50-80us. Probably it is just a buffer case
read time.

So most of shown cases are testing almost only file system cache
parameters. It is just insane to compare them for so different systems
with so different write-back policies.

If somebody still have questions, after some UFS parameters tuning I've
got with the same tiotest tool:
- Random Write latency - 15us,
- Random Read latency - 7us.

So who can beat my FreeBSD? :)))

What's about second test. To check possible NCQ effect I've built test
setup with new 320GB 7200RPM Seagate drive connected to Intel ICH10R
controller. I've run IMHO more reasonable benchmark/raidtest tool from
ports on whole device, to execute pregenerated random mix of 1
random-sized (512B - 128KB) read/write requests using default ata(4)
driver and new ahci(4):
Number of READ requests: 5029.
Number of WRITE requests: 4971.
Number of bytes to transmit: 655986688.
Number of processes: 32.

The results:
ata(4) - no NCQ:
Bytes per second: 12455402
Requests per second: 189
ahci(4) - with NCQ:
Bytes per second: 19889778
Requests per second: 303

Results are repeatable up to the 4-th digit. Average time per request is
5.29ms and 3.3ms respectively, that is realistic for this drive.

So, with such difference, I believe, we will not loose this test any more.

-- 
Alexander Motin
___
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


trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
I'm new to sun, but have some experiece installing fbsd to
i386, alpha and ia64.

I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/

I just burned a 8.0 release cd, and tried to boot from it.
I've a keyboard, mouse and screen attached.
I get to OK prompt, type boot cdrom, but the process
stops after a few seconds with:

jumping to kernel entry at 0xc0088000.

Then nothing, and the keyboard is not responsive.
I have to force cold reset. On restart the process
repeats.

Am I missing something?
Or maybe the cd didn't burn well?

Also, there seem to be no reset button on the desktop.
Is there a keyboard key or combination to force a reset?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


too many debug messages on dmesg

2009-12-01 Thread Jesús Abidan
anyone have a clue about this problem in dmesg log?

at_matroute: v=(16)10ff007100
at_matroute: head=0xc4392800
at_matroute: returnr rn=0xc459a6c8
at_matroute: v=(16)10ff007100

i know it is something related to netatalk, but i would like to be less
verbose
___
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: Wanting to buy a laptop w/ FreeBSD, AND...

2009-12-01 Thread andrew clarke
On Tue 2009-12-01 10:00:16 UTC+0100, Polytropon (free...@edvax.de) wrote:

  ?4).? WordPerfect 5.1? 
 
 Could be a problem to run it natively.

WordPerfect 5.1 will run under the DOSBox emulator.

http://www.dosbox.com/

/usr/ports/emulators/dosbox in the FreeBSD Ports tree.
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:13:20PM +, Adrian Urquhart wrote:
 On Tue, 1 Dec 2009, Anton Shterenlikht wrote:
 
  I'm new to sun, but have some experiece installing fbsd to
  i386, alpha and ia64.
 
  I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/
 
  I just burned a 8.0 release cd, and tried to boot from it.
  I've a keyboard, mouse and screen attached.
  I get to OK prompt, type boot cdrom, but the process
  stops after a few seconds with:
 
  jumping to kernel entry at 0xc0088000.
 
  Then nothing, and the keyboard is not responsive.
  I have to force cold reset. On restart the process
  repeats.
 
 Hi
 
 I know on some Sun kit this can mean that the boot process is now 
 carrying on via a serial port.

ok, I'll try to check this out.

In the meantime I tried 7.2 cd with very similar result - I'm stuck with

jumping to kernel entry at 0xc0078000

  Also, there seem to be no reset button on the desktop.
  Is there a keyboard key or combination to force a reset?
 
 
 Not sure what you mean by reset button but STOP-A is the usual key 
 combination to get you to the OpenBOOT prom.

yes, this was what I'm after. STOP/A doesn't seem to have any
effect on my box. Do you mean hit A while STOP is pressed?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:13:20PM +, Adrian Urquhart wrote:
 On Tue, 1 Dec 2009, Anton Shterenlikht wrote:
 
  I'm new to sun, but have some experiece installing fbsd to
  i386, alpha and ia64.
 
  I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/
 
  I just burned a 8.0 release cd, and tried to boot from it.
  I've a keyboard, mouse and screen attached.
  I get to OK prompt, type boot cdrom, but the process
  stops after a few seconds with:
 
  jumping to kernel entry at 0xc0088000.
 
  Then nothing, and the keyboard is not responsive.
  I have to force cold reset. On restart the process
  repeats.
 
 Hi
 
 I know on some Sun kit this can mean that the boot process is now 
 carrying on via a serial port.

yes, using a serial line I'm able to pass this point.
Will see if I can complete the installation this way.

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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 macbook: Cut-and-paste in Icewm?

2009-12-01 Thread w s
Hi again,

(My macbook is now a freebsd machine with 90% of my favorite programs
built and running...  Yay!   Thanks to the community and the list!  To
get octave I needed to symlink f77-gfortran and use gmake instead of
make, but otherwise everything went swimmingly once I figured out
gpart.)

Question -- I would like to have generic cut-and-paste in my icewm X
session, but I have the single button funky macintosh set up.  Is
there a tutorial on how to set this up?

I don't mind using the keyboard while I click and drag and whatever,
but I haven't a clue where to start with setting that up.

TIA!
___
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


problem with php5-snmp

2009-12-01 Thread B. Cook

Trying to update all ports since updating to 8.0..

already rebuilt all ports and did a yes | make delete-old-libs so none 
of that is the problem..


php5-snmp would not rebuild.

Not sure where the problem is..

but below is tons of output..


below is the output of the build:

r...@core [/usr/ports/net-mgmt/php5-snmp]# 16  make clean
===  Cleaning for php5-snmp-5.2.11_1

r...@core [/usr/ports/net-mgmt/php5-snmp]# 17  make
===  Found saved configuration for php5-snmp-5.2.11_1
===  Extracting for php5-snmp-5.2.11_1
= MD5 Checksum OK for php-5.2.11.tar.bz2.
= SHA256 Checksum OK for php-5.2.11.tar.bz2.
===  Patching for php5-snmp-5.2.11_1
===   php5-snmp-5.2.11_1 depends on file: /usr/local/bin/phpize - found
===   php5-snmp-5.2.11_1 depends on file: /usr/local/bin/autoconf-2.62 
- found

===   php5-snmp-5.2.11_1 depends on shared library: netsnmp.16 - found
===  PHPizing for php5-snmp-5.2.11_1
Configuring for:
PHP Api Version: 20041225
Zend Module Api No:  20060613
Zend Extension Api No:   220060519
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, 
...): suspicious cache-id, must contain _cv_ to be cached

../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from...
configure.in:158: the top level
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, 
...): suspicious cache-id, must contain _cv_ to be cached

aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, 
...): suspicious cache-id, must contain _cv_ to be cached

aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, 
...): suspicious cache-id, must contain _cv_ to be cached

../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from...
configure.in:158: the top level
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, 
...): suspicious cache-id, must contain _cv_ to be cached

aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, 
...): suspicious cache-id, must contain _cv_ to be cached

aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from...
===  Configuring for php5-snmp-5.2.11_1
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib

checking for PHP extension directory... /usr/local/lib/php/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to 

Re: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:
 
 
 Hello Anton ... to FreeBSD sparc64,
 
  I get to OK prompt, type boot cdrom, but the process
  stops after a few seconds with:
 
  jumping to kernel entry at 0xc0088000.
 
 
 I think supported system means that it is working at least via serial 
 console (this is the case e.g for Plain Ultra 1).
 
 So when I see something like this I hook-up a serial console and try over 
 it.

ok, 8.0 installation went fine.

On reboot I get this panic (typed by hand):

Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
memory
address not aligned

Automatic reboot in 15 seconds

Any advice?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:57:52PM +, Anton Shterenlikht wrote:
 On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:
  
  
  Hello Anton ... to FreeBSD sparc64,
  
   I get to OK prompt, type boot cdrom, but the process
   stops after a few seconds with:
  
 jumping to kernel entry at 0xc0088000.
  
  
  I think supported system means that it is working at least via serial 
  console (this is the case e.g for Plain Ultra 1).
  
  So when I see something like this I hook-up a serial console and try over 
  it.
 
 ok, 8.0 installation went fine.
 
 On reboot I get this panic (typed by hand):
 
   Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
 memory
   address not aligned
 
   Automatic reboot in 15 seconds
 
 Any advice?

in case it matters, I see

nexus0: syscons type unknown (no driver attached)

nexus0: memory-controller mem 0x400-0x47 type
memory-controller (no driver attached)

messages on boot.

Not sure if it's related.

many thanks for any advice


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Gheorghe Ardelean

On Tue, 1 Dec 2009, Anton Shterenlikht wrote:


On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:



Hello Anton ... to FreeBSD sparc64,


I get to OK prompt, type boot cdrom, but the process
stops after a few seconds with:

jumping to kernel entry at 0xc0088000.



I think supported system means that it is working at least via serial
console (this is the case e.g for Plain Ultra 1).

So when I see something like this I hook-up a serial console and try over
it.


ok, 8.0 installation went fine.

On reboot I get this panic (typed by hand):

Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
memory
address not aligned

Automatic reboot in 15 seconds

Any advice?


Maybe marius@ can help you.

But I would also give 7.2 a try. 7.2-RELEASE was the first release to 
support Blade 1500 IIRC.


Regards,

Gheorghe Ardelean.
___
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


ZFS pools of consisting of several mirrors

2009-12-01 Thread Rolf Nielsen

Hello,

In experimenting a bit with ZFS, I, among other things, tried something 
like this


zpool create -R /test test mirror file[01]0 mirror file[01]1 mirror 
file[01]2 mirror file[01]3 mirror file[01]4 mirror file[01]5


This, according to zpool status, gives me a (file backed) pool 
consisting of six mirrors, each mirror consisting of two files. Now for 
my question. Exactly how is the pool built? Is it...


1. A RAID0 of the six mirrors?

2. A mirror of two RAID0 arrays, each array consisting of the six files 
file0[0-5] and file1[0-5] respectively?


3 and 4. Like 1 and 2 above, but with JBOD instead of RAID0?

5. Some other way I haven't thought about?

I guess it's 1 or 3, as the zpool status output shows me six mirrors, 
but which is it? And, provided my guess is correct, is there a way to 
implement 2 or 4 without involving geom_stripe or geom_concat?


Sincerely,

Rolf Nielsen
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Mark Linimon
On Tue, Dec 01, 2009 at 05:07:18PM +, Anton Shterenlikht wrote:
 in case it matters, I see
 
   nexus0: syscons type unknown (no driver attached)
 
   nexus0: memory-controller mem 0x400-0x47 type
   memory-controller (no driver attached)
 
 messages on boot.

I haven't walked through the list, but we have a lot of sparc64 dmesgs
posted up at http://wiki.freebsd.org/FreeBSD/sparc64/dmesgs.

mcl
___
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: ZFS pools of consisting of several mirrors

2009-12-01 Thread Dan Nelson
In the last episode (Dec 01), Rolf Nielsen said:
 In experimenting a bit with ZFS, I, among other things, tried something
 like this
 
 zpool create -R /test test mirror file[01]0 mirror file[01]1 mirror 
 file[01]2 mirror file[01]3 mirror file[01]4 mirror file[01]5
 
 This, according to zpool status, gives me a (file backed) pool consisting
 of six mirrors, each mirror consisting of two files.  Now for my question. 
 Exactly how is the pool built?  Is it...
 
 1. A RAID0 of the six mirrors?
 
 2. A mirror of two RAID0 arrays, each array consisting of the six files 
 file0[0-5] and file1[0-5] respectively?
 
 3 and 4. Like 1 and 2 above, but with JBOD instead of RAID0?
 
 5. Some other way I haven't thought about?

 I guess it's 1 or 3, as the zpool status output shows me six mirrors, 
 but which is it? And, provided my guess is correct, is there a way to 
 implement 2 or 4 without involving geom_stripe or geom_concat?

It's 1/3/5.  Each mirror is independant, and writes are balanced across the
mirrors based on space usage.  If you add another mirror to grow the pool,
it will get most of the writes until the usages balance out.

You usually don't want to build an array with options 2 or 4, since a single
drive failure will degrade the entire mirror half.  Consider if you have 

concat00 - file01 file02 file03 file04 file05
concat01 - file11 file12 file13 file14 file15
mirror0 - concat0 concat1

If file01 fails, concat00 fails, causing mirror0 to become degraded.  When
you replace file01, mirror0 will have to resynch all of concat00 from
concat01 since it doesn't know about the subdevices.  If you don't replace
file01, and then file15 fails, you have lost your entire volume (unless you
do some hackery to swap file05 and file15 to create a functioning concat01).

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


Re: 8.0-RELEASE-i386-memstick fixit - No USB devices found!

2009-12-01 Thread Derek (freebsd lists)

For the archives, there's now a PR for this:

bin/140972

- Derek
___
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: ZFS pools of consisting of several mirrors

2009-12-01 Thread Rolf Nielsen

Dan Nelson wrote:

In the last episode (Dec 01), Rolf Nielsen said:

In experimenting a bit with ZFS, I, among other things, tried something
like this

zpool create -R /test test mirror file[01]0 mirror file[01]1 mirror 
file[01]2 mirror file[01]3 mirror file[01]4 mirror file[01]5


This, according to zpool status, gives me a (file backed) pool consisting
of six mirrors, each mirror consisting of two files.  Now for my question. 
Exactly how is the pool built?  Is it...


1. A RAID0 of the six mirrors?

2. A mirror of two RAID0 arrays, each array consisting of the six files 
file0[0-5] and file1[0-5] respectively?


3 and 4. Like 1 and 2 above, but with JBOD instead of RAID0?

5. Some other way I haven't thought about?

I guess it's 1 or 3, as the zpool status output shows me six mirrors, 
but which is it? And, provided my guess is correct, is there a way to 
implement 2 or 4 without involving geom_stripe or geom_concat?


It's 1/3/5.  Each mirror is independant, and writes are balanced across the
mirrors based on space usage.  If you add another mirror to grow the pool,
it will get most of the writes until the usages balance out.

You usually don't want to build an array with options 2 or 4, since a single
drive failure will degrade the entire mirror half.  Consider if you have 


concat00 - file01 file02 file03 file04 file05
concat01 - file11 file12 file13 file14 file15
mirror0 - concat0 concat1

If file01 fails, concat00 fails, causing mirror0 to become degraded.  When
you replace file01, mirror0 will have to resynch all of concat00 from
concat01 since it doesn't know about the subdevices.  If you don't replace
file01, and then file15 fails, you have lost your entire volume (unless you
do some hackery to swap file05 and file15 to create a functioning concat01).



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


how to remove HAL dependencies in gnome2

2009-12-01 Thread Derek Ragona
I source upgraded a server from 7.2 release to 8.0 release.  In trying to 
rebuild all the ports, HAL is broken and won't compile.  If I try to make 
config on most of those ports there is no HAL in the config.  How do I get 
rid of these dependencies so I can get the last of the ports 
rebuilt?  These ports all seem to be part of gnome2.





-Derek
derek at computinginnovations.com



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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: problem with php5-snmp

2009-12-01 Thread Kevin Kinsey

B. Cook wrote:

Trying to update all ports since updating to 8.0..

already rebuilt all ports and did a yes | make delete-old-libs so none 
of that is the problem..


php5-snmp would not rebuild.

Not sure where the problem is..

but below is tons of output..


snip


checking for snmp_parse_oid in -lnetsnmp... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log for 
more information.


So what does config.log say?  It should be at
/usr/ports/net-mgmt/php5-snmp/work/{$PORTNAME}/config.log
and *might* have useful information.

HTH,

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


Has the FreeSBIE (Free BSD live CD) project been phased out?

2009-12-01 Thread Albretch Mueller
 I have been trying to get to their page for more than a day
~
 http://www.freebsd.org/where.html
~
 FreeSBIE: http://www.freesbie.org/
~
 Maybe you can help me out anyway. Basically I would like to know if
the latest release of FreeSBIE has a fromhd or bootfrom option
from which you could start it based on an ISO image and free the
CD-ROM/DVD player for whichever purpose you want.
~
 Also I would like to experiment with DTrace using FreeBSD. Any hints?
~
 Thank you
 lbrtchx
___
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


Why there are so many binary packages missing?

2009-12-01 Thread Yuri
I am seeing this for a long time. If I use 'portupgrade -aPP' (packages 
only) there is a very large percentage of packages missing.
Upgrading becomes many times faster when binary packages available are 
available.


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


Re: bash script question

2009-12-01 Thread Dánielisz László
I just find out:

#!/usr/local/bin/bash
export IFS= 
cuc=$*
mkdir cuc

Thanks anyway!

László




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, December 1, 2009 8:37:04 PM
Subject: bash script question


Hello,

I'd like to ask how can I read a variable in the same line when I launch a 
script?
For example ./script.sh directory_name, and I want the script to creat the 
directory called directory_name or whatever I input there.

Thank you!
László




___
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


bash script question

2009-12-01 Thread Dánielisz László
Hello,

I'd like to ask how can I read a variable in the same line when I launch a 
script?
For example ./script.sh directory_name, and I want the script to creat the 
directory called directory_name or whatever I input there.

Thank you!
László



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


Re: how to remove HAL dependencies in gnome2

2009-12-01 Thread Mark Kane
On Tue, Dec 01, 2009, at 12:41:07 -0600, Derek Ragona wrote:
 I source upgraded a server from 7.2 release to 8.0 release.  In
 trying to rebuild all the ports, HAL is broken and won't compile.  If
 I try to make config on most of those ports there is no HAL in the
 config.  How do I get rid of these dependencies so I can get the last
 of the ports rebuilt?  These ports all seem to be part of gnome2.

Hi.

I'm not sure why it wasn't more clearly announced as being required
for the 8.0 upgrade specifically, however following the 20090309 entry
in /usr/ports/UPDATING (mainly removing the libusb port) should allow
HAL to build again.

Hope that helps,

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MarkK)
___
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: bash script question

2009-12-01 Thread Polytropon
On Tue, 1 Dec 2009 11:48:43 -0800 (PST), Dánielisz László 
laszlo_daniel...@yahoo.com wrote:
 I just find out:
 
 #!/usr/local/bin/bash
 export IFS= 
 cuc=$*
 mkdir cuc

The $* variable will expand to all arguments given on the
command line, e. g.

$ ./myscript foo bar baz

will result in

mkdir foo bar baz

and so create a directory named

foo\ bar\ baz

including the spaces. If you only want to access the first
parameter, use $1, and for good form, check it before
further processing. Your use of quotes to include the
parameter is already good form. :-)



-- 
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: bash script question

2009-12-01 Thread Rolf G Nielsen

Dánielisz László wrote:

I just find out:

#!/usr/local/bin/bash
export IFS= 
cuc=$*
mkdir cuc

Thanks anyway!

László




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, December 1, 2009 8:37:04 PM
Subject: bash script question


Hello,

I'd like to ask how can I read a variable in the same line when I launch a 
script?
For example ./script.sh directory_name, and I want the script to creat the directory 
called directory_name or whatever I input there.

Thank you!
László



  
___

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





Why are you using bash? To make a shell script as portable as possible, 
use /bin/sh. Bash is a third party shell, that isn't included in a base 
installation (you're not using bash as root's shell, are you?). By using 
/bin/sh, you make sure the script will run without having to install any 
ports.


Try this instead (check the Special parameters section in the sh(1) 
man page to get the difference between $* and $@ and an explanation as 
to why I quote the $@).


#!/bin/sh
mkdir $@


Cheers,

Rolf Nielsen

___
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: tcp delays in jails

2009-12-01 Thread William Taylor

On Dec 1, 2009, at 3:07 AM, Ivan Voras wrote:

 William Taylor wrote:
 I recently started having a problem with tcp connections in one of my jails.
 Im running 4.9-stable
 
 I guess it will not do any good to tell you to upgrade to 8.0? :)
 
   Not at this time although I probably should eventually.  I still have a 
3.5-STABLE box kicking around.
   I have always been a believer of if it isn't broken don't fix it.

 both sendmail and perdition experience the same problem. I even tried 
 stopping
 everything on the box and the problem still persists.
 
 Just to verify - the problem is on the side of the servers (TCP listeners)?
 
   Seems to be. I could write a small tcp server and see if I can get it to 
exhibit the same behavior or not.

 Connections to other jails on different ip's on the same box are fine.
 There seems to be about a 5 second delay.
 From this snippet of a ktrace I did you can see what looks to be a delay of 
 about 5 seconds  after the CALL kevent
 
 I'm not sure what you are tracing but this trace looks like something having 
 to do with DNS.
 
 Does DNS resolve properly on the box? Reverse DNS also? Some servers, ssh and 
 probably sendmail also, do a reverse DNS lookup on the connecting client.
 Just the generic ones... try seeing if DNS and reverse DNS work first.
 
 

Yes DNS is resolving properly forward and reverse. I even tried changing DNS 
servers.

___
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: Why there are so many binary packages missing?

2009-12-01 Thread Matthew Seaman

Yuri wrote:
I am seeing this for a long time. If I use 'portupgrade -aPP' (packages 
only) there is a very large percentage of packages missing.
Upgrading becomes many times faster when binary packages available are 
available.


Missing binary packages are due in the main to three reasons:

  * Restrictive licensing terms

  * Ports that through bugs, or otherwise, fail to successfully generate
a binary package.  Some ports (eg. sysutils/screen up until about 2
months ago 
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/screen/Makefile.diff?r1=1.77;r2=1.78))
just won't package successfully, even if they build, install and run
perfectly well.

  * The port has a dependency on another port that failed for reason (2).  
Because the ports build cluster installs the dependencies of the port it

is currently trying to build from binary packages, any lower level port
that fails will prevent packages being built for anything that depends on
it.

Packages may still be built internal to the build cluster and used to fulfil
dependencies although their licensing terms forbid /release/ in compiled form,
so (1) doesn't contribute all that much to (3).

An awful lot of work by a great many people goes towards minimizing the effects
of (2) and that automatically ameliorates (3).  There's always more to do 
though,
and anyone volunteering their help will be gratefully received.  See
http://portsmon.freebsd.org/ for a database of the current statuses.

(1) depends on the authors of the package changing their licensing policies; 
frequently persuading people to do that is an uphill struggle and often requires 
lobbying by a whole mass of people.


Then there are a few oddball packages not built for various other reasons.  Eg.
building OpenOffice basically ties up too many system resources from the build
cluster for too long, so I believe that it is still the case that it is left to
3rd parties to generate and publish packages.  


Hmmm.. also, just an afterthought and probably insultingly obvious, but where 
are
you fetching the pkgs from?  Be aware that the installation media only contain a 
selection of the most popular packages because there simply isn't space to include 
everything.  Go to the FTP sites for a comprehensive service.


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: Wanting to buy a laptop w/ FreeBSD, AND...

2009-12-01 Thread ill...@gmail.com
2009/12/1 andrew clarke m...@ozzmosis.com:
 On Tue 2009-12-01 10:00:16 UTC+0100, Polytropon (free...@edvax.de) wrote:

  ?4).? WordPerfect 5.1?

 Could be a problem to run it natively.

 WordPerfect 5.1 will run under the DOSBox emulator.

 http://www.dosbox.com/

 /usr/ports/emulators/dosbox in the FreeBSD Ports tree.

Emacs doesn't have a mode for that?

As one who used to write with wordstar, discovering
the jstar mode of editors/joe was quite the delight.

-- 
--
___
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: ACPI temperature

2009-12-01 Thread Steven Friedrich
On Monday 30 November 2009 04:59:51 pm you wrote:
 2009/11/29 Steven Friedrich free...@insightbb.com:
  On Sunday 29 November 2009 11:03:28 am you wrote:
  2009/11/29 Steven Friedrich free...@insightbb.com:
   I booted my HP Pavilion zd8215us and I immediately invoked
   chkCPUTemperature. The first temp reported was 52C, which is 125.6F.
   This leads me to believe that acpi has an anomaly regarding
   temperature measurement. The ambient temp was 71F (21.6C). The machine
   had been off for over eight hours.
 
  I'm not sure.  My laptop shows about 59C as soon as I can
  log in, in a room kept around 16C ambient.  It rather quickly
  drops to 40C if I let it idle with powerd doing its thing.
 
  Thanks for the response. One question though, what OS are you running.
 
  The reason I ask is because I want to discover if it's FreeBSD specific
  or possibly affecting Linux distros as well. And if you're running
  FreeBSD, which version.
 
 I think CPU use/temp during boot-up _could_ vary a lot from
 one operating system to another, I don't know that it must,
 though, since the whole business is arcane and full of magic
 (much like poutine).
 
 FreeBSD 8.0-RELEASE #1: Mon Nov 23 13:47:06 EST 2009
 amd64
 
 It's a turion x2 of 1990MHz
 
 I only had windows on long enough to burn one CD back in
 February, so I have not the least clue how it behaved (besides
 terribly).
 
 I can't find any way to get the actual temperature values under
 Opensolaris, but I do dual boot.  It spends so much time starting
 so many mind-bogglingly worthless services prior to giving me
 a log-in prompt that I'm not sure the comparison is fair.  The fan
 usually kick into high prior to the log-in prompt, though.
 
 Opensolaris is pretty horrible in terms of performance and battery
 life compared to FreeBSD. It's also like a strange, alien wasteland
 what with bash  gnome  other linuxisms, except pfexec.
 pfexec rocks.
 
I wasn't thinking that the actual temperature varied from one OS to another, I 
was thinking that Linux might have a different version of ACPI or that FreeBSD 
might have a bug that Linux doesn't.
___
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: Why there are so many binary packages missing?

2009-12-01 Thread Yuri

Matthew Seaman wrote:

Yuri wrote:
I am seeing this for a long time. If I use 'portupgrade -aPP' 
(packages only) there is a very large percentage of packages missing.
Upgrading becomes many times faster when binary packages available 
are available.


Missing binary packages are due in the main to three reasons:

  * Restrictive licensing terms

  * Ports that through bugs, or otherwise, fail to successfully generate
a binary package.  Some ports (eg. sysutils/screen up until about 2
months ago 
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/screen/Makefile.diff?r1=1.77;r2=1.78)) 


just won't package successfully, even if they build, install and run
perfectly well.

  * The port has a dependency on another port that failed for reason 
(2).  Because the ports build cluster installs the dependencies of 
the port it
is currently trying to build from binary packages, any lower level 
port
that fails will prevent packages being built for anything that 
depends on

it.



Thank you for this information.

Let's put aside #1. There are probably very few of those.
It still seems strange: on my system all of the ports that I need build 
ok. Why would the port build successfully, but would fail to generate a 
binary package? Isn't packaging just gzipping resulting binaries with 
some minor additions?
Also why wouldn't the cluster build and install a port, once the package 
fails? This way the #3 item is eliminated completely. Since it looks 
like there is much more likely to build a port then a binary package.


Yuri


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


Re: problem with php5-snmp

2009-12-01 Thread B. Cook


So what does config.log say?  


cat -n work/php-5.2.11/ext/snmp/config.log
 1  This file contains any messages produced by compilers while
 2  running configure, to aid debugging if configure makes a mistake.
 3  
 4  It was created by configure, which was
 5  generated by GNU Autoconf 2.62.  Invocation command line was
 6  
 7	  $ ./configure --with-snmp=/usr/local --with-openssl-dir=/usr 
--enable-ucd-snmp-hack --with-php-config=/usr/local/bin/php-config 
--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd8.0

 8  
 9  ## - ##
10  ## Platform. ##
11  ## - ##
12  
13  hostname = core.phs.pcsd
14  uname -m = i386
15  uname -r = 8.0-RELEASE
16  uname -s = FreeBSD
17	uname -v = FreeBSD 8.0-RELEASE #0: Tue Dec  1 14:05:04 EST 2009 
r...@core.phs.pcsd:/usr/obj/usr/src/sys/GENERICplus

18  
19  /usr/bin/uname -p = i386
20  /bin/uname -X = unknown
21  
22  /bin/arch  = unknown
23  /usr/bin/arch -k   = unknown
24  /usr/convex/getsysinfo = unknown
25  /usr/bin/hostinfo  = unknown
26  /bin/machine   = unknown
27  /usr/bin/oslevel   = unknown
28  /bin/universe  = unknown
29  
30  PATH: /sbin
31  PATH: /bin
32  PATH: /usr/sbin
33  PATH: /usr/bin
34  PATH: /usr/games
35  PATH: /usr/local/sbin
36  PATH: /usr/local/bin
37  PATH: /root/bin
38  
39  
40  ## --- ##
41  ## Core tests. ##
42  ## --- ##
43  
44  configure:1999: checking for grep that handles long lines and -e
45  configure:2059: result: /usr/bin/grep
46  configure:2064: checking for egrep
47  configure:2128: result: /usr/bin/grep -E
48  configure:2133: checking for a sed that does not truncate output
49  configure:2187: result: /usr/bin/sed
50  configure:2382: checking for C compiler version
51  configure:2390: cc --version 5
52  cc (GCC) 4.2.1 20070719  [FreeBSD]
53  Copyright (C) 2007 Free Software Foundation, Inc.
54	This is free software; see the source for copying conditions. 
There is NO
55	warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.

56  
57  configure:2394: $? = 0
58  configure:2401: cc -v 5
59  Using built-in specs.
60  Target: i386-undermydesk-freebsd
61  Configured with: FreeBSD/i386 system compiler
62  Thread model: posix
63  gcc version 4.2.1 20070719  [FreeBSD]
64  configure:2405: $? = 0
65  configure:2412: cc -V 5
66  cc: '-V' option must have argument
67  configure:2416: $? = 1
68  configure:2439: checking for C compiler default output file name
69	configure:2461: cc -O2 -pipe -march=pentium4 
-fno-strict-aliasing   -L/usr/lib -lcrypto -lssl 
-rpath=/usr/lib:/usr/local/lib conftest.c  5

70  configure:2465: $? = 0
71  configure:2503: result: a.out
72  configure:2520: checking whether the C compiler works
73  configure:2530: ./a.out
74  configure:2534: $? = 0
75  configure:2551: result: yes
76  configure:2558: checking whether we are cross compiling
77  configure:2560: result: no
78  configure:2563: checking for suffix of executables
79	configure:2570: cc -o conftest -O2 -pipe -march=pentium4 
-fno-strict-aliasing   -L/usr/lib -lcrypto -lssl 
-rpath=/usr/lib:/usr/local/lib conftest.c  5

80  configure:2574: $? = 0
81  configure:2598: result:
82  configure:2604: checking for suffix of object files
83	configure:2630: cc -c -O2 -pipe -march=pentium4 
-fno-strict-aliasing  conftest.c 5

84  configure:2634: $? = 0
85  configure:2657: result: o
86  configure:2661: checking whether we are using the GNU C compiler
87	configure:2690: cc -c -O2 -pipe -march=pentium4 
-fno-strict-aliasing  conftest.c 5

88  configure:2697: $? = 0
89  configure:2714: result: yes
90  configure:2723: checking whether cc accepts -g
91  configure:2753: cc -c -g  conftest.c 5
92  configure:2760: $? = 0
93  configure:2861: result: yes
94  configure:2878: checking for cc option to accept ISO C89
95	configure:2952: cc  -c -O2 -pipe -march=pentium4 
-fno-strict-aliasing  conftest.c 5

96  configure:2959: $? = 0
97  configure:2982: result: none needed
98  configure:3006: checking how to run the C preprocessor
99  configure:3046: cc -E  conftest.c
   100  configure:3053: $? = 0
   101  configure:3084: cc -E  conftest.c
   102  conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
   103  configure:3091: $? = 1
   104  configure: failed program was:
   105  | /* confdefs.h.  */
   106  | #define PACKAGE_NAME 
   107  | #define PACKAGE_TARNAME 
   108  | #define PACKAGE_VERSION 
   109  | #define PACKAGE_STRING 
   110  | #define PACKAGE_BUGREPORT 
   111  | /* end confdefs.h.  */
   112  | #include ac_nonexistent.h
   

Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-01 Thread Jerry McAllister
On Tue, Dec 01, 2009 at 07:59:42AM -0500, Maxim Khitrov wrote:

 On Sat, Nov 28, 2009 at 12:28 PM, Peggy Wilkins enli...@gmail.com wrote:
  Can someone elaborate on what exactly this statement in the 8.0
  detailed release notes means?
 
  http://www.freebsd.org/releases/8.0R/relnotes-detailed.html#FS
 
  2.2.5 File Systems
 
  ???dangerously dedicated??? mode for the UFS file system is no longer 
  supported.
 
   Important: Such disks will need to be reformatted to work with this 
  release.
 
  Due to history I won't go into, all my production (currently
  7.2-RELEASE) systems are installed onto dangerously dedicated disks.
   What exactly do I need to do to upgrade them to 8.0?  (I'm not asking
  for an upgrade procedure, I'm familiar with that, but rather, how this
  change impacts the upgrade.)  I think that the suggestion that the
  disks need to be reformatted is extreme and I hope something less
  extreme will suffice.
 
  Also, just to be clear, does this statement refer to boot disks, data
  disks, or both?
 
  It doesn't make sense to me that dangerously dedicated could have an
  impact on UFS filesystems specifically.  A partition table is just a
  partition table, regardless of what filesystems might be written on
  disks, yes?  Am I misunderstanding something here?

I don't know why it would have an affect, but they say it does.

I take this to mean that any disk that is created without slice
and partition within slice needs to be redone.Probably it can all
be done in sysinstall, but you can do it with fdisk/bsdlabel/newfs.

It does not matter if it is a boot disk or just a data disk.  It
is whether or not it has a (one or more, up to 4) slice defined
and within the slice[s] partitions defined which are turned in to
filesystems.   You can tell by the dev names in /etc/fstab.

If they have the full device name  /dev/da0s1a, ... da0s1h, they
are NOT dangerously dedicated and you should not have to worry.

If the machine is dual booted with some MS thing as the other OS, then
it is very unlikely that they are dangerously dedicated.

But, if they are like  /dev/da0  or  /dev/da0s1  (but with no 'a, b..h')
then they are dangerously dedicated and you need to convert them.

First you would have to back up the contents of the disk, partition
by partition (mountable filesystem by mountable filesystem) however
you have it.   Since it is 'dangerously dedicated' it is likely you
have a single filesystem per disk that needs backing up.
Check out that backup to make sure it is readable.   There is no
going back.   The backup can be done to tape or USB external disk
or network or any other media that will not be affected, has room
and can be written and read from the FreeBSD system.

Then, boot a FreeBSD system that does not have the disk in question mounted.
Probably you will need to use a 'fixit' image from the install CDs.

Just for example, lets say, once your are booted, the disk to be
converted shows up as /dev/ad1 and that it was all in one file system
and that you want it to continue to be all in one file system.

Do the following:
(This makes a bootable drive and bootable partition with 
the standard FreeBSD MBR)
(The dd-s just make sure old stuff is cleared)


  dd if=/dev/zero of=/dev/ad1 bs=512 count=1025
  fdisk -BI ad1
  dd if=/dev/zero of=/dev/ad1s1 bs=512 count=1025
  bsdlabel -w -B ad1s1
  bsdlabel -e ad1s1

The last bsdlabel command will bring up an edit screen.
I suggest that you make at least some swap on this disk.
So, you will want partition 'b' for swap and partition 'a' for
everything else.  Edit the partition label so it looks like:

  # /dev/ad0s3:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a: 8729532204.2BSD2048 16384 49160
b:**  swap
c: 898676100unused   0 0 # raw part, don't edit

Those sizes are just an example.  Use sizes that fit your disk.
Using a * as the last size means it will use all remaining disk
and the * in offset means it will calculate it properly.
Of course, don't do anything to the 'c' line.

Once that is done, newfs the partition to make a filesystem.

  newfs /dev/ad1s1a

Note that fdisk and bsdlabel do not need the full path.  They figure
it out.   But, the last I knew, newfs still does.Probably the
defaults on newfs will work just fine.   If you have huge numbers 
of tiny files you might want to adjust '-i' bytes per inode to increase
number of inodes.  You might also want to turn on softupdates with '-U'.


jerry


 
  Thanks for helping to clear up my confusion...
 
  plw
 
 Peggy,
 
 Were you able to find an answer for this? I also have a number of
 servers and firewalls that use dangerously dedicated disks (boot and
 data). I don't see why UFS would care if it's mounted from ad1a vs.
 ad1s1a.
 
 - Max
 ___
 freebsd-questions@freebsd.org mailing list
 

Re: bash script question

2009-12-01 Thread Polytropon
On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen laz...@lazlarlyricon.com 
wrote:
 Why are you using bash? To make a shell script as portable as possible, 
 use /bin/sh. Bash is a third party shell, that isn't included in a base 
 installation (you're not using bash as root's shell, are you?). By using 
 /bin/sh, you make sure the script will run without having to install any 
 ports.

That's a very good advice. Using sh is strongly recommended
for maximal portability. Use sh if you're not requiring 
features that are bash-only.




-- 
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: bash script question

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote:
 On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen laz...@lazlarlyricon.com 
 wrote:
  Why are you using bash? To make a shell script as portable as possible, 
  use /bin/sh. Bash is a third party shell, that isn't included in a base 
  installation (you're not using bash as root's shell, are you?). By using 
  /bin/sh, you make sure the script will run without having to install any 
  ports.
 
 That's a very good advice. Using sh is strongly recommended
 for maximal portability. Use sh if you're not requiring 
 features that are bash-only.
 
 

Hi guys, 

Here's a bash-related question, kind-of.  Is there any way to
automagically run my .csrhc thru a script and wind up with a
bash script?

gary


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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: bash script question

2009-12-01 Thread Rolf G Nielsen

Gary Kline wrote:

On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote:

On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen laz...@lazlarlyricon.com 
wrote:
Why are you using bash? To make a shell script as portable as possible, 
use /bin/sh. Bash is a third party shell, that isn't included in a base 
installation (you're not using bash as root's shell, are you?). By using 
/bin/sh, you make sure the script will run without having to install any 
ports.

That's a very good advice. Using sh is strongly recommended
for maximal portability. Use sh if you're not requiring 
features that are bash-only.





	Hi guys, 


Here's a bash-related question, kind-of.  Is there any way to
automagically run my .csrhc thru a script and wind up with a
bash script?

gary




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




If by Is there any way you mean is it possible, the answer would 
have to be yes. The next question is most likely has anyone written 
such a script? and to that question, someone else will have to provide 
the answer.


Rolf Nielsen
___
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: bash script question

2009-12-01 Thread Polytropon
On Tue, 1 Dec 2009 13:45:55 -0800, Gary Kline kl...@thought.org wrote:
   Hi guys, 
 
   Here's a bash-related question, kind-of.  Is there any way to
   automagically run my .csrhc thru a script and wind up with a
   bash script?

csh and (ba)sh use dufferent syntax and variable names.
But you could write an easy search and replace translator
for the .cshrc settings, which are mostly

alias foo = 'bar'
set var = value
setenv envvar = value

but for some of them, there's no bash equivalent (e. g.
set promptchars and set promt in cshrc, but PS1 in bash).

I'm not aware of an already existing mechanism that does
this. Running one shell from the other doesn't transport
most of the settings.




-- 
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: trouble installing to sun blade 1500

2009-12-01 Thread Marius Strobl
On Tue, Dec 01, 2009 at 04:57:52PM +, Anton Shterenlikht wrote:
 On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:
  
  
  Hello Anton ... to FreeBSD sparc64,
  
   I get to OK prompt, type boot cdrom, but the process
   stops after a few seconds with:
  
 jumping to kernel entry at 0xc0088000.
  

You're using an unsupported framebuffer (see the release notes).

  
  I think supported system means that it is working at least via serial 
  console (this is the case e.g for Plain Ultra 1).
  
  So when I see something like this I hook-up a serial console and try over 
  it.
 
 ok, 8.0 installation went fine.
 
 On reboot I get this panic (typed by hand):
 
   Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
 memory
   address not aligned
 
   Automatic reboot in 15 seconds
 
 Any advice?
 

This unfortunately isn't sufficient information and my Blade 1500
doesn't exhibit this problem. Could you please put the full dmesg
output online somewhere (this should be easy to capture when
using a serial console)? Can you boot to single user?

Marius

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


How known?

2009-12-01 Thread Gary Kline

hey, mail gurus, how is this possible? thru evolution::

This is a receipt for the mail you sent to
x...@msn.com at 12/1/2009 12:43 PM

This receipt verifies that the message has been displayed on the
recipient's computer at 12/1/2009 1:55 PM



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: bash script question

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 11:02:07PM +0100, Rolf G Nielsen wrote:
 Gary Kline wrote:
 On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote:
 On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen 
 laz...@lazlarlyricon.com wrote:
 Why are you using bash? To make a shell script as portable as possible, 
 use /bin/sh. Bash is a third party shell, that isn't included in a base 
 installation (you're not using bash as root's shell, are you?). By using 
 /bin/sh, you make sure the script will run without having to install any 
 ports.
 That's a very good advice. Using sh is strongly recommended
 for maximal portability. Use sh if you're not requiring 
 features that are bash-only.
 
 
 
  Hi guys, 
 
  Here's a bash-related question, kind-of.  Is there any way to
  automagically run my .csrhc thru a script and wind up with a
  bash script?
 
  gary
 
 
 
 -- 
 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
 
 
 If by Is there any way you mean is it possible, the answer would 
 have to be yes. The next question is most likely has anyone written 
 such a script? and to that question, someone else will have to provide 
 the answer.
 
 Rolf Nielsen



(sheepishly, and hanging my head) yes.  does anybody have a
csh/cshrc-alias to a bash/bashrc-alias script?  i've got
hundreds of aliases to be just deleted, i suppose, by dozens
more.  

[  ]

{ please, sur, might i have more to eat? i'm hungry... { beg, 
contrition... .} }

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: How known?

2009-12-01 Thread Chuck Swiger
On Dec 1, 2009, at 3:02 PM, Gary Kline wrote:
 hey, mail gurus, how is this possible? thru evolution::
 
 This is a receipt for the mail you sent to
 x...@msn.com at 12/1/2009 12:43 PM
 
 This receipt verifies that the message has been displayed on the
 recipient's computer at 12/1/2009 1:55 PM

Most mail user agents have an option to enable read receipts; they use (or 
abuse) the DSN or MDN capabilities of the recipient's MTA or MUA.  They are not 
a reliable signal that a human has seen the mail, although they can be used to 
confirm it at least got to the recipient's mail server or were processed by 
their MUA.

Knowledgeable mail admins tend to disable them as being needlessly intrusive 
and wasteful of resources.

Regards,
-- 
-Chuck

___
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: bash script question

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 11:10:33PM +0100, Polytropon wrote:
 On Tue, 1 Dec 2009 13:45:55 -0800, Gary Kline kl...@thought.org wrote:
  Hi guys, 
  
  Here's a bash-related question, kind-of.  Is there any way to
  automagically run my .csrhc thru a script and wind up with a
  bash script?
 
 csh and (ba)sh use dufferent syntax and variable names.
 But you could write an easy search and replace translator
 for the .cshrc settings, which are mostly
 
   alias foo = 'bar'
   set var = value
   setenv envvar = value
 
 but for some of them, there's no bash equivalent (e. g.
 set promptchars and set promt in cshrc, but PS1 in bash).
 
 I'm not aware of an already existing mechanism that does
 this. Running one shell from the other doesn't transport
 most of the settings.
 

Ah, Polyt to the rescue.  I already have things like setenv
aliased to ksh/zsh/borne-again/ and probably even  /bin/sh ||
/bin/ash. 

I thought that especially bash was still persnikity.  It used 
to be centuries ago, so I just stuck with zsh.   Another deal
was that I rarely use root, so it didn't worth it.  But now, 
sweating the End of Days, yup.

I'll see if vim can come to the resuce.  thankee.

gary


 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: How known?

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 03:15:25PM -0800, Chuck Swiger wrote:
 On Dec 1, 2009, at 3:02 PM, Gary Kline wrote:
  hey, mail gurus, how is this possible? thru evolution::
  
  This is a receipt for the mail you sent to
  x...@msn.com at 12/1/2009 12:43 PM
  
  This receipt verifies that the message has been displayed on the
  recipient's computer at 12/1/2009 1:55 PM
 
 Most mail user agents have an option to enable read receipts; they use (or 
 abuse) the DSN or MDN capabilities of the recipient's MTA or MUA.  They are 
 not a reliable signal that a human has seen the mail, although they can be 
 used to confirm it at least got to the recipient's mail server or were 
 processed by their MUA.


What are DSN and MDN, please?
 
 Knowledgeable mail admins tend to disable them as being needlessly intrusive 
 and wasteful of resources.
 


I understand that.  I feel like Giorgos Keramidas: don't want
people tracking my every move.  And in most cases, it's a
dontcare for me.  But for people like XYZ above, who is
involved with my book, I 8DO* care if she got my message. 

gary

 Regards,
 -- 
 -Chuck
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: How known?

2009-12-01 Thread Chuck Swiger
On Dec 1, 2009, at 4:03 PM, Gary Kline wrote:
 Most mail user agents have an option to enable read receipts; they use (or 
 abuse) the DSN or MDN capabilities of the recipient's MTA or MUA.  They are 
 not a reliable signal that a human has seen the mail, although they can be 
 used to confirm it at least got to the recipient's mail server or were 
 processed by their MUA.
 
   What are DSN and MDN, please?

Delivery Status Notification, Message Disposition Notification

-- 
-Chuck


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


installing cups-client kills my machines

2009-12-01 Thread Michal

Hello,

I don't have any printers attached to my system but sometimes I have to 
print something to a pdf file from my www browser or email client. 
Everything works fine without cups but some ports are installing it (or 
 parts of it) as dependencies and that's when all problems starts.


With cups-client installed I can not print to PDF files any more. In 
fact just touching anything related to printing results with [almost] 
frozen machine. For example pushing page setup, print preview or 
print options in Firefox is going to result in 100% WCPU usage by 
firefox-bin and it sits like that forever.


Currently I'm running cups-client-1.4.2_1. Same problem when I try to 
access print-related options from within Thunderbird and Firefox. Same 
problem on two different machines with 7.2-RELEASE-i386 and 
8.0-RELEASE-amd64.


Don't really know what should I look at - any ideas, please? It drives 
me crazy and ruins my desktop experience (i.e. I have to reboot into 
Windows just to print something to a file).


Michal
--
Make everything as simple as possible, but not simpler. -Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


What's up with gnome-terminal?

2009-12-01 Thread Rem P Roberti
Still no joy trying to get gnome-terminal to work. Now when I try to
load it I get this error message:

**
ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
(app-system_font_desc != NULL)
Abort trap: 6 (core dumped)

Funny thing is that a year or so ago I used to use gnome-terminal on
another installation with no problems.  Did something change?

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


Re: How known?

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 04:05:17PM -0800, Chuck Swiger wrote:
 On Dec 1, 2009, at 4:03 PM, Gary Kline wrote:
  Most mail user agents have an option to enable read receipts; they use 
  (or abuse) the DSN or MDN capabilities of the recipient's MTA or MUA.  
  They are not a reliable signal that a human has seen the mail, although 
  they can be used to confirm it at least got to the recipient's mail server 
  or were processed by their MUA.
  
  What are DSN and MDN, please?
 
 Delivery Status Notification, Message Disposition Notification
 

Wow; amazing.  i'Ve been checking thru /usr/local/etc/Muttrc
and found something interesting.  This, circa lins #2900 ++:


# Specifies how to sort messages in the index menu.  Valid
values
# are:
#
#date or date-sent
#date-received
#from
#mailbox-order (unsorted)
#score
#size
#subject
#threads
#to

but nowhere to specify the date-received.  Strange, yes?
wait::: dsn

# set dsn_notify=
#
# Name: dsn_notify
# Type: string
# Default: 
#


Be nice to suggest to the mutt folks to let this be turned on
only for certain email.  I *have* tried to sub to the mutt
mailinglist, but never get any responce.  AFAIK, there is no
forum, so maybe it's time to roll my own hack!

thanks muchly,

gary

mutt forum, so maybe it's time to roll my own hack!

 -- 
 -Chuck
 
 
 ___
 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.31a 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


Re: What's up with gnome-terminal?

2009-12-01 Thread Adam Vande More
On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net wrote:

 Still no joy trying to get gnome-terminal to work. Now when I try to
 load it I get this error message:

 **
 ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
 (app-system_font_desc != NULL)
 Abort trap: 6 (core dumped)

 Funny thing is that a year or so ago I used to use gnome-terminal on
 another installation with no problems.  Did something change?

 Rem


Works great here and I doubt it a problem w/ terminal itself.  Perhaps your
install is borked, try reinstalling, checking for lost/broken depends, etc.

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


Re: What's up with gnome-terminal?

2009-12-01 Thread Rem P Roberti
On 2009.12.01 19:16:10 +, Adam Vande More wrote:
 On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net wrote:
 
  Still no joy trying to get gnome-terminal to work. Now when I try to
  load it I get this error message:
 
  **
  ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
  (app-system_font_desc != NULL)
  Abort trap: 6 (core dumped)
 
  Funny thing is that a year or so ago I used to use gnome-terminal on
  another installation with no problems.  Did something change?
 
  Rem
 
 
 Works great here and I doubt it a problem w/ terminal itself.  Perhaps your
 install is borked, try reinstalling, checking for lost/broken depends, etc.

I'm sure your're right. I did a reinstall and that didn't change
anything. Is there a config file I need to tweak?  A daemon I'm not
starting?  Maybe I'm just not running this thing correctly. 

Rem
___
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: Why there are so many binary packages missing?

2009-12-01 Thread RW
On Tue, 01 Dec 2009 11:47:35 -0800
Yuri y...@rawbw.com wrote:

 I am seeing this for a long time. If I use 'portupgrade
 -aPP' (packages only) there is a very large percentage of packages
 missing. Upgrading becomes many times faster when binary packages
 available are available.

Presumably it's due to version mismatches. If you are using release
packages then  portupgrade -aPP only works well with the ports tree
snapshot on the install disk. If you are using STABLE packages then
there's a lag  between the port and the packages, the more frequently
you update the less likely you are to get matching packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What's up with gnome-terminal?

2009-12-01 Thread Jason

On Tue, Dec 01, 2009 at 05:40:04PM -0800, Rem P Roberti thus spake:

On 2009.12.01 19:16:10 +, Adam Vande More wrote:

On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net wrote:

 Still no joy trying to get gnome-terminal to work. Now when I try to
 load it I get this error message:

 **
 ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
 (app-system_font_desc != NULL)
 Abort trap: 6 (core dumped)

 Funny thing is that a year or so ago I used to use gnome-terminal on
 another installation with no problems.  Did something change?

 Rem


Works great here and I doubt it a problem w/ terminal itself.  Perhaps your
install is borked, try reinstalling, checking for lost/broken depends, etc.


I'm sure your're right. I did a reinstall and that didn't change
anything. Is there a config file I need to tweak?  A daemon I'm not
starting?  Maybe I'm just not running this thing correctly.


Did you rebuild all dependent ports on this application?



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


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


Re: What's up with gnome-terminal?

2009-12-01 Thread Rem P Roberti
On 2009.12.01 17:43:08 +, Jason wrote:
 On Tue, Dec 01, 2009 at 05:40:04PM -0800, Rem P Roberti thus spake:
 On 2009.12.01 19:16:10 +, Adam Vande More wrote:
 On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net 
 wrote:
 
  Still no joy trying to get gnome-terminal to work. Now when I try to
  load it I get this error message:
 
  **
  ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
  (app-system_font_desc != NULL)
  Abort trap: 6 (core dumped)
 
  Funny thing is that a year or so ago I used to use gnome-terminal on
  another installation with no problems.  Did something change?
 
  Rem
 
 
 Works great here and I doubt it a problem w/ terminal itself.  Perhaps 
 your
 install is borked, try reinstalling, checking for lost/broken depends, 
 etc.
 
 I'm sure your're right. I did a reinstall and that didn't change
 anything. Is there a config file I need to tweak?  A daemon I'm not
 starting?  Maybe I'm just not running this thing correctly.
 
 Did you rebuild all dependent ports on this application?

I just did a deinstall/reinstall. Not sufficient?  What's the procedure
for doing a complete rebuild of the dependents?

BTW...thanks.

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


Re: What's up with gnome-terminal?

2009-12-01 Thread Jason

On Tue, Dec 01, 2009 at 05:50:07PM -0800, Rem P Roberti thus spake:

On 2009.12.01 17:43:08 +, Jason wrote:

On Tue, Dec 01, 2009 at 05:40:04PM -0800, Rem P Roberti thus spake:
On 2009.12.01 19:16:10 +, Adam Vande More wrote:
On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net
wrote:

 Still no joy trying to get gnome-terminal to work. Now when I try to
 load it I get this error message:

 **
 ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
 (app-system_font_desc != NULL)
 Abort trap: 6 (core dumped)

 Funny thing is that a year or so ago I used to use gnome-terminal on
 another installation with no problems.  Did something change?

 Rem


Works great here and I doubt it a problem w/ terminal itself.  Perhaps
your
install is borked, try reinstalling, checking for lost/broken depends,
etc.

I'm sure your're right. I did a reinstall and that didn't change
anything. Is there a config file I need to tweak?  A daemon I'm not
starting?  Maybe I'm just not running this thing correctly.

Did you rebuild all dependent ports on this application?


I just did a deinstall/reinstall. Not sufficient?  What's the procedure
for doing a complete rebuild of the dependents?


I use portmaster, but you can use a host of utilities for this.

portmaster -r gnome-terminal 


I would start with that.


BTW...thanks.

Rem



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


Re: What's up with gnome-terminal?

2009-12-01 Thread Rem P Roberti
On 2009.12.01 17:52:24 +, Jason wrote:
 On Tue, Dec 01, 2009 at 05:50:07PM -0800, Rem P Roberti thus spake:
 On 2009.12.01 17:43:08 +, Jason wrote:
 On Tue, Dec 01, 2009 at 05:40:04PM -0800, Rem P Roberti thus spake:
 On 2009.12.01 19:16:10 +, Adam Vande More wrote:
 On Tue, Dec 1, 2009 at 6:16 PM, Rem P Roberti remeg...@comcast.net
 wrote:
 
  Still no joy trying to get gnome-terminal to work. Now when I try to
  load it I get this error message:
 
  **
  ERROR:terminal-app.c:1445:terminal_app_init: assertion failed:
  (app-system_font_desc != NULL)
  Abort trap: 6 (core dumped)
 
  Funny thing is that a year or so ago I used to use gnome-terminal on
  another installation with no problems.  Did something change?
 
  Rem
 
 
 Works great here and I doubt it a problem w/ terminal itself.  Perhaps
 your
 install is borked, try reinstalling, checking for lost/broken depends,
 etc.
 
 I'm sure your're right. I did a reinstall and that didn't change
 anything. Is there a config file I need to tweak?  A daemon I'm not
 starting?  Maybe I'm just not running this thing correctly.
 
 Did you rebuild all dependent ports on this application?
 
 I just did a deinstall/reinstall. Not sufficient?  What's the procedure
 for doing a complete rebuild of the dependents?
 
 I use portmaster, but you can use a host of utilities for this.
 
 portmaster -r gnome-terminal 
 
 I would start with that.

OK...tried that, but the results the same error message when I try to
run gnome-terminal. Frustrating.

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


Re: What's up with gnome-terminal?

2009-12-01 Thread Adam Vande More
On Tue, Dec 1, 2009 at 8:06 PM, Rem P Roberti remeg...@comcast.net wrote:


  
  I use portmaster, but you can use a host of utilities for this.
 
  portmaster -r gnome-terminal
 
  I would start with that.

 OK...tried that, but the results the same error message when I try to
 run gnome-terminal. Frustrating.

 Rem


You actually probably want to do an upwards recursive recompile.

portupgrade -Rf port

You may also reference this page which I think details how to completely
remove gnome and start fresh.

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


Re: What's up with gnome-terminal?

2009-12-01 Thread Rem P Roberti
On 2009.12.01 20:57:03 +, Adam Vande More wrote:
 On Tue, Dec 1, 2009 at 8:06 PM, Rem P Roberti remeg...@comcast.net wrote:
 
 
   
   I use portmaster, but you can use a host of utilities for this.
  
   portmaster -r gnome-terminal
  
   I would start with that.
 
  OK...tried that, but the results the same error message when I try to
  run gnome-terminal. Frustrating.
 
  Rem
 
 
 You actually probably want to do an upwards recursive recompile.
 
 portupgrade -Rf port
 
 You may also reference this page which I think details how to completely
 remove gnome and start fresh.

Adam, I'm doing an upward recursive at this time, but I don't see any
link in your email to a page such as you describe.

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


OT, about 97%... .

2009-12-01 Thread Gary Kline

Guys,

Interesting day, this.  I'll only say that somebody--probably
just one person who might be computer savvy--or perhaps a
small group of guy  gals are quite likely scamming tens of
thousands out of some serious bux.  Let me correct that: they
are scamming and have been for many months. I do not want to 
leave my IP footprints on their site.  

No real hurry, but I would like to use somebody's browser a
couple/few times.  I've got a pretty standard DSL: 1m DOWN,
864k UP.  You can watch anything I do.  I'm assuming that

1. closer to WA state is better

and

2. that you're running FreeBSD with Firefox3 ... or some form
of 'Nix.

thanks much,

gary

PS: All replies offlist, please.  We now return you to your
usual geekdom, q's and a's.





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Re: What's up with gnome-terminal?

2009-12-01 Thread Adam Vande More
On Tue, Dec 1, 2009 at 9:17 PM, Rem P Roberti remeg...@comcast.net wrote:

 On 2009.12.01 20:57:03 +, Adam Vande More wrote:
  On Tue, Dec 1, 2009 at 8:06 PM, Rem P Roberti remeg...@comcast.net
 wrote:
 
  

I use portmaster, but you can use a host of utilities for this.
   
portmaster -r gnome-terminal
   
I would start with that.
  
   OK...tried that, but the results the same error message when I try to
   run gnome-terminal. Frustrating.
  
   Rem
  
 
  You actually probably want to do an upwards recursive recompile.
 
  portupgrade -Rf port
 
  You may also reference this page which I think details how to completely
  remove gnome and start fresh.

 Adam, I'm doing an upward recursive at this time, but I don't see any
 link in your email to a page such as you describe.

 Rem


http://www.freebsd.org/gnome/docs/faq2.html

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


Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-01 Thread Randi Harper
I'm going to just reply to all of these at once.

On Tue, Dec 1, 2009 at 1:03 PM, Jerry McAllister jerr...@msu.edu wrote:
 On Tue, Dec 01, 2009 at 07:59:42AM -0500, Maxim Khitrov wrote:

 On Sat, Nov 28, 2009 at 12:28 PM, Peggy Wilkins enli...@gmail.com wrote:
  Due to history I won't go into, all my production (currently
  7.2-RELEASE) systems are installed onto dangerously dedicated disks.
   What exactly do I need to do to upgrade them to 8.0?  (I'm not asking
  for an upgrade procedure, I'm familiar with that, but rather, how this
  change impacts the upgrade.)  I think that the suggestion that the
  disks need to be reformatted is extreme and I hope something less
  extreme will suffice.


Just to point out the obvious, you shouldn't use dangerous and
production in the same sentence. :)


  Also, just to be clear, does this statement refer to boot disks, data
  disks, or both?
 
  It doesn't make sense to me that dangerously dedicated could have an
  impact on UFS filesystems specifically.  A partition table is just a
  partition table, regardless of what filesystems might be written on
  disks, yes?  Am I misunderstanding something here?

 I don't know why it would have an affect, but they say it does.


Did you see all the mailing list chatter about new installations
failing due to sysinstall not being able to newfs device names that
didn't exist? This is related. Also, a partition table isn't just a
partition table. It's a little more complex than that. It has
*nothing* to do with the filesystems inside. It has everything to do
with the way that FreeBSD looks at the drive to figure out what's on
it. See man pages for geom/gpart. There are others that have given a
better explanation than I can provide (marcus, juli). Search the
archives. Trust me, I didn't remove DD support from sysinstall just to
make life more complicated for everyone. I did this because as it
stands right now, it doesn't work.


 I take this to mean that any disk that is created without slice
 and partition within slice needs to be redone.    Probably it can all
 be done in sysinstall, but you can do it with fdisk/bsdlabel/newfs.


Or sade, although sade hasn't yet been updated to reflect the lack of
DD support. Just don't use that option.


 It does not matter if it is a boot disk or just a data disk.  It
 is whether or not it has a (one or more, up to 4) slice defined
 and within the slice[s] partitions defined which are turned in to
 filesystems.   You can tell by the dev names in /etc/fstab.

 If they have the full device name  /dev/da0s1a, ... da0s1h, they
 are NOT dangerously dedicated and you should not have to worry.

 If the machine is dual booted with some MS thing as the other OS, then
 it is very unlikely that they are dangerously dedicated.

 But, if they are like  /dev/da0  or  /dev/da0s1  (but with no 'a, b..h')
 then they are dangerously dedicated and you need to convert them.


What? No. 's1' refers to slice 1 (or partition 1, as you're referring
to it). bsdlabel is used inside this slice to create a partition for
each mount point (a,b,c, etc). See
http://www.freebsd.org/doc/en/articles/formatting-media/x76.html. This
documentation needs to be updated, but at least it'll give you a good
explanation of how it used to work. With DD mode, you're creating a
label against the drive itself, not a slice within.


 First you would have to back up the contents of the disk, partition
 by partition (mountable filesystem by mountable filesystem) however
 you have it.   Since it is 'dangerously dedicated' it is likely you
 have a single filesystem per disk that needs backing up.
 Check out that backup to make sure it is readable.   There is no
 going back.   The backup can be done to tape or USB external disk
 or network or any other media that will not be affected, has room
 and can be written and read from the FreeBSD system.


I think you're confusing running newfs against an unlabeled slice with
DD mode. See above. DD mode means no slices, just a label for
partitions. Not 'a single filesystem'.


Snipping how-to on setting up a drive as it's unnecessary. She asked
for a less extreme measure. The poster clearly has some idea as to
what is going on and probably doesn't need her hand held in setting up
a new drive.


 
  Thanks for helping to clear up my confusion...
 
  plw

 Peggy,

 Were you able to find an answer for this? I also have a number of
 servers and firewalls that use dangerously dedicated disks (boot and
 data). I don't see why UFS would care if it's mounted from ad1a vs.
 ad1s1a.


It's not a filesystem thing. See above.

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


Re: How known?

2009-12-01 Thread Dan Nelson
In the last episode (Dec 01), Gary Kline said:
 On Tue, Dec 01, 2009 at 04:05:17PM -0800, Chuck Swiger wrote:
  On Dec 1, 2009, at 4:03 PM, Gary Kline wrote:
   Most mail user agents have an option to enable read receipts; they use 
   (or abuse) the DSN or MDN capabilities of the recipient's MTA or MUA.  
   They are not a reliable signal that a human has seen the mail, although 
   they can be used to confirm it at least got to the recipient's mail 
   server or were processed by their MUA.
   
   What are DSN and MDN, please?
  
  Delivery Status Notification, Message Disposition Notification
  
 
 Wow; amazing.  i'Ve been checking thru /usr/local/etc/Muttrc
 and found something interesting.  This, circa lins #2900 ++:
 
 # Specifies how to sort messages in the index menu.  Valid values
 # are:
 #
 #date or date-sent
 #date-received
 #from
 #mailbox-order (unsorted)
 #score
 #size
 #subject
 #threads
 #to
 
 but nowhere to specify the date-received.  Strange, yes?

hm?  2nd line says date-received.  Or did you mean something else?

 wait::: dsn
 # set dsn_notify=
 #
 # Name: dsn_notify
 # Type: string
 # Default: 
 #
 
 Be nice to suggest to the mutt folks to let this be turned on only for
 certain email.  I *have* tried to sub to the mutt mailinglist, but never
 get any responce.  AFAIK, there is no forum, so maybe it's time to roll my
 own hack!

Not even a bounce message back?  That's odd.  You can try posting to the
list via the gmane interface, or join the #mutt irc channel on
irc.freenode.net and see if anyone can help there.

The mutt method for changing options based on specific criteria is called
hooks.  In your case, you want to use a send hook like this:

  send-hook . set dsn_notify=none
  send-hook ~t u...@host.com set dsn_notify=failure,delay,success

Note that dsn is only delivery notification; it doesn't let you know that a
message has been read.  For that, you can try

  send-hook . unmy_hdr Disposition-Notification-To:
  send-hook ~t u...@host.com my_hdr Disposition-Notification-To: 
m...@email.com

, but even if your recipient's mailer understands that header, most let the
user turn it off if they want.

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


Re: how to remove HAL dependencies in gnome2

2009-12-01 Thread Derek Ragona

At 02:01 PM 12/1/2009, Mark Kane wrote:

On Tue, Dec 01, 2009, at 12:41:07 -0600, Derek Ragona wrote:
 I source upgraded a server from 7.2 release to 8.0 release.  In
 trying to rebuild all the ports, HAL is broken and won't compile.  If
 I try to make config on most of those ports there is no HAL in the
 config.  How do I get rid of these dependencies so I can get the last
 of the ports rebuilt?  These ports all seem to be part of gnome2.

Hi.

I'm not sure why it wasn't more clearly announced as being required
for the 8.0 upgrade specifically, however following the 20090309 entry
in /usr/ports/UPDATING (mainly removing the libusb port) should allow
HAL to build again.

Hope that helps,

-Mark



Thanks Mark for pointing this out.  I had read UPDATING and missed this 
reference.  I even searched through UPDATING for hal and hald 
references.  I'm glad it was something simple, as I have all the ports 
updated now.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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: 8.0-RELEASE and dangerously dedicated disks

2009-12-01 Thread Randi Harper
 Did you see all the mailing list chatter about new installations
 failing due to sysinstall not being able to newfs device names that
 didn't exist? This is related. Also, a partition table isn't just a
 partition table. It's a little more complex than that. It has
 *nothing* to do with the filesystems inside. It has everything to do
 with the way that FreeBSD looks at the drive to figure out what's on
 it. See man pages for geom/gpart. There are others that have given a
 better explanation than I can provide (marcus, juli). Search the
 archives. Trust me, I didn't remove DD support from sysinstall just to
 make life more complicated for everyone. I did this because as it
 stands right now, it doesn't work.

Sigh, correction. marcel, not marcus.

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


Re: How known?

2009-12-01 Thread Gary Kline
On Tue, Dec 01, 2009 at 10:39:03PM -0600, Dan Nelson wrote:
 In the last episode (Dec 01), Gary Kline said:
  On Tue, Dec 01, 2009 at 04:05:17PM -0800, Chuck Swiger wrote:
   On Dec 1, 2009, at 4:03 PM, Gary Kline wrote:
Most mail user agents have an option to enable read receipts; they 
use (or abuse) the DSN or MDN capabilities of the recipient's MTA or 
MUA.  They are not a reliable signal that a human has seen the mail, 
although they can be used to confirm it at least got to the 
recipient's mail server or were processed by their MUA.

What are DSN and MDN, please?
   
   Delivery Status Notification, Message Disposition Notification
   
  
  Wow; amazing.  i'Ve been checking thru /usr/local/etc/Muttrc
  and found something interesting.  This, circa lins #2900 ++:
  
  #
[[ ... ]]

  
  Be nice to suggest to the mutt folks to let this be turned on only for
  certain email.  I *have* tried to sub to the mutt mailinglist, but never
  get any responce.  AFAIK, there is no forum, so maybe it's time to roll my
  own hack!
 
 Not even a bounce message back?  That's odd.  You can try posting to the
 list via the gmane interface, or join the #mutt irc channel on
 irc.freenode.net and see if anyone can help there.

No bounceback, nada.  I'm wondering if it's dead for the time
being.  I haven't a clue about the irc stuff.  ---
 
 The mutt method for changing options based on specific criteria is called
 hooks.  In your case, you want to use a send hook like this:
 
   send-hook . set dsn_notify=none
   send-hook ~t u...@host.com set dsn_notify=failure,delay,success
 
 Note that dsn is only delivery notification; it doesn't let you know that a
 message has been read.  For that, you can try
 
   send-hook . unmy_hdr Disposition-Notification-To:
   send-hook ~t u...@host.com my_hdr Disposition-Notification-To: 
 m...@email.com
 
 , but even if your recipient's mailer understands that header, most let the
 user turn it off if they want.


I'm certainly guilty of not having read the entire Muttrc, but
do not understand the hook options.  I'll google around for
info and look at the FAW on the mutt site. Really, it isn't
*that* important.  It is an option that would be nice to have.
But not that often.

gary


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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


which is the better way...?

2009-12-01 Thread Gary Kline

it is better to pkg_delete OOo-301 or just cd to /usr/local and
/bin/rm -r it from there?  this time i'll make a not of the preferred
way of cleaning out the old stuff..

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a 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


Child Foundation Newsletter December - Zahra's Story

2009-12-01 Thread Child Foundation


To view this email online, paste this link into your browser:
http://e2ma.net/map/view=CampaignPublic/id=1402856.6553058397/rid=d2b3ac73edc31d52a4d679001401945f

___




Dear Friend,


   We at Child Foundation would 
like to wish you and your family a very safe and happy holiday season. Indeed, 
we have plenty to enjoy during this time, our families, our friends, our 
health, and all the wonderful opportunities that are available to us everyday. 
Please consider taking a moment to share your good fortune with a child who 
really needs it. A child like Zahra whose single mother is forced to battle 
cancer and poverty at the same time needs your help. Please consider sponsoring 
a child like her today as one way of giving back for all that you have and 
enjoy in your life.


Zahra's Story

Zahra, a four year old girl, along with her 
brother, who is a second-grade student in elementary school and their mother 
live in a basement that is not suitable for living. Zahra's father passed away 
due to meningitis four years ago. Their mother has cancer and has become more 
ill, but is the only person to look after Zahra and her brother.In spite of 
being treated with chemotherapy and surgery, Zahra's mother still has a 
cancerous lump in her body, which requires another surgery. Due to her health 
problems, and very little income, this family has been facing a very difficult 
life. Thanks to the help from sponsors, Zahra's family has some assistance now. 
There are many children like Zahra that need sponsors.


View our Child Waiting List today ( 
http://e2ma.net/go/6553058397/208054318/209720157/1402856/goto:http://www.childfoundation.org/ChildWaitingList/tabid/967/Default.aspx
 )


 Mahdi's Story


Mahdi lives in the city of Mazar-e-sharif. He is nine years old and 
enjoys school. Mahdi's father was arrested during a Taliban upraising and there 
is no news about him yet. Currently, he lives with his grandfather who is ill 
and has no steady income. They live in a very poor one room dwelling with no 
amenities.
Mahdi enjoys biking and drawing and greatly needs your support. Please consider 
sponsoring Mahdi today so that he has a chance for a brighter future.  Sponsor 
Mahdi ( 
http://e2ma.net/go/6553058397/208054318/209720158/1402856/goto:https://www.childfoundation.org/Default.aspx?TabId=105
 ) (type in file #CF153)


Successful Recent Events


 Universal Children's Day
As the world recognized Universal Children's Day, Child Foundation promoted and 
coordinated this special day to celebrate the 20th anniversary of the 
Declaration of the Rights of the Child by the UN General Assembly, to promote 
international togetherness and awareness among children worldwide.


At the event, nearly 140 guests attended a lunch reception at the Camden House 
banquet room in Beverly Hills. Attendees enjoyed the music by Rojeh and his 
four-member band. Then a CF promo was screened and it was followed by a short 
speech by CF Board Member Mr. Peyman Raoofi.
Guests enjoyed entertainment including live performances by Nima and Enayat. 
Next door to the event there was a room designated for children's 
entertainment. A clown entertained kids with his balloon sculptures and Mojan, 
a CF volunteer did a great job with her face painting. Kids also enjoyed gifts 
and a Charlie Chaplin replica.

President-elect of the Los Angeles County Psychological Association (LACPA), 
Dr. Amy Rosett, was among the distinguished guests. She made a donation to 
Child Foundation at the event.

Child Foundation was able to successfully sponsor 18 kids and raise money to 
help children in need. CF received support from the following Persian Media: 
JameJam Tv, Time TV, Iranian TV, PEN TV, Omid e Iran TV, Radio 670am, Javanan 
Magazine, Hafteh Bazaar Magazine, and Yellow Pages Melli. All of this was 
possible with great team work and help from dedicated CF volunteers who planned 
and organized the event.
 
Children's Concert to Benefit Child Foundation

The Concert For Kids was a new event in the Beaverton community. It was held on 
November 17th at Beaverton High School. The event was a school project by Babak 
Seyed Shakeri that evolved into something else. The concert started becoming 
less of a project and more of a mission. 

The concert performers were teens and children from the local area including 
Pevyand and Payam, and a violin duet. There was also a dance performance by The 
Persian Dance Academy and a local 12 year old singer.

The goal was to raise $1000 dollars for children in need. That night alone, 
over $1100 dollars was raised for Child Foundation. In addition to raising the 
money, we also raised awareness and changed children's lives.


Dubai Charity BazaarChild Foundation in Dubai held a Charity Bazaar at Azad 
University on November 19th. This event was well attended and many local and 
Persian owned