Re: [Kinda OT] Whereabouts of Jacob Meuser?

2012-03-15 Thread Remco
patrick keshishian wrote:

> Hi,
> 
> I have not seen any activity from him on any OpenBSD lists for a while
> now. I attempted to email him directly but got a "quota exceeded"
> message back from the mail-server.
> 
> Anyone know what's up with him? Hope all is well.
> --patrick

I doubt he's still around. Check the ANNOUNCEMENT files for 4.9 and 5.0, if
I didn't miss anything he's mentioned as a developer for 4.9 and not
anymore for 5.0.



[Kinda OT] Whereabouts of Jacob Meuser?

2012-03-15 Thread patrick keshishian
Hi,

I have not seen any activity from him on any OpenBSD lists for a while
now. I attempted to email him directly but got a "quota exceeded"
message back from the mail-server.

Anyone know what's up with him? Hope all is well.
--patrick



Re: ramdisk overflow during make release with -current on amd64

2012-03-15 Thread Ted Unangst
On Thu, Mar 15, 2012, Olivier Cochard-LabbC) wrote:

> I can't do a "make release" with up-to-date -current code (just
> synchronized) with default value (no personnal hack/patch).
>
> amd64/ramdiskA kernel seems too big for the floppy image, here is an
> extract of my log file:

It should be fixed now.



Re: Email translation

2012-03-15 Thread Stuart Henderson
On 2012-03-15, cody chandler  wrote:
> Hello,
>
> I was wondering if there is an add on that can be used with Sendmail or
> Postfix that will translate the language of an in bound email
> (spoken/written language) to the local system language.
>
> Thank you
> Cody
>
>

You might be able to put something together with procmail and the
"translate" command in libtranslate which interfaces to various
web-based services...haven't heard of anything readymade.



Re: Pre-orders for 5.1, and the new song!

2012-03-15 Thread Ton Muller
is this site for real ??
cant make shit out of it when i do a backtrace and FTP download

- Oorspronkelijk bericht -
Van: "OpenBSD Europe" 
Aan: "Theo de Raadt" 
Cc: m...@cvs.openbsd.org
Verzonden: Woensdag 14 maart 2012 11:47:09
Onderwerp: Re: Pre-orders for 5.1, and the new song!

We're now up:

http://www.openbsdeurope.com

Thanks!



Re: hi...

2012-03-15 Thread Peter Hessler
don't respond to the spammer, idiot.


On 2012 Mar 15 (Thu) at 21:49:56 +0100 (+0100), Francois Pussault wrote:
:When it will be 200% discount & free shipping it then only be interesting
:
:morron spammer


-- 
When you have an efficient government, you have a dictatorship.
-- Harry Truman



Re: hi...

2012-03-15 Thread Francois Pussault
When it will be 200% discount & free shipping it then only be interesting

morron spammer

> 
> From: insa 
> Sent: Thu Mar 15 18:53:55 CET 2012
> To: misc 
> Subject: hi...
>
>
> hi
>
> w e b : www. urs.com
>
> this site mainly sell iphone 4s,ipad 2.macbook,digital
> camera,computer,scanner
>
> the price can be offered 60% discount, the shipping is free
>
> 1:53:52
>


Cordialement
Francois Pussault
3701 - 8 rue Marcel Pagnol
31100 ToulouseB 
FranceB 
+33 6 17 230 820 B  +33 5 34 365 269
fpussa...@contactoffice.fr



hi...

2012-03-15 Thread insa
hi

w e b : www. urs.com

this site mainly sell iphone 4s,ipad 2.macbook,digital
camera,computer,scanner

the price can be offered 60% discount, the shipping is free

1:53:52



Re: Strange sshd + /etc/nologin behaviour

2012-03-15 Thread Alexander Hall
"AndrC) S."  wrote:

