How to add new non-continuous A6 partition after install

2009-08-26 Thread obvvbooo obvvbooo
Hi,
For kinds of reasons, my disk is partitionized like this:

1st partition is for Windows system(Primary)
2nd is for OpenBSD(Primary)
3rd is Windows extended partition(Extended)
4th is originally not used, now I created a new one and mark it as
A6.(Primary)

Question is after I created the 4th partition, I can get the partition
information using fdisk, but can't see anything using disklabel. How do I
use the 4th partition? Will it be helpful if I just reformat it to fat32 or
ext3?

Anybody help? Thanks.



Re: Wireless USB Adaptor

2009-08-26 Thread matteo filippetto
2009/8/26 Andres Genovez andresgeno...@gmail.com:
 www.crice.org


 2009/8/25 Daniel Bolgheroni m...@dbolgheroni.eng.br

 On Tue, 25 Aug 2009, Brad Tilley wrote:

  Hey guys,
 
  I'm looking for some generic advice to give folks who cannot or
  willnot verify what chipset a wireless usb adapter is using before
  purchase. What do you guys say to people who do not want to use
  apropos wireless or man ath, but at the same time want to just walk
  into Walmart (or where ever) and purchase a wireless USB adapter so
  their OpenBSD Laptop can do 802.11? Are there some percentage rules we
  can provide? Such as ... 80% of Linksys and 70% of Dlink stuff works.
  Don't touch XYZ adapters... Again, keeping it simple and in layman
  terms. Any suggestion outside of RTFM ;) is much appreciated.

 Maybe it's worth to see this presentation:

 http://www.openbsd.org/papers/brhard2007/


 Cool paper a must read for everyone!


 Teers,

 --
 Daniel Bolgheroni
 FEI - Faculdade de Engenharia Industrial
 http://www.dbolgheroni.eng.br/mykey

 ASCII ribbon campaign ( )
 B against HTML e-mail B  X
 B  B  B  B  B  B  B  B  B  B  B / \



Hi,

I'm just tryng openbsd on my old notebook and I'm using Linksys WUSB54GC
and openbsd 4.5 recognize it very well and works great.

Bye,

--
Matteo Filippetto



Re: Use memory as disk

2009-08-26 Thread obvvbooo obvvbooo
Thanks for reply. But still not got it clearly.

To get the result of command:grep ramdisk /etc/fstab, ramdisk need to be
mounted first. How do I mount ramdisk? I'm using the GENERIC kernel, Do I
need to change the config file or rebuild the kernel?
I also tried command rdconfig /dev/rd0a 2048, but it reported /dev/rd0a:
Device not configured, how to deal with this?

Thanks

2009/8/22 Robert rob...@openbsd.pap.st

 On Fri, 21 Aug 2009 23:12:18 +0200
 Iqigo Ortiz de Urbina tarom...@gmail.com wrote:

  On Fri, Aug 21, 2009 at 2:03 PM, obvvbooo obvvbooo
  obvvb...@googlemail.comwrote:
 
   Hi,
  
   Is there a way to use memory as a disk/partition? Such as mount it
   to /mnt/mem or such things. I can't find information of this in the
   man pages and after googled,
 
 
  Havent tried this before but you should be able to create your own
  ramdisks with rdconfig(8).
 
 
   I found rd for OpenBSD, which seems similar with md
   in FreeBSD. But still not useful. Anybody help?
  
   Thanks
  
  
  Just wondering, how come it is not useful? Is it because your fresh
  ramdisk is not immediately usable right after creating it?

 Wasn't this answered by the man page references?

 # grep ramdisk /etc/fstab
 swap /ramdisk mfs rw,nodev,nosuid,-s=220 0 0

 don't want to reboot?
 # mount /ramdisk

 don't want to have it on every boot? (for that there is no real reason,
 because it wont use ram until one puts actual data in there.)
 - add the noauto option.

 - Robert



Re: Wireless USB Adaptor

2009-08-26 Thread Peter N. M. Hansteen
Brad Tilley b...@16systems.com writes:

 their OpenBSD Laptop can do 802.11? Are there some percentage rules we
 can provide? Such as ... 80% of Linksys and 70% of Dlink stuff works.
 Don't touch XYZ adapters... Again, keeping it simple and in layman
 terms. Any suggestion outside of RTFM ;) is much appreciated.

The basic truism is that if you don't do the homework, you put your
money on the luck of the draw.  

Lots of stuff will 'just work' even if it's not explicitly listed, but
you never know until you try.  My personal success rate has been
pretty good, but then I have tended to do at least some homework and
besides my sample size is too small to be statistically significant.

The best advice, I think, is to check the relevant pages on the
OpenBSD web before you shop, if possible either your OpenBSD laptop to
the store or borrow a machine to look up on the web or try booting
from an OpenBSD CD while you're in the store.  When you're shopping
around for hardware to use with OpenBSD, it's important to let the
shop clerks know what you're doing and if possible make them agree to
return any unit you can not make to work.  And equally important but
easy to forget: tell them when it works too.  We're still at a stage
when every time we mention OpenBSD it's news to somebody.

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Presentation tool

2009-08-26 Thread Lars Nooden
Gary Thornock wrote:
 --- On Mon, 8/24/09, Mr Man bitmas...@ymail.com wrote:
 Hi,

 I have a presentation coming up, and I would like to use my
 OpenBSD laptop for it. What is the recommended application for
 a slides driven presentation?

 Thanks
 
 Another option that works fairly well is s5, together with the
 browser of your choice. http://meyerweb.com/eric/tools/s5/

I would second S5.

Also, don't underestimate the value of a single, plain HTML page.  It
works very well, too.  The scroll bar shows how far along you are during
the presentation and to publish it on the web, well it's there already.

-Lars



Re: calendar typo?

2009-08-26 Thread Daniel Gracia Garallar
It all depends, as Paraguay has two native languages: spanish and 
guaranm. In spanish, the country name is written as 'Paraguay', and 
'Paraguai' in guaranm.


I barely, if ever, have read 'Paraguai' in any text, maybe because I'm a 
native spanish speaker. So 'Paraguay' goes for me.


Igor Sobrado escribis:

On Tue, Aug 25, 2009 at 11:16 AM, frantisek holopmin...@obiit.org wrote:

hi there,

Aug 25  Constitution Day in Paragual

shouldn't that be Paraguai?


Indeed, it is a typo.  However, is it not a much more usual spelling
Paraguay?




Re: Use memory as disk

2009-08-26 Thread Otto Moerbeek
On Wed, Aug 26, 2009 at 02:49:08PM +0800, obvvbooo obvvbooo wrote:

 Thanks for reply. But still not got it clearly.
 
 To get the result of command:grep ramdisk /etc/fstab, ramdisk need to be
 mounted first. How do I mount ramdisk? I'm using the GENERIC kernel, Do I
 need to change the config file or rebuild the kernel?
 I also tried command rdconfig /dev/rd0a 2048, but it reported /dev/rd0a:
 Device not configured, how to deal with this?

