Re: questions about FreeBSD

2009-08-31 Thread Jonathan McKeown
On Monday 31 August 2009 17:00:07 Jerry McAllister wrote:
> Same response.   Do your homework.

The nature of the OP's questions strongly suggested that we are doing his 
homework. I'm surprised so many people spoonfed the answers rather than 
pointing to resources like the handbook, as the first responder did.
___
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 and DMA read error

2009-08-31 Thread Mark Stapper

> 
>
>
>
> Since it's all throwing errors at the same LBA, I'd run a SMART
> diagnostics on the drive (i think it's port sysutils/smartmontools)
> and see if it's showing errors too.  Looks like a failing/failed drive
> and I would recommend replacing it.  I doubt (but you can try)
> spinrite will help you when you get to this point.
>   
Thought about that, will do that, after running zfs scrub.
Weird thing is that zfs hasn't show any data/checksum errors. Does this
mean successive reads were successful?
> spinrite's website is at grc.com
>   
People are REALLY pushing spinrite lately... I did get it though, just
to try it.
>
> Hope you have backups or redundancy.  No fun replacing data.
>   
I have both :-).



signature.asc
Description: OpenPGP digital signature


Re: geli disk marked as dirty on normal shutdown/reboot

2009-08-31 Thread Vinny

Polytropon wrote:

On Mon, 31 Aug 2009 21:22:14 -0500, Adam Vande More  
wrote:

Usually I just umount before close.  I don't get the need to fsck then.


Does this mean you observe the same behaviour?  I.e. a geli-backed
file system mounted and listed in the fstab is not properly
unmounted at shutdown?



You could add the umount command to /etc/rc.shutdown.local
so the system would automatically umount the partition, even
if you reboot.



It is my understanding that file systems listed in the
/etc/fstab file are unmounted at system shutdown.  Is this
correct?

If not, that would be a pretty big WTF?, if you ask me.



___
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: geli disk marked as dirty on normal shutdown/reboot

2009-08-31 Thread Polytropon
On Mon, 31 Aug 2009 21:22:14 -0500, Adam Vande More  
wrote:
> Usually I just umount before close.  I don't get the need to fsck then.

You could add the umount command to /etc/rc.shutdown.local
so the system would automatically umount the partition, even
if you reboot.


-- 
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: geli disk marked as dirty on normal shutdown/reboot

2009-08-31 Thread Adam Vande More
On Mon, Aug 31, 2009 at 8:05 PM, Vinny <
vinny-mail-01+f.questions20090...@palaceofretention.ca
> wrote:

> Hi List,
>
> # uname -a
> FreeBSD the.palaceofretention.ca 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0:
> Tue Jun  9 16:26:47 UTC 2009 
> r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  i386
>
> I have a geli backed ufs file system:
>
> ===fstab===
> # ad14.eli esata
> /dev/ufs/E1TB   /edisks/esata0   ufs rw,noauto2   2
>
> I use a passphrase to attach it:
>
> # geli attach ad14
> Enter passphrase: **
>
> The provider shows up as ad14.eli as expected.  The file system
> on it has a label of E1TB (as seen above).
>
> The command:
>
> # mount /dev/ufs/E1TB
>
> usually works fine.
>
> The problem is that if I restart the system normally, the
> file system on the provider ad14.eli, when reattached, is
> marked as dirty and I get the usual "operation not permitted"
> error.  I have to run:
>
> # fsck -t ufs /dev/ad14.eli
>
> before I can mount it again.  This is repeatable and occurs
> for more than just the one geli provider I use in this example.
>
> Am I missing something with respect to properly attaching a
> geli device?  Do I need the '-d' option to detach at last
> close?
>
> Thanks for any help.
> Vinny
> ___
> 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"
>

Usually I just umount before close.  I don't get the need to fsck then.

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


geli disk marked as dirty on normal shutdown/reboot

2009-08-31 Thread Vinny

Hi List,

# uname -a
FreeBSD the.palaceofretention.ca 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 
#0: Tue Jun  9 16:26:47 UTC 2009 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386


I have a geli backed ufs file system:

===fstab===
# ad14.eli esata
/dev/ufs/E1TB   /edisks/esata0   ufs rw,noauto2   2

I use a passphrase to attach it:

# geli attach ad14
Enter passphrase: **

The provider shows up as ad14.eli as expected.  The file system
on it has a label of E1TB (as seen above).

The command:

# mount /dev/ufs/E1TB

usually works fine.

The problem is that if I restart the system normally, the
file system on the provider ad14.eli, when reattached, is
marked as dirty and I get the usual "operation not permitted"
error.  I have to run:

# fsck -t ufs /dev/ad14.eli

before I can mount it again.  This is repeatable and occurs
for more than just the one geli provider I use in this example.

Am I missing something with respect to properly attaching a
geli device?  Do I need the '-d' option to detach at last
close?

Thanks for any help.
Vinny
___
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: mutt screen output...