>> Indeed, it seems v. 1.251 of session.c got it wrong.
>> 
>> Can you see if this helps?
>> 
>> /Alexander
>> 
>> 
>> Index: session.c
>> ===
>> RCS file: /cvs/src/usr.bin/ssh/session.c,v
>> retrieving revision 1.259
>> diff -u -p -r1.259 session.c
>> --- session.c24 Oct 2011 02:13:13 -  1.259
>> +++ session.c14 Mar 2012 22:21:57 -
>> @@ -1108,7 +1108,7 @@ do_nologin(struct passwd *pw)
>>  char buf[1024], *nl, *def_nl = _PATH_NOLOGIN;
>>  struct stat sb;
>>  
>> -if (login_getcapbool(lc, "ignorenologin", 0) && pw->pw_uid)
>> +if (login_getcapbool(lc, "ignorenologin", 0) || pw->pw_uid == 0)
>>  return;
>>  nl = login_getcapstr(lc, "nologin", def_nl, def_nl);
>
>Hey Alexander,
>
>thanks a lot, this works for me now, no side-effects. :-)
>
>Regards
>Andre

Philip Guenther also came up with an identical diff, which has been committed. 
Thanks for bringing this regression since 2010 to our attention!

/Alexander



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Jochen Fabricius
Hi, 
 
> Certain USB audio cards may be suitable for what you want, but would
> require heavy changes in the uaudio driver to get reliable full-duplex
> operation.

does the uaudio driver support more than two channels? I thought it was
ony 2-channel. 

I work with a M-Audio Mobile USB, and full-duplex works very well. 


Jochen



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Jochen Fabricius
Hi, 

> > I'm looking for a really high end multichannel (at least 2 in 8 out,
> > breakout box) audio interface that works with OpenBSD. Obviously the
> > M-Audio Delta 1010 does, because it is listed in envy(4). But this
> > interface needs an external power supply, and I want to avoid it is
> > possible.
> 
> The 1010LT is basically the same card as the 1010 without the breakout
> box.

yes, I know, and I really thought about buying this card. But this
setup will be very flexible, and the TRS jacks of the "big" Delta are
perfect for this case. That's why I want a breakout box. 

Jochen



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Jochen Fabricius
Hi, 

> However, I do have a 1010 (with breakout box), which I have used only
> under linux which is a pretty good card I will say

thank you for your comment. I think I will buy the Delta. The risk that
the Echo will not work is too high. But I'm waiting for a reply from
the Echo support, I've asked them about some hardware details, maybe
this will help. 

Jochen



Re: Strange sshd + /etc/nologin behaviour

2012-03-15 Thread André S.
> Indeed, it seems v. 1.251 of session.c got it wrong.
> 
> Can you see if this helps?
> 
> /Alexander
> 
> 
> Index: session.c
> ===
> RCS file: /cvs/src/usr.bin/ssh/session.c,v
> retrieving revision 1.259
> diff -u -p -r1.259 session.c
> --- session.c 24 Oct 2011 02:13:13 -  1.259
> +++ session.c 14 Mar 2012 22:21:57 -
> @@ -1108,7 +1108,7 @@ do_nologin(struct passwd *pw)
>   char buf[1024], *nl, *def_nl = _PATH_NOLOGIN;
>   struct stat sb;
>  
> - if (login_getcapbool(lc, "ignorenologin", 0) && pw->pw_uid)
> + if (login_getcapbool(lc, "ignorenologin", 0) || pw->pw_uid == 0)
>   return;
>   nl = login_getcapstr(lc, "nologin", def_nl, def_nl);

Hey Alexander,

thanks a lot, this works for me now, no side-effects. :-)

Regards
Andre



Re: Fw: Poor mic on nForce2

2012-03-15 Thread per . gunnarsson
Yesy, it's the one on audio0.

No, I found no {input,outputs}.mic0_* variables.