rd(4) only is useful for installers and the like, for regular ramisks,
use mfs. There's an example in fstab(5), also see mount_mfs98)

-Otto

 
 Thanks
 
 2009/8/22 Robert rob...@openbsd.pap.st
 
  On Fri, 21 Aug 2009 23:12:18 +0200
  Iqigo Ortiz de Urbina tarom...@gmail.com wrote:
 
   On Fri, Aug 21, 2009 at 2:03 PM, obvvbooo obvvbooo
   obvvb...@googlemail.comwrote:
  
Hi,
   
Is there a way to use memory as a disk/partition? Such as mount it
to /mnt/mem or such things. I can't find information of this in the
man pages and after googled,
  
  
   Havent tried this before but you should be able to create your own
   ramdisks with rdconfig(8).
  
  
I found rd for OpenBSD, which seems similar with md
in FreeBSD. But still not useful. Anybody help?
   
Thanks
   
   
   Just wondering, how come it is not useful? Is it because your fresh
   ramdisk is not immediately usable right after creating it?
 
  Wasn't this answered by the man page references?
 
  # grep ramdisk /etc/fstab
  swap /ramdisk mfs rw,nodev,nosuid,-s=220 0 0
 
  don't want to reboot?
  # mount /ramdisk
 
  don't want to have it on every boot? (for that there is no real reason,
  because it wont use ram until one puts actual data in there.)
  - add the noauto option.
 
  - Robert



bgpd q

2009-08-26 Thread Gregory Edigarov
Hi,

Could I rewrite as-paths in bgpd? I.e. if I have an incoming as-path
like this:

1 2 3 3 3 3 3 3 3 3 4 

and would like for some reason to rewrite it like: 1 2 3 4, or 
1 2 3 3 4, can I do this? 

Thank you.

-- 
With best regards,
Gregory Edigarov



Re: Presentation tool

2009-08-26 Thread Martin Toft
Vim is also an option :-)

Example presentation:

  1. wget  http://www.thecamp.dk/wiki/images/2/22/Slides.vim 
http://www.thecamp.dk/wiki/images/0/0c/Vim2007tc.txt
  2. Open a terminal and resize it to 80x25
  2. vim -u Slides.vim Vim2007tc.txt
 Use K to open/close major topics and zo/zc til open/close minor
 topics...

Martin



Re: calendar typo?

2009-08-26 Thread Igor Sobrado
On Tue, Aug 25, 2009 at 12:00 PM, Daniel Gracia
Garallardanie...@electronicagracia.com wrote:
 It all depends, as Paraguay has two native languages: spanish and guaranm.
 In spanish, the country name is written as 'Paraguay', and 'Paraguai' in
 guaranm.

 I barely, if ever, have read 'Paraguai' in any text, maybe because I'm a
 native spanish speaker. So 'Paraguay' goes for me.

I am a native spanish speaker too, however this fact has no influence
in the change we suggested to the proposed diff; the key here is not
writing this term in its native language but in the language that
natively speaks OpenBSD (i.e. english). So, we choosed Paraguay
instead.



Re: Presentation tool

2009-08-26 Thread Martin Toft
On Wed, Aug 26, 2009 at 12:52:27PM +0200, Martin Toft wrote:
   2. vim -u Slides.vim Vim2007tc.txt

s/2/3/ ... need coffee!



Re: bgpd q

2009-08-26 Thread Stuart Henderson
On 2009-08-26, Gregory Edigarov g...@bestnet.kharkov.ua wrote:
 Hi,

 Could I rewrite as-paths in bgpd? I.e. if I have an incoming as-path
 like this:

 1 2 3 3 3 3 3 3 3 3 4 

 and would like for some reason to rewrite it like: 1 2 3 4, or 
 1 2 3 3 4, can I do this? 

No.



Leaking mbufs

2009-08-26 Thread Wade, Daniel
Is there anything sort of a reboot that I can do to free this up?  With only
32MB of RAM it doesn't take long before I'm swapping so hard that the machine
is unusable.


# uptime
 2:31PM  up 15 days, 52 mins, 1 user, load averages: 1.94, 0.79, 0.44
