Re: Backup Redundancy Etcetera

2012-02-07 Thread bofh
On Wed, Feb 8, 2012 at 1:02 AM, Aaron Mason 
wrote:

> Not in Australia, and not Seagate, the only brand I will trust these
> days.  A 2TB Green drive is AU$135, a 1TB non-green is $155.  Oh, and
> the drives were bought second hand off a guy who (stupidly as he
> admits) bought them for a hardware RAID setup and had to take them out
> because the raid kept falling over as the drives went into sleep mode.
>  Not a problem with software RAID/ZFS.

Seagate is one brand I will not buy nowadays.  After their 1.5/2TB
fiasco, and more recently with one specific line of drives, so bad
that they got a huge number of 1 or 2 stars at newegg.  When 3TB
drives were in the $300 range, after the flood, that one specific
model was still at $150 or so - word was they were just trying to push
the inventory out and screw the customers over.

It's almost as if the Maxtor side took over.


--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Licitaciones Públicas para Pemex, CFE y Sector Salud

2012-02-07 Thread Lic. Yolanda Martinez
[IMAGE]
Pms de Mixico prestigiada firma de Capacitacisn presenta:
Licitaciones Pzblicas de Adquisiciones, Arrendamientos y Servicios
23 de Enero, Ciudad de Mixico. Experto consultor Master Alberto Ledesma
Un sptimo desempeqo en su funcisn.
Empresa Registrada ante la STPS
Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico.

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.
Empresa:
Nombre:
Telifono:
Email:
Nzmero de Interesados:
En breve recibira la informacisn completa de este inigualable evento.
Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.
Telifonos: (0133) 8851-2365, (0133) 8851-2741.

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados.
E-Mail MARKETING SERVICE POWERED BY MEDIAMKTOOLS.
Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
ALTO, si en esta ocasisn la informacisn recibida no fue de su interis
pero desea recibir informacisn personalizada en relacisn a otros temas
favor de indicarlo.
Si usted ha recibido este mensaje por error, haga caso omiso de el y de
antemano una sincera disculpa por la molestia, reporte su cuenta
respondiendo este correo con el subject BAJALICITACIONES
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJALICITACIONES
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia para nosotros y no es intencisn de la empresa la
inconformidad del receptor, nuestra intencisn es promover herramientas de
utilidad para el

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
imagecfre salud pemex001.jpg]



Re: Backup Redundancy Etcetera

2012-02-07 Thread Aaron Mason
On Wed, Feb 8, 2012 at 4:39 PM, bofh  wrote:
> On Wed, Feb 8, 2012 at 12:34 AM, Aaron Mason 
> wrote:
>>> I would avoid "green" drives like the plague.  Check out the SMART
>>> status on them and look at the drive park statistic among others.
>>> Look at how high the number is, versus what the life time recommended
>>> number...
>>
>> I would too if it were an enterprise setup.  This is but a home setup
>> built on a limited budget.
>
> Non-green drives are at the same price of green ones.  Maybe not by
> the same manufacturer, but I'm partial to Hitachis.  Cheap and fast
> and good (so they got bought out by WDC, and it'll be crappy soon).
>

Not in Australia, and not Seagate, the only brand I will trust these
days.  A 2TB Green drive is AU$135, a 1TB non-green is $155.  Oh, and
the drives were bought second hand off a guy who (stupidly as he
admits) bought them for a hardware RAID setup and had to take them out
because the raid kept falling over as the drives went into sleep mode.
 Not a problem with software RAID/ZFS.

--
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



Re: Backup Redundancy Etcetera

2012-02-07 Thread bofh
On Wed, Feb 8, 2012 at 12:34 AM, Aaron Mason 
wrote:
>> I would avoid "green" drives like the plague.  Check out the SMART
>> status on them and look at the drive park statistic among others.
>> Look at how high the number is, versus what the life time recommended
>> number...
>
> I would too if it were an enterprise setup.  This is but a home setup
> built on a limited budget.

Non-green drives are at the same price of green ones.  Maybe not by
the same manufacturer, but I'm partial to Hitachis.  Cheap and fast
and good (so they got bought out by WDC, and it'll be crappy soon).

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: Backup Redundancy Etcetera

2012-02-07 Thread Aaron Mason
On Wed, Feb 8, 2012 at 4:17 PM, bofh  wrote:
> On Tue, Feb 7, 2012 at 11:57 PM, Aaron Mason 
> wrote:
>> But as Mr. Anon says, choose your hardware carefully.  Getting it
>> wrong can be disastrous.  My EON-based file server is a Core2Duo 6400
>> w/ 4GB RAM on a Gigabyte G41MT-ES2L and 4 2TB WD Green drives which
>> collectively pull 177MB/sec, though the onboard Realtek NIC maxes out
>> at 88MB/sec it still beats the shtick out of the 12MB/sec I was
>> getting before.
>
> I would avoid "green" drives like the plague.  Check out the SMART
> status on them and look at the drive park statistic among others.
> Look at how high the number is, versus what the life time recommended
> number...
>

I would too if it were an enterprise setup.  This is but a home setup
built on a limited budget.

>
> --
> http://www.glumbert.com/media/shift
> http://www.youtube.com/watch?v=tGvHNNOLnCk
> "This officer's men seem to follow him merely out of idle curiosity."
> -- Sandhurst officer cadet evaluation.
> "Securing an environment of Windows platforms from abuse - external or
> internal - is akin to trying to install sprinklers in a fireworks
> factory where smoking on the job is permitted."  -- Gene Spafford
> learn french:  http://www.youtube.com/watch?v=30v_g83VHK4
>



--
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



Re: Backup Redundancy Etcetera

2012-02-07 Thread bofh
On Tue, Feb 7, 2012 at 11:57 PM, Aaron Mason 
wrote:
> But as Mr. Anon says, choose your hardware carefully.  Getting it
> wrong can be disastrous.  My EON-based file server is a Core2Duo 6400
> w/ 4GB RAM on a Gigabyte G41MT-ES2L and 4 2TB WD Green drives which
> collectively pull 177MB/sec, though the onboard Realtek NIC maxes out
> at 88MB/sec it still beats the shtick out of the 12MB/sec I was
> getting before.

I would avoid "green" drives like the plague.  Check out the SMART
status on them and look at the drive park statistic among others.
Look at how high the number is, versus what the life time recommended
number...


--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



OT: ZFS (Was: Re: Backup Redundancy Etcetera)

2012-02-07 Thread bofh
On Tue, Feb 7, 2012 at 3:55 AM, Anonymous Remailer (austria)
 wrote:
>> Anonymous  wrote:
>> > Solaris
>> > ZFS
>>
>> I've heard of it (ZFS) but here's the thing, I struggle enough keeping
>> up with Wndows and OpenBSD I don't want to put another system into the
>> mix.
>
> Understood. Unfortunately or fortunately however you look at it OpenBSD
> doesn't have ZFS. But FreeBSD does. That could be another option with less
> of a learning curve than Solaris which admittedly is steep. Another thing
to
> consider is a prebuilt NAS appliance based on FreeBSD or OpenSolaris. There
> are numerous ones out check distrowatch.com

OT but since I like ZFS, check out illumos.  It is the "base" that all
post-opensolaris distros are using (nexenta, etc).  Nexenta 4 will be
all illumos based, renamed as Illumian, debian apt-get style distro.
illumian is apt-get with debian userland, and opensolaris kernel.

Nexenta has an interesting "community edition" which is free up to 18TB.

And if you like people bitching at oracle, start at the 33:00 part.
The whole thing is an interesting history about solaris and even a
little about sunos.

http://www.youtube.com/watch?v=-zRN7XLCRhc


--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: Backup Redundancy Etcetera

2012-02-07 Thread Aaron Mason
On Tue, Feb 7, 2012 at 10:07 AM, Anonymous  wrote:
> PLEASE check the Solaris HCL and possible zfs-disc...@opensolaris.org before
> building a file server. If you pick the wrong components, ZFS will hurt you
> badly. If you pick the right components you will be so happy.
>

This I know well - I was left with a file server that maxed out at
12MB/sec.  Oh, and a dead hard drive which Seagate were more than
happy to replace.

There is a prebuilt appliance by the name of EON - it was based on
OpenSolaris before Oracle killed it, now it's based on
OpenIndiana/Illumos.  There is a very good starting guide to get you
on your way, with CIFS shares and the like.  Instructions are quite
similar to do NFS exports, even iSCSI if you're that way inclined.

But as Mr. Anon says, choose your hardware carefully.  Getting it
wrong can be disastrous.  My EON-based file server is a Core2Duo 6400
w/ 4GB RAM on a Gigabyte G41MT-ES2L and 4 2TB WD Green drives which
collectively pull 177MB/sec, though the onboard Realtek NIC maxes out
at 88MB/sec it still beats the shtick out of the 12MB/sec I was
getting before.



Re: should 'make -j8 build' work?

2012-02-07 Thread Juan Francisco Cantero Hurtado

On Tue, 07 Feb 2012 19:01:42 +0100, Joe Gidi  wrote:


I just built a new box with one of AMD's FX-8120 8-core processors and
wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
compiling userland with "make -j8 build" and the box hung.

Before I go further in depth with troubleshooting, I'd just like to know
if this "should" work properly on good hardware. If it's known not to
work, I won't waste my (or the lists') time on figuring out why it's
hanging.

Also, is there a maximum number of make jobs that should work? I used to
run 'make -j4 build" successfully on my previous 4-core system...

Thanks for any feedback,



A very good general stress test is a full build of the ports tree. You can  
build 8 different packages at time. http://openbsd.org/faq/faq15.html#dpb



--
Juan Francisco Cantero Hurtado http://juanfra.info



OpenSMTPd and /etc/mail/aliases

2012-02-07 Thread Carson Chittom
I'm using 5.0-stable.  Since I'm on a DSL line, I'm using smtpd to send
external mail (using SSL, with a login and password) per the
instructions in smtpd.conf(5).  I have copied exactly the section under
EXAMPLES (under "smtpd.conf would look like this:").  I have also edited
/etc/mailer.conf in accord with smtpd(8).

I have edited /etc/mail/aliases to forward mail to root to my personal
account and have run newaliases.  However, such mail (largely the output
from /etc/daily and its ilk) still goes directly to root instead of to
me.  Obviously, I'm doing something wrong--can somebody point me in the
right direction? 



Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Alan Cheng
> I always tell people who ask me on this that they *have to* create a fdisk
> partition before creating a disklabel partition. Now I think I have a
> better understanding on this.


thanks all for the responses.



eProcessingNetwork Merchant - Secure Messages Center

2012-02-07 Thread eProcessingNetwork Merchant Support Center
eProcessingNetwork VirtualMerchant

We'd like to inform you that your Secure Messages Center has 1 new
message.

Please login to your eProcessingNetwork Merchant account and visit the
Secure Message Center section in order to read the message.

Login to your eProcessingNetwork account

(The Message Center contains only important information about your
account .)

Copyright ) 2012 eProcessing Network, LLC. All Rights Reserved.





