Re: 'ő' character doesn't get displayed in ls(1) output with UTF-8 locale

2011-08-15 Thread LEVAI Daniel
On Fri, Aug 12, 2011 at 21:48:48 +0400, Alexander Polakov wrote:
 2011/8/12, LEVAI Daniel l...@ecentrum.hu:
  Hi!
 
  I'm using -current, and running X with LC_CTYPE=hu_HU.UTF-8.
  I noticed that ls(1) won't display this one character (there are maybe
  more, I only noticed this one): 'E ' (nor its capitalized version: 'E ').
 
 ls doesn't support multibyte characters yet, try this:
 http://kerneltrap.org/mailarchive/openbsd-tech/2011/1/4/6887598

This works perfectly, thank You!


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



match queue ignored

2011-08-15 Thread william dunand
Greetings,

I tried setting up the following into pf.conf on both 4.9 and latest snapshot:

altq on $ext_if priq queue {q1, q2}
queue q1 priority 1 priq(default)
queue q2 priority 2
pass all queue q1
match all queue q2

And I see nothing going into q2.
Is this the expected behavior?

Thanks for your time.
William



OpenBSD 5.0 (GENERIC) #51: Mon Aug  8 14:51:10 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 267321344 (254MB)
avail mem = 246370304 (234MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (5 entries)
bios0: vendor innotek GmbH version VirtualBox date 12/01/2006
bios0: innotek GmbH VirtualBox
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz, 1976.26 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,MWAIT,SSSE3,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT0 not present
acpiac0 at acpi0: AC unit online
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: VBOX HARDDISK
wd0: 128-sector PIO, LBA, 2048MB, 4194304 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
vga1 at pci0 dev 2 function 0 InnoTek VirtualBox Graphics Adapter rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 Intel PRO/1000MT (82540EM) rev 0x02:
apic 1 int 19, address 08:00:27:e6:6a:e9
InnoTek VirtualBox Guest Service rev 0x00 at pci0 dev 4 function 0
not configured
piixpm0 at pci0 dev 7 function 0 Intel 82371AB Power rev 0x08: SMBus disabled
isa0 at pcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: CPU supports MTRRs but not enabled
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (599187112325ad92.a) swap on wd0b dump on wd0b



Re: SSH VPN without root login?

2011-08-15 Thread Graeme Neilson
Pretty sure if you change the owner / group of the tap or tun device
you are using to the user you want to bring up the tunnel you can
avoid root.

G

On Fri, Aug 12, 2011 at 5:40 AM, Michael W. Lucas
mwlu...@blackhelicopters.org wrote:
 Hi,

 I'm trying to get a SSH VPN working between a 4.9 i386 and a recent
 5.0 amd64 snapshot (with the MP#49 kernel).

 The tunnel works fine if I SSH in as root. My guts really protest at
 enabling remote root logins, however. Yes, I can limit the access with
 a Match statement.

 Surely I can change some device permissions, or use sudo, to permit a
 particular otherwise-unprivileged user to bring up this VPN?  Any
 suggestions on where to look for that? I've tried several Internet
 searches, but found nothing.

 Thanks,
 ==ml

 --
 Michael W. Lucas
 http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
 Latest book: Network Flow Analysis http://www.networkflowanalysis.com/
 mwlu...@blackhelicopters.org, Twitter @mwlauthor



Slow speed of USB flash disk on Dell E6320 with current

2011-08-15 Thread Tomas Bodzar
Hi all,

I'm getting slow speed with USB flash disk mentioned below. It's on
new laptop, but same issue was on previous Dell workstation. It's
running mostly around 6MB/s or less regarding info from systat. In
this case xfe (see top -CST -s 10 output) was used, but it's same
either in console or X. On Linux/Windows  it's running around 20MB/s
during copy/write of same files. Unplug is possible to do immediately
so probably not so much cache in use on those systems (didn't not
check deeply in fact).

Is there something what can I try/check/modify to see better speed?

Thanks a lot

$ grep cache /etc/sysctl.conf
kern.bufcachepercent=70
$


umass0 at uhub5 port 2 configuration 1 interface 0 Kingston DT 100
G2 rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0: Kingston, DT 100 G2, PMAP SCSI0
0/direct removable serial.09511653BB31070B0152
sd1: 7534MB, 512 bytes/sector, 15430464 sectors

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, product
0x0024(0x0024), Intel(0x8087), rev 0.00
  port 1 addr 3: high speed, self powered, config 1, product
0x2513(0x2513), Dell(0x413c), rev a0.05
   port 1 addr 4: low speed, power 98 mA, config 1, DELL USB Laser
Mouse(0xc063), DELL(0x046d), rev 57.00
   port 2 powered
   port 3 addr 5: full speed, power 100 mA, config 1, Dell Smart Card
Reader Keyboard(0x2101), Dell(0x413c), rev 1.00
  port 2 addr 6: high speed, self powered, config 1, product
0x2513(0x2513), Dell(0x413c), rev a0.05
   port 1 powered
   port 2 addr 7: full speed, power 100 mA, config 1, GN 2000 USB
OC(0x2004), JABRA(0x0b0e), rev 2.00
   port 3 powered
  port 3 powered
  port 4 powered
  port 5 addr 8: high speed, power 500 mA, config 1,
Laptop_Integrated_Webcam_HD(0x2980), 001E9073559E-B416-15151F(0x1bcf),
rev c.17
  port 6 powered
 port 2 powered
 port 3 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, product
0x0024(0x0024), Intel(0x8087), rev 0.00
  port 1 powered
  port 2 addr 4: high speed, power 200 mA, config 1, DT 100
G2(0x1653), Kingston(0x0951), rev 1.00, iSerialNumber S/N
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 powered
  port 7 powered
  port 8 addr 3: full speed, power 100 mA, unconfigured, 5880(0x5800),
Broadcom Corp(0x0a5c), rev 1.01, iSerialNumber S/N
 port 2 powered
 port 3 powered
$

$ usbstats
Controller /dev/usb0:
   216 control
 0 isochronous
 0 bulk
 67836 interrupt
Controller /dev/usb1:
   138 control
 0 isochronous
   2060244 bulk
 3 interrupt
$


$ sudo usbctl -f /dev/usb1 -a 4
DEVICE addr 4
DEVICE descriptor:
bLength=18 bDescriptorType=device(1) bcdUSB=2.00 bDeviceClass=0
bDeviceSubClass=0
bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x0951 idProduct=0x1653
bcdDevice=100
iManufacturer=1(Kingston) iProduct=2(DT 100 G2) iSerialNumber=3(S/N)
bNumConfigurations=1

CONFIGURATION descriptor 0:
bLength=9 bDescriptorType=config(2) wTotalLength=32 bNumInterface=1
bConfigurationValue=1 iConfiguration=0() bmAttributes=80 bMaxPower=200 mA

INTERFACE descriptor 0:
bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0
bNumEndpoints=2 bInterfaceClass=8 bInterfaceSubClass=6
bInterfaceProtocol=80 iInterface=0()

ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in
bmAttributes=bulk wMaxPacketSize=512 bInterval=0

ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-out
bmAttributes=bulk wMaxPacketSize=512 bInterval=0

current configuration 1

--
$





2 usersLoad 2.44 2.22 1.79 Mon Aug 15 13:05:10 2011

memory totals (in KB)PAGING   SWAPPING Interrupts
   real   virtual free   in  out   in  out 7677 total
Active   415856415856  2283104   ops401 clock
All  967704967704  5859920   pages 3086 ipi
acpi0
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks   4 em0
 114  647046  5309  4190  4123   83   fkppw  25 ehci0
  fksvm azalia0
   0.2%Int   4.6%Sys   0.4%Usr   0.0%Nic  94.8%Idle   pwait3990 ehci1
|||||||||||   relck 168 ahci0
==   rlkok   3 ichiic0
  noram pckbc0
Namei Sys-cacheProc-cacheNo-cache   5 ndcpy pckbc0
Calls hits%hits %miss   % fltcp
  188  188  100

Nuovo messaggio

2011-08-15 Thread alcatraz
--




Fotograful a facut o treaba buna potrivind copiii cu cainii.Aceasta poza
este adorabila!!







Un prieten este acela care ne ridica moralul atunci cand avem nevoie de asta.







Un prieten este acela care pretuieste prietenia noastra ca pe un cadou.








Prietenul este acea persoana care ne umple viata cu frumusete, bucurie, si
har..








Si face lumea in care traim un loc mai bun si mai fericit.





Exista un miracol numit PRIETENIE, in care locuieste inima.
Tu nu stii cand incepe si nici cum.








Dar stii ca aduce intotdeauna imbunatatiri.
Realizezi doar ca PRIETENIA este cel mai pretios cadou din lume!






De ce a facut Dumnezeu animalele de companie?
www.gigamusic.eu





Ne ajuta la treburile gospodaresti



Ne protejeaza copiii...

www.gigamusic.eu
Au grija de cei mici
www.gigamusic.eu
Ne arata cum sa ne relaxam...

Converseaza unii cu ceilalti.
www.gigamusic.eu
Te ajuta cand esti la pamant...
www.gigamusic.eu
Sunt minunati ca decoratii de sarbatori...


Au asteptari importante.


Sunt patrioti.


Sunt fericiti sa verifice apa pentru tine.


Isi iubesc animalele de plus
Stiu cine este SEFUL.


SI - Stiu cand avem nevoie de un zambet!
www.gigamusic.eu
Ai zambit azi?
Trebuie doar sa iti misti colturile gurii in sus.
Sa-ti arat cum..




www.gigamusic.eu








www.gigamusic.eu








   acum, da-l mai departe si fa pe cineva sa-i fie ,azi ,putin mai bine!





WWW.GIGAMUSIC.EU



inetd_flags in rc.conf

2011-08-15 Thread David Walker
Hey folks.

I installed a snapshot from a day or so ago:
OpenBSD 5.0 GENERIC#39

So things change but this doesn't seem to work any more for inetd ...
http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc.conf.diff?r1=1.141;r2=1.142
This doesn't look right:

# set these to NO to turn them off.  otherwise, they're used as flags
inetd_flags=  # for normal use: 

inetd is definitely running on this machine with that flag set NO.

Sad to say I don't understand the new rc.conf well enough to figure
this out on my own.
I'm sure I could add inetd_flags=NO to my rc.conf.local and everything
would work ...
Yep that works.

BTW, maybe it could be:
# Set these to NO to turn them off. Otherwise they're used as flags.

Best wishes.



strange X problem after Aug11 snapshot

2011-08-15 Thread dsp
Hi list :)
sorry for not be able to debug this problem a lot but
i haven't the slightest idea where to start!
after the Aug 11 snapshot i started to experience screen blackenings
when i start an application like scummvm or dosbox.
When i click somewhere outside the application window though 
i force the screen to be redrawn , and i get back my desktop ;)
(and everything works ok while i remain outside the dosbox/scummvm
window)
nothing is shown in any log and with any verbosity level.
i also tried different WMs so that is not the problem.
i am on amd64 and my vga card is an NVIDIA GeForce 6200 (nv).
attached dmesg/Xlog
thanks a lot and enjoy the rest of the summer ;)

