ospfd does not follow interface address changes?

2009-11-27 Thread Gregory Edigarov
hi everybody.

if you run ospfd in your setup can you test to confirm the behavior:
setup an interface in ospfdfor example - 
ifconfig vlan3 vlandev rl0 192.168.3.0/30   up
add this interface to any known area of ospfd. reload, wait for the
route to propagate. then change ip on vlan3.  
ifconfig vlan3 vlandev rl0 192.168.4.0/30

on some other router do
ospfctl sh rib
 
you will see 192.168.3.0/30 again and again and again
the only way to change the routes is to fully kill ospfd and then start
it again. 

-- 
With best regards,
Gregory Edigarov



tmux hangs, with 100% cpu

2009-11-27 Thread LEVAI Daniel
Hi!


With today's (11.27) update for -current, tmux hangs after doing:

local$ ssh host
host$ logout

I can't imagine why would it hang because of this, but it does. I have to do
`pkill -9 tmux`.

What other information would be helpful?


dmesg:
OpenBSD 4.6-current (GENERIC.MP) #323: Thu Nov 26 16:09:41 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2145808384 (2046MB)
avail mem = 2070446080 (1974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ET66WW (1.10 ) date 08/02/2006
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4511 serial 21826 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1
int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices
AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
(irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int
16 (irq 11), address 00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
(irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1
int 17 (irq 11), MoW2, address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
(irq 11)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
(irq 11)
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
mem address conflict 0xe430/0x1000
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16
(irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0

Re: tmux hangs, with 100% cpu

2009-11-27 Thread LEVAI Daniel
On Friday 27 November 2009 11.25.16 you wrote:
 With today's (11.27) update for -current, tmux hangs after doing:
[...]
Never mind, compiling from HEAD is working. Sorry for the noise.


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



tus beneficios con esta herramienta.

2009-11-27 Thread Hecho probado: aumenta
ENTERATE PRESIONANDO

AQUM



How to determine what ports are being used?

2009-11-27 Thread stan
I have a home network tat uses an OpenBSD machine as it's firewall. I now
have a company laptop (Windows), and it has some sort of Microsoft VPN. If
it remove my block all rule I can get this VPN up. The corporate
support folks say that it uses port 1723, but putting thta in pf.conf
and restarting (with the block all) rule sill does not allow it to work. 

If I turn off the block all rule, and fire up the VPN, how can I
determine what ports it is using, so that I can create the correct pf.conf
rules?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: How to determine what ports are being used?

2009-11-27 Thread Marcos Laufer

You could fire up the VPN, connect to it from the outside, and then use the
netstat command to see which ports are beeing used knowing the
origin and destination IPs

Regards,
Marcos Laufer


stan wrote:

I have a home network tat uses an OpenBSD machine as it's firewall. I now
have a company laptop (Windows), and it has some sort of Microsoft VPN. If
it remove my block all rule I can get this VPN up. The corporate
support folks say that it uses port 1723, but putting thta in pf.conf
and restarting (with the block all) rule sill does not allow it to work. 


If I turn off the block all rule, and fire up the VPN, how can I
determine what ports it is using, so that I can create the correct pf.conf
rules?




Re: How to determine what ports are being used?

2009-11-27 Thread Anders Pettersson
Hi Stan

I will answer your question regarding Microsoft VPN instead. The corporate
support folks might have told you that the most common Microsoft VPN type
[still] is something called PPTP:

http://en.wikipedia.org/wiki/Point-to-point_tunneling_protocol

It uses TCP port 1723 as control channel but also use GRE for the actual
tunneling of the traffic.

http://en.wikipedia.org/wiki/Generic_Routing_Encapsulation

You need to also allow the proto gre in pf to make your VPN connection
work.

I hope this point you in the right direction,

Best regards

Anders

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
stan
Sent: Friday, November 27, 2009 15:56
To: OpenBSD general usage list
Subject: How to determine what ports are being used?

I have a home network tat uses an OpenBSD machine as it's firewall. I now
have a company laptop (Windows), and it has some sort of Microsoft VPN. If
it remove my block all rule I can get this VPN up. The corporate
support folks say that it uses port 1723, but putting thta in pf.conf
and restarting (with the block all) rule sill does not allow it to work.

If I turn off the block all rule, and fire up the VPN, how can I
determine what ports it is using, so that I can create the correct pf.conf
rules?


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: How to determine what ports are being used?

2009-11-27 Thread Steven M. Caesare
You need to allow GRE as well.

-sc


 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On
 Behalf Of stan
 Sent: Friday, November 27, 2009 9:56 AM
 To: OpenBSD general usage list
 Subject: How to determine what ports are being used?

 I have a home network tat uses an OpenBSD machine as it's firewall. I
now
 have a company laptop (Windows), and it has some sort of Microsoft
VPN.
 If it remove my block all rule I can get this VPN up. The corporate
support
 folks say that it uses port 1723, but putting thta in pf.conf and
restarting (with
 the block all) rule sill does not allow it to work.

 If I turn off the block all rule, and fire up the VPN, how can I
determine what
 ports it is using, so that I can create the correct pf.conf rules?


 --
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?



Re: How to determine what ports are being used?

2009-11-27 Thread Christoph Leser
1723 is PPTP. This uses GRE ( generic routing encapsulation ).

You must allow this protocol.

And, as far as I know, openBSD cannot NAT this protocol ( it is possible to
nat GRE for pptp if you peek into the next higher level protocol ( ppp in this
case ? ) but this is not implemented )

So I did a RDR for GRE to the only windows PC in my local network that needs
PPTP. Something like

rdr Pass on $ext_if proto gre from any - (address of Windows PC )

And further below in pf.conf allow GRE for your internal and external
interface.

regards

christoph

 -Urspr|ngliche Nachricht-
 Von: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org]
 Im Auftrag von Marcos Laufer
 Gesendet: Freitag, 27. November 2009 16:06
 An: stan; misc@openbsd.org
 Betreff: Re: How to determine what ports are being used?


 You could fire up the VPN, connect to it from the outside,
 and then use the netstat command to see which ports are
 beeing used knowing the origin and destination IPs

 Regards,
 Marcos Laufer


 stan wrote:
  I have a home network tat uses an OpenBSD machine as it's
 firewall. I
  now have a company laptop (Windows), and it has some sort of
  Microsoft VPN. If it remove my block all rule I can get
 this VPN
  up. The corporate support folks say that it uses port 1723, but
  putting thta in pf.conf and restarting (with the block all)
 rule sill
  does not allow it to work.
 
  If I turn off the block all rule, and fire up the VPN, how can I
  determine what ports it is using, so that I can create the correct
  pf.conf rules?



sf NIC buffer issues?

2009-11-27 Thread Steven M. Caesare
Just built a 4.6 box as a firewall. Have an Adaptec quad-100Mb sf0-based
NIC (64-bit PCI slot). Server is a Compaq DL360 (G1) w/ latest BIOS
(p21).



After some time, packets stop passing, and I'm seeing timeout issues for
sf0 on the console.



Upgraded to 4.6-stable (both kernel and userland). Still no dice.



Some web-searching indicates that there may be noe fix for this at the
moment. Anybody else with success using sf NICs with a post 4.2 build of
OpenBSD?



Dmesg attached.



-sc





OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009
   r...@fw01.caesare.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz (GenuineIntel
686-class) 1.27 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
real mem  = 1610166272 (1535MB)
avail mem = 1547108352 (1475MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xf7ce8 (23 entries)
bios0: vendor Compaq version P21 date 06/13/2001
bios0: Compaq ProLiant DL360
acpi0 at bios0: rev 0, can't enable ACPI
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: apic clock running at 132MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 9 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 11, 35 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xe8000/0x6000
0xee000/0x2000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x06
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x06
pci1 at pchb1 bus 3
fxp0 at pci1 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 8 int
17 (irq 5), address 00:02:a5:8b:95:32
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci1 dev 5 function 0 Intel 8255x rev 0x08, i82559: apic 8 int
24 (irq 7), address 00:02:a5:8b:95:31
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
ppb0 at pci1 dev 6 function 0 DEC 21154 PCI-PCI rev 0x02
pci2 at ppb0 bus 4
sf0 at pci2 dev 4 function 0 Adaptec AIC-6915 rev 0x03: apic 8 int 23
(irq 10), address 00:00:d1:ee:cd:71
sqphy0 at sf0 phy 1: 80220 10/100 PHY, rev. 1
sf1 at pci2 dev 5 function 0 Adaptec AIC-6915 rev 0x03: apic 8 int 22
(irq 11), address 00:00:d1:ee:cd:72
sqphy1 at sf1 phy 1: 80220 10/100 PHY, rev. 1
sf2 at pci2 dev 6 function 0 Adaptec AIC-6915 rev 0x03: apic 8 int 23
(irq 10), address 00:00:d1:ee:cd:73
sqphy2 at sf2 phy 1: 80220 10/100 PHY, rev. 1
sf3 at pci2 dev 7 function 0 Adaptec AIC-6915 rev 0x03: apic 8 int 22
(irq 11), address 00:00:d1:ee:cd:74
sqphy3 at sf3 phy 1: 80220 10/100 PHY, rev. 1
cac0 at pci0 dev 1 function 0 Symbios Logic 53c1510 rev 0x02: apic 8
int 19 (irq 3), Integrated Array
scsibus0 at cac0: 1 targets
sd0 at scsibus0 targ 0 lun 0: Compaq, RAID1 vol #00,  SCSI2 0/direct
fixed
sd0: 17359MB, 512 bytes/sec, 35553120 sec total
vga1 at pci0 dev 3 function 0 ATI Mach64 rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Compaq Netelligent ASMC rev 0x00 at pci0 dev 4 function 0 not
configured
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x51: SMBus
disabled
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: COMPAQ, CD-224E, 9.0C ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
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
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b



Re: How to determine what ports are being used?

2009-11-27 Thread stan
On Fri, Nov 27, 2009 at 04:17:50PM +0100, Anders Pettersson wrote:
 Hi Stan
 
 I will answer your question regarding Microsoft VPN instead. The corporate 
 support folks might have told you that the most common Microsoft VPN type 
 [still] is something called PPTP:
 
 http://en.wikipedia.org/wiki/Point-to-point_tunneling_protocol
 
 It uses TCP port 1723 as control channel but also use GRE for the actual 
 tunneling of the traffic.
 
 http://en.wikipedia.org/wiki/Generic_Routing_Encapsulation
 
 You need to also allow the proto gre in pf to make your VPN connection work.
 
 I hope this point you in the right direction,
 
Thanks, the gre was the clue I needed. Nw off to understand what the heck
that is.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: How to determine what ports are being used?

2009-11-27 Thread Stuart Henderson
On 2009-11-27, stan st...@panix.com wrote:
 I have a home network tat uses an OpenBSD machine as it's firewall. I now
 have a company laptop (Windows), and it has some sort of Microsoft VPN. If
 it remove my block all rule I can get this VPN up. The corporate
 support folks say that it uses port 1723, but putting thta in pf.conf
 and restarting (with the block all) rule sill does not allow it to work. 

 If I turn off the block all rule, and fire up the VPN, how can I
 determine what ports it is using, so that I can create the correct pf.conf
 rules?



block log
tcpdump -neipflog0



nmbclust command not found within config

2009-11-27 Thread Marcos Laufer
Hello list,

Looking at this faq page http://www.openbsd.org/faq/faq5.html#config
it shows that under OpenBSD 4.5 modifying NMBCLUSTERS is possible.

--- cuted from http://www.openbsd.org/faq/faq5.html#config 

$ *sudo config -e /bsd*
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
warning: no output file specified
Enter 'help' for information
ukc ?
helpCommand help list
add dev Add a device
base8|10|16 Base on large numbers
change  devno|dev   Change device
disable attr val|devno|dev  Disable device
enable  attr val|devno|dev  Enable device
finddevno|dev   Find device
listList configuration
lines   count   # of lines per page
show[attr [val]]Show attribute
exitExit, without saving changes
quitQuit, saving current changes
timezone[mins [dst]]Show/change timezone
nmbclust[number]Show/change NMBCLUSTERS
cachepct[number]Show/change BUFCACHEPERCENT
nkmempg [number]Show/change NKMEMPAGES
shmseg  [number]Show/change SHMSEG
shmmaxpgs   [number]Show/change SHMMAXPGS

---end---


But when trying it there's no option to do it. The nmbclust command does
not exist, despite of that the faq says.

hq:/{2561}# config -e /bsd
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
warning: no output file specified
Enter 'help' for information
ukc p
Invalid command 'p'.  Try 'help'.
ukc help
helpCommand help list
add dev Add a device
base8|10|16 Base on large numbers
change  devno|dev   Change device
disable attr val|devno|dev  Disable device
enable  attr val|devno|dev  Enable device
finddevno|dev   Find device
listList configuration
lines   count   # of lines per page
show[attr [val]]Show attribute
exitExit, without saving changes
quitQuit, saving current changes
timezone[mins [dst]]Show/change timezone
cachepct[number]Show/change BUFCACHEPERCENT
nkmempg [number]Show/change NKMEMPAGES
shmseg  [number]Show/change SHMSEG
shmmaxpgs   [number]Show/change SHMMAXPGS
ukc
 




What's the right way to increment NMBCLUSTERS now?

Regards,
Marcos Laufer



Re: nmbclust command not found within config

2009-11-27 Thread Ted Unangst
On Fri, Nov 27, 2009 at 12:01 PM, Marcos Laufer mar...@ipv4networks.com wrote:
 Looking at this faq page http://www.openbsd.org/faq/faq5.html#config
 it shows that under OpenBSD 4.5 modifying NMBCLUSTERS is possible.

That was very confusing to me, as the FAQ is usually up to date and
this hasn't been possible for many years.  I think you read too much
into some sample output that was actually showing something else
entirely.

 What's the right way to increment NMBCLUSTERS now?

sysctl kern.maxclusters.



invitatie la cursuri gratuite online

2009-11-27 Thread CURSURI GRATUITE ONLINE
 Cursuri Gratuite

   Salut ,

Ai primit o invitatie la Cursuri Gratuite Online !

  - Iti poti alege singur timpul si ritmul de invatare;
  - Echipa de profesionisti;
  - Usor accesibil;
  - Forma de pregatire moderna;
- GRATUIT !

  Succes !  www.cursurigratuiteonline.ro !

inter...@yahoo.com  

Ai fost invitat pe Cursuri Gratuite.
Copyright ) 2009 Cursuri Gratuite. Toate drepturile rezervate.



Re: Make utility documentation

2009-11-27 Thread Marc Espie
On Thu, Nov 26, 2009 at 03:04:16PM -0800, David Hoskin wrote:
  Could you kindly point me to the documentation about OpenBSD make
  utility and makefile.
 
 A pretty good tutorial can be found here:
 
 /usr/share/doc/psd/12.make/

Warning: a large part of this documentation is a bit misleading. It's on
my todo-list to eventually update it to deal with the actual make we have
these days.



can't get vesa @ 1280x800 or nv

2009-11-27 Thread Peter Miller
I have 4.6 amd64 installed and can't get X to work at 1280x800.

After a default install X won't start and i get an error which i think
is caused by nv. I created a xorg.conf file using X -configure and
then changed the driver from nv to vesa' and was able to get X
running, but only at 800x600 resolution. xrandr showed 800x600 as the
max supported resolution.

Then I added the following to the Monitor section of xorg.conf and was
able to get 1024x768.

HorizSync30-120
VertRefresh 50-150   (i have no reason for these numbers.. they just worked)

I have tried adding a modeline to solve the problem, but without luck.
I'm not quite sure how to get a proper modeline. I used this site to
get mine.
http://www.arachnoid.com/modelines/
resulting modeline

# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline 1280x800_60.00 83.46 1280 1344 1480 1680 800 801 804 828
-HSync +Vsync

So here's some output
The original Xorg.0.log error after install. Can't get into X.

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 amd64
Current Operating System: OpenBSD wobsd.funny.org 4.6 MYKERN.MP#0 amd64
Build Date: 01 July 2009  05:32:34PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Nov 27 18:59:14 2009
(EE) Unable to locate/open config file
(II) Loader magic: 0x771560
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) PCI: (0...@0:1:3) NVIDIA MCP67 Co-processor rev 162, Mem @ 
0xfc20/524288
(--) PCI:*(0...@0:18:0) NVIDIA unknown chipset (0x0531) rev 162, Mem @
0xf400/16777216, 0xd000/268435456, 0xf000/16777216
(==) Matched nv for the autoconfigured driver
New driver is nv
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
Section Device
Identifier  Builtin Default nv Device 0
Driver  nv
EndSection
Section Screen
Identifier  Builtin Default nv Screen 0
Device  Builtin Default nv Device 0
EndSection
Section Device
Identifier  Builtin Default fbdev Device 0
Driver  fbdev
EndSection
Section Screen
Identifier  Builtin Default fbdev Screen 0
Device  Builtin Default fbdev Device 0
EndSection
Section Device
Identifier  Builtin Default vesa Device 0
Driver  vesa
EndSection
Section Screen
Identifier  Builtin Default vesa Screen 0
Device  Builtin Default vesa Device 0
EndSection
Section ServerLayout
Identifier  Builtin Default Layout
Screen  Builtin Default nv Screen 0
Screen  Builtin Default fbdev Screen 0
Screen  Builtin Default vesa Screen 0
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout Builtin Default Layout
(**) |--Screen Builtin Default nv Screen 0 (0)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default nv Device 0
(==) No monitor specified for screen Builtin Default nv Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default fbdev Screen 0 (1)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default fbdev Device 0
(==) No monitor specified for screen Builtin Default fbdev Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default vesa Screen 0 (2)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default vesa Device 0
(==) No monitor specified for screen Builtin Default vesa Screen 0.
Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to /usr/X11R6/lib/modules
(==) |--Input Device default pointer
(==) |--Input Device default keyboard
(==) The core pointer device wasn't specified explicitly in the layout.
Using the