Re: Audio ports - stuttering - fixed with sndiod -r 48000 -b 7680 -z 1920

2012-02-07 Thread richardtoohey
Quoting richardtoo...@paradise.net.nz:

> Hi, guys.
> 
> I'm not sure if this is an issue, because the defaults might be best for
> a
> normal/base install, just asking if this is as expected.
> 
> This is my desktop/development box. I've got a snapshot of 30th Jan and
> a set
> of ports from soon after.
> 
> OpenBSD 5.1-beta (GENERIC.MP) #172: Mon Jan 30 16:30:40 MST 2012
>  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
> Rh ythmbox and Gnome mplayer stuttering a bit playing mp3s ...
> especially if I
> Alt-Tab to Firefox & Thunderbird (and do a bit of work in them.) If I
> remove
> hands from keyboard, no stuttering.
> 
> I remembered seeing this post ("important audio settings to test")
> 
> http://comments.gmane.org/gmane.os.openbsd.tech/27483
> 
> And the below (from that post) makes my problems go away:
> 
> # sndiod -r 48000 -b 7680 -z 1920
> 
> $ pkg_info | grep mplayer
> gecko-mediaplayer-1.0.5p1 gnome-mplayer browser media plugin
> gmtk-1.0.5p1 gnome-mplayer toolkit
> gnome-mplayer-1.0.5p3 GTK+/GNOME frontend for MPlayer
> mplayer-20110309p12 movie player supporting many formats
> $ pkg_info | grep box 
> rhythmbox-2.95 integrated music management application for GNOME
> $ pkg_info | grep Mozilla 
> firefox-9.0.1 Mozilla web browser
> lightning-1.0beta9v0 Mozilla Thunderbird calendar extension
> mozilla-dicts-en-GB-1.3 en-GB dictionary for Mozilla
> spidermonkey-1.9.2.16p2v0 Mozilla C implementation of JavaScript
> thunderbird-9.0.1 Mozilla e-mail, rss and usenet client
> 
> Thanks.
> 
>  

Sorry, full dmesg ...

OpenBSD 5.1-beta (GENERIC.MP) #172: Mon Jan 30 16:30:40 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1063346176 (1014MB)
avail mem = 1035837440 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/24/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS
rev. 2.3 @ 0xf0450 (72 entries)
bios0: vendor Dell Inc. version "A01" date 05/24/2005
bios0: Dell Inc. OptiPlex GX520
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5)
PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI4)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc/0xa800! 0xca800/0x2000! 0xcc800/0x3800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 8 int 16
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 8 int 16
drm0 at inteldrm0
"Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 8 int 16
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001):
apic 8 int 16, address 00:12:3f:5b:f1:18
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 8 int 17
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
auich0 at pc

Audio ports - stuttering - fixed with sndiod -r 48000 -b 7680 -z 1920

2012-02-07 Thread richardtoohey
Hi, guys.

I'm not sure if this is an issue, because the defaults might be best for a
normal/base install, just asking if this is as expected.

This is my desktop/development box.  I've got a snapshot of 30th Jan and a set
of ports from soon after.

OpenBSD 5.1-beta (GENERIC.MP) #172: Mon Jan 30 16:30:40 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

Rhythmbox and Gnome mplayer stuttering a bit playing mp3s ... especially if I
Alt-Tab to Firefox & Thunderbird (and do a bit of work in them.)  If I remove
hands from keyboard, no stuttering.

I remembered seeing this post ("important audio settings to test")

http://comments.gmane.org/gmane.os.openbsd.tech/27483

And the below (from that post) makes my problems go away:

# sndiod -r 48000 -b 7680 -z 1920

$ pkg_info | grep mplayer
gecko-mediaplayer-1.0.5p1 gnome-mplayer browser media plugin
gmtk-1.0.5p1gnome-mplayer toolkit
gnome-mplayer-1.0.5p3 GTK+/GNOME frontend for MPlayer
mplayer-20110309p12 movie player supporting many formats
$ pkg_info | grep box 
rhythmbox-2.95  integrated music management application for GNOME
$ pkg_info | grep Mozilla 
firefox-9.0.1   Mozilla web browser
lightning-1.0beta9v0 Mozilla Thunderbird calendar extension
mozilla-dicts-en-GB-1.3 en-GB dictionary for Mozilla
spidermonkey-1.9.2.16p2v0 Mozilla C implementation of JavaScript
thunderbird-9.0.1   Mozilla e-mail, rss and usenet client

Thanks.



Re: the aucat recording studio - stereo panning

2012-02-07 Thread Alexandre Ratchov
On Tue, Feb 07, 2012 at 09:31:30AM +0100, Jan Stary wrote:
> 
> Now, I can record further tracks with e.g.
> 
>   $ aucat -i background.wav -i solo.wav -o vocal.wav
> 
> I can specify relative volumes with -v (or even control
> them with hardware knobs when using a midi controller);
> what I miss is stereo panning.

heh, that's exactly what i do :)