-Originalmeddelande-
> Fren: "Jan Stary" 
> Till: misc@openbsd.org
> Datum: 2012-03-15 18:24
> Dmne: Re: Fw: Poor mic on nForce2
>
> On Mar 15 17:36:04, per.gunnars...@lappstockholm.se wrote:
> > I have had very weak sound from my mic, which is plugged into
> > the pink hole on the back of an ASUS A7N8X-XE.
>
> > auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 400 AC97" rev 0xa1: irq
> > 5, nForce2 AC97
> > ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+)
> > audio0 at auich0
>
> > ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 400 PCI-PCI" rev 0xa3
> > pci1 at ppb0 bus 2
> > cmpci0 at pci1 dev 8 function 0 "C-Media Electronics CMI8738/C3DX Audio"
> > rev 0x10: irq 5
> > audio1 at cmpci0
>
> > uaudio0 at uhub2 port 1 configuration 1 interface 1 "Logitech product
> > 0x08d8" rev 1.10/1.00 addr 2
> > uaudio0: audio rev 1.00, 3 mixer controls
> > audio2 at uaudio0
>
> So, the one you are having problems with is audio0?

> And there are no {input,outputs}.mic0_* variables?



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Byron Klippert
I use the Delta 1010LT for multichannel playback and (limited) recording
without issue. I use it with a set of M-Audio BX8a monitors and SBX10
woofer. A very nice setup on a very nice platform.

- Byron

On Thu, Mar 15, 2012, at 02:20 PM, Alexandre Ratchov wrote:
> On Thu, Mar 15, 2012 at 06:32:29AM -0500, Chris Turner wrote:
> > On 03/09/12 11:17, Jochen Fabricius wrote:
> > >Hi,
> > >
> > >I'm looking for a really high end multichannel (at least 2 in 8 out,
> > >breakout box) audio interface that works with OpenBSD. Obviously the
> > >M-Audio Delta 1010 does, because it is listed in envy(4). But this
> > >interface needs an external power supply, and I want to avoid it is
> > >possible.
> > 
> > The 1010LT is basically the same card as the 1010 without the breakout
> > box.
> > 
> > http://www.m-audio.com/products/en_us/Delta1010LT.html
> > 
> > It is listed in the manual page as supported though I don't have one to test
> > 
> > http://www.openbsd.org/cgi-bin/man.cgi?query=envy&sektion=4&format=html
> > 
> > As noted, audio quality will be slightly different due to PCI Bus crosstalk
> > noise, but how important this is of course depends on your application
> > and I'm sure it's still very good.
> 
> With a similar card (esi julia) I roughly get around -130dB of noise
> only, with plenty on audio cables connected, network traffic and usb
> stuff around.
> 
> -- Alexandre



Re: Fw: Poor mic on nForce2

2012-03-15 Thread Jan Stary
On Mar 15 17:36:04, per.gunnars...@lappstockholm.se wrote:
> I have had very weak sound from my mic, which is plugged into
> the pink hole on the back of an ASUS A7N8X-XE.

> auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 400 AC97" rev 0xa1: irq
> 5, nForce2 AC97
> ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+)
> audio0 at auich0

> ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 400 PCI-PCI" rev 0xa3
> pci1 at ppb0 bus 2
> cmpci0 at pci1 dev 8 function 0 "C-Media Electronics CMI8738/C3DX Audio"
> rev 0x10: irq 5
> audio1 at cmpci0

> uaudio0 at uhub2 port 1 configuration 1 interface 1 "Logitech product
> 0x08d8" rev 1.10/1.00 addr 2
> uaudio0: audio rev 1.00, 3 mixer controls
> audio2 at uaudio0

So, the one you are having problems with is audio0?



Re: Fw: Poor mic on nForce2