# netstat -m
41061 mbufs in use:
41055 mbufs allocated to data
1 mbuf allocated to packet headers
5 mbufs allocated to socket names and addresses
128/166/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
10808 Kbytes allocated to network (97% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines



OpenBSD 4.6-current (GENERIC) #105: Mon Aug 10 18:02:36 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6tm w/ multimedia extensions (AuthenticAMD 586-class) 200 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 33124352 (31MB)
avail mem = 21741568 (20MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/13/98, BIOS32 rev. 0 @ 0xfd7f0
apm0 at bios0: Power Management spec V1.2 (BIOS management disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xfd7f0/0x810
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf90/80 (3 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82437VX rev 0x02
pcib0 at pci0 dev 7 function 0 Intel 82371SB ISA rev 0x01
pciide0 at pci0 dev 7 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0
wired to compati
bility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: ST32122A
wd0: 16-sector PIO, LBA, 2014MB, 4124736 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 7 function 2 Intel 82371SB USB rev 0x01: irq 9
ppb0 at pci0 dev 19 function 0 DEC 21152 PCI-PCI rev 0x03
pci1 at ppb0 bus 1
fxp0 at pci1 dev 4 function 0 Intel 8255x rev 0x05, i82558: irq 10, address
00:03:47:08:45:1
e
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
fxp1 at pci1 dev 5 function 0 Intel 8255x rev 0x05, i82558: irq 3, address
00:03:47:08:45:1f
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0
vga1 at pci0 dev 20 function 0 S3 Trio64V2/DX rev 0x16
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
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
ep0 at isa0 port 0x360/16 irq 7: address 00:20:af:a7:33:f3, utp/aui (default
utp)
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4: polled
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
biomask fb45 netmask ffcd ttymask ffdf
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Spamd PF milter-spamd

2009-08-26 Thread Duncan Patton a Campbell
Howdy List?

I'm trying to setup spamd on a sparc and wondering
about using PF or the milter redirect mechanism. 

Are there any instruction on using these with sendmail
past the man pages?  I've set up spamd but am clearly
missing something as there's been no abatement of 
crap in my mailboxes ... also I'm getting an error



Spamd PF milter-spamd

2009-08-26 Thread Duncan Patton a Campbell
Howdy List?

I'm trying to setup spamd on a sparc and wondering
about using PF or the milter redirect mechanism. 

Are there any instruction on using these with sendmail
past the man pages?  I've set up spamd but am clearly
missing something as there's been no abatement of 
crap in my mailboxes ... also I'm getting an error
(faaakk sorry about the truncation)
spamlogd: Failed to initialize: pflog0: Device not configured
in /var/log/messages .

Any pointers would be appreciated...

Thanks,

Dhu

PS, FWIW, here's my dmesg:

console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 507494400 (483MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 270 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-4, PCI bus 0
psycho0: dvma map c000-dfff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ivec 0x25
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 34
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ivec 0x2a: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ivec 0x22: polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ivec 0x27 
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 
08:00:20:a2:f6:94
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 ATI Mach64 rev 0x5c
wsdisplay0 at vgafb0 mux 1: console (std, sun emulation), using wskbd0
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: WDC AC28400R
wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.03 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
pci2 at ppb1 bus 2
ppb2 at pci2 dev 1 function 0 DEC 21152 PCI-PCI rev 0x02
pci3 at ppb2 bus 3
Sun PCIO EBus2 rev 0x01 at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d1, address 
08:00:20:a3:e8:52
nsphy1 at hme1 phy 1: DP83840 10/100 PHY, rev. 1
isp0 at pci3 dev 4 function 0 QLogic ISP1020 rev 0x05: ivec 0x7d0
isp0: invalid NVRAM header
scsibus1 at isp0: 16 targets, initiator 7
ppb3 at pci2 dev 2 function 0 DEC 21152 PCI-PCI rev 0x03
pci4 at ppb3 bus 4
Sun PCIO EBus2 rev 0x01 at pci4 dev 0 function 0 not configured
hme2 at pci4 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d5, address 
08:00:20:ab:02:fd
nsphy2 at hme2 phy 1: DP83840 10/100 PHY, rev. 1
isp1 at pci4 dev 4 function 0 QLogic ISP1020 rev 0x05: ivec 0x7d4
isp1: invalid NVRAM header
scsibus2 at isp1: 16 targets, initiator 7
softraid0 at root
bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
root on wd0a swap on wd0b dump on wd0b



Re: Leaking mbufs

2009-08-26 Thread Bret S. Lambert
On Wed, Aug 26, 2009 at 09:00:17AM -0400, Wade, Daniel wrote:
 My guess would be maradns as the trouble maker.  Other than that it's just 
 base stuff, dhcpd and ntpd are the only extras I have running.  But 
 restarting the processes isn't going to free them up right, it's too late at 
 that point?

Well, the easy way to test that would be to restart and not run maradns on
the machine, and check back after a while. At which point, if that is the
troublemaker, you'd have to start poking into to see what it's doing to
eat up kernel resources like that.

And, yes, you are correct to assume that once an mbuf is leaked, it's too late.



azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
I can't seem to get any sound out of my laptop. I did a fresh
install of a 4.6 snapshot and only added mpg321 to test it 
out. I have acpi disabled because my system won't boot 
otherwise.

$ cat /dev/audio  /dev/zero 
[1] 20665
$ audioctl
play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0
$ audioctl play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0
$ audioctl play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0

trying mpg321 looks like this

Playing MPEG stream from 10 - Rock'n'Roll Lifestyle.mp3 ...
MPEG 1.0 layer I, 96 kbit/s, 44100 Hz stereo
*hit ctrl-c a whole bunch to stop the process
[0:00] Decoding of 10 - Rock'n'Roll Lifestyle.mp3 finished

$ mixerctl -v
record.adc_mute=off  [ off on ]
record.adc=125,125
record.adc2_mute=off  [ off on ]
record.adc2=125,125
record.adc3_mute=off  [ off on ]
record.adc3=125,125
inputs.mix_source=mic,line-in,beep,spkr,line  { mic mic2 line-in beep
spkr line }
inputs.mix_mic=120,120
inputs.mix_mic2=120,120
inputs.mix_line-in=120,120
inputs.mix_beep=120,120
inputs.mix_spkr=120,120
inputs.mix_line=120,120
outputs.mix2=126,126
inputs.mix2_source=dac2,mix  { dac2 mix }
outputs.mix3=126,126
inputs.mix3_source=dac,mix  { dac mix }
outputs.mix4=126,126
inputs.mix4_source=dac3,mix  { dac3 mix }
outputs.mix5=126,126
inputs.mix5_source=dac4,mix  { dac4 mix }
outputs.spkr_source=mix5  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.spkr_mute=off  [ off on ]
inputs.spkr=85,85
outputs.spkr_dir=output  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.spkr_boost=off  [ off on ]
outputs.line_source=mix3  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.line_mute=off  [ off on ]
inputs.line=85,85
outputs.line_dir=output  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line_boost=off  [ off on ]
outputs.spkr2_source=mix9  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.spkr2_mute=off  [ off on ]
outputs.spkr2_dir=output  [ none output input ]
outputs.spkr2_boost=off  [ off on ]
outputs.mic_source=mix2  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.mic_mute=off  [ off on ]
inputs.mic=85,85
outputs.mic_dir=input-vr80  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.mic_boost=off  [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line-in_source=mix4  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.line-in_mute=off  [ off on ]
inputs.line-in=85,85
outputs.line-in_dir=input  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line-in_boost=off  [ off on ]
outputs.SPDIF_source=dig-dac  [ dig-dac ]
record.adc3_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
record.adc2_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
record.adc_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
outputs.mix9=126,126
inputs.mix9_source=dac5,mix  { dac5 mix }
outputs.line_sense=unplugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.spkr2_muters=line,mic,line-in  { line mic line-in }
outputs.master=126,126
outputs.master.mute=off  [ off on ]
outputs.master.slaves=mix3,line,spkr2,mix9  { mix2 mix3 mix4 mix5 spkr
line spkr2 mic mic2 line-in mix9 }
record.volume=125,125
record.volume.mute=off  [ off on ]
record.volume.slaves=adc,adc2,adc3  { adc adc2 adc3 spkr line spkr2 mic
mic2 line-in }
outputs.mode=analog  [ analog digital ]

dmesg

OpenBSD 4.6-current (GENERIC) #99: Mon Aug 10 18:06:39 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3218046976 (3068MB)
avail mem = 3125354496 (2980MB)
User Kernel Config
UKC disable acpi
323 acpi0 disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbff6b000 (23 entries)
bios0: vendor Phoenix version 1.1D-4426-8A20 date 09/23/08
bios0: Everex XT5000T
acpi at bios0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1603.60 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 5 is type PCI
mpbios0: bus 7 is type PCI
mpbios0: bus 8 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured

Re: Use memory as disk

2009-08-26 Thread Stefan Wollny
 -Urspr|ngliche Nachricht-
 Von: obvvbooo obvvbooo obvvb...@googlemail.com
 Gesendet: 21.08.09 14:10:18
 An: misc@openbsd.org
 Betreff: Use memory as disk


 Hi,

 Is there a way to use memory as a disk/partition? Such as mount it to
 /mnt/mem or such things. I can't find information of this in the man pages
 and after googled, I found rd for OpenBSD, which seems similar with md
 in FreeBSD. But still not useful. Anybody help?

 Thanks



Hi,

you might find this one helpful:
http://www.blackant.net/other/docs/howto-full-system-mfs.php
It is from 2002 but as a starting point it should still be usefull.

Regards,
STEFAN



I have the trouble with icpitz2

2009-08-26 Thread Yuri Gorshkov
After booting, on welkome to login I have notice:

acpitz2: TZ5_: failed to read _TMP
acpitz2: TZ5_: failed to read temp

System:
OpenBSD 4.5
Notebook HP 550

Can you help me fix this problem?



Re: I have the trouble with icpitz2

2009-08-26 Thread Miod Vallat
 After booting, on welkome to login I have notice:
 
 acpitz2: TZ5_: failed to read _TMP
 acpitz2: TZ5_: failed to read temp
 
 System:
 OpenBSD 4.5
 Notebook HP 550
 
 Can you help me fix this problem?

No. This behaviour is seen on a few other HP machines and seems to be
completely random - although unplugging the power supply for a few
seconds and plugging it back helps, sometimes.

Miod



Re: Presentation tool

2009-08-26 Thread Aaron W. Hsu
On Wed, 26 Aug 2009 04:17:24 -0400, Lars Nooden lars.cura...@gmail.com  
wrote:



Also, don't underestimate the value of a single, plain HTML page.  It
works very well, too.  The scroll bar shows how far along you are during
the presentation and to publish it on the web, well it's there already.


And actually, Opera has special support for Presentations in HTML mode. If  
you can run Opera, you might find it to be just the thing you want.


http://www.opera.com/browser/tutorials/operashow/index.dml

Aaron W. Hsu

--
Of all tyrannies, a tyranny sincerely exercised for the good of its  
victims may be the most oppressive. -- C. S. Lewis




Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Jacob Meuser
On Wed, Aug 26, 2009 at 09:38:17AM -0500, Peter Miller wrote:
 I can't seem to get any sound out of my laptop. I did a fresh
 install of a 4.6 snapshot and only added mpg321 to test it 
 out. I have acpi disabled because my system won't boot 
 otherwise.
 
 $ cat /dev/audio  /dev/zero 

it should be `cat  /dev/audio  /dev/zero '

anyway, not important.  when there's no sound at all, it's almost
100% certain that the vendor is using the one feature of HDA
that is not discoverable, GPIO.  why do vendors do that?  so dumb.

can you send also `pcidump -x`?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Computer Land: Como cuidar tus pantallas LCD

2009-08-26 Thread Computerland
 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDUUGAkhXVAoKUQAF

 Ofertas
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 Noticias
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XD0UGAkhXVAoKUQAF

 Novedades
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDkUGAkhXVAoKUQAF

 **
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XAUUGAkhXVAoKUQAF
**

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 mas informacion
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 mas informacion
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 mas informacion
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 mas informacion
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XDEUGAkhXVAoKUQAF

 http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9XAUUGAkhXVAoKUQAF

 **GUAYMAS

 Calle 10 No. 145 A

 Col. Centro

 Guaymas, Sonora

 Tel: 01(622) 224-6277**

 **COMPUTERLAND MATRIZ

 Gabriel CastaC1os No. 9

 Col. Arcos Vallarta

 Guadalajara Jalisco

 Tel: 01(33) 3915-**

 **CIUDAD DE MEXICO

 Av. IPN No. 2051 Piso 1

 Col. Linda Vista

 MC)xico, D.F.

 Tel: 01(55) 4334-0344**



center
Para darse de baja de esta lista visite
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9WDUUGAkhXVAoKUQAF

Para actualizar sus preferencias visite
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9WCUUGAkhXVAoKUQAF

Para reenviar esto a un amigo visite
http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9WCEUGAkhXVAoKUQAF

a
href='http://www.computerlandnews.info/lt.php?id=ZR4ADgUNAg9WDEUGAkhXVAoKUQAFPolmtica
De Privacidad/a



/center


--
Powered by Wadil Works, www.wadilworks.com --



Re: Use memory as disk

2009-08-26 Thread Otto Moerbeek
On Wed, Aug 26, 2009 at 04:47:40PM +0200, Stefan Wollny wrote:

  -Urspr|ngliche Nachricht-
  Von: obvvbooo obvvbooo obvvb...@googlemail.com
  Gesendet: 21.08.09 14:10:18
  An: misc@openbsd.org
  Betreff: Use memory as disk
 
 
  Hi,
 
  Is there a way to use memory as a disk/partition? Such as mount it to
  /mnt/mem or such things. I can't find information of this in the man pages
  and after googled, I found rd for OpenBSD, which seems similar with md
  in FreeBSD. But still not useful. Anybody help?
 
  Thanks
 
 
 
 Hi,
 
 you might find this one helpful:
 http://www.blackant.net/other/docs/howto-full-system-mfs.php
 It is from 2002 but as a starting point it should still be usefull.

Why have a complex answer to a simple question? The OP just asked how
to use a ramdisk, not for an exercise in making a complex system setup.

-Otto



Re: Use memory as disk

2009-08-26 Thread Stefan Wollny
 -Urspr|ngliche Nachricht-
 Von: Otto Moerbeek o...@drijf.net
 Gesendet: 26.08.09 20:03:50
 An: Stefan Wollny ste...@wollny.de
 CC: misc@openbsd.org, obvvbooo obvvbooo obvvb...@googlemail.com
 Betreff: Re: Use memory as disk


 On Wed, Aug 26, 2009 at 04:47:40PM +0200, Stefan Wollny wrote:

   -Urspr|ngliche Nachricht-
   Von: obvvbooo obvvbooo obvvb...@googlemail.com
   Gesendet: 21.08.09 14:10:18
   An: misc@openbsd.org
   Betreff: Use memory as disk
 
 
   Hi,
  
   Is there a way to use memory as a disk/partition? Such as mount it to
   /mnt/mem or such things. I can't find information of this in the man
pages
   and after googled, I found rd for OpenBSD, which seems similar with
md
   in FreeBSD. But still not useful. Anybody help?
  
   Thanks
  
  
 
  Hi,
 
  you might find this one helpful:
  http://www.blackant.net/other/docs/howto-full-system-mfs.php
  It is from 2002 but as a starting point it should still be usefull.

 Why have a complex answer to a simple question? The OP just asked how
 to use a ramdisk, not for an exercise in making a complex system setup.

   -Otto


Admitted - I thought in the context of the question it might be of educational
use.

STEFAN



Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Jacob Meuser
On Wed, Aug 26, 2009 at 04:59:16PM +, Jacob Meuser wrote:
 On Wed, Aug 26, 2009 at 09:38:17AM -0500, Peter Miller wrote:
  I can't seem to get any sound out of my laptop. I did a fresh
  install of a 4.6 snapshot and only added mpg321 to test it 
  out. I have acpi disabled because my system won't boot 
  otherwise.
  
  $ cat /dev/audio  /dev/zero 
 
 it should be `cat  /dev/audio  /dev/zero '
 
 anyway, not important.

oh, I see.  the missing '' must have been a typo.

strange.  it seems like interrupts/dma aren't working for the audio
device, at all.

can you apply the following diff, do `cat  /dev/audio  /dev/zero',
and send me the messages?  thanks.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: audio.c
===
RCS file: /cvs/src/sys/dev/audio.c,v
retrieving revision 1.104
diff -u -p audio.c
--- audio.c 18 Jun 2009 22:55:56 -  1.104
+++ audio.c 26 Aug 2009 19:43:36 -
@@ -89,10 +89,11 @@
 
 #include wskbd.h /* NWSKBD (mixer tuning using keyboard) */
 
+#define AUDIO_DEBUG
 #ifdef AUDIO_DEBUG
 #define DPRINTF(x) if (audiodebug) printf x
 #define DPRINTFN(n,x)  if (audiodebug(n)) printf x
-intaudiodebug = 0;
+intaudiodebug = 2;
 #else
 #define DPRINTF(x)
 #define DPRINTFN(n,x)
Index: pci/azalia.c
===
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.143
diff -u -p pci/azalia.c
--- pci/azalia.c13 Aug 2009 23:59:15 -  1.143
+++ pci/azalia.c26 Aug 2009 19:43:37 -
@@ -78,7 +78,7 @@ struct audio_format {
 
 #ifdef AZALIA_DEBUG
 # define DPRINTFN(n,x) do { if (az_debug  (n)) printf x; } while 
(0/*CONSTCOND*/)
-int az_debug = 0;
+int az_debug = 2;
 #else
 # define DPRINTFN(n,x) do {} while (0/*CONSTCOND*/)
 #endif
Index: pci/azalia.h
===
RCS file: /cvs/src/sys/dev/pci/azalia.h,v
retrieving revision 1.52
diff -u -p pci/azalia.h
--- pci/azalia.h9 Jun 2009 05:16:42 -   1.52
+++ pci/azalia.h26 Aug 2009 19:43:37 -
@@ -534,7 +534,7 @@ typedef struct {
 } __packed rirb_entry_t;
 
 
-/* #define AZALIA_DEBUG */
+#define AZALIA_DEBUG
 #ifdef AZALIA_DEBUG
 # define DPRINTF(x)do { printf x; } while (0/*CONSTCOND*/)
 #else



Fique a conhecer os Gadgets mais interessantes desta semana!

2009-08-26 Thread Loja21 - Os gadgets mais incríveis!
caso nco visualize correctamente este e-mail, clique aqui










Consulte aqui outros Summer Products a
PREGOS FANTASTICOS:












Encomende ja online, por telefone ou por e-mail

www.loja21.pt|214 151 492   |ap...@loja21.pt

Morada: Rua Professor Reinaldo dos Santos, N:13, 9:Esq.
1500-501 Lisboa.
Horario: 2* a 6* feira das 10h00 `s 19h00.

Este e-mail promocional foi enviado para o enderego misc@openbsd.org

Caso nco deseje voltar a receber a nossa newsletter, por favor clique aqui.



Re: Spamd PF milter-spamd

2009-08-26 Thread Duncan Patton a Campbell
On Wed, 26 Aug 2009 15:34:17 +0200
Iqigo Ortiz de Urbina tarom...@gmail.com wrote:

 On Wed, Aug 26, 2009 at 2:48 PM, Duncan Patton a Campbell 
 campb...@neotext.ca wrote:

  Howdy List?
 
  I'm trying to setup spamd on a sparc and wondering
  about using PF or the milter redirect mechanism.
 
  Are there any instruction on using these with sendmail
  past the man pages?  I've set up spamd but am clearly
  missing something as there's been no abatement of
  crap in my mailboxes ... also I'm getting an error
  (faaakk sorry about the truncation)
  spamlogd: Failed to initialize: pflog0: Device not configured
  in /var/log/messages .
 
  Any pointers would be appreciated...
 
  Thanks,
 
  Dhu
 
  PS, FWIW, here's my dmesg:
 
  console is keyboard/display
  Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
  Copyright (c) 1995-2009 OpenBSD. All rights reserved.
  http://www.OpenBSD.org
 
  OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009
 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
  real mem = 536870912 (512MB)
  avail mem = 507494400 (483MB)
  mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
  cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 270 MHz
  cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external
  (64 b/l)
  psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign
7c0
  psycho0: bus range 0-4, PCI bus 0
  psycho0: dvma map c000-dfff
  pci0 at psycho0
  ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
  pci1 at ppb0 bus 1
  ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
  auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
  72c000-72c003, 72f000-72f003
  power0 at ebus0 addr 724000-724003 ivec 0x25
  SUNW,pll at ebus0 addr 504000-504002 not configured
  sab0 at ebus0 addr 40-40007f ivec 0x2b: rev 3.2
  sabtty0 at sab0 port 0
  sabtty1 at sab0 port 1
  comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 34
  wskbd0 at comkbd0: console keyboard
  com0 at ebus0 addr 3062f8-3062ff ivec 0x2a: mouse: ns16550a, 16 byte fifo
  lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ivec 0x22:
  polled
  fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ivec
  0x27 not configured
  clock1 at ebus0 addr 0-1fff: mk48t59
  flashprom at ebus0 addr 0-f not configured
  audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f,
  722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
  audio0 at audioce0
  hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address
  08:00:20:a2:f6:94
  nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
  vgafb0 at pci1 dev 2 function 0 ATI Mach64 rev 0x5c
  wsdisplay0 at vgafb0 mux 1: console (std, sun emulation), using wskbd0
  pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA,
  channel 0 configured to native-PCI, channel 1 configured to native-PCI
  pciide0: using ivec 0x7e0 for native-PCI interrupt
  wd0 at pciide0 channel 0 drive 0: WDC AC28400R
  wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
  wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
  atapiscsi0 at pciide0 channel 1 drive 0
  scsibus0 at atapiscsi0: 2 targets
  cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.03 ATAPI 5/cdrom
  removable
  cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
  ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
  pci2 at ppb1 bus 2
  ppb2 at pci2 dev 1 function 0 DEC 21152 PCI-PCI rev 0x02
  pci3 at ppb2 bus 3
  Sun PCIO EBus2 rev 0x01 at pci3 dev 0 function 0 not configured
  hme1 at pci3 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d1, address
  08:00:20:a3:e8:52
  nsphy1 at hme1 phy 1: DP83840 10/100 PHY, rev. 1
  isp0 at pci3 dev 4 function 0 QLogic ISP1020 rev 0x05: ivec 0x7d0
  isp0: invalid NVRAM header
  scsibus1 at isp0: 16 targets, initiator 7
  ppb3 at pci2 dev 2 function 0 DEC 21152 PCI-PCI rev 0x03
  pci4 at ppb3 bus 4
  Sun PCIO EBus2 rev 0x01 at pci4 dev 0 function 0 not configured
  hme2 at pci4 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d5, address
  08:00:20:ab:02:fd
  nsphy2 at hme2 phy 1: DP83840 10/100 PHY, rev. 1
  isp1 at pci4 dev 4 function 0 QLogic ISP1020 rev 0x05: ivec 0x7d4
  isp1: invalid NVRAM header
  scsibus2 at isp1: 16 targets, initiator 7
  softraid0 at root
  bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
  root on wd0a swap on wd0b dump on wd0b
 
  Just wondering if you created pflog0 with /etc/hostname.pflog0 or
ifconfig
 pflog0 up?

 Trying to help and spot the obvious :)


Hi.  I don't have such device on the sparc64:

ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33160
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
hme0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 08:00:20:a2:f6:94
priority: 0
groups: 

Re: Spamd PF milter-spamd

2009-08-26 Thread Stuart Henderson
On 2009-08-26, Duncan Patton a Campbell campb...@neotext.ca wrote:
  OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009

 Hi.  I don't have such device on the sparc64:

pflog0 is automatically created when pf is enabled since /etc/rc r1.310
(OpenBSD 4.3).

either you didn't have pf enabled at last boot - in which case enabling
it, as you need for spamd anyway, and rebooting, will fix it - or you have
an old /etc/rc from an incomplete upgrade (missing etc45.tgz).



Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
On Wed, 2009-08-26 at 19:46 +, Jacob Meuser wrote:
 On Wed, Aug 26, 2009 at 04:59:16PM +, Jacob Meuser wrote:
  On Wed, Aug 26, 2009 at 09:38:17AM -0500, Peter Miller wrote:
   I can't seem to get any sound out of my laptop. I did a fresh
   install of a 4.6 snapshot and only added mpg321 to test it 
   out. I have acpi disabled because my system won't boot 
   otherwise.
   
   $ cat /dev/audio  /dev/zero 
  
  it should be `cat  /dev/audio  /dev/zero '
  
  anyway, not important.
 
 oh, I see.  the missing '' must have been a typo.
 
 strange.  it seems like interrupts/dma aren't working for the audio
 device, at all.
 
 can you apply the following diff, do `cat  /dev/audio  /dev/zero',
 and send me the messages?  thanks.

Well it may have been a typo...I was copying it between machines. So
I ran it again and this time I got some output at least.

# cat  /dev/audio  /dev/zero 
[1] 21926
# audioctl play.{seek,samples,errors} 
play.seek=57600
play.samples=0
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=48000
play.samples=9600
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=48000
play.samples=9600
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=57600
play.samples=19200
play.errors=0

I'm gonna work on applying the patch. In the mean time
here are the results of pcidump -x

Domain /dev/pci0:
0:0:0: NVIDIA C51 Host
0x: 02f710de 00b6 05a2 0080
0x0010:    
0x0020:    
0x0030:  0044  
0:0:1: NVIDIA C51 Memory
0x: 02fa10de 00200100 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:2: NVIDIA C51 Memory
0x: 02fe10de 0020 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:3: NVIDIA C51 Memory
0x: 02f810de 00a0 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:4: NVIDIA C51 Memory
0x: 02f910de 00a6 05a2 
0x0010:    
0x0020:    1509
0x0030:    
0:0:5: NVIDIA C51 Memory
0x: 02ff10de 00b6 05a2 0080
0x0010:    
0x0020:    1509
0x0030:  0044  
0:0:6: NVIDIA C51 Memory
0x: 027f10de 00200100 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:7: NVIDIA C51 Memory
0x: 027e10de 0020 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:2:0: NVIDIA C51 PCIE
0x: 02fc10de 00100107 060400a1 00010010
0x0010:   00010100 4141
0x0020: c030c020 c331c321  
0x0030:  0040  000400ff
0:3:0: NVIDIA C51 PCIE
0x: 02fd10de 00100107 060400a1 00010010
0x0010:   00030300 21f1
0x0020: c040c040 0001fff1  
0x0030:  0040  000400ff
0:4:0: NVIDIA C51 PCIE
0x: 02fb10de 00100107 060400a1 00010010
0x0010:   00050500 5151
0x0020: c2f0c100 dff1d001  
0x0030:  0040  000c00ff
0:9:0: NVIDIA MCP51 Host
0x: 027010de 00b6 05a2 
0x0010:    
0x0020:    1509
0x0030:  0044  
0:10:0: NVIDIA MCP51 ISA
0x: 026010de 00af 060100a3 0080
0x0010:    
0x0020:    cb8410de
0x0030:    
0:10:1: NVIDIA MCP51 SMBus
0x: 026410de 00b1 0c0500a3 0080
0x0010:    
0x0020: 3041 3001  1509
0x0030:  0044  010a
0:10:3: NVIDIA MCP51 PMU
0x: 027110de 00a6 0b4000a3 0080
0x0010: c004   
0x0020:    1509
0x0030:    0103020a
0:11:0: NVIDIA MCP51 USB
0x: 026d10de 00b7 0c0310a3 0080
0x0010: c0004000   
0x0020:    cb8410de
0x0030:  0044  0103010b
0:11:1: NVIDIA MCP51 USB
0x: 026e10de 00b6 0c0320a3 0080
0x0010: c0005000   
0x0020:    cb8410de
0x0030:  0044  01030205
0:13:0: NVIDIA MCP51 IDE
0x: 026510de 00b5 01018af1 
0x0010:    
0x0020: 3081   2a901509
0x0030:  0044  0103
0:14:0: NVIDIA MCP51 

Re: How to add new non-continuous A6 partition after install

2009-08-26 Thread Bruce Bauer
Have you read the relevant portion of the FAQ?

http://openbsd.org/faq/faq14.html#NewDisk

--- obvvb...@googlemail.com wrote:

From: obvvbooo obvvbooo obvvb...@googlemail.com
To: OpenBSD Misc misc@openbsd.org
Subject: How to add new non-continuous A6 partition after install
Date: Wed, 26 Aug 2009 14:22:50 +0800

Hi,
For kinds of reasons, my disk is partitionized like this:

1st partition is for Windows system(Primary)
2nd is for OpenBSD(Primary)
3rd is Windows extended partition(Extended)
4th is originally not used, now I created a new one and mark it as
A6.(Primary)

Question is after I created the 4th partition, I can get the partition
information using fdisk, but can't see anything using disklabel. How do I
use the 4th partition? Will it be helpful if I just reformat it to fat32 or
ext3?

Anybody help? Thanks.



Re: Wireless USB Adaptor

2009-08-26 Thread Daniel Bolgheroni
On Tue, 25 Aug 2009, Brad Tilley wrote:

  Maybe it's worth to see this presentation:
 
  http://www.openbsd.org/papers/brhard2007/
 
 I definitely agree with OpenBSD's uncompromising stance on this. I'll
 take quality code from sensible devs over binary blobs any day. I
 admire folks who stand-up for what is right. That's one reason I
 choose OpenBSD over other free operating systems.
 
 At the same time, I unfortunately have to help Joe User. Occasionally
 I'm being paid to help Joe User. So I have to suffer fools when that
 is the case ;) and I'm a nice guy who likes to accommodate, but
 attempt to educate at the same time. RTFM does not work on most Joe
 Users and they often go away from that sort of conversation thinking
 OpenBSD is for jerks (although it is not) and I do not wish to add to
 that misconception. So, I was hoping to come-up with some informal
 rules to help bridge the gap between us and them.
 
 Thanks for all the advice. I'll keep suffering fools for now.

Seriously, I think it'll make your life a lot easier if you instruct the 
Joe User to buy hardware 100% supported by OpenBSD than to trying to 
support these black boxes sold anywhere.

OpenBSD for a long time was doing a HUGE job trying to convince 
manufacturers how bad is for everyone to have hardware with closed 
documentation. Don't support them.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: How to add new non-continuous A6 partition after install

2009-08-26 Thread Nick Holland
obvvbooo obvvbooo wrote:
 Hi,
 For kinds of reasons, my disk is partitionized like this:
 
 1st partition is for Windows system(Primary)
 2nd is for OpenBSD(Primary)
 3rd is Windows extended partition(Extended)
 4th is originally not used, now I created a new one and mark it as
 A6.(Primary)
 
 Question is after I created the 4th partition, I can get the partition
 information using fdisk, but can't see anything using disklabel. How do I
 use the 4th partition? Will it be helpful if I just reformat it to fat32 or
 ext3?

this really isn't a supported config.  You aren't supposed to have more
than one A6 partition on a disk.  It can probably be made to work, and
it may present you with no problems, but IF SOMEDAY an upgrade or some
other event developers didn't develop for causes your data to go bye-bye,
remember, you were warned.

Using the 'b' option of disklabel will probably let you redefine the
OpenBSD boundaries to include the entire disk.  You can now manually
define a disklabel partition that starts and ends completely within your
new partition.  Disklabel won't give you a lot of help here, you will
probably have to do some math, and it may involve more digits than your
desktop calculator supports (find a fourth grader).

Nick.
(old enough to remember when eight digits was enough for anything,
though if so, why do 90 year old Comptometers sporting ten digit
addends and 11 digit results, and 80 year old Monroe calculators
that could multiply eight digits by eight digits and NOT overflow?)



Re: How to add new non-continuous A6 partition after install

2009-08-26 Thread Rod Whitworth
On Wed, 26 Aug 2009 19:45:38 -0400, Nick Holland wrote:

 Disklabel won't give you a lot of help here, you will
probably have to do some math, and it may involve more digits than your
desktop calculator supports (find a fourth grader).

Nick.
(old enough to remember when eight digits was enough for anything,
though if so, why do 90 year old Comptometers sporting ten digit
addends and 11 digit results, and 80 year old Monroe calculators
that could multiply eight digits by eight digits and NOT overflow?)

Wolfram Alpha (http://www.wolframalpha.com/) does 29 digit math for me.
I didn't try to push the boundaries beyond what I use.

Wait a min  
Input: 2^128 ... 
Result: 340 282 366 920 938 463 463 374 607 431 768 211 456
 Digits: 39!
;-)

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



8 va. Promoción “Distancia” del Curso de Postgrado de Alta Dirección en Turismo Rural

2009-08-26 Thread Area de Turismo Rural
FACULTAD DE AGRONOMIA

Universidad de Buenos Aires
AREA DE TURISMO RURAL

8 va. Promocisn Distancia del Curso de Postgrado de Alta Direccisn en
Turismo Rural



 Ultimas semanas de Inscripcisn para el  CURSO MODALIDAD DISTANCIA de
Turismo Rural que inicia en Septiembre del 2009.



OBJETIVO

Se espera que el alumno esti capacitado para diseqar e implementar un
Plan de Negocios o un Plan Estratigico destinado a poner en marcha una
inversisn privada o un proyecto institucional de Turismo Rural,
utilizando estrategias que permitan generar ventajas competitivas en la
empresa y en el territorio.

DIRIGIDO A:

Jsvenes emprendedores, mujeres empresarias que quieran desempeqarse en el
ambito rural, lmderes de Pueblos Rurales que buscan desarrollar su
comunidad, interesados en el armado de rutas alimentarias, circuitos
turmsticos, profesionales y directivos vinculados a organizaciones,
empresas e instituciones del sector agropecuario y turmstico,
funcionarios nacionales, provinciales y municipales del area econsmica,
agropecuaria y turmstica y docentes y capacitadotes, entre otros 

DURACION Y MODALIDAD

7 Meses de cursada mntegramente a travis de Internet con tutores a cargo.

Cuenta con mas de 240 egresados en esta modalidad de los siguientes
pamses: Alemania, Argentina, Bolivia, Brasil, Chile, Colombia, Cuba,
Ecuador, El Salvador, Espaqa, Guatemala, Honduras, Mixico, Nicaragua,
Panama, Perz, Portugal, Puerto Rico, Reino Unido, Uruguay, Venezuela.

A travis de este curso el alumno logra armar su proyecto, obtiene un
reconocimiento acadimico y realiza contactos de negocios.

En nuestra pagina web encontrara un video informativo acerca del Curso
http://www.agro.uba.ar/catedras/turismo/presentacion.htm

Para mayor informacisn complete los siguientes datos y reenvmelos a
campo...@agro.uba.ar

Nombre y Apellido:
E-mail 1:
E-mail 2:
Telifono particular y csdigo de area:
Telifono laboral y csdigo de area:
Telifono celular y csdigo de area:
Profesisn:
Ocupacisn:
Entidad:
Ciudad:
Provincia/Estado:
Pams:

Lo saluda cordialmente,

Area de Turismo Rural
Facultad de Agronomma
Universidad de Buenos Aires
campo...@agro.uba.ar

Tel/Fax: 00 54 11 4523-9700
Pabellsn de Agronegocios
Av. San Martmn 4453
Ciudad Autsnoma de Buenos Aires
Argentina



Re: Spamd PF milter-spamd

2009-08-26 Thread Duncan Patton a Campbell
On Wed, 26 Aug 2009 22:43:34 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:

 On 2009-08-26, Duncan Patton a Campbell campb...@neotext.ca wrote:
   OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009
 
  Hi.  I don't have such device on the sparc64:
 
 pflog0 is automatically created when pf is enabled since /etc/rc r1.310
 (OpenBSD 4.3).
 
 either you didn't have pf enabled at last boot - in which case enabling
 it, as you need for spamd anyway, and rebooting, will fix it - or you have
 an old /etc/rc from an incomplete upgrade (missing etc45.tgz).
 

Yes.  Another case of RTFM, I'm afraid.  Things didn't work until the reboot.
Seems OK now.  

Thanks,

Dhu



encryption

2009-08-26 Thread My List Mail
Been waiting for a while to see some current encryption added to
openbsd. Surprised it has not been already, and frankly find it weak
that the 'worlds most secure OS' does not have current encryption. Why
is this?

I use vnconfig for encryption, which uses Blowfish. Blowfish is old,
early 1990's. 64-bit block size. I realize there is no known
cryptanalysis of it out in the public domain. But I would feel safer
using AES (Rijndael), Serpent, or Twofish. Something with a 128-bit
block size (and 256-bit key). Something that is recommended and in use
as a current standard. Even Bruce Schneier, blowfish's creator has
recommended that a stronger cipher be used.

At this point, though, I'm amazed it's still being used. If people
ask, I recommend Twofish instead.
from
http://www.computerworld.com.au/article/46254/bruce_almighty_schneier_preaches_security_linux_faithful?pp=1fp=4194304fpid=1
on page 3 of article

He also recently blogged about some attacks on AES, although none are
effective against all 14 rounds

What cipher is used to protect confidential information on the SECRET
and TOP SECRET levels? Its not blowfish, its AES-256.

I love OpenBSD, been using it since 3.3. Bought my 3.6 CD set and a
few t-shirts to support the project (Was surprised to read recently
that t-shirts do not directly support the project. Something else that
needs to be fixed. I know I'll buy more t-shirts, but CD sets are
doubtful) Tried to donate some old mac ppc hardware to support the
project, but never got a response from developers. I want to continue
using it and supporting it. But the operating system that is so
focused on security needs some cipher updates. Options for people to
choose from, not just old blowfish.

I am writing this because i am torn. On one end, the OS I love, am
familiar with, and includes so many great security features, by
default. On the other end, is this concern about encryption and
openbsd's lack of it. I am considering using any linux flavor, because
they all support AES(Rijndael) as well as the the most popular
finalists for AES, like Serpent and Twofish. I want to use OpenBSD,
but need to use the AES cipher. I do not feel safe with just blowfish.
Blowfish just does not 'cut it'

Please update the OS to include these new encryption standards.

If someone can explain why openbsd still only uses blowfish, after all
this time, that would be helpful too. If this is the case, it is time
for me to look for a secure operating system. Something with ciphers
that are current, relevant, and still recommended for use

J-BSD



Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
  can you apply the following diff, do `cat  /dev/audio  /dev/zero',
  and send me the messages?  thanks.

I must have messed something up. The third file looks like it was
patched, but not the others. I'm new to patching, so I appreciate any
help.

I got the source tree
cd /usr
cvs -qd anon...@anoncvs3.usa.openbsd.org:/cvs get -P src

then applied the patch from /usr/src
I had tried -p3 (which looked right) and -p2 and both times was asked
for the file to patch so I switched to -p0 for the heck of it and did.

# patch -p0  audio.patch  
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: audio.c
|===
|RCS file: /cvs/src/sys/dev/audio.c,v
|retrieving revision 1.104
|diff -u -p audio.c
|--- audio.c 18 Jun 2009 22:55:56 -  1.104
|+++ audio.c 26 Aug 2009 19:43:36 -
--
File to patch: /usr/src/sys/dev/audio.c
Patching file /usr/src/sys/dev/audio.c using Plan A...
Hunk #1 failed at 89.
1 out of 1 hunks failed--saving rejects to /usr/src/sys/dev/audio.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.c
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.c,v
|retrieving revision 1.143
|diff -u -p pci/azalia.c
|--- pci/azalia.c13 Aug 2009 23:59:15 -  1.143
|+++ pci/azalia.c26 Aug 2009 19:43:37 -
--
File to patch: /usr/src/sys/dev/pci/azalia.c
Patching file /usr/src/sys/dev/pci/azalia.c using Plan A...
Hunk #1 failed at 78.
1 out of 1 hunks failed--saving rejects
to /usr/src/sys/dev/pci/azalia.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.h
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.h,v
|retrieving revision 1.52
|diff -u -p pci/azalia.h
|--- pci/azalia.h9 Jun 2009 05:16:42 -   1.52
|+++ pci/azalia.h26 Aug 2009 19:43:37 -
--
File to patch: /usr/src/sys/dev/pci/azalia.h
Patching file /usr/src/sys/dev/pci/azalia.h using Plan A...
Hunk #1 succeeded at 534 with fuzz 2.
done

--
Later
Peter



Re: encryption

2009-08-26 Thread Brad Tilley
On Wed, Aug 26, 2009 at 9:46 PM, My List Mailemaillistem...@gmail.com wrote:

 What cipher is used to protect confidential information on the SECRET
 and TOP SECRET levels? Its not blowfish, its AES-256.

I've done IT Security work with financial institutions (banks) and
you'd be surprised how many still use DES for backward compatibility
reasons. They still have mainframes. They keep old, grey-haired guys
at Unisys busy. Here's a simple example for you... both RSA and Vasco
are big players in financial IT systems... they both do lots of DES in
their products. See these links:

http://www.rsa.com/products/bsafe/documentation/cryptocme171html/group__DESTESTS.html
http://vasco.com/products/digipass/digipass_go_range/digipass_go6.aspx

So, next time you roll-up to the ATM to grab a few hundreds while on
your way to Walmart to purchase Windows 7, perhaps you should take
some time to berate the ATM about its crypto algos.

Brad



Re: encryption

2009-08-26 Thread 4625

On Wed, 26 Aug 2009, My List Mail wrote:


early 1990's. 64-bit block size. I realize there is no known
cryptanalysis of it out in the public domain. But I would feel safer

This is why I satisfied with blowfish.

--
4625



Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
 On Wed, Aug 26, 2009 at 09:06:17PM -0500, Peter Miller wrote:
can you apply the following diff, do `cat  /dev/audio  /dev/zero',
and send me the messages?  thanks.
  
  I must have messed something up. The third file looks like it was
  patched, but not the others. I'm new to patching, so I appreciate any
  help.
  
  I got the source tree
  cd /usr
  cvs -qd anon...@anoncvs3.usa.openbsd.org:/cvs get -P src
  
  then applied the patch from /usr/src
  I had tried -p3 (which looked right) and -p2 and both times was asked
  for the file to patch so I switched to -p0 for the heck of it and did.
 
 I think your understanding of -p is reversed ;)
 
 cd /usr/src/sys/dev
 patch -p 0  audio.patch
 
 but you should probably do this first:
 
 cd /usr/src/sys/dev
 rm audio.c pci/azalia.{c,h}
 cvs -q up audio.c pci/azalia.{c,h}
 
 to make sure those files are clean

I got the same result with a clean set of files.

# patch -p 0  audio.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: audio.c
|===
|RCS file: /cvs/src/sys/dev/audio.c,v
|retrieving revision 1.104
|diff -u -p audio.c
|--- audio.c 18 Jun 2009 22:55:56 -  1.104
|+++ audio.c 26 Aug 2009 19:43:36 -
--
Patching file audio.c using Plan A...
Hunk #1 failed at 89.
1 out of 1 hunks failed--saving rejects to audio.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.c
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.c,v
|retrieving revision 1.143
|diff -u -p pci/azalia.c
|--- pci/azalia.c13 Aug 2009 23:59:15 -  1.143
|+++ pci/azalia.c26 Aug 2009 19:43:37 -
--
Patching file pci/azalia.c using Plan A...
Hunk #1 failed at 78.
1 out of 1 hunks failed--saving rejects to pci/azalia.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.h
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.h,v
|retrieving revision 1.52
|diff -u -p pci/azalia.h
|--- pci/azalia.h9 Jun 2009 05:16:42 -   1.52
|+++ pci/azalia.h26 Aug 2009 19:43:37 -
--
Patching file pci/azalia.h using Plan A...
Hunk #1 succeeded at 534 with fuzz 2.
done



Re: encryption

2009-08-26 Thread Jacob Yocom-Piatt

somebody wrote: blah blah blah

do your homework



Re: encryption

2009-08-26 Thread Damien Miller
On Wed, 26 Aug 2009, My List Mail wrote:

 Been waiting for a while to see some current encryption added to
 openbsd. [...]

I realise that I'm probably replying to a troll, but on the small chance
that you are actually serious: please spend some of the effort you put in
to ranting into reading the release notes and/or manual pages. You might
find yourself pleasantly surprised.

-d