2009-08-31 Thread Gary Kline
On Mon, Aug 31, 2009 at 11:48:20PM +0200, Roland Smith wrote:
> On Mon, Aug 31, 2009 at 12:52:00PM -0700, Gary Kline wrote:
> > On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote:
> > > On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote:
> > > > 
> > > > In recents months many if not all of my text messages displayed
> > > > thru mutt include things like "\240" and other octal chars.
> > > > 
> > > > anybody know why and how to fix this?
> > >  
> > > What terminal emulator are you using, and what are your locale settings? 
> > > With
> > > urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I 
> > > think
> > > that the console doesn't support UTF-8 (yet).
> > > 
> > 
> > Konsole ... up from xterm.  
> > 
> > i thought it was my LC settings for a moment, but I just checked:
> > 
> > % setenv |gr LC
> > 11:LC_ALL=en_US.UTF-8
> > 12:LC_CTYPE=en_US.UTF-8
> > 17:LC_LANG=en_US.UTF-8
> > 
> > Any other settings to grep for?
> 
> Check if Konsole/KDE have any settings regarding fonts and character sets. I'm
> not a KDE user so I can't help you much with that. According to
> http://docs.kde.org/stable/en/kdebase-apps/konsole/commandreference.html, the
> View->Set Character Encoding might be of use, or one of the submenus
> in the Settings menu?


not found. BUT changing the Settings -> Encoding  [long list] to UTF8
may be working.