DsP
OpenBSD 5.0 (GENERIC.MP) #57: Mon Aug  8 14:58:00 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1072627712 (1022MB)
avail mem = 1030012928 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0100 (40 entries)
bios0: vendor Award Software International, Inc. version F10d date 10/22/2008
bios0: Gigabyte Technology Co., Ltd. GA-K8N-SLi
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S3) 
USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xd000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.54 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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 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: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 201MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.30 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: AMD erratum 89 present, BIOS upgrade may be required
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 2010 MHz: speeds: 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3
nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x53: 1GB DDR SDRAM non-parity PC3200CL3.0
iic1 at nviic0
iic1: addr 0x4e 01=08 02=10 03=72 05=80 06=0f 0a=ff 0e=e0 0f=ff words 00=00ff 
01=08ff 02=10ff 03=72ff 04=00ff 05=80ff 06=0fff 07=00ff
ohci0 at pci0 dev 2 function 0 NVIDIA nForce4 USB rev 0xa2: apic 2 int 5, 
version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 NVIDIA nForce4 USB rev 0xa3: apic 2 int 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
auich0 at pci0 dev 4 function 0 NVIDIA nForce4 AC97 rev 0xa2: apic 2 int 10, 
nForce4 AC97
ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 NVIDIA nForce4 IDE rev 0xf2: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: _NEC, DVD_RW ND-4570A, 1.02 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
pciide1: using apic 2 int 11 for native-PCI interrupt
pciide2 at pci0 dev 8 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
pciide2: using apic 2 int 10 for native-PCI interrupt
wd0 at pciide2 channel 0 drive 0: WDC WD3200KS-00PFB0
wd0: 16-sector PIO, LBA48, 305244MB, 625140335 sectors
wd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide2 channel 1 drive 0: ST31000333AS
wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd1(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb0 at pci0 dev 9 function 0 NVIDIA nForce4 PCI-PCI rev 0xa2
pci1 at ppb0 bus 1
rl0 at pci1 dev 7 function 0 Realtek 8139 rev 0x10: apic 2 int 12, address 
00:30:4f:15:39:f2
rlphy0 at rl0 phy 0: RTL internal PHY
nfe0 at pci0 dev 10 function 0 NVIDIA CK804 LAN rev 0xa3: apic 2 

Re: strange X problem after Aug11 snapshot

2011-08-15 Thread dsp
actually it must be a problem in libSDL
;)
can anyone reproduce?