2012-03-15 Thread Jan Stary
On Mar 15 17:36:04, per.gunnars...@lappstockholm.se wrote:
> Hi!
> 
> I have had very weak sound from my mic, which is plugged into
> the pink hole on the back of an ASUS A7N8X-XE.
> 
> This is my dmesg:
> 
> OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache)
> 2.21 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
> XSR,SSE
> real mem  = 2146824192 (2047MB)
> avail mem = 2101649408 (2004MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/09/05, BIOS32 rev. 0 @ 0xf0010,
> SMBIOS rev. 2.3 @ 0xf0650 (51 entries)
> bios0: vendor American Megatrends Inc. version "080012" date 09/09/2005
> bios0: ASUSTeK Computer INC. A7N8X-XE
> apm0 at bios0: Power Management spec V1.2
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 3.0 @ 0xf/0x1
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8af0/224 (12 entries)
> pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x0080
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc/0xf000
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1
> agp at pchb0 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
> pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 400 ISA" rev 0xa3
> nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 400 SMBus" rev 0xa1
> iic0 at nviic0
> spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
> spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL2.5
> spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
> iic1 at nviic0
> ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
> version 1.0, legacy support
> ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
> version 1.0, legacy support
> ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 400 USB" rev 0xa2: irq 5
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
> nfe0 at pci0 dev 4 function 0 "NVIDIA nForce3 LAN" rev 0xa3: irq 3,
> address 00:15:f2:7c:ea:4a
> rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
> auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 400 AC97" rev 0xa1: irq
> 5, nForce2 AC97
> ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+)
> audio0 at auich0
> ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 400 PCI-PCI" rev 0xa3
> pci1 at ppb0 bus 2
> cmpci0 at pci1 dev 8 function 0 "C-Media Electronics CMI8738/C3DX Audio"
> rev 0x10: irq 5
> audio1 at cmpci0
> opl at cmpci0 not configured
> mpu at cmpci0 not configured
> pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 400 IDE" rev 0xa3: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0:  ATAPI
> 5/cdrom removable
> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
> wd0 at pciide0 channel 1 drive 0: 
> wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
> wd1 at pciide0 channel 1 drive 1: 
> wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
> wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
> wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
> pciide1 at pci0 dev 11 function 0 "NVIDIA nForce2 400 SATA" rev 0xa3: DMA
> pciide1: using irq 11 for native-PCI interrupt
> ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1
> pci2 at ppb1 bus 1
> vga1 at pci2 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
> lm1 at wbsio0 port 0x290/8: W83627HF
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> uaudio0 at uhub2 port 1 configur

Fw: Poor mic on nForce2

2012-03-15 Thread per . gunnarsson
Hi!

I have had very weak sound from my mic, which is plugged into
the pink hole on the back of an ASUS A7N8X-XE.

This is my dmesg:

OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache)
2.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 2146824192 (2047MB)
avail mem = 2101649408 (2004MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/09/05, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.3 @ 0xf0650 (51 entries)
bios0: vendor American Megatrends Inc. version "080012" date 09/09/2005
bios0: ASUSTeK Computer INC. A7N8X-XE
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8af0/224 (12 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x0080
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1
agp at pchb0 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
"NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 400 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 400 SMBus" rev 0xa1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
iic1 at nviic0
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
version 1.0, legacy support
ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
version 1.0, legacy support
ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 400 USB" rev 0xa2: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
nfe0 at pci0 dev 4 function 0 "NVIDIA nForce3 LAN" rev 0xa3: irq 3,
address 00:15:f2:7c:ea:4a
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 400 AC97" rev 0xa1: irq
5, nForce2 AC97
ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+)
audio0 at auich0
ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 400 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 2
cmpci0 at pci1 dev 8 function 0 "C-Media Electronics CMI8738/C3DX Audio"
rev 0x10: irq 5
audio1 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 400 IDE" rev 0xa3: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
wd0 at pciide0 channel 1 drive 0: 
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd1 at pciide0 channel 1 drive 1: 
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 11 function 0 "NVIDIA nForce2 400 SATA" rev 0xa3: DMA
pciide1: using irq 11 for native-PCI interrupt
ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1
pci2 at ppb1 bus 1
vga1 at pci2 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
lm1 at wbsio0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uaudio0 at uhub2 port 1 configuration 1 interface 1 "Logitech product
0x08d8" rev 1.10/1.00 addr 2
uaudio0: audio rev 1.00, 3 mixer controls
audio2 at uaudio0
ugen0 at uhub2 port 1 configuration 1 "Logitech product 0x08d8" rev
1.10/1.00 addr 2
uhidev0 at uhub2 port 2 configuration 1 interface 0 "CHICONY HP Bas

Email translation

2012-03-15 Thread cody chandler
Hello,

I was wondering if there is an add on that can be used with Sendmail or
Postfix that will translate the language of an in bound email
(spoken/written language) to the local system language.

Thank you
Cody



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Alexandre Ratchov
On Thu, Mar 15, 2012 at 06:32:29AM -0500, Chris Turner wrote:
> On 03/09/12 11:17, Jochen Fabricius wrote:
> >Hi,
> >
> >I'm looking for a really high end multichannel (at least 2 in 8 out,
> >breakout box) audio interface that works with OpenBSD. Obviously the
> >M-Audio Delta 1010 does, because it is listed in envy(4). But this
> >interface needs an external power supply, and I want to avoid it is
> >possible.
> 
> The 1010LT is basically the same card as the 1010 without the breakout
> box.
> 
> http://www.m-audio.com/products/en_us/Delta1010LT.html
> 
> It is listed in the manual page as supported though I don't have one to test
> 
> http://www.openbsd.org/cgi-bin/man.cgi?query=envy&sektion=4&format=html
> 
> As noted, audio quality will be slightly different due to PCI Bus crosstalk
> noise, but how important this is of course depends on your application
> and I'm sure it's still very good.

With a similar card (esi julia) I roughly get around -130dB of noise
only, with plenty on audio cables connected, network traffic and usb
stuff around.

-- Alexandre



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Alexandre Ratchov
On Fri, Mar 09, 2012 at 06:17:50PM +0100, Jochen Fabricius wrote:
> Hi, 
> 
> I'm looking for a really high end multichannel (at least 2 in 8 out,
> breakout box) audio interface that works with OpenBSD. Obviously the
> M-Audio Delta 1010 does, because it is listed in envy(4). But this
> interface needs an external power supply, and I want to avoid it is
> possible. So I found the Echo Layla 3G
> http://www.echoaudio.com/Products/PCI/Layla3G/index.php Does anybody
> know if this card works with OpenBSD? Or any other interface of
> similar quality?

There's no openbsd driver for echo cards, unfortunately

The 1010LT model doesn't need external power supply, but doesn't have
a breakout box either. But cables are robust imo.

M-Audio revolution 7.1 is good qualit but is not supported yet. As far
as I can say, the envy driver requires few minor teaks only to add
support for it.

Certain USB audio cards may be suitable for what you want, but would
require heavy changes in the uaudio driver to get reliable full-duplex
operation.

-- Alexandre



daemons call order in /etc/rc

2012-03-15 Thread Daniel Bolgheroni
Hi,

any reason why

  [ -f /etc/rc.local ] && . /etc/rc.local

is not called between

  echo -n 'starting local daemons:'

and

  echo '.'

in /etc/rc?

Suppose I want to init rsync at startup. As I don't have any /etc/rc.d/
script, and I follow 'Starting up local daemons and configuration' in
10.3 section of the FAQ, I end up with this at startup:

 rsyncstarting local daemons: cron.

Applying this patch, I end up with:

starting local daemons: cron rsync.

Thoughts?
Thank you.

Index: rc
===
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.399
diff -u -r1.399 rc
--- rc  10 Mar 2012 10:37:13 -  1.399
+++ rc  15 Mar 2012 12:22:50 -
@@ -529,13 +529,12 @@
echo '.'
 fi
 
-[ -f /etc/rc.local ] && . /etc/rc.local
-
 ifconfig -g carp -carpdemote 128   # disable carp interlock
 
 mixerctl_conf
 echo -n 'starting local daemons:'
 start_daemon apmd sensorsd hotplugd watchdogd cron wsmoused xdm