> Without further options, all the previous tracks are "mixed" as 1/n,
> and positioned in the "middle" of the stereo panorama; that's doable,
> but the musical experience would be very much enhanced with stereo
> positioning. I mean e.g. hearing the drums in the left and the bass
> in the right while recording the vocals.
> 
> I realize that this can be considered "mixing" already, and aucat does not,
> by design, use a full matrix mixer: it uses a 0/1 matrix (controlled
> with the -C/-c ranges).
> 
> There are workarounds: I can pre-procces the existing tracks
> with e.g. SoX to attenuate/amplify the left/right channel of each,
> and then play these preprocessed streams.
> 
> Am I right at thinking that there is currently no way
> to do that in aucat directly?

There's no easy/handy way to adjust the pan with aucat. You still can
split everything into mono files, work on them, and finally combine
them in a stereo file with the appropriate volume. Somewhat
unpractical.

You'll face other problems preventing you from doing everything with
aucat. First, there's no reverb, which is necessary to create the
spacial feel, volume changes are too abrupt (cause small clicks) and
not real-time.

Implementing pan, effects and smooth parameter changes would bloat
aucat/sndiod. IMO the way to go is to handle processing in small
programs (with a simple record->process->play loop) and keep sndiod
only for routing the signal to the hardware or other programs.

Currently that's the way I handle some effects, I write small programs
that apply effects on the record stream to send the result in
real-time on the play stream. Then I use -mmon to record the result in
a file. Not very flexible, but good enough to test the concept.

For off-line processing, audacity might help too.

Besides that, sometimes I use an external mixer and effect processor,
amongst others, to change the pan, equalize and add effects to the
input, i.e. I record the processed signal; which means I can't change
parameters later. This might not seem flexible, but remember that
that's exactly what people do during live concerts and they manage to
get very good sound.

-- Alexandre



Re: should 'make -j8 build' work?

2012-02-07 Thread Joe Gidi
On Tue, February 7, 2012 1:56 pm, Joe Gidi wrote:
> On Tue, February 7, 2012 1:45 pm, Kenneth R Westerback wrote:
>> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>>> I just built a new box with one of AMD's FX-8120 8-core processors and
>>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>>> checked out a src tree, and had no trouble compiling GENERIC.MP. I
>>> tried
>>> compiling userland with "make -j8 build" and the box hung.
>>>
>>> Before I go further in depth with troubleshooting, I'd just like to
>>> know
>>> if this "should" work properly on good hardware. If it's known not to
>>> work, I won't waste my (or the lists') time on figuring out why it's
>>> hanging.
>>>
>>> Also, is there a maximum number of make jobs that should work? I used
>>> to
>>> run 'make -j4 build" successfully on my previous 4-core system...
>>>
>>> Thanks for any feedback,
>>>
>>> --
>>> Joe Gidi
>>> j...@entropicblur.com
>>>
>>> "You cannot buy skill." -- Ross Seyfried
>>>
>>
>> Sometimes it works and sometimes not. There are parts of the tree that
>> have races.
>>
>>  Ken
>
> Thanks. Should "not working" cause the box to hang, or just cause the
> build to fail at some point with an error?
>
> I'm running a bog-stock snapshot install; I didn't try to get cute or
> clever anywhere, no customization, no non-stock sysctl settings, no
> mk.conf. I just installed the snap, checked out a tree, and built per the
> FAQ. I only went "off the reservation" by running 'make -j8 build' instead
> of 'make build'.
>
> I have just enabled ddb.console=1 and am going to try a series of builds
> with progressively higher -j flags. A -j4 build just succeeded.
>
> I'll report back to the list with full details if/when I can reproduce the
> hang.
>
> Thanks again...

And after a bunch of testing with both the Feb 6 snapshot and 5.0-RELEASE,
I get inconsistent results. I've had a 'make -j8 build' succeed at times,
fail at others. Same with 'make -j6 build'. Seems like 'make -j4 build' is
stable. The hangs occur at different places within the build process, with
no pattern I've noticed.

In every case, when the box hangs, I'm unable to break into ddb. I tested
and confirmed that ddb DOES work during normal operation. So, I don't know
what more I can do to gather useful information.

The inconsistency makes me tend to believe I have some flaky hardware. I
have memtest86+ looping on the box right now, no errors so far.

I do wonder, though, if maybe I'm hitting some weird issue with the amd
15h architecture? Are any other users or developers running amd 15h
("Bulldozer") hardware yet?

--
Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried



Re: .libs files (e.g. .libs-samba-3.0.37p1) when upgrading

2012-02-07 Thread Marc Espie
On Wed, Feb 08, 2012 at 09:43:51AM +1300, richardtoo...@paradise.net.nz wrote:
> 
> $ pkg_info -A | grep samba 
> .libs-samba-3.0.37p1 Stub libraries for .libs1-samba-3.0.37p1
> .libs-samba-3.5.6p4 Stub libraries for .libs1-samba-3.5.6p4
> gvfs-smb-1.10.1 samba module for GVFS
> samba-3.6.1p1   SMB and CIFS client and server for UNIX
> 
> I'm using Samba 3.6 - so do I still need those stub libraries for 3.0.37 and 
> 3.5.6?
> 
try pkg_delete on them. If pkg_delete doesn't whine, then nothing uses them.

(in current, they should be tagged with "automatic install", so pkg_delete -a
without any names will get them too)



.libs files (e.g. .libs-samba-3.0.37p1) when upgrading

2012-02-07 Thread richardtoohey
Hi, guys.

Just curious about these files and what they are for ...

So I upgrade from a snapshot, set my PKG_PATH, and do pkg_add -ui

I see stuff like ...

Feb  7 09:01:46 puffy pkg_add: Added
.libs1-samba-3.0.37p1+.libs1-samba-3.5.6p4+samba-3.6.1p0->samba-3.6.1p1 

And I have that (internal) package:

$ pkg_info -A | grep samba 
.libs-samba-3.0.37p1 Stub libraries for .libs1-samba-3.0.37p1
.libs-samba-3.5.6p4 Stub libraries for .libs1-samba-3.5.6p4
gvfs-smb-1.10.1 samba module for GVFS
samba-3.6.1p1   SMB and CIFS client and server for UNIX

I'm using Samba 3.6 - so do I still need those stub libraries for 3.0.37 and 
3.5.6?

Thanks.



Re: should 'make -j8 build' work?

2012-02-07 Thread Christiano F. Haesbaert
You can still use -j8 while building the kernel though, no races there.



Re: should 'make -j8 build' work?

2012-02-07 Thread Joe Gidi
On Tue, February 7, 2012 1:56 pm, Joe Gidi wrote:
> On Tue, February 7, 2012 1:45 pm, Kenneth R Westerback wrote:
>> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>>> I just built a new box with one of AMD's FX-8120 8-core processors and
>>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>>> checked out a src tree, and had no trouble compiling GENERIC.MP. I
>>> tried
>>> compiling userland with "make -j8 build" and the box hung.
>>>
>>> Before I go further in depth with troubleshooting, I'd just like to
>>> know
>>> if this "should" work properly on good hardware. If it's known not to
>>> work, I won't waste my (or the lists') time on figuring out why it's
>>> hanging.
>>>
>>> Also, is there a maximum number of make jobs that should work? I used
>>> to
>>> run 'make -j4 build" successfully on my previous 4-core system...
>>>
>>> Thanks for any feedback,
>>>
>>> --
>>> Joe Gidi
>>> j...@entropicblur.com
>>>
>>> "You cannot buy skill." -- Ross Seyfried
>>>
>>
>> Sometimes it works and sometimes not. There are parts of the tree that
>> have races.
>>
>>  Ken
>
> Thanks. Should "not working" cause the box to hang, or just cause the
> build to fail at some point with an error?
>
> I'm running a bog-stock snapshot install; I didn't try to get cute or
> clever anywhere, no customization, no non-stock sysctl settings, no
> mk.conf. I just installed the snap, checked out a tree, and built per the
> FAQ. I only went "off the reservation" by running 'make -j8 build' instead
> of 'make build'.
>
> I have just enabled ddb.console=1 and am going to try a series of builds
> with progressively higher -j flags. A -j4 build just succeeded.
>
> I'll report back to the list with full details if/when I can reproduce the
> hang.
>
> Thanks again...

Okay, 'make -j4 build' and 'make -j5 build' both completed successfully.
'make -j6 build' hung. The last line on the screen was:

Running Makefile.PL in ext/I18N-Langinfo
../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so.12.0 LINKTYPE=dynamic

Below that was a blank line with a blinking cursor. Could not switch to
another virtual console. Could not get into ddb via Ctrl+Alt+Esc.

I'm currently re-running the -j6 with a PS2 keyboard, to (A) see if it
hangs in the same spot and (B) hopefully be able to get into ddb.

dmesg:

OpenBSD 5.1-beta (GENERIC.MP) #0: Tue Feb  7 12:57:00 EST 2012
r...@testbed.gateway.2wire.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8533127168 (8137MB)
avail mem = 8291811328 (7907MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries)
bios0: vendor American Megatrends Inc. version "0901" date 11/24/2011
bios0: ASUSTeK COMPUTER INC. M5A97
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4)
UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4)
PE21(S4) PE22(S4) PE23(S4) PC02(S4) PC04(S4) PC05(S4) PC06(S4) PC07(S4)
PC09(S4) PC0A(S4) PC0B(S4) PC0C(S4) PC0D(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-8120 Eight-Core Processor , 3110.78 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD FX(tm)-8120 Eight-Core Processor , 556.23 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD FX(tm)-8120 Eight-Core Processor , 211.96 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-

Re: /etc/daily bug? altroot vs DUIDs

2012-02-07 Thread Kenneth R Westerback
On Tue, Feb 07, 2012 at 09:42:07AM -0500, Dave Anderson wrote:
> I've got a system running amd64/mp -current (latest source update on
> February 1st) and have noticed (for quite a while, actually) that the
> nightly backup of / to /altroot wasn't working.  I finally got around to
> looking into this and discovered that the /etc/daily script was
> explicitly checking for /dev/whatever in the /altroot fstab entry -- but
> I've been using DUIDs (as set up by the installer).
> 
> Shouldn't the daily script be updated to handle DUIDs as well as
> explicit devices in /etc/fstab?
> 
>   Dave
> 
> -- 
> Dave Anderson
> 
> 

Does this diff work for you? Test with duid and without would be
nice. :-)

And don't be bashful. Anybody can test!

 Ken

Index: daily
===
RCS file: /cvs/src/etc/daily,v
retrieving revision 1.72
diff -u -p -r1.72 daily
--- daily   6 Dec 2011 21:02:39 -   1.72
+++ daily   7 Feb 2012 20:14:26 -
@@ -90,20 +90,20 @@ if [ -f /var/account/acct ]; then
 fi
 
 # If ROOTBACKUP is set to 1 in the environment, and
-# if filesystem named /altroot is type ffs, on /dev/* and mounted "xx",
+# if filesystem named /altroot is type ffs and mounted "xx",
 # use it as a backup root filesystem to be updated daily.
 next_part "Backing up root filesystem:"
 while [ "X$ROOTBACKUP" = X1 ]; do