DsP
On Mon, Aug 15, 2011 at 09:02:46PM +0300, dsp wrote:
 Hi list :)
 sorry for not be able to debug this problem a lot but
 i haven't the slightest idea where to start!
 after the Aug 11 snapshot i started to experience screen blackenings
 when i start an application like scummvm or dosbox.
 When i click somewhere outside the application window though
 i force the screen to be redrawn , and i get back my desktop ;)
 (and everything works ok while i remain outside the dosbox/scummvm
 window)
 nothing is shown in any log and with any verbosity level.
 i also tried different WMs so that is not the problem.
 i am on amd64 and my vga card is an NVIDIA GeForce 6200 (nv).
 attached dmesg/Xlog
 thanks a lot and enjoy the rest of the summer ;)

 DsP

 OpenBSD 5.0 (GENERIC.MP) #57: Mon Aug  8 14:58:00 MDT 2011
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 1072627712 (1022MB)
 avail mem = 1030012928 (982MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0100 (40 entries)
 bios0: vendor Award Software International, Inc. version F10d date
10/22/2008
 bios0: Gigabyte Technology Co., Ltd. GA-K8N-SLi
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S4 S5
 acpi0: tables DSDT FACP SSDT MCFG APIC
 acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S3)
USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimcfg0 at acpi0 addr 0xd000, bus 0-255
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.54 MHz
 cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
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: AMD erratum 89 present, BIOS upgrade may be required
 cpu0: apic clock running at 201MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.30 MHz
 cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
 cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
 cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
 cpu1: AMD erratum 89 present, BIOS upgrade may be required
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 2
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (HUB0)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpibtn0 at acpi0: PWRB
 cpu0: Cool'n'Quiet K8 2010 MHz: speeds: 2000 1800 1000 MHz
 pci0 at mainbus0 bus 0
 NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
 pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3
 nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2
 iic0 at nviic0
 spdmem0 at iic0 addr 0x53: 1GB DDR SDRAM non-parity PC3200CL3.0
 iic1 at nviic0
 iic1: addr 0x4e 01=08 02=10 03=72 05=80 06=0f 0a=ff 0e=e0 0f=ff words