are they are kde/konsole wizards out there who can point me to just ONE 
place in ~/.kde3/*/* and to the konsole* file where things live?
i'll change everything byhand if i have to, but would think that the
default is set somewhere centrally.

thanks very much, Roland.

gary

ps: i'll 2- and 3-ck to be sure!!


> 
> Roland
> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php
  10% slice of my latest novel:  http://www.thought.org/10pc

___
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: questions about FreeBSD

2009-08-31 Thread Byung-Hee HWANG
At Mon, 31 Aug 2009 21:12:39 +1200,
Julian R A Manning wrote:
> [...] 
> . General features (at least three)? Firewall, GUI, Networking and
> so on. 
> 
Hmm.. special is nothing. Personally i do web-browsing with Firefox,
and i read/write emails with Emacs, and i do listening to music with
beep-media-player. That's all to me.

Sincerely,

--
Byung-Hee HWANG
∑ WWW: http://izb.knu.ac.kr/~bh/

___
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: mutt screen output...

2009-08-31 Thread Roland Smith
On Mon, Aug 31, 2009 at 12:52:00PM -0700, Gary Kline wrote:
> On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote:
> > On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote:
> > > 
> > >   In recents months many if not all of my text messages displayed
> > >   thru mutt include things like "\240" and other octal chars.
> > > 
> > >   anybody know why and how to fix this?
> >  
> > What terminal emulator are you using, and what are your locale settings? 
> > With
> > urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I 
> > think
> > that the console doesn't support UTF-8 (yet).
> > 
> 
>   Konsole ... up from xterm.  
> 
>   i thought it was my LC settings for a moment, but I just checked:
> 
>   % setenv |gr LC
>   11:LC_ALL=en_US.UTF-8
>   12:LC_CTYPE=en_US.UTF-8
>   17:LC_LANG=en_US.UTF-8
> 
>   Any other settings to grep for?

Check if Konsole/KDE have any settings regarding fonts and character sets. I'm
not a KDE user so I can't help you much with that. According to
http://docs.kde.org/stable/en/kdebase-apps/konsole/commandreference.html, the
View->Set Character Encoding might be of use, or one of the submenus
in the Settings menu?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpcUyEChrc1o.pgp
Description: PGP signature


Re: CD writing fails on P6T motherboard with Pioneer cdwriter

2009-08-31 Thread Yuri

Joerg Schilling wrote:


OK, if this is a timeout, then you would need to find why this timeout happens.

There are two probabilities:

1)  A cabling problem

2)  This is PATA and you have a hard disk at the same cable.

In case of 1), check or replace the cables, make sure that the OS is set up for
UDMA to the drive (this requires a 80 wire cable - unfortunately the drive 
manufacturers deliver only 40 wire cable).


In case of 2) use the -immed option.

Jörg
  


No, it's IDE with simulated SCSI on top of it. All hard drives are on SATA.
I replaced the cable and made sure it sits in tightly.

And still get the same error. The same DVD-witer orked fine on older 
motherboard with the older CPU.

Now when I moved in into the newer P6T-based system I get this error.

Yuri





[r...@eagle /yuri-huge/movies/will-ackerman-new-age]# cdrecord dev=5,0,0 
speed=4 -v -dao -pad -useinfo -text *.wav
Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) 
Copyright (C) 1995-2009 J�rg Schilling

TOC Type: 0 = CD-DA
scsidev: '5,0,0'
scsibus: 5 target: 0 lun: 0
Using libscg version 'schily-0.9'.
SCSI buffer size: 65536
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-112D'
Revision : '1.21'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-R
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R (current)
Profile: CD-ROM
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P 
RAW/R96R LAYER_JUMP

Drive buf size : 1267712 = 1238 KB
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
pregap1: -1
Track 01: audio 54 MB (05:24.16) no preemp
Track 02: audio 41 MB (04:05.64) no preemp pregapsize: 395
Track 03: audio 56 MB (05:38.76) no preemp pregapsize: 388
Track 04: audio 67 MB (06:42.04) no preemp pregapsize: 425
Track 05: audio 29 MB (02:56.33) no preemp pregapsize: 500
Track 06: audio 84 MB (08:19.46) no preemp pregapsize: 518
Track 07: audio 57 MB (05:39.86) no preemp pregapsize: 380
Track 08: audio 32 MB (03:11.06) no preemp pregapsize: 578
Track 09: audio 40 MB (03:59.80) no preemp pregapsize: 340
Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305
Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332
Total size: 586 MB (58:05.80) = 261435 sectors
Lout start: 586 MB (58:07/60) = 261435 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Disk Is not unrestricted
Disk Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11834 (97:24/16)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 24
Manufacturer: SONY Corporation

Capacity Blklen/Sparesz. Format-type Type
0 2048 0x00 Unformated or Blank Media
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414
Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Sending CUE sheet...
SAO startsec: -11834
Writing lead-in...
Lead-in write time: 48.669s
Writing pregap for track 1 at -150
cdrecord: faio_wait_on_buffer for writer timed out.
cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 
206.051 (200) s

CDB: 2A 00 FF FF FF 6A 00 00 1B 00
cmd finished after 206.051s timeout 200s
write track pad data: error after 0 bytes
BFree: 1146 K BSize: 1152 K
Starting new track at sector: 0
Track 01: 0 of 54 MB written.cdrecord: Input/output error. write_g1: 
scsi sendcmd: cmd timeout after 207.017 (200) s

CDB: 2A 00 00 00 00 00 00 00 1B 00
cmd finished after 207.017s timeout 200s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. prevent/allow medium removal: scsi 
sendcmd: retryable error

CDB: 1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0E 00 00 00 00 29 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00

Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset 
occurred) Fru 0x0

Sense flags: Blk 0 (not valid)
cmd finished after 212.061s timeout 200s
Writing time: 471.843s
Average write speed 8.2x.
Fixating...
Fixating time: 6.379s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

___
freebsd-questions@freebs

Re: questions about FreeBSD

2009-08-31 Thread James Phillips



> 
> Message: 20
> Date: Mon, 31 Aug 2009 21:12:39 +1200
> From: "Julian R A Manning" 
> Subject: questions about FreeBSD
> To: 
> Message-ID:
>    
> 
>     
> Content-Type: text/plain;   
> charset="us-ascii"
> 
> Dear Sir/Madam
> 
> I have some questions about FreeBSD. The questions I had in
> mind are: 

Such general questions imply "homework assignment."

Somebody already replied with a link to the Handbook: It mainly covers 
installing and configuring FreeBSD.

> 
> .         What type of OS is
> it? Is it single/multi user, multitasking, what
> family does it belong to? 

Yes, it supports all three. Single-user mode is usually reserved for emergency 
system maintenance.
> 
> .         General features
> (at least three)? Firewall, GUI, Networking and
> so on. 

Yes, But the GUI is part of the "Ports" collection (X Window system (xorg))

http://www.freebsd.org/features.html

> .         Minimum Hardware
> Requirements? Processors, RAM, Hard drive space,
> type of monitors and so on. 

Almost anything made in the past 10 years will do.

> 
> .         File system
> supported? 
> 
> .         Applications (at
> least three)? eg. wordprocessing and so on. 

See the ports collection (Chapter 4 of Handbook).


> It would be very helpful if you could just pass on this
> email to someone who
> has experience with FreeBSD. 
> 
> Yours sincerely, Julian Manning
> 

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
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"


Is ALSA support working in 72?

2009-08-31 Thread Yuri
I tried new skype-2.1.0.47 on FreBSD-72. (I have 
linux-alsa-lib-1.0.10.3_2 installed.)


Skype starts but gives the errors below when I try to make a voice call.
Previous versions of Skype came in OSS flavor but now it seems to be 
dropped and it's only available for ALSA.


Why would ALSA library fail?

Yuri

- errrors -

ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat 
returned error: No such device

ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer 
returned error: No such device

ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat 
returned error: No such device

ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer 
returned error: No such device

ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
/usr/ports/distfiles/skype_static-2.1.0.47/skype: relocation error: 
/usr/ports/distfiles/skype_static-2.1.0.47/skype: symbol 
snd_device_name_hint, version ALSA_0.9 not defined in file 
libasound.so.2 with link time reference



___
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: mutt screen output...

2009-08-31 Thread Gary Kline
On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote:
> On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote:
> > 
> > In recents months many if not all of my text messages displayed
> > thru mutt include things like "\240" and other octal chars.
> > 
> > anybody know why and how to fix this?
>  
> What terminal emulator are you using, and what are your locale settings? With
> urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I think
> that the console doesn't support UTF-8 (yet).
> 

Konsole ... up from xterm.  

i thought it was my LC settings for a moment, but I just checked:

% setenv |gr LC
11:LC_ALL=en_US.UTF-8
12:LC_CTYPE=en_US.UTF-8
17:LC_LANG=en_US.UTF-8

Any other settings to grep for?

gary


> Roland
> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 5.67a 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: ZFS and DMA read error

2009-08-31 Thread Tim Judd
On 8/31/09, Mark Stapper  wrote:
> Good day to you,
>
> I'm having a bit of trouble with one of the disks in my zfs raidz1 pool.
> It's giving me dma read error, and zpool is reporting READ failures.
> However, data integrity is OK :-)
> Unfortunately I was in the middle of rearranging my backup media, so I'm
> backup up everything as we speak.
> I will be testing the failing drive in another computer soon, however
> before I return it i'd like to know if this could be caused my something
> other than hardware failing.
> Below the output of "zpool status" and a snippet of /var/log/messages
> showing the DMA errors.
> Thanks for the input.
> Greetz,
> Mark
>
>
> pool: data
>  state: ONLINE
> status: One or more devices has experienced an unrecoverable error.  An
> attempt was made to correct the error.  Applications are unaffected.
> action: Determine if the device needs to be replaced, and clear the errors
> using 'zpool clear' or replace the device with 'zpool replace'.
>see: http://www.sun.com/msg/ZFS-8000-9P
>  scrub: none requested
> config:
>
> NAMESTATE READ WRITE CKSUM
> dataONLINE   0 0 0
>   raidz1ONLINE   0 0 0
> ad4 ONLINE   0 0 0
> ad6 ONLINE  21 0 0
> ad8 ONLINE   0 0 0
> ad10ONLINE   0 0 0
>
> errors: No known data errors
>
> Aug 31 03:04:35 yoshi kernel: ad6: FAILURE - READ_DMA48
> status=51 error=40 LBA=932040832
> Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data
> path=/dev/ad6 offset=477204905984 size=65536 error=5
> Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data
> path=/dev/ad6 offset=477204925440 size=2560 error=5




Since it's all throwing errors at the same LBA, I'd run a SMART
diagnostics on the drive (i think it's port sysutils/smartmontools)
and see if it's showing errors too.  Looks like a failing/failed drive
and I would recommend replacing it.  I doubt (but you can try)
spinrite will help you when you get to this point.

spinrite's website is at grc.com


Hope you have backups or redundancy.  No fun replacing data.


--TJ
___
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: mutt screen output...

2009-08-31 Thread Roland Smith
On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote:
> 
>   In recents months many if not all of my text messages displayed
>   thru mutt include things like "\240" and other octal chars.
> 
>   anybody know why and how to fix this?
 
What terminal emulator are you using, and what are your locale settings? With
urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I think
that the console doesn't support UTF-8 (yet).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpQrgWTJ3yRl.pgp
Description: PGP signature


Re: measuring mysql usage

2009-08-31 Thread John Almberg
>Check out mTop.
>http://mtop.sourceforge.net/

Okay, got this running from ports. Cool tool, but after reading the man
page and fooling around with it for a bit, I don't see how you can monitor
usage by user with it. Am I missing something?

-- John

___
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: questions about FreeBSD

2009-08-31 Thread Polytropon
On Mon, 31 Aug 2009 21:12:39 +1200, "Julian R A Manning" 
 wrote:
> Dear Sir/Madam

You are talking to a mailing list. "Dear list" would be a good
line to start. :-)



> I have some questions about FreeBSD. The questions I had in mind are: 
> 
> . What type of OS is it? Is it single/multi user, multitasking, what
> family does it belong to? 

It is a free UNIX OS, which is multi-user and multi-tasking capable.



> . General features (at least three)? Firewall, GUI, Networking and
> so on. 

Yes, all three are present. You have the choice among many solutions
and not tied to a specific program. Networking is fully functional and
includes IPv6 support for many years now, as well as drivers for many
networking devices.



> . Minimum Hardware Requirements? Processors, RAM, Hard drive space,
> type of monitors and so on. 

As far as I remember, for x86 it is 80386 and < 16 MB RAM. Hard
disks with 5 GB can hold a fully-functional system with applications.
The more functionality you need, the more programs you will need,
and hard disk requirements will increase.



> . File system supported? 

Natively, UFS (FFS) is used. There are various file systems that
are supported by the OS, such as MS-DOS, NTFS, EXT2 and so on.
NFS is available, as well as SAMBA, furthermore CD (ISO-9660)
and memory file system MFS, and UDF. Additional file system
support can be installed via the "fuse" package.



> . Applications (at least three)? eg. wordprocessing and so on. 

There are many thousands of applications availabe natively for
FreeBSD. Common word processors are OpenOffice, AbiWord, and
the typesetting system LaTeX.

FreeBSD offers programs for everything, from diagnostics, servers
for various stuff, multimedia, even games.



> It would be very helpful if you could just pass on this email to someone who
> has experience with FreeBSD. 

I think all members of this mailing list have experiences with
FreeBSD, allthough not all of them are FreeBSD developers.

To find out more about FreeBSD, check its excellent web site:

http://www.freebsd.org/
http://www.freebsd.org/about.html

If you have further or specific questions, ask the friendly list.




-- 
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: 32 bit ports on an AMD64 system

2009-08-31 Thread b. f.
>> /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,
>> [...]/libexec32, etc)

>The one above sounds most logical. The base system puts 32 bit libraries in
>/usr/lib32.

It's too much trouble to append a 32 to every subdirectory of
/usr/local/ -- I'd still recommend something like
PREFIX=/usr/local/32, with all relative paths the same.

>Currently the ports system is not set up to handle multiple versions of the
>same port, AFAIK. You could ask on the ports list.

Multiple versions of the same port with different PKGNAME s can be
handled.  Otherwise, no.

>You'd need a separate
>/var/db/pkg32 to store information about installed 32-bit ports. And
>/var/db/ports32 for options for 32-bit ports. You would also need changed port
>makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It should
>be possible, but I don't think anybody has volunteered to do the work yet. :-)

In many cases, the same port Makefile would suffice, using the
make.conf additions I mentioned in my earlier message. In some cases,
you may have to add patches to the port or change the port Makefile.

The point about the package registration is a good one.  It would
certainly be easier to maintain two separate package databases.  To do
so, and to also have different OPTIONS-handling for the 32-bit ports
via separate ports databases, then you could simply add:

PKG_DBDIR=/var/db/pkg32
PORT_DBDIR=/var/db/ports32

to the make.conf block in my last message.

However, I think it would be better to instead maintain unified
package and port databases and somehow differentiate between the
entries for 32-bit and 64-bit packages, by either tinkering with the
fake-pkg target in bsd.port.mk, or, preferably, by changing the
PKGNAME and UNIQUENAME.  The simplest way to do this would be to add a
block like

.ifdef(32BIT)
PKGNAMEPREFIX+=32
.endif

just before the definitions of PKGNAME and UNIQUENAME in bsd.port.mk.

...

>(* 'need' in this case means that you are regularly running out of address
>space on i386.)

Or if you need improved performance from a 64-bit app, etc.

As the I and the others have mentioned, a jail or a separate 32-bit
installation would probably be better.

b.
___
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: 32 bit ports on an AMD64 system

2009-08-31 Thread Lowell Gilbert
Roland Smith  writes:

> On Mon, Aug 31, 2009 at 09:28:44AM -0400, Jim wrote:
>> I want to compile some 32 bit ports on an AMD64 system. I know the GCC
>> has to receive the -m32 flag to compile the ports as 32 bit, but I
>> also want to change the install directory with 32 bit ports, I was
>> wondering which would be the most appropriate root given unix themes
>> and standard FreeBSD directory structure.
>> 
>> /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,
>> [...]/libexec32, etc)
>
> The one above sounds most logical. The base system puts 32 bit libraries in
> /usr/lib32. 
>
>> Also, would I be able to pass the appropriate flags through port
>> upgrade (or use environmental variables), or would I have to make
>> duplicates of the port directories and modify the makefiles?
>
> Currently the ports system is not set up to handle multiple versions of the
> same port, AFAIK. You could ask on the ports list. You'd need a separate
> /var/db/pkg32 to store information about installed 32-bit ports. And
> /var/db/ports32 for options for 32-bit ports. You would also need changed port
> makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It should
> be possible, but I don't think anybody has volunteered to do the work yet. :-)
>
> The consensus seems to be that if you _really_ need 32-bit apps that badly,
> you should use the i386 architecture. A lot of people run amd64 because the
> hardware supports it, not because they need* it.
>
> (* 'need' in this case means that you are regularly running out of address
> space on i386.)

Also note that it is possible to have an i386 port-building jail on an
amd64 system.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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"


mutt screen output...

2009-08-31 Thread Gary Kline

In recents months many if not all of my text messages displayed
thru mutt include things like "\240" and other octal chars.

anybody know why and how to fix this?

gary

ps: be great in kmail or evo had a reply option that used vi/vim!


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

2009-08-31 Thread Roland Smith
On Mon, Aug 31, 2009 at 12:38:19AM -0700, Kin Tat Yau wrote:
> Dear Sir/Madam
> 
> My server is running with FreeBSD i386 4.11 release. Now i want to install
> FreeBSD i386 6.1 release. 

First of all, do not use 6.1. It is not supported anymore. The current
production release is 7.2, with 8.0 not far off. At this moment 6.4 is still
supported but that will cease after 8.0 is released.

If you run into problems with 6.x, the first advice you will get is to update
to 7.2 and see if that fixes the problem. Avoid that extra work by installing
7.2 instead of 6.x.

Before you do any upgrading/installing, make sure you've backed up any
important data! :-)

> But it can not install from CD Rom. I have set the
> BIOS to run from CD-ROM first .It seems not running the CD at all. The
> CD-Rom is Sony CD-Rom CDU5211 USB Device. I don't need to keep the old
> configuration and just want to use FreeBSD i386 6.1 release. Please advise.

Set our system to boot from USB. Normally booting from CD-rom means from a
built-in CD-ROM!

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp7spjC9pHt7.pgp
Description: PGP signature


Re: 32 bit ports on an AMD64 system

2009-08-31 Thread Roland Smith
On Mon, Aug 31, 2009 at 09:28:44AM -0400, Jim wrote:
> I want to compile some 32 bit ports on an AMD64 system. I know the GCC
> has to receive the -m32 flag to compile the ports as 32 bit, but I
> also want to change the install directory with 32 bit ports, I was
> wondering which would be the most appropriate root given unix themes
> and standard FreeBSD directory structure.
> 
> /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,
> [...]/libexec32, etc)

The one above sounds most logical. The base system puts 32 bit libraries in
/usr/lib32. 

> Also, would I be able to pass the appropriate flags through port
> upgrade (or use environmental variables), or would I have to make
> duplicates of the port directories and modify the makefiles?

Currently the ports system is not set up to handle multiple versions of the
same port, AFAIK. You could ask on the ports list. You'd need a separate
/var/db/pkg32 to store information about installed 32-bit ports. And
/var/db/ports32 for options for 32-bit ports. You would also need changed port
makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It should
be possible, but I don't think anybody has volunteered to do the work yet. :-)

The consensus seems to be that if you _really_ need 32-bit apps that badly,
you should use the i386 architecture. A lot of people run amd64 because the
hardware supports it, not because they need* it.

(* 'need' in this case means that you are regularly running out of address
space on i386.)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgphgkG43tiI0.pgp
Description: PGP signature


Re: measuring mysql usage

2009-08-31 Thread Peter Boosten
John Almberg wrote:
> Anyone know of a tool that can measure mysql usage per mysql user?
> 
> My database is getting hammered by something, but I'm having a hard time
> figuring out what. It seems to come and go. Perhaps I have one or two
> websites that are just getting a lot of traffic, and maybe they just
> need their own machines. I'm not sure, which is why I'm looking for ways
> to start monitoring these sites and their resource usage - particularly
> db usage - more closely.
> 
> Any thoughts or tips, much appreciated.
> 

First thing I can think of is 'mysqladmin processlist', or you could log
queries for a while.

Peter


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


Re: measuring mysql usage

2009-08-31 Thread APseudoUtopia
On Mon, Aug 31, 2009 at 12:20 PM, John Almberg wrote:
> Anyone know of a tool that can measure mysql usage per mysql user?
>
> My database is getting hammered by something, but I'm having a hard time
> figuring out what. It seems to come and go. Perhaps I have one or two
> websites that are just getting a lot of traffic, and maybe they just need
> their own machines. I'm not sure, which is why I'm looking for ways to start
> monitoring these sites and their resource usage - particularly db usage -
> more closely.
>
> Any thoughts or tips, much appreciated.
>
> Thanks: John
>

Check out mTop.
http://mtop.sourceforge.net/
___
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"


measuring mysql usage

2009-08-31 Thread John Almberg

Anyone know of a tool that can measure mysql usage per mysql user?

My database is getting hammered by something, but I'm having a hard  
time figuring out what. It seems to come and go. Perhaps I have one  
or two websites that are just getting a lot of traffic, and maybe  
they just need their own machines. I'm not sure, which is why I'm  
looking for ways to start monitoring these sites and their resource  
usage - particularly db usage - more closely.


Any thoughts or tips, much appreciated.

Thanks: John

___
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: 32 bit ports on an AMD64 system

2009-08-31 Thread b. f.
>I want to compile some 32 bit ports on an AMD64 system. I know the GCC
>has to receive the -m32 flag to compile the ports as 32 bit, but I
>also want to change the install directory with 32 bit ports, I was
>wondering which would be the most appropriate root given unix themes
>and standard FreeBSD directory structure.
>
>/usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,[...]/libexec32, 
>etc)
>/usr/32/
>/usr/32bit/
>/usr/FreeBSD32/
>/usr/compat/32bit/
>/usr/compat/FreeBSD32/
>
>
>Also, would I be able to pass the appropriate flags through port
>upgrade (or use environmental variables), or would I have to make
>duplicates of the port directories and modify the makefiles?
>
>Thanks,
>-Jim Stapleton

First, I hope that you have a good reason for doing this, because it
is going to be a PITA, and prone to all sorts of problems. The Ports
collection is full of sloppy linking statements, and not all ports
respect custom CFLAGS, PREFIX, and LOCALBASE settings, although they
are supposed to do so. Other ports use a compiler that may not be able
to produce 32-bit binaries on amd64.  If you mean to build a large
number of ports this way, you are better off either installing i386,
or at least building and installing these ports in a jail, where you
can more effectively isolate them from your 64-bit ports.  Mixing and
matching a large number of 32-bit and 64-bit ports will be a headache,
especially if you have both 32- and 64-bit versions of some ports
installed in parallel.

If you are just talking about unshadowed ports, you could try adding
something like the following to /etc/make.conf:

.ifdef(32BIT)
PREFIX=/usr/local/32
LOCALBASE=/usr/local/32
LDCONFIG=/sbin/ldconfig -32
CFLAGS+=-m32
.endif

and then wrapping your portupgrade, portmaster, or make commands with:

env 32BIT=yes [insert rest of command here]

If there is shadowing, you have to consider how to manage the
environment PATH so that you can actually run the 32-bit binary
executables without typing in fully-qualified pathnames every time,
and maybe also using LD_RUN_PATH or LD_LIBRARY_PATH so that the right
libraries are used --- you can see how problems crop up at every turn?

b.
___
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: questions about FreeBSD

2009-08-31 Thread Jerry McAllister
On Mon, Aug 31, 2009 at 09:12:39PM +1200, Julian R A Manning wrote:

> Dear Sir/Madam
> 
> I have some questions about FreeBSD. The questions I had in mind are: 
> 
> . What type of OS is it? Is it single/multi user, multitasking, what
> family does it belong to? 

It is a BSD UNIX operating system, originally based on the original full
featured Unix developed at Berkeley and distributed through Berkeley
Software Distributions (thus the BSD) of UC Berkeley.  That was based
on the original Bell Labs (AT&T) UNIX, but due to significant development, 
improvements and some lawsuits, was rewritten so there was no Bell Labs
code left in it.  Later AT&S started another UNIX family too called SVR4
(meaning System five Release four) and Linux is somewhat based on that
strain of the beast.

All UNIXen are naturally multi user, multitasking and nowdays multithreading.

> 
> . General features (at least three)? Firewall, GUI, Networking and
> so on. 

Yup.   All completely the latest and greatest.
BSD UNIX in general and by nature is quite secure, although in any
human created system, mistakes can be discovered.  In general, the 
process of creating and vetting FreeBSD and the other BSDs militates
against mistakes and poor code, but it can happen.

> 
> . Minimum Hardware Requirements? Processors, RAM, Hard drive space,
> type of monitors and so on. 

You really need to read up on the FreeBSD web site for this information.
It is all there. 
http://www.freebsd.org/

Each release has a list of what it will support in hardware.
Generally, although it began life on the i386 family of processors
(which continued through 486, 586, 686, pentium, etc) nowdays it
is available for most commodity CPUs such as AMD, Sparc, etc.  
I have run it on as little as 128MB memory and 4 GB disk, but some
have gone lower.   The top end will handle most anything that is
currently available in the general marketplace.


> 
> . File system supported? 

Same response.   Do your homework.
Generally UFS, UFS2, ZFS.  Will mount most Microsloth filesystems
but those are non-native and have some limitations.

> 
> . Applications (at least three)? eg. wordprocessing and so on. 

Everything you can imagine.   There are thousands of things in the "ports"
that you can install.

Again, read the documentation to understand what this means.

> 
> It would be very helpful if you could just pass on this email to someone who
> has experience with FreeBSD. 
> 
> Yours sincerely, Julian Manning

Sounds like you are working on a class homework project or were sent
to survey things by a non-informed boss.   The best thing you can
do is get on the FreeBSD web site and start reading - following the
many links to the documentation.   Some of those links will point
you to other sites too, such as Onlamp.com and many other places.

Try doing some Google searching for FreeBSD too.

Do your homework.

Have fun,

jerry

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


Removing extra locales

2009-08-31 Thread Andrey Shuvikov
Hello,

I was installing some software from ports on FreeBSD-7.2 machine and
noticed that a lot of locales (languages) are being installed. But I
definitely don't need all of them. Is there a generic way to tell the
ports that I need only certain locales? Does it make sense to do so or
it's better to keep all of them? Can I just delete extra locales for
already installed software?

I'm using portsnap, and portsnap.conf man page mentions REFUSE command
but there is a warning there that "operating with an incomplete ports
tree is not supported"

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


[SOLVED] Re: OpenMP

2009-08-31 Thread Andrea Venturoli

Daniel Underwood ha scritto:

However, the program crashes with a Bad system call as soon as it calls
std::getline.


Can we see the code?


No, sorry (not my code, not my decision).

However, I solved this issue:

as I said, I linked with

g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++ -lm -lGL -lc 
-fopenmp


I found out "-lstdc++", "-lm" and "-lc" are not needed any more, though 
I can't trace at which point they were (older FreeBSD? older gcc? ...?).

Removing "-lc" the "Bad system call" doesn't show up anymore.

Thank you very much for your help.

 bye
av.
___
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"


32 bit ports on an AMD64 system

2009-08-31 Thread Jim
I want to compile some 32 bit ports on an AMD64 system. I know the GCC
has to receive the -m32 flag to compile the ports as 32 bit, but I
also want to change the install directory with 32 bit ports, I was
wondering which would be the most appropriate root given unix themes
and standard FreeBSD directory structure.

/usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,
[...]/libexec32, etc)
/usr/32/
/usr/32bit/
/usr/FreeBSD32/
/usr/compat/32bit/
/usr/compat/FreeBSD32/


Also, would I be able to pass the appropriate flags through port
upgrade (or use environmental variables), or would I have to make
duplicates of the port directories and modify the makefiles?

Thanks,
-Jim Stapleton
___
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: Enquiry

2009-08-31 Thread Mikel King

Try setting boot from USB and removable media in the bios.

Cheers,
m!

On Aug 31, 2009, at 3:38, Kin Tat Yau  wrote:


Dear Sir/Madam

My server is running with FreeBSD i386 4.11 release. Now i want to  
install FreeBSD i386 6.1 release. But it can not install from CD  
Rom. I have set the BIOS to run from CD-ROM first .It seems not  
running the CD at all. The CD-Rom is Sony CD-Rom CDU5211 USB Device.  
I don't need to keep the old configuration and just want to use  
FreeBSD i386 6.1 release. Please advise.


regards

Kin


 Yahoo!香港提供網上安全攻略,教你如何防範黑客!  
請前往 http://hk.promo.yahoo.com/security/ 了解更多!

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


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


Re: OpenMP

2009-08-31 Thread Andrea Venturoli

Daniel Underwood ha scritto:

Did you add the "-fopenmp" flag to both the compiler and the linker?
Both need it.


Thanks, this solves any compiling/linking problem.

Now my compiling session looks like this:

g++42 -c -pipe -Wall -Wextra -Wpointer-arith -Wwrite-strings 
-Wconversion -Wsign-compare  -g -march=athlon64 -ffloat-store -fopenmp 
-Wall -Wno-unused -o libobj.o libobj.cpp

ar rs lib.a libobj.o
ar: creating lib.a
g++42 -c -pipe -Wall -Wextra -Wpointer-arith -Wwrite-strings 
-Wconversion -Wsign-compare  -g -march=athlon64 -ffloat-store -fopenmp 
-Wall -Wno-unused -o test.o test.cpp
g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++ -lm -lGL -lc 
-fopenmp


No errors or warning are printed while compiling/linking.
However, the program crashes with a Bad system call as soon as it calls 
std::getline.


 bye & Thanks
av.
___
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: questions about FreeBSD

2009-08-31 Thread Prokofyev Vladislav
2009/8/31 Julian R A Manning 

> Dear Sir/Madam
>
> I have some questions about FreeBSD. The questions I had in mind are:
>
> . What type of OS is it? Is it single/multi user, multitasking,
> what
> family does it belong to?
>
> . General features (at least three)? Firewall, GUI, Networking and
> so on.
>
> . Minimum Hardware Requirements? Processors, RAM, Hard drive space,
> type of monitors and so on.
>
> . File system supported?
>
> . Applications (at least three)? eg. wordprocessing and so on.
>
> It would be very helpful if you could just pass on this email to someone
> who
> has experience with FreeBSD.
>
> Yours sincerely, Julian Manning
>
>
>
> ___
> 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"
>

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

-- 
With best regards,
Vladislav Prokofyev
___
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"


questions about FreeBSD

2009-08-31 Thread Julian R A Manning
Dear Sir/Madam

I have some questions about FreeBSD. The questions I had in mind are: 

. What type of OS is it? Is it single/multi user, multitasking, what
family does it belong to? 

. General features (at least three)? Firewall, GUI, Networking and
so on. 

. Minimum Hardware Requirements? Processors, RAM, Hard drive space,
type of monitors and so on. 

. File system supported? 

. Applications (at least three)? eg. wordprocessing and so on. 

It would be very helpful if you could just pass on this email to someone who
has experience with FreeBSD. 

Yours sincerely, Julian Manning

 

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


Enquiry

2009-08-31 Thread Kin Tat Yau
Dear Sir/Madam
 
My server is running with FreeBSD i386 4.11 release. Now i want to install 
FreeBSD i386 6.1 release. But it can not install from CD Rom. I have set the 
BIOS to run from CD-ROM first .It seems not running the CD at all. The CD-Rom 
is Sony CD-Rom CDU5211 USB Device. I don't need to keep the old configuration 
and just want to use FreeBSD i386 6.1 release. Please advise.
 
regards
 
Kin


  Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
___
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 was successfully submitted to DownloadRoute.com

2009-08-31 Thread DownloadRoute.com
Hello The FreeBSD Project,

FreeBSD product was  successfully submitted to the DownloadRoute.com! We 
will review your program ASAP. 

You may list your software immediately, just visit this page for more info: 
http://www.downloadroute.com/reciprocal-url/FreeBSD-The-FreeBSD-Project.html

Thank you,
  George 
  DownloadRoute.com
  supp...@downloadroute.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"