-   rootbak=`awk '$2 == "/altroot" && $1 ~ /^\/dev\// && $3 == "ffs" && \
-   $4 ~ /xx/ \
-   { print substr($1, 6) }' < /etc/fstab`
+   rootbak=`awk '$2 == "/altroot" && $3 == "ffs" && $4 ~ /xx/ \
+   { print $1 }' < /etc/fstab`
if [ -z "$rootbak" ]; then
echo "No xx ffs /altroot device found in the fstab(5)."
break
fi
-   bakdisk=${rootbak%[a-p]}
+   rootbak=${rootbak#/dev/}
+   bakdisk=${rootbak%%?(.)[a-p]}
sysctl -n hw.disknames | grep -Fqw $bakdisk || break
-   bakpart=${rootbak#$bakdisk}
+   bakpart=${rootbak##$bakdisk?(.)}
baksize=`disklabel $bakdisk 2>/dev/null | \
awk -v "part=$bakpart:" '$1 == part { print $2 }'`
rootdev=`mount | awk '$3 == "/" && $1 ~ /^\/dev\// && $5 == "ffs" \



Re: should 'make -j8 build' work?

2012-02-07 Thread Kenneth R Westerback
On Tue, Feb 07, 2012 at 07:05:04PM +, Christian Weisgerber wrote:
> Joe Gidi  wrote:
> 
> > I just built a new box with one of AMD's FX-8120 8-core processors and
> > wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
> > checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
> > compiling userland with "make -j8 build" and the box hung.
> > 
> > Before I go further in depth with troubleshooting, I'd just like to know
> > if this "should" work properly on good hardware.
> 
> Yes, it should.  I've certainly done it before.
> It's possible that there are some build races left somewhere that
> could cause the build to error out on occasion.  But the box hanging
> is not expected.

Sorry, I should have said that too. Builds failing are possible. The
box hanging is a problem.

 Ken

> 
> > Also, is there a maximum number of make jobs that should work?
> 
> High numbers might reveal some lingering problems in the Makefiles.
> More importantly, contention for the big kernel lock will limit the
> amount of concurrency that is achievable.  make build scales
> reasonably well to -j4, but with -j8 you're well into the range of
> sadly diminished returns.
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de



Re: should 'make -j8 build' work?

2012-02-07 Thread vovka
On Tue, Feb 7, 2012 at 14:10, Joe Gidi  wrote:

> On Tue, February 7, 2012 2:00 pm, patrick keshishian wrote:
> > On Tue, Feb 7, 2012 at 10:45 AM, Kenneth R Westerback
> >  wrote:
> >> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
> >>> I just built a new box with one of AMD's FX-8120 8-core processors and
> >>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
> >>> checked out a src tree, and had no trouble compiling GENERIC.MP. I
> >>> tried
> >>> compiling userland with "make -j8 build" and the box hung.
> >>>
> >>> Before I go further in depth with troubleshooting, I'd just like to
> >>> know
> >>> if this "should" work properly on good hardware. If it's known not to
> >>> work, I won't waste my (or the lists') time on figuring out why it's
> >>> hanging.
> >>>
> >>> Also, is there a maximum number of make jobs that should work? I used
> >>> to
> >>> run 'make -j4 build" successfully on my previous 4-core system...
> >>>
> >>> Thanks for any feedback,
> >>>
> >>> --
> >>> Joe Gidi
> >>> j...@entropicblur.com
> >>>
> >>> "You cannot buy skill." -- Ross Seyfried
> >>>
> >>
> >> Sometimes it works and sometimes not. There are parts of the tree that
> >> have races.
> >
>


Strange, as i I can run make -j8 without any problems, both when compiling
src and xenocara. It also has a pretty noticeable improvement over -j4. I
run this on  a i7 2620M on my thinkpad t520. Have never had any issue with
-j x before, besides an error in ports, that was fixed the next time time I
updated
my cvs sources...



Re: should 'make -j8 build' work?

2012-02-07 Thread Joe Gidi
On Tue, February 7, 2012 2:00 pm, patrick keshishian wrote:
> On Tue, Feb 7, 2012 at 10:45 AM, Kenneth R Westerback
>  wrote:
>> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>>> I just built a new box with one of AMD's FX-8120 8-core processors and
>>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>>> checked out a src tree, and had no trouble compiling GENERIC.MP. I
>>> tried
>>> compiling userland with "make -j8 build" and the box hung.
>>>
>>> Before I go further in depth with troubleshooting, I'd just like to
>>> know
>>> if this "should" work properly on good hardware. If it's known not to
>>> work, I won't waste my (or the lists') time on figuring out why it's
>>> hanging.
>>>
>>> Also, is there a maximum number of make jobs that should work? I used
>>> to
>>> run 'make -j4 build" successfully on my previous 4-core system...
>>>
>>> Thanks for any feedback,
>>>
>>> --
>>> Joe Gidi
>>> j...@entropicblur.com
>>>
>>> "You cannot buy skill." -- Ross Seyfried
>>>
>>
>> Sometimes it works and sometimes not. There are parts of the tree that
>> have races.
>
> it is one thing for the build to fail, but the guy said "the box
> hung", which indicates something is amiss.

Correct, it hung. Screen stopped updating, couldn't switch virtual
consoles, had to reset via the power button. I had forgotten to enable ddb
before the build, and I was watching 'systat sensors' on another virtual
console at the time of the hang (watching CPU temps), so I couldn't see
exactly where in the build the box hung. It did run for about 10 minutes
before hanging, though.

--
Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried



Re: should 'make -j8 build' work?

2012-02-07 Thread Christian Weisgerber
Joe Gidi  wrote:

> I just built a new box with one of AMD's FX-8120 8-core processors and
> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
> checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
> compiling userland with "make -j8 build" and the box hung.
> 
> Before I go further in depth with troubleshooting, I'd just like to know
> if this "should" work properly on good hardware.

Yes, it should.  I've certainly done it before.
It's possible that there are some build races left somewhere that
could cause the build to error out on occasion.  But the box hanging
is not expected.

> Also, is there a maximum number of make jobs that should work?

High numbers might reveal some lingering problems in the Makefiles.
More importantly, contention for the big kernel lock will limit the
amount of concurrency that is achievable.  make build scales
reasonably well to -j4, but with -j8 you're well into the range of
sadly diminished returns.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: should 'make -j8 build' work?

2012-02-07 Thread patrick keshishian
On Tue, Feb 7, 2012 at 10:45 AM, Kenneth R Westerback
 wrote:
> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>> I just built a new box with one of AMD's FX-8120 8-core processors and
>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>> checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
>> compiling userland with "make -j8 build" and the box hung.
>>
>> Before I go further in depth with troubleshooting, I'd just like to know
>> if this "should" work properly on good hardware. If it's known not to
>> work, I won't waste my (or the lists') time on figuring out why it's
>> hanging.
>>
>> Also, is there a maximum number of make jobs that should work? I used to
>> run 'make -j4 build" successfully on my previous 4-core system...
>>
>> Thanks for any feedback,
>>
>> --
>> Joe Gidi
>> j...@entropicblur.com
>>
>> "You cannot buy skill." -- Ross Seyfried
>>
>
> Sometimes it works and sometimes not. There are parts of the tree that
> have races.

it is one thing for the build to fail, but the guy said "the box
hung", which indicates something is amiss.



Re: should 'make -j8 build' work?

2012-02-07 Thread Joe Gidi
On Tue, February 7, 2012 1:45 pm, Kenneth R Westerback wrote:
> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>> I just built a new box with one of AMD's FX-8120 8-core processors and
>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>> checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
>> compiling userland with "make -j8 build" and the box hung.
>>
>> Before I go further in depth with troubleshooting, I'd just like to know
>> if this "should" work properly on good hardware. If it's known not to
>> work, I won't waste my (or the lists') time on figuring out why it's
>> hanging.
>>
>> Also, is there a maximum number of make jobs that should work? I used to
>> run 'make -j4 build" successfully on my previous 4-core system...
>>
>> Thanks for any feedback,
>>
>> --
>> Joe Gidi
>> j...@entropicblur.com
>>
>> "You cannot buy skill." -- Ross Seyfried
>>
>
> Sometimes it works and sometimes not. There are parts of the tree that
> have races.
>
>  Ken

Thanks. Should "not working" cause the box to hang, or just cause the
build to fail at some point with an error?

I'm running a bog-stock snapshot install; I didn't try to get cute or
clever anywhere, no customization, no non-stock sysctl settings, no
mk.conf. I just installed the snap, checked out a tree, and built per the
FAQ. I only went "off the reservation" by running 'make -j8 build' instead
of 'make build'.

I have just enabled ddb.console=1 and am going to try a series of builds
with progressively higher -j flags. A -j4 build just succeeded.

I'll report back to the list with full details if/when I can reproduce the
hang.

Thanks again...

--
Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried



Re: should 'make -j8 build' work?

2012-02-07 Thread Kenneth R Westerback
On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
> I just built a new box with one of AMD's FX-8120 8-core processors and
> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
> checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
> compiling userland with "make -j8 build" and the box hung.
> 
> Before I go further in depth with troubleshooting, I'd just like to know
> if this "should" work properly on good hardware. If it's known not to
> work, I won't waste my (or the lists') time on figuring out why it's
> hanging.
> 
> Also, is there a maximum number of make jobs that should work? I used to
> run 'make -j4 build" successfully on my previous 4-core system...
> 
> Thanks for any feedback,
> 
> --
> Joe Gidi
> j...@entropicblur.com
> 
> "You cannot buy skill." -- Ross Seyfried
> 

Sometimes it works and sometimes not. There are parts of the tree that
have races.

 Ken



should 'make -j8 build' work?

2012-02-07 Thread Joe Gidi
I just built a new box with one of AMD's FX-8120 8-core processors and
wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
checked out a src tree, and had no trouble compiling GENERIC.MP. I tried
compiling userland with "make -j8 build" and the box hung.

Before I go further in depth with troubleshooting, I'd just like to know
if this "should" work properly on good hardware. If it's known not to
work, I won't waste my (or the lists') time on figuring out why it's
hanging.

Also, is there a maximum number of make jobs that should work? I used to
run 'make -j4 build" successfully on my previous 4-core system...

Thanks for any feedback,

--
Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried



Re: TP X32 resume fails under 5.0-Release

2012-02-07 Thread André
Hi,

under 4.9 everything works fine. Snapshot from yesterday also doesn't work.
Same results for a Lenovo TP T60.

When the screen comes back 2 keystrokes are possible, that's it. And
the TP special keys are working.
Did i miss something?

Andri

2012/2/5 Andri 
>
> Hi there,
>
> i've installed 5.0-Release on TP X32 Pentium M 1,7 Ghz. Works fine, suspend
works via apm (after starting apmd), but resume fails. Under X and on the
console, the screen comes back, cursor is blinking an that's it. Pressing
ON/OFF forces a quick reaction and simply powers down. The latest release i
worked with was 4.6. Has this possibly something to to with the encrypted
softraid0 in combination with the CF card ???



Amanita - Impressão digital de grande formato - Apenas 11€ /m2

2012-02-07 Thread Gráfica Amanita
Se nC#o conseguir visualizar esta newsletter, clique aqui.

amanita,IMPRESSCO DIGITAL DE GRANDE FORMATO,APENAS
11b,/mB2,(em vinil ou Lona)

amanita
IMPRESSCO DIGITAL DE
GRANDE FORMATO

APENAS 11b,/mB2
(em Vinil ou Lona)

Amanita

Chame a atenC'C#o de todos os que passam com as nossas lonas!
Podem ser usados em outdoors, fachadas, Rollups, luminosos e muitos
outros locais.

Diferencie a sua marca e negC3cio com aplicaC'C5es em Vinil
(viaturas, em montras, utilizadas em sinalC)tica, etc).

Em ambAs as aplicaC'C5es o limite C) a imaginaC'C#o. O preC'o C) sempre
baixo!

ALGUNS EXEMPLOS DO NOSSO TRABALHO:

Alguns Exemplos do nosso trabalho

Amanita

PARA MAIS INFORMACCES:

WEBSITE
www.amanita.pt

Email
comercial@ amanita.pt

Telefones
(351) 234552003 / (351) 916872535

Amanita

www.amanita.pt

comerc...@amanita.pt   (+351) 234552003 / (351) 916872535

A todos os preC'os acresce IVA, pagamento contra-entrega , mCnimo 30b,.
Se recebeu por engano ou deseja deixar de receber as newsletters da
Amanita por favor clique aqui.
NC#o responda a este email. Esta caixa de correio nC#o C) monitorizada.
Obrigado.

s



Ode ao Orçamento de Estado 2012

2012-02-07 Thread Homem do Oleado
Ola,

Apss ouvir o discurso realizado pelo timoneiro no passado mjs de Outubro,
sairam estas estrofes.

Veja o video, oiga a cangco em:

http://homemdooleado.blogspot.com



Siga-me no Facebook
www.facebook.com/homemdooleado


Cumprimentos,
O Homem do Oleado

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
Eu_estou_em_Portugal.jpg]



Nuevos clientes para su negocio

2012-02-07 Thread Conexionvirtual
Si usted no visualiza bien este mail, haga click aqum

Hosting desde $100.000 anuales con CPanel
[IMAGE] [IMAGE]
[IMAGE]

[IMAGE] Servicio de Correos masivos - Email Marketing

Consiga mas clientes o fidelice sus actuales, con Promociones,
Propuestas, Alertas, Noticias, Novedades de la empresa, Invitaciones,
Newsletter por correo electronico masivo.

Descripcion Paquete Mailing

[IMAGE]

LA CANTIDAD TOTAL emails (incluye)
+ Diseqo grafico o adaptacisn del mensaje
+ Estadmsticas
+ Envmo
+ Cuenta administrativa
+ *Formulario de captura de datos (*opcional).

Enviamos desde 20.000 correos

por $800.000

:: Enviamos la cantidad que su empresa necesite ::

Conozca los Servicios de posicionamiento en internet:

[IMAGE]

Email marketing

[IMAGE]

Clicks efectivos en Facebook, Google.

[IMAGE]

Diseqo y Desarrollo web

[IMAGE]

Nombres de Dominio

[IMAGE]

Alojamiento de Sitios Web

[IMAGE]

Por favor no responder a este email; ha sido enviado de una direccisn que
no es monitoreada. Para asegurarse que continuara recibiendo
comunicaciones de Conexionvirtual.com, por favor aqadir nuestro dominio
(@conexionvirtual.com) a su lista segura de envmos.Conexionvirtual.com
respeta su privacidad. Para obtener mas informacisn, lea nuestra
Declaracisn de Privacidad en lmnea. Si no deseas recibir nuestros
correos, haz click sobre el siguiente link: 

=



Re: Backup Redundancy Etcetera

2012-02-07 Thread Bentley, Dain
Damn auto-correct



Regards,

Dain Bentley



-Original Message-

From: Josh Grosse [j...@jggimi.homeip.net]

Received: Tuesday, 07 Feb 2012, 10:22am

To: Bentley, Dain [dbent...@nas.edu]

Subject: Re: Backup Redundancy Etcetera



"Bentley, Dain"  wrote:



>and you can be very glandular with you config.



You have to hate auto correction software.  :)

--

Sent from my phone.  Please excuse any idiotic automated word choices.  It 
wasn't me.  Honest.




Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Nick Holland

On 02/07/2012 04:11 AM, Alan Cheng wrote:

thanks Janne for the explanation.

I thought a fdisk partition on i386 is *required* after reading FAQ14/man
pages and I was a bit surprised to be able to create a disklabel partition
without doing "fdisk -i". so I wrote to the list for help on what I
mis-understood ...


There are lots of things you can get away with.  Sometimes.  Some 
places.  And for until it becomes convenient for developers to change it.


If we've told you to do X, and X becomes "inconvenient", developers have 
to provide a transition (well, actually, they don't. but they might feel 
a desire to do so).  If we told you NOT to do X, but you do and get away 
with it, and a future change makes X not work, we all just laugh when 
you complain that you no longer get away with violating guidelines we 
gave you, and you have to fly across the country to fix something that 
never should have been broke.


Just put the fdisk partition in place on every disk you want to use on 
an i386/amd64 and all other fdisk platforms.  There are no good reasons 
not to, there are a lot of good reasons to do so.  All the tools assume 
this is how the system is laid out...they are not tested otherwise. 
What boots once may break later.


Following up Ken's analogy, we may have left the rope laying around, but 
we told you NOT to put that rope around your neck.




Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Ted Unangst
On Tue, Feb 07, 2012, Alan Cheng wrote:

> 2. what is the disadvantage of using a disklabel partition without fdisk
> partition in above mentioned scenario?

your disk is now unlike 99.9% of the disks everybody else uses.



Re: Backup Redundancy Etcetera

2012-02-07 Thread Bentley, Dain
I second Bacula. It runs on pretty much any OS and has tons of options and is
very configurable. You could run it on an OpenBSD server and back up you
windows and OpenBSD clients. If you have enough disk space back up your
clients to disk and migrate to tape for offsite. The windows client is also
stable and you can be very glandular with you config.

Regards,
Dain Bentley

-Original Message-
From: Anonymous Remailer (austria) [mixmas...@remailer.privacy.at]
Received: Tuesday, 07 Feb 2012, 4:01am
To: misc@openbsd.org [misc@openbsd.org]
Subject: Re: Backup Redundancy Etcetera

> Anonymous  wrote:
> > Solaris
> > ZFS
>
> I've heard of it (ZFS) but here's the thing, I struggle enough keeping
> up with Wndows and OpenBSD I don't want to put another system into the
> mix.

Understood. Unfortunately or fortunately however you look at it OpenBSD
doesn't have ZFS. But FreeBSD does. That could be another option with less
of a learning curve than Solaris which admittedly is steep. Another thing to
consider is a prebuilt NAS appliance based on FreeBSD or OpenSolaris. There
are numerous ones out check distrowatch.com

What ZFS does for you aside from offering pretty high quality software RAID
and other redundancy/protection from data loss is give you really nice
management features like being able to do quotas and resize filesystems and
compress (and with Solaris 11 even encrypt them) all from one central
management interface instead of external or add-on tools. It's one stop
shopping. It also makes NFS and SAMBA less painful since you don't have to
play around with the normal share tables and portmapper stuff (not THAT big
of a deal but not zero) you can just turn features on or off at the ZFS
filesystem level. It's really ideal for a backup or NAS appliance. Again you
must have known good hardware from the disks to the backplane to the RAM or
ZFS will ruin your week or even your whole month. When it works, it
works. When it doesn't, oh shit.

> > You
> > could probably script Filezilla to SSH what you want to the file server.
>
> Good idea.
> I'll probably end up either installing the Microsoft NFS client and
> scripting that or use the bog standard ftp client and script that.

The problem is the M/S NFS client only works on certain versions of Windows
and not others. Even on the versions it is supposed to work on it doesn't
always work. I have an XP Pro box that SFU refuses to install on.



/etc/daily bug? altroot vs DUIDs

2012-02-07 Thread Dave Anderson
I've got a system running amd64/mp -current (latest source update on
February 1st) and have noticed (for quite a while, actually) that the
nightly backup of / to /altroot wasn't working.  I finally got around to
looking into this and discovered that the /etc/daily script was
explicitly checking for /dev/whatever in the /altroot fstab entry -- but
I've been using DUIDs (as set up by the installer).

Shouldn't the daily script be updated to handle DUIDs as well as
explicit devices in /etc/fstab?

Dave

-- 
Dave Anderson




Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Kenneth R Westerback
On Tue, Feb 07, 2012 at 02:20:38PM +0800, Alan Cheng wrote:
> Hello list,
> 
> I'm playing around with fdisk on a vmware virtual machine with 5.0 i386.
> Despite what's in FAQ14.4, I found I can still create disklabel partitions
> without a fdisk partition (no fdisk -i $disk) on a blank disk.
> 
> I'm confused. So my question is:
>  1. Is fdisk partition a must for a NON-SYSTEM disk on i386?
>  2. what is the disadvantage of using a disklabel partition without fdisk
> partition in above mentioned scenario?
> 
> thanks.
> 
> - Alan
> 

1. Theoretically, no, it is not required.

2. Confusion can result in some circumstances.

In particular, since the disklabel-only setup does not put the
disklabel in the same place as the MBR on i386 and amd64, it is
possible to subsequently add in an MBR and not overwrite the
disklabel. And if you add an OpenBSD partition to the MBR, the
disklabel you created will 'disappear'. Possibly to surprisingly
'reappear' if the OpenBSD partition or entire MBR is removed.

As with many things, seeing a pile of rope lying around does not
mean you have to use it. :-)

 Ken



Network problems on SunFire V240

2012-02-07 Thread Renaud Allard

Hello,

I have some network problems on a SunFire V240 (dual UltraSPARC-IIIi 
(rev 2.4) @ 1280 MHz)

It is _not_ running MP kernel
I have had this problem on all versions since 4.4 (latest version at the 
time of the install). It is currently running 5.0.
The problem is: the system still runs fine, but cannot access the 
network anymore. It is not trivially reproducible, it happens from time 
to time, and did happen without using any CARP interfaces.


dmesg after a reboot is attached

Don't hesitate to contact me for further information.

bge0: 
flags=8b43 mtu 1500

lladdr 00:03:ba:8a:74:0d
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,rxpause)
status: active


Feb  6 13:55:20 proxy1 /bsd: carp0: state transition: BACKUP -> MASTER
Feb  6 15:52:54 proxy1 /bsd: iomap insert error: 12 for pa 0x10227ce000
Feb  6 15:52:54 proxy1 /bsd: DVMA c000 for dfff, mapping 
0x400023df000: dvstart 0 dvsize 0 size 9032/2348 maxsegsz 2348 boundary 
0 segcnt 30 flags 0 type 3 source 0x400286b9a40 coo

kie 0x400023dcc00 mapsize 0 nsegs 0
Feb  6 15:52:54 proxy1 /bsd: total length = 0/0x0
Feb  6 15:52:54 proxy1 /bsd: source PKTHDR mbuf (0x400286b9a40) hdr len 
= 1414/0x586:

Feb  6 15:52:54 proxy1 /bsd: kva 400286b9aa2 pa 103b35daa2 len 54/0x36
Feb  6 15:52:54 proxy1 /bsd: kva 400286b86a0 pa 103b35c6a0 len 75/0x4b
Feb  6 15:52:54 proxy1 /bsd: kva 400286a7bb0 pa 102d0f5bb0 len 17/0x11
Feb  6 15:52:54 proxy1 /bsd: kva 40027b71dc0 pa 1027b91dc0 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 40028d03e20 pa 1009093e20 len 13/0xd
Feb  6 15:52:54 proxy1 /bsd: kva 40029469640 pa 1005757640 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 4000affd4a0 pa 1016e614a0 len 25/0x19
Feb  6 15:52:54 proxy1 /bsd: kva 40029078a60 pa 1018b5ea60 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 4000aabb4c0 pa 103a3a94c0 len 12/0xc
Feb  6 15:52:54 proxy1 /bsd: kva 40027765330 pa 100c0fd330 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 4002870d460 pa 1007cf3460 len 13/0xd
Feb  6 15:52:54 proxy1 /bsd: kva 40029336680 pa 101331e680 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 40028b02490 pa 10064a2490 len 17/0x11
Feb  6 15:52:54 proxy1 /bsd: kva 400286bab50 pa 1019970b50 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 4000a9c7cb0 pa 100d873cb0 len 13/0xd
Feb  6 15:52:54 proxy1 /bsd: kva 400283e4360 pa 1027d08360 len 160/0xa0
Feb  6 15:52:54 proxy1 /bsd: kva 40029394c70 pa 10152c0c70 len 17/0x11
Feb  6 15:52:54 proxy1 /bsd: kva 4000b90a580 pa 10227ce580 len 38/0x26
Feb  6 15:52:54 proxy1 /bsd: mbuf length 1414/0x586 is greater than 
mapping length 0/0x0
Feb  6 15:52:54 proxy1 /bsd: page map (0x400023dcca8) of size 16 with 16 
entries

Feb  6 15:52:54 proxy1 /bsd: 0: vmaddr 0x0 pa 0x103b35c000
Feb  6 15:52:54 proxy1 /bsd: 1: vmaddr 0x0 pa 0x102d0f4000
Feb  6 15:52:54 proxy1 /bsd: 2: vmaddr 0x0 pa 0x1027b9
Feb  6 15:52:54 proxy1 /bsd: 3: vmaddr 0x0 pa 0x1009092000
Feb  6 15:52:54 proxy1 /bsd: 4: vmaddr 0x0 pa 0x1005756000
Feb  6 15:52:54 proxy1 /bsd: 5: vmaddr 0x0 pa 0x1016e6
Feb  6 15:52:54 proxy1 /bsd: 6: vmaddr 0x0 pa 0x1018b5e000
Feb  6 15:52:54 proxy1 /bsd: 7: vmaddr 0x0 pa 0x103a3a8000
Feb  6 15:52:54 proxy1 /bsd: 8: vmaddr 0x0 pa 0x100c0fc000
Feb  6 15:52:54 proxy1 /bsd: 9: vmaddr 0x0 pa 0x1007cf2000
Feb  6 15:52:54 proxy1 /bsd: 10: vmaddr 0x0 pa 0x101331e000
Feb  6 15:52:54 proxy1 /bsd: 11: vmaddr 0x0 pa 0x10064a2000
Feb  6 15:52:54 proxy1 /bsd: 12: vmaddr 0x0 pa 0x101997
Feb  6 15:52:54 proxy1 /bsd: 13: vmaddr 0x0 pa 0x100d872000
Feb  6 15:52:54 proxy1 /bsd: 14: vmaddr 0x0 pa 0x1027d08000
Feb  6 15:52:54 proxy1 /bsd: 15: vmaddr 0x0 pa 0x10152c

Best Regards
console is /pci@1e,60/isa@7/serial@0,3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.0 (GENERIC) #36: Wed Aug 17 10:13:34 MDT 2011
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 2147483648 (2048MB)
avail mem = 2101321728 (2003MB)
mainbus0 at root: Sun Fire V240
"SUNW,UltraSPARC-IIIi" at mainbus0 not configured
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1280 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 
b/l)
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
schizo0: dvma map c000-dfff
pci0 at schizo0
bge0 at pci0 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 
(0x2003): ivec 0x7c8, address 00:03:ba:8a:74:0d
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 
(0x2003): ivec 0x7c9, address 00:03:ba:8a:74:0e
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
schizo1 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo1: dvma map c000-

smtpctl(8) manpage

2012-02-07 Thread Jan Stary
While switching from sendmail to smtpd (thanks!),
I noticed that the smtpctl(8) manpage is not entirely
complete and accurate.

It says 'resume local', but it needs to be 'resume mda'
(as in the corresponding 'pause mda'). Similarly for 
outgoing/mta and incomming/smtp. See diff bellow.

Also, it doesn't documment the 'monitor' and 'stop' commands.
I don't know what 'smtpctl monitor' does (just sits there for me),
and what 'smtpctl stop' does; the smtpd processes are still there,
and any mail attempt fails with
"send-mail: server disallowed submission request".

Jan


--- smtpctl.8.orig  Tue Feb  7 11:49:09 2012
+++ smtpctl.8   Tue Feb  7 11:50:15 2012
@@ -49,12 +49,12 @@
 Temporarily stop accepting incoming sessions.
 .It Cm remove Ar envelope-id | message-id
 Removes a single envelope, or all envelopes with the same message ID.
-.It Cm resume incoming
-Resume accepting incoming sessions.
-.It Cm resume local
+.It Cm resume mda
 Resume deliveries to local users.
-.It Cm resume outgoing
+.It Cm resume mta
 Resume relaying and deliveries to remote users.
+.It Cm resume smtp
+Resume accepting incoming sessions.
 .It Cm schedule-all
 Marks all envelopes as ready for immediate delivery.
 .It Cm schedule-id Ar envelope-id | message-id



Como Corregir Grandes Errores en Compras?

2012-02-07 Thread Lic. Ericka Camacho
B!B!AHORRE!! Aproveche el PRONTO PAGO e InscrC-base Ahora.

Los 15 Grandes Errores que Cometen los Responsables de Compras y CC3mo
Corregirlos.

Este programa le ofrece los mC!s efectivos conceptos y maneras concretas de
corregir los errores y omisiones que cometen los responsables de compras y
compradores en su organizaciC3nb& Con numerosos ejemplos reales, casos y
ejercicios los participantes comprenderC!n la trascendencia de su trabajo al
encontrar las soluciones adecuadas para mejorar el desempeC1o de la funciC3n a
travC)s de exponer, analizar y resolver los errores mC!s frecuentes en que
suelen incurrir.

Entre los puntos a tratar se incluye:
-- CC3mo responder adecuadamente a las requisiciones y exigencias de otros
departamentos.
-- CuC!l es el costo e impacto de colapsar procesos y actividades por malas
negociaciones, malos proveedores y burocracia desmedida.
-- CC3mo comprar sin B!Perder!
-- CC3mo puede usted garantizar eficiencia, costos competitivos y la
satisfacciC3n total de sus clientes internos y externos.
-- CC3mo convertir a su Departamento de Compras en un potente generador
deUtilidades.
-- CC3mo comprar mC!s a menor costo aC1o con aC1o, desarrollando al proveedor
para mejorar su desempeC1o al eliminar su desperdicio.
-- CC3mo sincronizar sus requerimientos con los embarques de sus proveedores.

Para convertirse en un hC!bil comprador que realmente genere valor, usted debe
asistir a este seminario donde analizarC! y discutirC! con un experto en la
materia, como el optimizar al mC!ximo los recursos de la empresa es un factor
importante para desarrollar eficazmente su gestiC3n de compras y es prioridad
para usted, entonces no lo piense dos veces.

Programado en:
Monterrey 15 de Febrero
MC)xico D.F. 16 de Febrero
Guadalajara 17 de Febrero
Online en Vivo 20 de Febrero

Para obtener un folleto GRATUITO con la informaciC3n completa, Responda este
correo con los siguientes datos:
Empresa:
Nombre:
Puesto:
Tel: ( )
Fecha de interC)s: ( ) Monterrey - ( ) MC)xico, D.F. - ( ) Guadalajara - ( )
Online en Vivo
E-mail: misc@openbsd.org
Llame a nuestra lada sin costo: 01800 25.010.20

*Les pedimos que compartan esta invitaciC3n con quienes puedan interesarse.
*Solicite una cotizaciC3n Incompany (Cuento con mC!s de 10 participantes y me
gustarC-a llevar este evento a mis instalaciones).

Si desea que su cuenta de correo electrC3nico se elimine de nuestras listas de
distribuciC3n, responda con el asunto 2compr85m



Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Janne Johansson
The "rules" are different for different architectures, different disks
(usb and whatever) and so on, so you can't really map every possible
device on all machines into one neat rule. But telling people to use
fdisk and disklabel to get it right will be the least painful way to
get it as common as it can be. So, some apple-ipad-while-on-usb will
be a "disk" with no partitions and a filesystem on top of the sdXc, or
someone sets up their CF disk like that, or someone manages to get two
A6 partitions on the same disk and not confuse himself, but this may
not mean its a good idea.

2012/2/7 Alan Cheng :
> thanks Janne for the explanation.
>
> I thought a fdisk partition on i386 is *required* after reading FAQ14/man
> pages and I was a bit surprised to be able to create a disklabel partition
> without doing "fdisk -i". so I wrote to the list for help on what I
> mis-understood ...
>
> thanks.
> Alan
>
>
> On Tue, Feb 7, 2012 at 3:41 PM, Janne Johansson 
wrote:
>>
>> 2012/2/7 Alan Cheng :
>> > Hello list,
>> >
>> > I'm playing around with fdisk on a vmware virtual machine with 5.0 i386.
>> > Despite what's in FAQ14.4, I found I can still create disklabel
>> > partitions
>> > without a fdisk partition (no fdisk -i $disk) on a blank disk.
>> >
>> > I'm confused. So my question is:
>> >  1. Is fdisk partition a must for a NON-SYSTEM disk on i386?
>> >  2. what is the disadvantage of using a disklabel partition without
>> > fdisk
>> > partition in above mentioned scenario?
>>
>> fdisk and disklabel aren't really optional in that sense.
>> Every disk (at least on PC derivates) should have one A6 partition,
>> and a disklabel to match the area inside that fdisk partition.
>>
>> You can fake around it in various ways, but there is seldom a real
>> need to, so why bother doing it in odd ways? It will perhaps bite you
>> in the long run to do it in non-standard ways.
>>
>> --
>>  To our sweethearts and wives.  May they never meet. -- 19th century toast
>
>



--
 To our sweethearts and wives.  May they never meet. -- 19th century toast



Re: Is fdisk partition a must for a non-system disk on i386

2012-02-07 Thread Alan Cheng
thanks Janne for the explanation.

I thought a fdisk partition on i386 is *required* after reading FAQ14/man
pages and I was a bit surprised to be able to create a disklabel partition
without doing "fdisk -i". so I wrote to the list for help on what I
mis-understood ...

thanks.
Alan

On Tue, Feb 7, 2012 at 3:41 PM, Janne Johansson  wrote:

> 2012/2/7 Alan Cheng :
> > Hello list,
> >
> > I'm playing around with fdisk on a vmware virtual machine with 5.0 i386.
> > Despite what's in FAQ14.4, I found I can still create disklabel
> partitions
> > without a fdisk partition (no fdisk -i $disk) on a blank disk.
> >
> > I'm confused. So my question is:
> >  1. Is fdisk partition a must for a NON-SYSTEM disk on i386?
> >  2. what is the disadvantage of using a disklabel partition without fdisk
> > partition in above mentioned scenario?
>
> fdisk and disklabel aren't really optional in that sense.
> Every disk (at least on PC derivates) should have one A6 partition,
> and a disklabel to match the area inside that fdisk partition.
>
> You can fake around it in various ways, but there is seldom a real
> need to, so why bother doing it in odd ways? It will perhaps bite you
> in the long run to do it in non-standard ways.
>
> --
>  To our sweethearts and wives.  May they never meet. -- 19th century toast



Re: Backup Redundancy Etcetera

2012-02-07 Thread Anonymous Remailer (austria)
> Anonymous  wrote:
> > Solaris
> > ZFS
> 
> I've heard of it (ZFS) but here's the thing, I struggle enough keeping
> up with Wndows and OpenBSD I don't want to put another system into the
> mix.

Understood. Unfortunately or fortunately however you look at it OpenBSD
doesn't have ZFS. But FreeBSD does. That could be another option with less
of a learning curve than Solaris which admittedly is steep. Another thing to
consider is a prebuilt NAS appliance based on FreeBSD or OpenSolaris. There
are numerous ones out check distrowatch.com

What ZFS does for you aside from offering pretty high quality software RAID
and other redundancy/protection from data loss is give you really nice
management features like being able to do quotas and resize filesystems and
compress (and with Solaris 11 even encrypt them) all from one central
management interface instead of external or add-on tools. It's one stop
shopping. It also makes NFS and SAMBA less painful since you don't have to
play around with the normal share tables and portmapper stuff (not THAT big
of a deal but not zero) you can just turn features on or off at the ZFS
filesystem level. It's really ideal for a backup or NAS appliance. Again you
must have known good hardware from the disks to the backplane to the RAM or
ZFS will ruin your week or even your whole month. When it works, it
works. When it doesn't, oh shit.

> > You
> > could probably script Filezilla to SSH what you want to the file server.
> 
> Good idea.
> I'll probably end up either installing the Microsoft NFS client and
> scripting that or use the bog standard ftp client and script that.

The problem is the M/S NFS client only works on certain versions of Windows
and not others. Even on the versions it is supposed to work on it doesn't
always work. I have an XP Pro box that SFU refuses to install on.



the aucat recording studio - stereo panning

2012-02-07 Thread Jan Stary
First of all, I want to thank Alex Ratchov and Jacob Meuser for the work 
on aucat and the underlying sndio audio framework. I am using aucat as
a poor man's recording studio.

Let me start with the simplest example:

$ aucat -o background.wav
$ aucat -i background.wav -o solo.wav
$ aucat -i background.wav -i solo.wav

This is how I record a basic background track (say,
an accompanying guitar); then record a solo track in
sync with the background; and play the two, synced.

Now, I can record further tracks with e.g.

$ aucat -i background.wav -i solo.wav -o vocal.wav

I can specify relative volumes with -v (or even control
them with hardware knobs when using a midi controller);
what I miss is stereo panning.

Without further options, all the previous tracks are "mixed" as 1/n,
and positioned in the "middle" of the stereo panorama; that's doable,
but the musical experience would be very much enhanced with stereo
positioning. I mean e.g. hearing the drums in the left and the bass
in the right while recording the vocals.

I realize that this can be considered "mixing" already, and aucat does not,
by design, use a full matrix mixer: it uses a 0/1 matrix (controlled
with the -C/-c ranges).

There are workarounds: I can pre-procces the existing tracks
with e.g. SoX to attenuate/amplify the left/right channel of each,
and then play these preprocessed streams.

Am I right at thinking that there is currently no way
to do that in aucat directly?

(Because if there is, I don't need to reboot into MacOS
to use ProTools for comfortable multitrack recording.)

Sincerely

Jan