00=00ff 01=08ff 02=10ff 03=72ff 04=00ff 05=80ff 06=0fff 07=00ff
 ohci0 at pci0 dev 2 function 0 NVIDIA nForce4 USB rev 0xa2: apic 2 int 5,
version 1.0, legacy support
 ehci0 at pci0 dev 2 function 1 NVIDIA nForce4 USB rev 0xa3: apic 2 int 12
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
 auich0 at pci0 dev 4 function 0 NVIDIA nForce4 AC97 rev 0xa2: apic 2 int
10, nForce4 AC97
 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
 audio0 at auich0
 pciide0 at pci0 dev 6 function 0 NVIDIA nForce4 IDE rev 0xf2: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: _NEC, DVD_RW ND-4570A, 1.02 ATAPI 5/cdrom
removable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 disabled (no drives)
 pciide1 at pci0 dev 7 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
 pciide1: using apic 2 int 11 for native-PCI interrupt
 pciide2 at pci0 dev 8 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
 pciide2: using apic 2 int 10 for native-PCI interrupt
 wd0 at pciide2 channel 0 drive 0: WDC WD3200KS-00PFB0
 wd0: 16-sector PIO, LBA48, 305244MB, 625140335 sectors
 wd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6
 wd1 at pciide2 channel 1 drive 0: ST31000333AS
 wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
 wd1(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6
 ppb0 at pci0 dev 9 function 0 NVIDIA nForce4 PCI-PCI rev 0xa2
 pci1 at ppb0 bus 

Re: Slow speed of USB flash disk on Dell E6320 with current

2011-08-15 Thread Brett
On Mon, 15 Aug 2011 13:29:00 +0200
Tomas Bodzar tomas.bod...@gmail.com wrote:

 Hi all,
 
 I'm getting slow speed with USB flash disk mentioned below. It's on
 new laptop, but same issue was on previous Dell workstation. It's
 running mostly around 6MB/s or less regarding info from systat. In
 this case xfe (see top -CST -s 10 output) was used, but it's same
 either in console or X. On Linux/Windows  it's running around 20MB/s
 during copy/write of same files. 


I have generally noticed that reading/writing to usb flash or hard
drives is slower using openbsd compared to linux. I believe it has to
do with usb2.0 not being fully implemented. 

You will get better speeds on openbsd depending on which filesystem you
use. For example, copying speeds will be faster if you format your
flash disk to FFS instead of msdos (not sure if you did this already, I
could not see disk format in the outputs from your email).

Brett.



Re: inetd_flags in rc.conf

2011-08-15 Thread Alexander Hall

On 08/15/11 19:58, David Walker wrote:

Hey folks.

I installed a snapshot from a day or so ago:
OpenBSD 5.0 GENERIC#39

So things change but this doesn't seem to work any more for inetd ...
http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc.conf.diff?r1=1.141;r2=1.142
This doesn't look right:

# set these to NO to turn them off.  otherwise, they're used as flags
inetd_flags=# for normal use: 

inetd is definitely running on this machine with that flag set NO.

Sad to say I don't understand the new rc.conf well enough to figure
this out on my own.
I'm sure I could add inetd_flags=NO to my rc.conf.local and everything
would work ...
Yep that works.


Hm so where did you think it was set to NO before that?

Oh, ah! You modified rc.conf? Think again. inetd_flags are a bit 
'special' in that they are handling the legacy inetd=YES.


Short answer: Don't edit rc.conf.

(if you didn't edit rc.conf, I'm short of ideas unless you start sharing 
your /etc/rc* contents)


/Alexander


BTW, maybe it could be:
# Set these to NO to turn them off. Otherwise they're used as flags.

Best wishes.




Re: strange X problem after Aug11 snapshot

2011-08-15 Thread kn
Same prob with an ati descrete graphics card. I switched back to i9x with some 
flickers  it worked fine.



Sent from my BlackBerry. wireless device



-Original Message-

From: dsp d...@2f30.org

Sender: owner-misc@openbsd.orgDate: Mon, 15 Aug 2011 21:02:46 

To: misc@openbsd.org

Subject: strange X problem after Aug11 snapshot



Hi list :)