+[ -f /etc/rc.local ] && . /etc/rc.local
 echo '.'
 
 date


-- 
Daniel Bolgheroni 
http://devio.us/~dbolgheroni

ASCII ribbon campaign ( )
against HTML e-mailX
  / \
(and no top-post also, please)



Re: MySQL connection error after upgrade 4.9->5.0

2012-03-15 Thread Uwe Dippel
One more step towards OT, and yet on the spot. Now it is on 'beauty'.
At shutdown, we get always
"stopping package daemons:/etc/rc[260]: /etc/rc.d/: cannot execute -
Is a directory"

Is there anything wrong, still, with our configuration?

Uwe



Re: s/nfs_server/nfsd_flags/

2012-03-15 Thread Daniel Bolgheroni
On Thu, Mar 15, 2012 at 10:10:54AM +0001, Jason McIntyre wrote:
> 
> i don;t think anyone poking their nose in /etc/rc.conf will think they
> are looking at four sections.

BTW, this is another point I was going to make. I tried very hard to
distinguish between these four sections as it is now, but I couldn't.



Re: Which high end multichannel audio interfaces work?

2012-03-15 Thread Chris Turner

On 03/09/12 11:17, Jochen Fabricius wrote:

Hi,

I'm looking for a really high end multichannel (at least 2 in 8 out,
breakout box) audio interface that works with OpenBSD. Obviously the
M-Audio Delta 1010 does, because it is listed in envy(4). But this
interface needs an external power supply, and I want to avoid it is
possible.


The 1010LT is basically the same card as the 1010 without the breakout
box.

http://www.m-audio.com/products/en_us/Delta1010LT.html

It is listed in the manual page as supported though I don't have one to test

http://www.openbsd.org/cgi-bin/man.cgi?query=envy&sektion=4&format=html

As noted, audio quality will be slightly different due to PCI Bus crosstalk
noise, but how important this is of course depends on your application
and I'm sure it's still very good.

Cheers,

- Chris



ramdisk overflow during make release with -current on amd64

2012-03-15 Thread Olivier Cochard-Labbé
Hi all,

I can't do a "make release" with up-to-date -current code (just
synchronized) with default value (no personnal hack/patch).

amd64/ramdiskA kernel seems too big for the floppy image, here is an
extract of my log file:

vnconfig -v -c vnd0 /var/tmp/image.32388
vnd0: 1474560 bytes on /var/tmp/image.32388
disklabel -w vnd0 floppy3
newfs -m 0 -o space -i 524288 -c 2880 /dev/rvnd0a
/dev/rvnd0a: 1.4MB in 2880 sectors of 512 bytes
1 cylinder groups of 1.41MB, 360 blocks, 32 inodes each
super-block backups (for fsck -b #) at:
 32,
mount /dev/vnd0a /mnt
cp /usr/release/dest/usr/mdec/boot /usr/src/distrib/amd64/ramdiskA/obj/boot
strip /usr/src/distrib/amd64/ramdiskA/obj/boot
strip -R .comment /usr/src/distrib/amd64/ramdiskA/obj/boot
dd if=/usr/src/distrib/amd64/ramdiskA/obj/boot of=/mnt/boot bs=512
87+1 records in
87+1 records out
44772 bytes transferred in 0.000 secs (279825000 bytes/sec)
dd if=bsd.gz of=/mnt/bsd bs=512
dd: /mnt/bsd: No space left on device

Regards,

Olivier



Re: c++ headers w/ -pedantic, overflow in implicit constant conversion

2012-03-15 Thread Remco
sorry, this should have gone to ports@



Re: c++ headers w/ -pedantic, overflow in implicit constant conversion

2012-03-15 Thread Remco
Stuart Henderson wrote:

> There are a fair few of these in c++ builds which tend to obscure some
> of the actually useful warnings. Antoine noticed it a while ago, Landry
> noticed it recently, I see it from time to time..
> 
> Any suggestions other than not using -pedantic? (Actually I think
> I have seen this without -pedantic too somewhere but I forget where).
> Is this just a silly warning or is there actually a problem with the
> headers?
> 
> This example is from chopping down a file from converters/wv2 (which
> is itself a relatively small example) until the warning no longer
> occurs then going back one step.
> 
> $ cat > a.c
> #include 
> ^D
> $ c++ -pedantic -c a.c
> In file included from /usr/include/g++/memory:60,
>  from /usr/include/g++/string:48,
>  from a.c:1:
> /usr/include/g++/limits: In static member function 'static char
> std::numeric_limits::min()': /usr/include/g++/limits:375: warning:
> overflow in implicit constant conversion /usr/include/g++/limits: In
> static member function 'static wchar_t
> std::numeric_limits::max()': /usr/include/g++/limits:530:
> warning: overflow in implicit constant conversion


Not a solution, but hopefully helpful.

If I interpreted everything correctly, the macro __glibcxx_min
in /usr/include/g++/limits is used in std::numeric_limits::min().

It uses something like ((char)1<<7) to determine the minimum value of a
char. I suspect that ((char)1<<7), or (1<<7) before being converted to
char, is interpreted as 128 in an intermediate stage of the processing.
When being pedantic 128 wouldn't fit in a char at that moment.
(AFAICT -128 <= char <= 127)

I suspect something similar is the case for the max function. 128 is used as
an intermediate result. Subtracting 1 gets the proper end result. But the
intermediate result (128) doesn't fit in a char when having a pedantic look
at this.


Attached is the simplest case I could come up with to reproduce this:

btw, this is on:
OpenBSD 5.0 (GENERIC.MP) #63: Wed Aug 17 10:14:30 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

make a file, e.g. t.cc, containing:
char
test1()
{
return ((char)1<<6);
}


char
test2()
{
return ((char)1<<7);
}


char
test3()
{
return ((char)1<<8);
}


compile using C++ compiler:

being pedantic:
$ c++ -pedantic -c t.cc
t.cc: In function 'char test2()':
t.cc:11: warning: overflow in implicit constant conversion
t.cc: In function 'char test3()':
t.cc:18: warning: overflow in implicit constant conversion

NOT being pedantic:
$ c++ -c t.cc
t.cc: In function 'char test3()':
t.cc:18: warning: overflow in implicit constant conversion


copy to a .c file:
$ cp t.cc t.c

compile using C compiler:

being pedantic:
$ cc -pedantic -c t.c
t.c: In function 'test2':
t.c:11: warning: overflow in implicit constant conversion
t.c: In function 'test3':
t.c:18: warning: overflow in implicit constant conversion

NOT being pedantic:
$ cc -c t.c
t.c: In function 'test3':
t.c:18: warning: overflow in implicit constant conversion



Re: s/nfs_server/nfsd_flags/

2012-03-15 Thread Jason McIntyre
On Tue, Mar 13, 2012 at 11:31:48AM -0300, Daniel Bolgheroni wrote:
> Hi,
> 
> according to rc.conf v1.149, nfs_server was removed and left just as
> backward compatibility.
> 
> However, manpage for rc.conf still refers to nfs_server as an example
> for the second section. FAQ section 6.7 also uses nfs_server instead of
> the newer nfsd_flags.
> 
> Cheers,
> 

hi. note that i'm not addressing the faq issue here.

regarding the man page, rc.conf(5), i have a diff. the current man page
is a bit out of date. i don;t think anyone poking their nose in
/etc/rc.conf will think they are looking at four sections. as time has
gone on, i guess the man page has failed to address the changes being
made.

anyway i've clobbered it a bit. if anyone can see any problems with my
approach, please mail me.

jmc

Index: rc.conf.8
===
RCS file: /cvs/src/share/man/man8/rc.conf.8,v
retrieving revision 1.19
diff -u -r1.19 rc.conf.8
--- rc.conf.8   8 Jul 2011 17:43:58 -   1.19
+++ rc.conf.8   15 Mar 2012 10:07:07 -
@@ -51,73 +51,55 @@
 Variables set in this file will override variables previously set in
 .Pa /etc/rc.conf .
 .Pp
-There are four sections in this file.
-The first is used to turn features on or off.
+Some variables are used to turn features on or off.
 For example, whether the system runs the
-.Nm dhcpd
-daemon is determined by the line in this section
+.Xr dhcpd 8
+daemon is determined by the following line:
 .Bd -literal -offset indent
-dhcpd_flags=NO # for normal use: ""
+dhcpd_flags=NO # for normal use: ""
 .Ed
 .Pp
-If this line is edited to contain some valid dhcpd daemon command-line
-flags, such as
+To run the dhcpd daemon,
+add the following line to
+.Nm rc.conf.local :
 .Bd -literal -offset indent
-dhcpd_flags="-A abandoned" # for normal use: ""
+dhcpd_flags="" # for normal use: ""
 .Ed
 .Pp
+If instead some options are specified,
 then the dhcpd daemon will be started with those options.
-.Pp
-The second section contains some other programs that can either be run or not,
-but that don't need options.
-They can be set to YES or NO.
-For example, the line
+For example:
 .Bd -literal -offset indent
-nfs_server=NO
+dhcpd_flags="-A abandoned" # for normal use: ""
 .Ed
 .Pp
-prevents the NFS server daemons from starting.
-To run NFS, just change this line's value from NO to YES,
-.Sy and
-also make whatever changes are needed for the server
-to have something to do (set up the
-.Xr exports 5
-file etc.).
-.Pp
-The third section contains values that parameterize servers started by
-one of the first two sections, and are ignored if the corresponding
-server is not running.
-For example, if
-.Nm nfs_server ,
-is enabled, then the line
+Other variables specify a simple YES or NO,
+or simply determine the location of a file.
+For example, the location of the ruleset for
+.Xr pf 4
+is given thus:
 .Bd -literal -offset indent
-nfsd_flags="-tun 4"
+pf_rules=/etc/pf.conf   # Packet filter rules file
 .Ed
 .Pp
-provides command-line arguments for the NFS server.
-.Pp
-This particular line instructs
-.Xr nfsd 8
-to start four copies of the server.
-On a busy file server, 8 (or more) copies are recommended.
-.Pp
-The fourth section contains the
+Finally there is the
 .Va pkg_scripts
 variable, responsible for starting and stopping
 .Xr rc.d 8
 scripts installed by packages in the specified order.
-For example, the following line
+For example:
 .Bd -literal -offset indent
 pkg_scripts="dbus_daemon cupsd"
 .Ed
 .Pp
-will run
+This will run
 .Pa /etc/rc.d/dbus_daemon
 then
 .Pa /etc/rc.d/cupsd
 with the
 .Va start
-argument at boot time and in reverse order with the
+argument at boot time,
+and in reverse order with the
 .Va stop
 argument at shutdown.
 .Sh SEE ALSO



Unbound in base (review)

2012-03-15 Thread Björn Ketelaars
2012/3/14 Jakob Schlyter mailto:ja...@kirei.se)>:
> Could you provide an update complete tarfil for review by other developers?
I think we should start considering importing this.


Latest iteration:

http://gateway.hydroxide.nl/OpenBSD/unbound-wip.9.tar.gz

Current status includes work on suggestions / remarks from Jakob:

- run unbound-control-setup if no keys found;
- shipping of a default root.key (for use with auto-trust-anchor-file in
unbound.conf). This 'solves' a difficult and ugly workaround with
unbound-anchor as suggested in previous iterations;
- start nsd before unbound.

Detailed information can be found in the tarball (README).


--
BjC6rn Ketelaars