sorry for not be able to debug this problem a lot but

i haven't the slightest idea where to start!

after the Aug 11 snapshot i started to experience screen blackenings

when i start an application like scummvm or dosbox.

When i click somewhere outside the application window though 

i force the screen to be redrawn , and i get back my desktop ;)

(and everything works ok while i remain outside the dosbox/scummvm

window)

nothing is shown in any log and with any verbosity level.

i also tried different WMs so that is not the problem.

i am on amd64 and my vga card is an NVIDIA GeForce 6200 (nv).

attached dmesg/Xlog

thanks a lot and enjoy the rest of the summer ;)



DsP




Service-facturation : Probleme sur votre compte en ligne

2011-08-15 Thread Support-web@Verifiedbyvisa
Verifedbyvisa

MSC

client(e),

Suspension de votre carte bancaire : car nous remarquons un problhme
d'achat irregulier avec votre carte.

Quelqu'un pourrait l'utiliser sans votre autorisation. Ainsi ,pour votre
protiction, nous l'avons suspendu votre carte de credit. Pour lever cette
suspension :

Cliquez ici 

Et suivez la procidure indiquie de mise ` jour de votre carte de cridit.

Note: Si cela n'est pas faite dans les prochaines 48heures, nous serons
obligis de la suspendre aussitot car il peut jtre utilisi aux fins
dangereuses et criminelles .

Nous vous remercions de votre cooperation dans le cadre de notre revu
d'enquete .

Merci,
Support.web=Verifiedbyvisa@Service 2011 .

) Copyright Visa Europe 2011



Re: inetd_flags in rc.conf

2011-08-15 Thread Kevin Chadwick
On Tue, 16 Aug 2011 03:28:53 +0930
David Walker davidianwal...@gmail.com wrote:

 inetd is definitely running on this machine with that flag set NO.

Why turn it off, Just hash everything in inetd.conf and your nmap
fingerprint will be lower than without inetd running.



Re: strange X problem after Aug11 snapshot

2011-08-15 Thread Thomas Pfaff
On Mon, 15 Aug 2011 21:02:46 +0300
dsp d...@2f30.org wrote:

 after the Aug 11 snapshot i started to experience screen blackenings
 when i start an application like scummvm or dosbox.
 When i click somewhere outside the application window though 
 i force the screen to be redrawn , and i get back my desktop ;)

If you mean that your entire screen goes black when certain programs
are started then I also have the same problem (noticed just days ago).

For example, if I start qemu then the entire screen goes black.  The
only thing visible is the mouse cursor.  To get my screen back I have
to focus another window (Alt-Tab).  The screen then comes back and I
can see the qemu window and all other windows again.  Focus the qemu
window and the screen goes black again.

This also happens with ffplay and luvcview.  Xine and mplayer does
not have this problem.  All programs in their default configuration.

This does not happen on my i386 with Intel graphics (see 2nd dmesg).

 i am on amd64 and my vga card is an NVIDIA GeForce 6200 (nv).

OpenBSD 5.0 (GENERIC.MP) #52: Sun Aug  7 19:50:47 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4293459968 (4094MB)
avail mem = 4165046272 (3972MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06b0 (76 entries)
bios0: vendor American Megatrends Inc. version 1704 date 11/27/2007
bios0: ASUSTeK Computer INC. P5B-E
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET
acpi0: wakeup devices P0P2(S4) P0P1(S4) UAR1(S4) PS2K(S4) PS2M(S4) EUSB(S4) 
USBE(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) 
USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz, 2135.33 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz, 2135.04 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG
cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P2)
acpiprt2 at acpi0: bus 5 (P0P1)
acpiprt3 at acpi0: bus 4 (P0P4)
acpiprt4 at acpi0: bus -1 (P0P5)
acpiprt5 at acpi0: bus -1 (P0P6)
acpiprt6 at acpi0: bus 3 (P0P7)
acpiprt7 at acpi0: bus 2 (P0P8)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82G965 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82G965 PCIE rev 0x02: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 7600 GT rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 17
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi
azalia0: codecs: Analog Devices AD1988A
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi
pci2 at ppb1 bus 4
ppb2 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x02: msi
pci3 at ppb2 bus 3
age0 at pci3 dev 0 function 0 Attansic Technology L1 rev 0xb0: msi, address 
00:18:f3:9d:7d:04
atphy0 at age0 phy 0: F1 10/100/1000 PHY, rev. 5
ppb3 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: msi
pci4 at ppb3 bus 2
jmb0 at pci4 dev 0 function 0 JMicron JMB363 IDE/SATA rev 0x02
ahci0 at jmb0: apic 2 int 16, AHCI 1.0
scsibus0 at ahci0: 32 targets
pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to 
native-PCI
pciide0: using apic 2 int 16 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: PLEXTOR, DVDR PX-740A, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 2 int 23
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 2 int 19
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: apic 2 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: apic 2 int 23
usb1 at ehci1: USB revision 

Pear Version (2008-08-23) Updated to version: pear-1.7.2

2011-08-15 Thread Andres Genovez
Hi friends,

I am having a lot of problems with the standard version of PEAR that ships
with OpenBSD, the last i can get is (2008-08-23) Updated to version:
pear-1.7.2

But the system insists it require version 1.8, please can anybody give me a
guide, how can I update Pear?

Thanks for any help!*
*
--
Atentamente

Andris Genovez Tobar / Tecnico
Elastix ECE - Linux  LPI-1 - Novell CLA - Apple ACMT
http://www.puntonet.ec



Re: inetd_flags in rc.conf

2011-08-15 Thread David Walker
Hi Kevin.

Kevin Chadwick ma1l1ists () yahoo ! co ! uk
 Why turn it off, Just hash everything in inetd.conf and your nmap
 fingerprint will be lower than without inetd running.

I used to hash the file back in the day until it became clear I was
never using it.
The few machines I run serve very few services and I'm happy for them
to be running 24x7 - although I'm in an opposite situation this still
seems apposite ...

FTPD(8):
This has lower overhead than starting ftpd from
 inetd(8) and is thus useful on busy servers to reduce load.

POPA3D(8):
This has lower overhead than starting popa3d
 from inetd(8) and is thus useful on busy servers to reduce load.

In this mode popa3d also does quite a few checks to significantly
 reduce the impact of connection flood attacks.

... and so on.
Yes, I also see this:

INETD(8):
Essentially, inetd allows running one daemon
 to invoke several others, reducing load on the system.

In my situation after many releases of hashing inetd.conf I decided to
stop playing chinese whispers.
As far as nmap goes, sure, but I don't care about port scans.
As a matter of principle I think knowledge of running services should
never be an issue.
If there's a failure there, it's either a flaw in the software which
I'd like to know about, or I've made an administration error. Right?
Frankly I'm happy to have people trying to break into these machines,
if only there was more of it ...
If I needed to do something a little more critical I would re-think my
service choices and probably still not care about port scans.
As it stands though I'm okay for these machines to be cracked wide
open and be off the air for a day or so if I can help squash a bug or
learn something.
The only associated issue that concerns me at all there is DoS and I
think other methods are more appropriate there (such as picking up the
phone).

The only thing I can think of off the top of my head is port scanning
and getting meaningful results through inetd is slower right?
If you could provide some reading material on that I'd probably read it.

Best wishes.