Re: in-kernel pppoe issue with username/password length

2008-07-18 Thread rosse
I belive, i say 16 characters!
-- 
View this message in context: 
http://www.nabble.com/in-kernel-pppoe-issue-with-username-password-length-tp18493492p18523090.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: This is what Linus Torvalds calls openBSD crowd

2008-07-18 Thread raven

Jim Willis ha scritto:

I agree entirely! The OpenBSD developers should surely be raised upon
shoulders for all of there work... However a mocking sticker would be
rather awesome!

-Jim


  

I ask into myself what appen if the anyone of the FSF or GPLled people
send at least one cent to developers, to say thanks to OpenSSH or
OpenBSD for their FREE (as beer) good software.
I think OpenSSH and OpenBSD just with this cents, will be poor more than
Zimbabwe. But ANY FUCKIN PERSON can choose what it's important for HIS
project? OpenBSD choose security, linux choose to sell cheese kernel
with cheese buggy software.
Why BSD license it's bad and GPL good? Fuck all. Anyone can choose what
he want. I choose OpenBSD and his philosophy...
Francesco



Duplicate Calendar Entries

2008-07-18 Thread Aaron W. Hsu
Hey Everyone,

I have been using calendar(1) and finding it quite convenient, but for 
some reason, I have started to receive duplicate emails every day from 
daily(8) that appear to be identical except for some minor time stamp 
variations. 

I can duplicate this event by calling `sudo calendar -a` manually. 

I did a quick web search and browsed the man page for calendar, but 
I do not seem to see anything that is going wrong. I am running 
4.4-current (last checked out a day or so ago). I thought that maybe 
it had something to do with aliases, but normal mail sent to my user 
does not do this. 

Can anyone identify the issue?

Sincerely,
Aaron Hsu
-- 
+++ ((lambda (x) (x x)) (lambda (x) (x x))) +++
Email: [EMAIL PROTECTED] | WWW: http://www.sacrideo.us
Scheme Programming is subtle; subtlety can be hard.
+++



Re: UPDATE: mozilla-firefox-3.0

2008-07-18 Thread Russell Howe

n0g0013 wrote:

i'm sure SUN was/is hoping that someone will develop a java based

 animation toolkit to compete with flash but that's yet to happen.

I think this is what JavaFX is aiming to be - unfortunately, it's 
probably missed the boat, what with Flash having been around for years 
and Microsoft having released Silverlight.


One of the reasons Flash on Windows is so fast is that it is 
JIT-compiled to native code, plus it probably takes advantage of 
accelerated graphics rendering where it can. Neither of these seem to 
happen with the Linux flash plugin from Adobe (or if they do, it doesn't 
help - it's still dog slow).


I think that was one of the things holding Adobe back from releasing an 
amd64 version of Flash (even for Windows!) - they didn't seem to be 
capable of porting their JIT compiler!


The bug reference for that is here:

https://bugs.adobe.com/jira/browse/FP-37

Looks like the JIT was released under the MPL/GPL/LGPL in 2006:

http://www.mozilla.org/projects/tamarin/

--
Russell Howe
[EMAIL PROTECTED]



3G Mini PCI Express recommendations

2008-07-18 Thread Claer
Hi list,

I'll want to build a small device with 3G + wlan. The ALIX 6b2 seems to
be a good candidate for it. It has 1 mini pci express and 1 mini pci
interfaces. 

I sought the archives and already found OpenBSD compatible mini pci
Wireless devices but I didn't found references for mini-pcie 3G cards.
Does someone here already play with such devices ? 

Regards,

Claer



Re: This is what Linus Torvalds calls openBSD crowd

2008-07-18 Thread Amarendra Godbole
On Thu, Jul 17, 2008 at 12:40 AM, Aaron Glenn [EMAIL PROTECTED] wrote:
 On Wed, Jul 16, 2008 at 11:47 AM, Nuno Magalhces
 [EMAIL PROTECTED] wrote:
 Here it's rtfm and chest-thumping.

 because here, many people have spent many hours making sure tfm gives
 you all the information you need
[...]

Absolutely! I find the OpenBSD man pages to be dead accurate, and
to-the-point. Typos, and grammar are considered too!

-Amarendra



clock on alic3 board

2008-07-18 Thread riwanlky

Hai all,

I have problem on clock with Alic3 board from Pc Engines on OpenBSD 4.3

dmesg-
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 
586-class) 499 MHz

cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 268009472 (255MB)
avail mem = 251097088 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/07, BIOS32 rev. 0 @ 0xfceb2
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe/0xa800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x33
glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 10, 
address 00:0d:b9:14:ef:48
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
vr1 at pci0 dev 10 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, 
address 00:0d:b9:14:ef:49
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
vr2 at pci0 dev 11 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, 
address 00:0d:b9:14:ef:4a
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034

ath0 at pci0 dev 12 function 0 Atheros AR5212 rev 0x01: irq 9
ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:87:67:39
glxpcib0 at pci0 dev 15 function 0 AMD CS5536 ISA rev 0x03: rev 0, 
32-bit 3579545Hz timer, watchdog, gpio

gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 15 function 2 AMD CS5536 IDE rev 0x01: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: SanDisk SDCFH2-004G
wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 AMD CS5536 USB rev 0x02: irq 15, 
version 1.0, legacy support

ehci0 at pci0 dev 15 function 5 AMD CS5536 USB rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
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
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 AMD OHCI root hub rev 1.00/1.00 addr 1
biomask e1ef netmask ffef ttymask ffef
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
clock: unknown CMOS layout

and the ntpd message on tail /var/log/daemon
Jul 17 16:14:44 pceng4 ntpd[5847]: adjusting local clock by 86915.408347s
Jul 17 16:18:00 pceng4 ntpd[5847]: adjusting local clock by 86914.457013s
Jul 17 16:20:37 pceng4 ntpd[5847]: adjusting local clock by 86913.683080s
Jul 17 16:21:46 pceng4 ntpd[5847]: adjusting local clock by 86913.389878s
Jul 17 16:26:04 pceng4 ntpd[5847]: adjusting local clock by 86912.104979s
Jul 17 16:26:33 pceng4 ntpd[5847]: adjusting local clock by 86911.965071s
Jul 17 16:27:03 pceng4 ntpd[5847]: adjusting local clock by 86911.859542s
Jul 17 16:31:19 pceng4 ntpd[5847]: adjusting local clock by 86910.603973s
Jul 17 16:33:26 pceng4 ntpd[5847]: adjusting local clock by 86910.009693s
Jul 17 16:37:10 pceng4 ntpd[5847]: adjusting local clock by 86908.914398s


and possible configuration error?

Best regards,
Riwan



Re: tagging in NAT rules not working

2008-07-18 Thread Marco Fretz
Chris Smith wrote:
 On Wednesday 16 July 2008, Marco Fretz wrote:
 pf nat rule:
 nat log on bge0 inet from 172.16.12.128/27 tag natted - 88.82.xx.xx

 pf filter rule:
 pass log quick all flags S/SA keep state tagged natted
 
 FWIW, you no longer need to specify flags S/SA keep state as it is the 
 default.

Yes, i know. It copied the rules out of pfctl -sr and there it is
shown because its added by default...

 
 It does work here, or my packets would not end up in the proper queues.
 

the difference i see to your construct is you'r tagging packets which
are already tagged. but anyways my construct should work as well, right?

at the moment i do nat and then a pass:

nat log on bge0 inet from 172.16.12.128/27 tag natted - 88.82.xx.xx
pass log quick from 172.16.12.128/27

if i add the tagged natted to the pass rule the rule does never match...

 the packed is dropped by my default deny rule (the rule does never
 match). i think the packet does not get the tag natted. any ideas?
 them same thing with rdr rules is woking fine.
 
 nat and rdr is done before filtering, right? so if the connection
 gets natted the tag should be present in the filter section...?
 (thats what i read in the FAQ)
 
 The FAQ actually states translation occurs before filtering, which may 
 be interpreted differently than nat and rdr is done before filtering.
 
 This construct is working for me:
 ==
 nat on $ext_if inet from $voip_if:network tag VOIP_NET_NAT tagged 
 VOIP_NET - ($ext_if)
 
 pass in on $voip_if inet proto { tcp, icmp, udp } all tag VOIP_NET
 
 pass out quick on $ext_if from ($ext_if) tagged VOIP_NET_NAT queue 
 voip_out
 ==
 
 The packet arrives on the internal interface, $voip_if, and gets tagged 
 with VOIP_NET, the nat rule tags everything that is tagged VOIP_NET 
 with a new tag of VOIP_NET_NAT, then everything tagged VOIP_NET_NAT is 
 passed quick out the external interface through the voip_out queue 
 (highest priority).



Re: 3G Mini PCI Express recommendations

2008-07-18 Thread Maxim Belooussov
Hi,

 I'll want to build a small device with 3G + wlan. The ALIX 6b2 seems to
 be a good candidate for it. It has 1 mini pci express and 1 mini pci
 interfaces.

 I sought the archives and already found OpenBSD compatible mini pci
 Wireless devices but I didn't found references for mini-pcie 3G cards.
 Does someone here already play with such devices ?

Lenovo Thinkpad X300 has been reported to support mini-pcie sierra hsdpa cards:
umsm0 at uhub5 port 1 configuration 1 interface 0 Sierra Wireless,

I have one as well, but haven't tried yet under OpenBSD.

Maxim Belooussov



Re: 3G Mini PCI Express recommendations

2008-07-18 Thread Ross Cameron
On Fri, Jul 18, 2008 at 3:26 PM, Maxim Belooussov [EMAIL PROTECTED]
wrote:

 Hi,

  I'll want to build a small device with 3G + wlan. The ALIX 6b2 seems to
  be a good candidate for it. It has 1 mini pci express and 1 mini pci
  interfaces.
 
  I sought the archives and already found OpenBSD compatible mini pci
  Wireless devices but I didn't found references for mini-pcie 3G cards.
  Does someone here already play with such devices ?

 Lenovo Thinkpad X300 has been reported to support mini-pcie sierra hsdpa
 cards:
 umsm0 at uhub5 port 1 configuration 1 interface 0 Sierra Wireless,

 I have one as well, but haven't tried yet under OpenBSD.

 Maxim Belooussov


On a slight aside,... anyone come across a mini-PCI xDSL card?
I really really could do with finding a supplier of those puppies!


-- 
Fran Lebowitz  - Food is an important part of a balanced diet.



Re: clock on alic3 board

2008-07-18 Thread Marc Balmer
* riwanlky wrote:
 Hai all,

 I have problem on clock with Alic3 board from Pc Engines on OpenBSD 4.3

 dmesg-
 OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 
 499 MHz
 cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
 real mem  = 268009472 (255MB)
 avail mem = 251097088 (239MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/10/07, BIOS32 rev. 0 @ 0xfceb2
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: pcibios_get_intr_routing - function not supported
 pcibios0: PCI IRQ Routing information unavailable.
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xe/0xa800
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x33
 glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
 vr0 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 10, 
 address 00:0d:b9:14:ef:48
 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
 0x004063, model 0x0034
 vr1 at pci0 dev 10 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, 
 address 00:0d:b9:14:ef:49
 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
 0x004063, model 0x0034
 vr2 at pci0 dev 11 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, 
 address 00:0d:b9:14:ef:4a
 ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
 0x004063, model 0x0034
 ath0 at pci0 dev 12 function 0 Atheros AR5212 rev 0x01: irq 9
 ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:87:67:39
 glxpcib0 at pci0 dev 15 function 0 AMD CS5536 ISA rev 0x03: rev 0, 32-bit 
 3579545Hz timer, watchdog, gpio
 gpio0 at glxpcib0: 32 pins
 pciide0 at pci0 dev 15 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: SanDisk SDCFH2-004G
 wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
 pciide0: channel 1 ignored (disabled)
 ohci0 at pci0 dev 15 function 4 AMD CS5536 USB rev 0x02: irq 15, version 
 1.0, legacy support
 ehci0 at pci0 dev 15 function 5 AMD CS5536 USB rev 0x02: irq 15
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
 isa0 at glxpcib0
 isadma0 at isa0
 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
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom0: console
 usb1 at ohci0: USB revision 1.0
 uhub1 at usb1 AMD OHCI root hub rev 1.00/1.00 addr 1
 biomask e1ef netmask ffef ttymask ffef
 mtrr: K6-family MTRR support (2 registers)
 nvram: invalid checksum
 softraid0 at root
 root on wd0a swap on wd0b dump on wd0b
 clock: unknown CMOS layout

 and the ntpd message on tail /var/log/daemon
 Jul 17 16:14:44 pceng4 ntpd[5847]: adjusting local clock by 86915.408347s
 Jul 17 16:18:00 pceng4 ntpd[5847]: adjusting local clock by 86914.457013s
 Jul 17 16:20:37 pceng4 ntpd[5847]: adjusting local clock by 86913.683080s
 Jul 17 16:21:46 pceng4 ntpd[5847]: adjusting local clock by 86913.389878s
 Jul 17 16:26:04 pceng4 ntpd[5847]: adjusting local clock by 86912.104979s
 Jul 17 16:26:33 pceng4 ntpd[5847]: adjusting local clock by 86911.965071s
 Jul 17 16:27:03 pceng4 ntpd[5847]: adjusting local clock by 86911.859542s
 Jul 17 16:31:19 pceng4 ntpd[5847]: adjusting local clock by 86910.603973s
 Jul 17 16:33:26 pceng4 ntpd[5847]: adjusting local clock by 86910.009693s
 Jul 17 16:37:10 pceng4 ntpd[5847]: adjusting local clock by 86908.914398s


 and possible configuration error?

not an error, but you might want to start ntpd with the -s option.
put 'ntpd_flags=-s' into your /etc/rc.conf.local file.


 Best regards,
 Riwan


- Marc Balmer



uvm_fault

2008-07-18 Thread Sevan / Venture37
when booting with generic.mp the system panics with:
uvm_fault(0x80b7d380, 0x0, 0, 1) - e
kernel: page fault trap, code=0
stopped at uvideo_vs_negotation+0xa5: movl 0x15(%rax),%eax

trace output:
http://img403.imageshack.us/img403/7062/tracebg7.jpg

show registers output:
http://img403.imageshack.us/img403/1258/registers1hw3.jpg
http://img255.imageshack.us/img255/7186/registers2br2.jpg



OpenBSD 4.4-beta (GENERIC.MP) #1773: Wed Jul 16 10:07:46 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2133213184 (2034MB)
avail mem = 2071363584 (1975MB)
User Kernel Config
UKC disable uvideo
226 uvideo* disabled
UKC disable re
 92 re* disabled
 93 re* disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xdc010 (38 entries)
bios0: vendor Dell Inc. version A10 date 07/10/2008
bios0: Dell Inc. Vostro1310
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC HPET MCFG TCPA TMOR OSFR APIC BOOT SLIC SSDT SSDT
SSDT SSDT
acpi0: wakeup devices LID0(S3) HDEF(S3) PXSX(S3) PXSX(S5) USB1(S0) USB2(S0)
USB3(S0) USB4(S0) USB5(S0) EHC1(S0) EHC2(S0)
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 Duo CPU T5670 @ 1.80GHz, 1795.82 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz, 1795.50 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
,NXE,LONG
cpu1: 2MB 64b/line 8-way L2 cache
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 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 6 (RP04)
acpiprt6 at acpi0: bus 7 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 8 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT1 serial 11 type Lion oem Dell
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1801, 1800, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16 (irq
5)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0427 rev
0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 16
(irq 5)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
(irq 11)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 18
(irq 10)
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 0x03: apic 1 int
22 (irq 10)
azalia0: codec[s]: Realtek/0x0268
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 17
(irq 11)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 16
(irq 5)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: apic 1 int 19
(irq 11)
pci4 at ppb3 bus 6
ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 17
(irq 11)
pci5 at ppb4 bus 7
Realtek 8168 rev 0x02 at pci5 dev 0 function 0 not configured
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 23
(irq 10)
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 19
(irq 11)
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 18
(irq 10)
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 23
(irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3
pci6 at ppb5 bus 8
O2 Micro Firewire rev 0x02 at pci6 dev 5 function 0 not configured
sdhc0 at pci6 dev 5 function 2 O2 Micro OZ711MP1 SDHC rev 0x02: apic 1 int
22 (irq 10)
sdmmc0 at sdhc0
O2 Micro OZ711MP1 XDHC rev 0x01 at pci6 dev 5 function 3 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility

Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Marco Fretz
hi

thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
the moment :(

relayd in 4.3 is buggy and i cant find a patch...


marco

Stuart Henderson wrote:
 On 2008-07-16, Marco Fretz [EMAIL PROTECTED] wrote:
 So I tested relayd in openbsd -current (4.4 beta i think) and it works
 fine. now the stupid question: how to compile this version of relayd
 for 4.3.
 
 the simple answer: you don't. If you want -current relayd, the
 rest of -current comes along for the ride.



Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Stuart Henderson
On 2008/07/18 16:13, Marco Fretz wrote:
 thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
 the moment :(

if you find -current unstable, you need to give some information
about why, otherwise there is no hope of getting it fixed for the
next release.



Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Henning Brauer
* Marco Fretz [EMAIL PROTECTED] [2008-07-18 16:15]:
 thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
 the moment :(

4.4-beta is supposed to be stable, and if it is not, where is your report?

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Marco Fretz
Stuart Henderson wrote:
 On 2008/07/18 16:13, Marco Fretz wrote:
 thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
 the moment :(
 
 if you find -current unstable, you need to give some information
 about why, otherwise there is no hope of getting it fixed for the
 next release.
 

there were some kernel ipv6 errors and in snap from Wednesday i get
kicked to the kernel debug mode with some ARP replay kernel errors. now
both problems seem fixed. but i think the did a lot changes i the last
days (due to the hackathlon?)



Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Marc Balmer
* Marco Fretz wrote:

 thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
 the moment :(

I am using it, so are my colleagues at work.  We have no
issues

 
 relayd in 4.3 is buggy and i cant find a patch...
 
 
 marco
 
 Stuart Henderson wrote:
  On 2008-07-16, Marco Fretz [EMAIL PROTECTED] wrote:
  So I tested relayd in openbsd -current (4.4 beta i think) and it works
  fine. now the stupid question: how to compile this version of relayd
  for 4.3.
  
  the simple answer: you don't. If you want -current relayd, the
  rest of -current comes along for the ride.



Re: OpenBSD 4.3 and relayd from -current (make fails)

2008-07-18 Thread Marco Fretz
Henning Brauer wrote:
 * Marco Fretz [EMAIL PROTECTED] [2008-07-18 16:15]:
 thanks. yes i did so, but OpenBSD 4.4 -current is not really stable at
 the moment :(
 
 4.4-beta is supposed to be stable, and if it is not, where is your report?
 

I must admit i never used sendbug / bug database before :( I always used
the stable release and had no problems at all. now im using 4.4 because
i need relayd working.

bet there is always the firs time so i will do my best to submit the
problems.


thanks
 marco



Re: This is what Linus Torvalds calls openBSD crowd

2008-07-18 Thread Joel Jose
if ppl stop giving special consideration to security, the quality of
security enforcement could come down. Ideally we like to clean all
bugs. But as is pointed out, bugs are many. Prioritizing bugs and
dealing with a strong deadline is vitally important. classification
of bugs into domain is the most effective way to deal with them. Not
only does it help people concerened in the area to be aware..fast. but
also it helps in discussiong it with like-minded people. Posting a
security bug in a general list will prove a little hard, as the people
may not know what meat-in-the middle, priviledge escalation..etc mean.
Its just bare stupidity to clout the bug space by generalizing it.
One more point, The security bugs are important because the harm done
is usually crafted, with bad intentions and on purpose. It also
leads to financial theft an dcrimes than just the normal loss of
data or worktime(as in normal bug). You could get pennnalized as
abeiting the crime. But a gui crash is always less severe. People can
quickly loose trust in the software and the services that depend on
them can be irrecoverabliy damaged. Think about it there are more
people engaged in penetrating, propagating security holes than filing
common bug reports it definitely isnt a time-waster for them.

Hats of to open bsd people... its my second best distro for my
boundary router/firewall(if i dont use cisco that is.). My first
choice will be a kernel i audited myself... since i cant invest in
it... openbsd does a good job too... ;)

On Wed, Jul 16, 2008 at 11:03 PM, Siju George [EMAIL PROTECTED] wrote:
 http://article.gmane.org/gmane.linux.kernel/706950

 Again a mis representation in pulic?

 --Siju





-- 
As soon as men decide that all means are permitted to fight an
evil, then their good becomes indistinguishable from the evil
that they set out to destroy.
 - Christopher Dawson, The Judgment of Nations



Re: CARP not leaving backup state

2008-07-18 Thread William Stuart

Thank you for the idea.  I did try that, but it still did not become MASTER.

I had to give up on carp (and redundancy altogether) and run with 
aliases for now.


Vinicius Vianna wrote:

Hi William,

I don't know for sure, but I remember dealing with this kind of 
problem and setting preempt did work, maybe worth a try:


/etc/sysctl.conf:
net.inet.carp.preempt=1

Anyone else?

HTH,
Vinicius

William Stuart escreveu:
(Sorry if this is a dupe, not sure if you had to be a subscriber to 
send to the list)


Hello all,

I am a new to OpenBSD but not *nix in general...

I have two systems running OpenBSD 4.2.  It has 9 carp interfaces, 
and has been running fine for months.  All of a sudden, both systems 
are in BACKUP state.


I halted one of the systems then on the remaining system rebooted, 
shut down and restarted, run ifconfig carp1 state master, changed 
the sysctls, removed the hostname files, rebooted, then replaced the 
hostname files, fiddled with the advskew and lots of other things.


Even with no other system running, carp will not go into MASTER 
state, period, no errors,  no logs.


I tried setting net.inet.carp.log=1 and 2 and 1000, I see no logs 
anywhere in /var/log.


Anything else I can look at?

William




OpenBSD AMD64 install snapshot (from 17.07.2008) halts while booting.

2008-07-18 Thread Jonny Heggheim
Machine:
Intel Quad Core Q9300 CPU
8GB RAM
ASUS P5Q Pro Mainboard (Chipset: Intel P45 / ICH10R)

After the kernel halts, its impossible to use the keyboard (no numlock
or ctrl-alt-del).
I have done the best to get some of the output (photo+typing), the
pictures are from several boots, so I hope there are no confusing
hardware changes or typos.
When i disabled uhci in UKC, the uhci*: host controller process
error and uhci*: host controller halted errors disappeared, but it
still halts at rd0: fixed, 4480 blocks
For booting I have dd'ed floppy.fs to a usb thumb drive (emulated as
floppy), the boot process works on another computer.


Thanks
Jonny Heggheim


Output/dmesg:

Bigmem = 1
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 4.4-beta (RAMDISK) #77: Wed Jul  9 16:57:41 MDI 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK
real mem = 8579784704 (8182MB)
avail mem = 8332877824 (7946MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0720 (70 entries)
bios0: vendor American Megatrends Inc. version 0703 date 06/12/2008
bios0: ASUSTeK Computer INC. P5Q-PRO
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPEI OSFR SSDT
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (POP2)
acpiprt2 at acpi0: bus -1 (POP3)
acpiprt3 at acpi0: bus 4 (POP1)
acpiprt4 at acpi0: bus -1 (POP5)
acpiprt5 at acpi0: bus -1 (POP6)
acpiprt6 at acpi0: bus -1 (POP7)
acpiprt7 at acpi0: bus -1 (POP8)
acpiprt8 at acpi0: bus 2 (POP8)
acpiprt9 at acpi0: bus 3 (POP4)
cpu0 at mainbus0: (uniprocessor)
 - snip -

to hard to capture output :(

 - snip -
ernet, rev 0xb0) at pci3 dev 0 function 0 not configured
uchi3 at pci0 at pci0 dev 29 function 0 vendor Intel, unknow product
0x3a34 rev 0x00: irq 3
uchi4 at pci0 at pci0 dev 29 function 1 vendor Intel, unknow product
0x3a35 rev 0x00: irq 5
uchi5 at pci0 at pci0 dev 29 function 2 vendor Intel, unknow product
0x3a36 rev 0x00: irq 15
vendor Intel, unknown product 0x3a3a (class serial bus subclass USB,
rev 0x00) at pci0 dev 29 function 7 not configured
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x90
pci4 at ppb3 bus 4
Ralink RT2560 rev 0x01 at pci4 dev 0 function 0 not configured
Creative Labs SoundBlaster Audigy Digital rev 0x03 at pci4 dev 1
function 1 not configured
Creative Labs Firewire rev 0x00 at pci4 dev 1 function 2 not configured
ATT/Lucent FW322 1394 rev 0x70 at pci4 dev 3 function 0 not configured
vendor Intel, unknown product 0x3a16 (class bridge subclass ISA, rev
0x00) at pci0 dev 31 function 0 not configured
pciide0 at pci0 dev 32 function 2 vendor Intel, unknown product
0x3a20 rev 0x00: DMA (unsupported), chanel 0 configured to native-PCI,
channel 1 configured to native-PCI
pciide: using irq5 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: WDC WD3000GLFS-01F8U0
wd0: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
wd1 at pciide0 channel 1 drive 1: ST3160023AS
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
vendor Intel, unknown product 0x3a30 (class serial bus subclass
SMBus, rev 0x00) at pci0 dev 31 function 3 not configured
pciide1 at pci0 dev 32 function 5 vendor Intel, unknown product
0x3a26 rev 0x00: DMA (unsupported), channel 0 wired to native-PCI,
channel 1 wired to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd2 at pciide1 channel 0 drive 0: ST3260023AS
wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
pciide1: channel 1 ignored (not responding; disabled or no drives?)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci3: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci4: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
usb5 at uhci5: USB revision 1.0
uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
pckbc at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
uhci5: host controller process error
uhci5: host controller halted
uhci2: host controller process error
uhci2: host controller halted
uhci1: host controller process error
uhci1: host controller halted
uhci0: host controller process error
uhci0: host controller halted
uhci4: host controller process error
uhci4: host controller halted
uhci3: host controller process error
uhci3: host controller halted
rd0: fixed, 4480 blocks



Re: OpenBSD AMD64 install snapshot (from 17.07.2008) halts while booting.

2008-07-18 Thread Karl Sjodahl - dunceor
On Fri, Jul 18, 2008 at 6:03 PM, Jonny Heggheim [EMAIL PROTECTED] wrote:
 Machine:
 Intel Quad Core Q9300 CPU
 8GB RAM
 ASUS P5Q Pro Mainboard (Chipset: Intel P45 / ICH10R)

 After the kernel halts, its impossible to use the keyboard (no numlock
 or ctrl-alt-del).
 I have done the best to get some of the output (photo+typing), the
 pictures are from several boots, so I hope there are no confusing
 hardware changes or typos.
 When i disabled uhci in UKC, the uhci*: host controller process
 error and uhci*: host controller halted errors disappeared, but it
 still halts at rd0: fixed, 4480 blocks
 For booting I have dd'ed floppy.fs to a usb thumb drive (emulated as
 floppy), the boot process works on another computer.


 Thanks
 Jonny Heggheim


 Output/dmesg:

 Bigmem = 1
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org

 OpenBSD 4.4-beta (RAMDISK) #77: Wed Jul  9 16:57:41 MDI 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK
 real mem = 8579784704 (8182MB)
 avail mem = 8332877824 (7946MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0720 (70 entries)
 bios0: vendor American Megatrends Inc. version 0703 date 06/12/2008
 bios0: ASUSTeK Computer INC. P5Q-PRO
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP APIC MCFG OEMB HPEI OSFR SSDT
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (POP2)
 acpiprt2 at acpi0: bus -1 (POP3)
 acpiprt3 at acpi0: bus 4 (POP1)
 acpiprt4 at acpi0: bus -1 (POP5)
 acpiprt5 at acpi0: bus -1 (POP6)
 acpiprt6 at acpi0: bus -1 (POP7)
 acpiprt7 at acpi0: bus -1 (POP8)
 acpiprt8 at acpi0: bus 2 (POP8)
 acpiprt9 at acpi0: bus 3 (POP4)
 cpu0 at mainbus0: (uniprocessor)
  - snip -

 to hard to capture output :(

  - snip -
 ernet, rev 0xb0) at pci3 dev 0 function 0 not configured
 uchi3 at pci0 at pci0 dev 29 function 0 vendor Intel, unknow product
 0x3a34 rev 0x00: irq 3
 uchi4 at pci0 at pci0 dev 29 function 1 vendor Intel, unknow product
 0x3a35 rev 0x00: irq 5
 uchi5 at pci0 at pci0 dev 29 function 2 vendor Intel, unknow product
 0x3a36 rev 0x00: irq 15
 vendor Intel, unknown product 0x3a3a (class serial bus subclass USB,
 rev 0x00) at pci0 dev 29 function 7 not configured
 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x90
 pci4 at ppb3 bus 4
 Ralink RT2560 rev 0x01 at pci4 dev 0 function 0 not configured
 Creative Labs SoundBlaster Audigy Digital rev 0x03 at pci4 dev 1
 function 1 not configured
 Creative Labs Firewire rev 0x00 at pci4 dev 1 function 2 not configured
 ATT/Lucent FW322 1394 rev 0x70 at pci4 dev 3 function 0 not configured
 vendor Intel, unknown product 0x3a16 (class bridge subclass ISA, rev
 0x00) at pci0 dev 31 function 0 not configured
 pciide0 at pci0 dev 32 function 2 vendor Intel, unknown product
 0x3a20 rev 0x00: DMA (unsupported), chanel 0 configured to native-PCI,
 channel 1 configured to native-PCI
 pciide: using irq5 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: WDC WD3000GLFS-01F8U0
 wd0: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
 wd1 at pciide0 channel 1 drive 1: ST3160023AS
 wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 vendor Intel, unknown product 0x3a30 (class serial bus subclass
 SMBus, rev 0x00) at pci0 dev 31 function 3 not configured
 pciide1 at pci0 dev 32 function 5 vendor Intel, unknown product
 0x3a26 rev 0x00: DMA (unsupported), channel 0 wired to native-PCI,
 channel 1 wired to native-PCI
 pciide1: using irq 5 for native-PCI interrupt
 wd2 at pciide1 channel 0 drive 0: ST3260023AS
 wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 pciide1: channel 1 ignored (not responding; disabled or no drives?)
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb3 at uhci3: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb4 at uhci4: USB revision 1.0
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb5 at uhci5: USB revision 1.0
 uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at mainbus0
 pckbc at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 uhci5: host controller process error
 uhci5: host controller halted
 uhci2: host controller process error
 uhci2: host controller halted
 uhci1: host controller process error
 uhci1: host controller halted
 uhci0: host controller process error
 uhci0: host controller halted
 uhci4: host controller process error
 uhci4: host controller halted
 uhci3: host controller process error
 uhci3: host controller halted
 rd0: fixed, 4480 blocks



On my macbook there is kinda the same problem the first time it boots.
It will eventually 

Re: amd64 with 4Go and azalia

2008-07-18 Thread OUSADOU Azwaw
 The iommu is missing from your dmesg, so I guess the bios does not remap
 the memory to give space for the pci configuration. This would result in
 the symptoms described in the dmesg.

I have this problem only with amd64 version, the i386 version recognizes well 
my devices but i have strange bugs.

 The output from the boot promt machine memory will show if I am right
 with the above. If so, take a look into the bios options. There should be
 a knob which should take care of the remapping. If there is no such knob
 you should look for a bios update.


Memory Map is enable in PCI Configuration setting.

Thanks,
BSDManiak



Re: OpenBSD AMD64 install snapshot (from 17.07.2008) halts while booting.

2008-07-18 Thread Jonny Heggheim
Hi, waited for 30 minutes now. No response :(

Jonny Heggheim

On Fri, Jul 18, 2008 at 6:17 PM, Karl Sjodahl - dunceor
[EMAIL PROTECTED] wrote:
 On Fri, Jul 18, 2008 at 6:03 PM, Jonny Heggheim [EMAIL PROTECTED] wrote:
 Machine:
 Intel Quad Core Q9300 CPU
 8GB RAM
 ASUS P5Q Pro Mainboard (Chipset: Intel P45 / ICH10R)

 After the kernel halts, its impossible to use the keyboard (no numlock
 or ctrl-alt-del).
 I have done the best to get some of the output (photo+typing), the
 pictures are from several boots, so I hope there are no confusing
 hardware changes or typos.
 When i disabled uhci in UKC, the uhci*: host controller process
 error and uhci*: host controller halted errors disappeared, but it
 still halts at rd0: fixed, 4480 blocks
 For booting I have dd'ed floppy.fs to a usb thumb drive (emulated as
 floppy), the boot process works on another computer.


 Thanks
 Jonny Heggheim


 Output/dmesg:

 Bigmem = 1
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org

 OpenBSD 4.4-beta (RAMDISK) #77: Wed Jul  9 16:57:41 MDI 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK
 real mem = 8579784704 (8182MB)
 avail mem = 8332877824 (7946MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0720 (70 entries)
 bios0: vendor American Megatrends Inc. version 0703 date 06/12/2008
 bios0: ASUSTeK Computer INC. P5Q-PRO
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP APIC MCFG OEMB HPEI OSFR SSDT
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (POP2)
 acpiprt2 at acpi0: bus -1 (POP3)
 acpiprt3 at acpi0: bus 4 (POP1)
 acpiprt4 at acpi0: bus -1 (POP5)
 acpiprt5 at acpi0: bus -1 (POP6)
 acpiprt6 at acpi0: bus -1 (POP7)
 acpiprt7 at acpi0: bus -1 (POP8)
 acpiprt8 at acpi0: bus 2 (POP8)
 acpiprt9 at acpi0: bus 3 (POP4)
 cpu0 at mainbus0: (uniprocessor)
  - snip -

 to hard to capture output :(

  - snip -
 ernet, rev 0xb0) at pci3 dev 0 function 0 not configured
 uchi3 at pci0 at pci0 dev 29 function 0 vendor Intel, unknow product
 0x3a34 rev 0x00: irq 3
 uchi4 at pci0 at pci0 dev 29 function 1 vendor Intel, unknow product
 0x3a35 rev 0x00: irq 5
 uchi5 at pci0 at pci0 dev 29 function 2 vendor Intel, unknow product
 0x3a36 rev 0x00: irq 15
 vendor Intel, unknown product 0x3a3a (class serial bus subclass USB,
 rev 0x00) at pci0 dev 29 function 7 not configured
 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x90
 pci4 at ppb3 bus 4
 Ralink RT2560 rev 0x01 at pci4 dev 0 function 0 not configured
 Creative Labs SoundBlaster Audigy Digital rev 0x03 at pci4 dev 1
 function 1 not configured
 Creative Labs Firewire rev 0x00 at pci4 dev 1 function 2 not configured
 ATT/Lucent FW322 1394 rev 0x70 at pci4 dev 3 function 0 not configured
 vendor Intel, unknown product 0x3a16 (class bridge subclass ISA, rev
 0x00) at pci0 dev 31 function 0 not configured
 pciide0 at pci0 dev 32 function 2 vendor Intel, unknown product
 0x3a20 rev 0x00: DMA (unsupported), chanel 0 configured to native-PCI,
 channel 1 configured to native-PCI
 pciide: using irq5 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: WDC WD3000GLFS-01F8U0
 wd0: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
 wd1 at pciide0 channel 1 drive 1: ST3160023AS
 wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 vendor Intel, unknown product 0x3a30 (class serial bus subclass
 SMBus, rev 0x00) at pci0 dev 31 function 3 not configured
 pciide1 at pci0 dev 32 function 5 vendor Intel, unknown product
 0x3a26 rev 0x00: DMA (unsupported), channel 0 wired to native-PCI,
 channel 1 wired to native-PCI
 pciide1: using irq 5 for native-PCI interrupt
 wd2 at pciide1 channel 0 drive 0: ST3260023AS
 wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 pciide1: channel 1 ignored (not responding; disabled or no drives?)
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb3 at uhci3: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb4 at uhci4: USB revision 1.0
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb5 at uhci5: USB revision 1.0
 uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at mainbus0
 pckbc at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 uhci5: host controller process error
 uhci5: host controller halted
 uhci2: host controller process error
 uhci2: host controller halted
 uhci1: host controller process error
 uhci1: host controller halted
 uhci0: host controller process error
 uhci0: host controller halted
 uhci4: host controller process error
 uhci4: host controller halted
 uhci3: host controller process error
 uhci3: 

Re: GPL version 4

2008-07-18 Thread Bodo Eggert
Morton Harrow [EMAIL PROTECTED] wrote:

 I see with pain in my heart that the GPLv3 doesn't actually give the
 users of GPLv3 software the liberty and freedom the FSF has been
 fighting for. Instead they are forced to play by the strict set of
 terms the GPLv3 provides.
 
 For example, as a liberated computer user, I might like to incorporate
 a high quality piece of GPLv3 software in a commercial product,
 which for bussiness strategic reasons happens to be closed source software.
 But the GPLv3 denies my claim for this freedom to do this.

Would you grant me the freedom to give away your commercial product for free
or to incorporate it in my commercial product? Probably not. You'd instead
grant me less freedom. The GPL protects me from this.



Re: CARP not leaving backup state

2008-07-18 Thread Markus Wernig

Hi

Are you sure that all the interfaces you have configured carp on have 
link and can connect to each other? (I've seen similar behaviour caused 
by defective NICs: receive buffer not receiving while send buffer still 
sending - try ping on all interfaces) Is lo up? Is there any other 
router on the same network segment that propagates the same VHID with a 
better metric (i suppose that a VRRP router on the same net could cause 
trouble if it uses the same VHIDs).


no answers, just questions, I know ...

hth /markus



Re: cdio: The media doesn't support blanking

2008-07-18 Thread Rafal Brodewicz
On Thu, Jul 03, 2008 at 11:19:54PM +0200, Rafal Brodewicz wrote:
 Hello.
 
 I can't blank cd on i386, and getting: cdio: The media doesn't support
 blanking message.
 Same cd blanks with no problem on amd64 laptop. Don't know if it's cd drive or
 platform issue.

I've investigated cdio.c and mmc.c files and here's what I've spotted.
Below are values from mmc.c's while loop in
get_media_capabilities(int *cap) function;

mmc.c: feature == 0 *cap == 0
mmc.c: feature == 1 *cap == 0
mmc.c: feature == 2 *cap == 0
mmc.c: feature == 3 *cap == 0
mmc.c: feature == 1d*cap == 0
mmc.c: feature == 21*cap == 0
mmc.c: feature == 23*cap == 0
mmc.c: feature == 2d*cap == 1
mmc.c: feature == 2e*cap == 1
mmc.c: feature == 100   *cap == 1
mmc.c: feature == 104   *cap == 1
mmc.c: feature == 105   *cap == 1

Above function sets *cap to 1.
MEDIACAP_CDRW_WRITE has 0x02 value, so
if ((mediacap  MEDIACAP_CDRW_WRITE) == 0) test in cdio.c file is true.

When I comment out this test my cd-drive blanks with no problem, so I think
that its features are discovered wrongly.

Regards.

OpenBSD 4.4-beta (GENERIC) #977: Mon Jul 14 20:20:57 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.71 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 804810752 (767MB)
avail mem = 769478656 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS 
rev. 2.3 @ 0xf0120 (37 entries)
bios0: vendor Award Software International, Inc. version F4 date 08/10/2004
bios0: Gigabyte Technology Co., Ltd. GA-7VAX
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xc9c4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc910/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xd000 0xd/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: v3, aperture at 0xd000, size 0x1000
ATI Radeon 9200 Sec rev 0x01 at pci1 dev 0 function 1 not configured
ral0 at pci0 dev 11 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:13:d3:73:7a:38
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 5
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 7
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 11
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
maxtmp0 at iic0 addr 0x4c: lm90
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: ST340014A
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, CD-RW GCE-8520B, 1.04 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 11
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
rl0 at pci0 dev 19 function 0 Realtek 8139 rev 0x10: irq 11, address 
00:20:ed:52:04:db
rlphy0 at rl0 phy 0: RTL internal PHY
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ffed netmask ffed ttymask 
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0 

Re: CARP not leaving backup state

2008-07-18 Thread William Stuart

Markus Wernig wrote:

Hi

Are you sure that all the interfaces you have configured carp on have 
link and can connect to each other? (I've seen similar behaviour 
caused by defective NICs: receive buffer not receiving while send 
buffer still sending - try ping on all interfaces) Is lo up? Is there 
any other router on the same network segment that propagates the same 
VHID with a better metric (i suppose that a VRRP router on the same 
net could cause trouble if it uses the same VHIDs).


no answers, just questions, I know ...

hth /markus
Don't mind the questions!  Just hoping someone will ask one where I say, 
I am such an IDIOT! Why didn't I think of that!


Yes, it had link (I was ssh'ing to the configured interface).  They can 
connect to each other (I would assume if they couldn't see each other I 
would have a MASTER/MASTER issue and not a BACKUP/BACKUP issue), I ended 
up halting one of them to see if I can get just one to go MASTER when it 
was alone, no dice.  I did a tcpdump and did not see any other VRRP traffic.




Još samo 1 dan uz 25% popusta

2008-07-18 Thread Top Shop
PoE!tovani,

PodseDamo da Vam je HIT proizvod Cellules joE! samo jedan dan na
raspolaganju uz 25% popusta. Celluless je anticelulit masaEer pomoDu
koga vrE!ite vakuumsku terapiju celulita u sopstvenom domu! Ukoliko
Eelite da proD
itate viE!e o ovom proizvodu kliknite ovde. 

Ova ponuda vaEi iskljuD
ivo za porudEbine pristigle putem Interneta ili
broja telefona 021 489 26 60. PoEurite... VeD od 20. jula cena De biti
za 600 dinara viE!a. Iskoristite preostala 24 sata - poruD
ite Celluless
za samo 2990 dinara - izgledajte lepE!e i uE!tedite novac!

S poE!tovanjem VaE!,

Top Shop

Ovu elektronsku poE!tu primate, ukoliko ste svojevoljno ostavili svoju
e-mail adresu na nekom od sajtova Top Shop-a, uD
estvovali u posebnim
akcijama ili se prijavili za e-D
asopis Top Shop-a ili nekog od nasih
brendova.

Ponuda data u ovom e-mailu vaEi iskljuD
ivo za porudEbine upuDene
putem Interneta ili broja telefona 021 489 26 60.

Ukoliko ne Eelite viE!e da primate naE!e elektronske poruke, za
odjavljivanje sa naE!e e-mailing liste, kliknite ovde.

Studio Moderna d.o.o., Laze NanD
iDa 50, 21000 Novi Sad, Tel: 021 489 26
60, Fax: 021 489 26 08, E-mail: [EMAIL PROTECTED]

[IMAGE]If you would no longer like to receive our emails please
unsubscribe by clicking here.



Re: CARP not leaving backup state

2008-07-18 Thread Markus Wernig
If you tcpdump do you see any carp traffic at all (ip proto 112)? Upon 
reboot? And you did enable carp preemption on both hosts (sysctl 
net.inet.carp.preempt=1)?




xauth: (stdin):2: unknown command

2008-07-18 Thread Rafal Brodewicz
Hello.
When starting X server I'm getting following message:

xauth:  creating new authority file /home/raff/.serverauth.6489
xauth: (stdin):2:  unknown command f7dc6384bd24019ab5620c73611c6135
xauth: (stdin):3:  unknown command f7dc6384bd24019ab5620c73611c6135
xauth: (stdin):4:  unknown command f7dc6384bd24019ab5620c73611c6135

Server starts and X are running fine, but what can cause those messages?

dmesg:
OpenBSD 4.4-beta (GENERIC) #977: Mon Jul 14 20:20:57 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.71 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 804810752 (767MB)
avail mem = 769478656 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS 
rev. 2.3 @ 0xf0120 (37 entries)
bios0: vendor Award Software International, Inc. version F4 date 08/10/2004
bios0: Gigabyte Technology Co., Ltd. GA-7VAX
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xc9c4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc910/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xd000 0xd/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: v3, aperture at 0xd000, size 0x1000
ATI Radeon 9200 Sec rev 0x01 at pci1 dev 0 function 1 not configured
ral0 at pci0 dev 11 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:13:d3:73:7a:38
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 5
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 7
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 11
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
maxtmp0 at iic0 addr 0x4c: lm90
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: ST340014A
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, CD-RW GCE-8520B, 1.04 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 11
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
rl0 at pci0 dev 19 function 0 Realtek 8139 rev 0x10: irq 11, address 
00:20:ed:52:04:db
rlphy0 at rl0 phy 0: RTL internal PHY
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ffed netmask ffed ttymask 
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0 Logitech HID compliant 
keyboard rev 1.10/1.80 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 Logitech HID compliant 
keyboard rev 1.10/1.80 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
uhidev2 at uhub1 port 2 configuration 1 interface 0 Logitech USB RECEIVER rev 
1.10/25.10 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons, Z dir
wsmouse0 at ums0 mux 0

xorg.conf:

Section Files
   

Re: Digital IO - Phidgets support? alternatives?

2008-07-18 Thread ropers
2008/7/8 Tom Le Page [EMAIL PROTECTED]:
 Hi misc@,
 I am looking for a digital input /output solution (capture a button
 press, light an LED, etc) now, and will be looking to capture analog
 input in the future.

If you only need to capture a button press and light an LED (and for
now can do without the option to capture analog input as is), then
sled may suit:

http://www.linuxfocus.org/English/January2001/article186.shtml

and:

http://marc.info/?l=openbsd-miscm=77380010679w=2

kind regards,
--ropers



xorg.conf for VMware Fusion on MacBook

2008-07-18 Thread Lawrence Teo

If anyone's interested, here's an xorg.conf for OpenBSD 4.4-beta
with the correct refresh rates and modeline to display the full
1280x800 resolution on VMware Fusion 1.1.3 on a MacBook:

http://labs.calyptix.com/xorg.conf-vmware-fusion3

Hope it helps someone. :)

Regards,
Lawrence



Re: CARP not leaving backup state

2008-07-18 Thread Jason Dixon
On Fri, Jul 18, 2008 at 01:26:07PM -0700, William Stuart wrote:
 Markus Wernig wrote:
 Hi

 Are you sure that all the interfaces you have configured carp on have  
 link and can connect to each other? (I've seen similar behaviour  
 caused by defective NICs: receive buffer not receiving while send  
 buffer still sending - try ping on all interfaces) Is lo up? Is there  
 any other router on the same network segment that propagates the same  
 VHID with a better metric (i suppose that a VRRP router on the same  
 net could cause trouble if it uses the same VHIDs).

 no answers, just questions, I know ...

 hth /markus
 Don't mind the questions!  Just hoping someone will ask one where I say,  
 I am such an IDIOT! Why didn't I think of that!

 Yes, it had link (I was ssh'ing to the configured interface).  They can  
 connect to each other (I would assume if they couldn't see each other I  
 would have a MASTER/MASTER issue and not a BACKUP/BACKUP issue), I ended  
 up halting one of them to see if I can get just one to go MASTER when it  
 was alone, no dice.  I did a tcpdump and did not see any other VRRP 
 traffic.

Is there any chance another CARP segment has recently been added to the
same switch / stack?  I've seen CARP vhid's leak through to other
broadcast domains on some Avaya switches.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: GPL version 4

2008-07-18 Thread David Schwartz
 Would you grant me the freedom to give away your commercial
 product for free
 or to incorporate it in my commercial product? Probably not. You'd instead
 grant me less freedom. The GPL protects me from this.

Except it doesn't. With or without the GPL, if he still makes his commercial
product, you will still be unable to give it away or incorporate it in your
commercial product. If he doesn't make it, that's just less choice for
everyone.

It may be a poorer product. It may cost him more to develop it. It may wind
up not existing. But in no case will will you wind up with the freedom to
give away his commercial product. So the GPL actually won't protect you from
this at all.

It will just result in him producing a poorer, more expensive, less
compatible product -- or none at all. Either way, everyone else will have
fewer (and/or poorer) choices. Everyone loses. Nobody wins.

Note that had he been able to incorporate the GPL code in his commercial
product, he may have passed bug fixes and improvements back to the GPL
project. He would not have had to, of course, but if his product just uses a
GPL component or library (that doesn't compete with the larger product),
there's no reason for him not to. Everybody could have won.

It's always possible he may instead elect to make a GPL'd project. This may
allow him to produce a higher-quality product in less time. It may allow
others to build on his work, and result in more freedom for everyone. He may
make less money, but maybe not. The question of whether the everybody
loses or the lots of people, maybe everybody, wins case is more common is
an empiric one.

I have seen an awful lot of everybody loses cases. I've seen very few
everybody wins cases.

DS



Re: CARP not leaving backup state

2008-07-18 Thread William Stuart

Thanks everyone I figured it out!

19:13:46.334037 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 
demote=0 (DF) [tos 0x10]
19:13:46.334299 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 
demote=0 (DF) [tos 0x10]


Something is mirroring and replaying all the packets back.

Grrr.  Must be a vmWare config issue.

William

Jason Dixon wrote:

If you'd like to send me your full `ifconfig -a` and pf.conf from both
systems I'll take a look.

-J.

On Fri, Jul 18, 2008 at 06:19:22PM -0700, William Stuart wrote:
  

Not before the failure, but I did test negative demoting as a fix..

-bash-3.2# ifconfig -g carp   carp: carp demote count 0

Jason Dixon wrote:


Any chance you've been adjusting your carpdemote counters?

-J.

On Fri, Jul 18, 2008 at 06:04:19PM -0700, William Stuart wrote:
  
  

Gotcha.  Nope, only one set of OpenBSD boxes.

Just as a test, I replaced the carp config for one of the IP 
addresses  and changed the VHID. still backup.


-bash-3.2# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168
   groups: lo
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00
em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:50:56:a0:4f:81
   groups: egress
   media: Ethernet autoselect (1000baseT full-duplex,master)
   status: active
   inet6 fe80::250:56ff:fea0:4f81%em0 prefixlen 64 scopeid 0x1
   inet 172.19.161.64 netmask 0x broadcast 172.19.161.64
enc0: flags=0 mtu 1536
carp5: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:00:5e:00:01:32
   carp: BACKUP carpdev em0 vhid 50 advbase 1 advskew 0
   groups: carp
   inet6 fe80::200:5eff:fe00:132%carp5 prefixlen 64 scopeid 0x4
   inet 172.19.161.67 netmask 0xff00 broadcast 172.19.161.255
-bash-3.2# cat /etc/hostname.carp5
inet 172.19.161.67 255.255.255.0 172.19.161.255 vhid 50 carpdev em0 
pass  blahblahblah


Jason Dixon wrote:



I didn't mean someone else had.  I meant that perhaps you setup another
pair on another network, but on the same switch.  It happened to us, and
even though we didn't see leaking carp/vrrp packets, the problem
disappeared as soon as we changed the vhid to something unique.

Oh well, try try again.

-J.

On Fri, Jul 18, 2008 at 03:58:56PM -0700, William Stuart wrote:

  

Nope.  Confirmed with tcpdump.  No other carp/vrrp.

Plus, where I am, no one else can spell B-S-D let alone install 
one, let  alone setup carp.


William

Jason Dixon wrote:



On Fri, Jul 18, 2008 at 01:26:07PM -0700, William Stuart wrote:
  
  

Markus Wernig wrote:



Hi

Are you sure that all the interfaces you have configured 
carp on have  link and can connect to each other? (I've 
seen similar behaviour  caused by defective NICs: receive 
buffer not receiving while send  buffer still sending - try 
ping on all interfaces) Is lo up? Is there  any other 
router on the same network segment that propagates the same 
 VHID with a better metric (i suppose that a VRRP router on 
the same  net could cause trouble if it uses the same 
VHIDs).


no answers, just questions, I know ...

hth /markus
  
  
Don't mind the questions!  Just hoping someone will ask one 
where I say,  I am such an IDIOT! Why didn't I think of 
that!


Yes, it had link (I was ssh'ing to the configured interface). 
 They can  connect to each other (I would assume if they 
couldn't see each other I  would have a MASTER/MASTER issue 
and not a BACKUP/BACKUP issue), I ended  up halting one of 
them to see if I can get just one to go MASTER when it  was 
alone, no dice.  I did a tcpdump and did not see any other 
VRRP traffic.



Is there any chance another CARP segment has recently been added to the
same switch / stack?  I've seen CARP vhid's leak through to other
broadcast domains on some Avaya switches.




4.3 i386 MP kernel w/Raidframe - throws a: splassert: uvm_map_p: want –1 have 1

2008-07-18 Thread K.R. (Randy) Lewis
Re-post in misc@  (sorry for posting wrongly before)
-

Encountered the following: 4.3 i386 MP kernel w/Raidframe
 - throws a: splassert: uvm_map_p: want 1 have 1

Here's what was going on...


We took a USB 250GB drive and wiped it (unallocated partition) using
partition magic on one of those, what do you call it..
..oh yeah...WindowsXP thingys...(expedient, ok?)

Then plugged it into a 4.3 OpenBSD MacMini, did a  disklabel and
established a partition sd0i of type MSDOS.

Then did a newfs t msdos sd0i.
All of this works great, each time we do it.

Then mounted it on the MacMini 4.3 OpenBSD with no problems, so
we were fairly sure it was OK.

We unmounted it from the 4.3 OpenBSD MacMini and cruised on over to
a Dell PowerEdge 1550 Dual-P3, 512MB with 2 QLogic Fibre channel boards
with two arrays, all set up nicely with Raidframe - each array as RAID5 and
both arrays mirrored as a RAID1.  This configuration has been in use for
quite some time and works quite well (although a recent disk
replacement requires some attention..)

We mounted the USB drive (configured as above) without issue.

Kicked off a cp /big_file_of_4GB   to   /usb_drive_mount_point  job
and it ran for about an hour before issuing a kernal error...

 splassert: uvm_map_p: want 1 have 1

... to the console.

The 'cp' was wedged, but the system seemed to be running.

We were able to ssh into the system and look around, but issuing
a 'reboot' from the ssh session caused the system to hang
completely after the shutdown messages to the console - and
somewhere in the 'syncing' before halt portion.

So, before we go poking around in this MP system and perhaps
retrace well worn steps ... has anyone seen this on an MP
configuration (with or without Raidframe) ?


  Randy

--

Here is the current DMESG, but please realize it's just now recovering
from our 'force crash / reset' so there is some noise from the Raid stuff
at the end.

Also, note that the sd7  sd8 disks are NOT part of any array.
They are the boot / swap and /usr/src /usr/ports drives on this puppy.

And, finally, this raidframe setup, with these disks have been
working for over a year on a 4.1 version system.  Just so you know.


wally:randy {103} ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:

Last login: Wed Jul 16 16:09:56 2008 from 10.1.0.170
OpenBSD 4.3 (GENERIC.MP) #2: Tue Jul  1 13:45:45 EDT 2008

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

Terminal type? [vt220]
# dmesg
OpenBSD 4.3 (GENERIC.MP) #2: Tue Jul  1 13:45:45 EDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 994 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536379392 (511MB)
avail mem = 510132224 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/04, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.3 @ 0xfb060 (55 entries)
bios0: vendor Dell Computer Corporation version A09 date 12/10/2004
bios0: Dell Computer Corporation PowerEdge 1550/1000
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices PCI0(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class) 994 MHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus 2 (PCI2)
acpicpu0 at acpi0
acpicpu1 at acpi0
bios0: ROM list: 0xc/0x8000 0xc8000/0x6000 0xce000/0x2800 0xd0800/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
pci1 at pchb0 bus 1
isp0 at pci1 dev 4 function 0 QLogic ISP2100 rev 0x03: apic 3 int 9
(irq 5)
scsibus0 at isp0: 256 targets
sd0 at scsibus0 targ 0 lun 0: CSC 36GB, 15K REFURBISHED, 0026 SCSI3
0/direct fixed
sd0: 35003MB, 50824 cyl, 2 head, 705 sec, 512 bytes/sec, 71687372 sec total
sd1 at scsibus0 targ 1 lun 0: CSC 36GB, 15K REFURBISHED, 0026 SCSI3
0/direct fixed
sd1: 35003MB, 50824 cyl, 2 head, 705 sec, 512 bytes/sec, 71687372 sec total
sd2 at scsibus0 targ 2 lun 0: CSC 36GB, 15K REFURBISHED, 0026 SCSI3
0/direct fixed
sd2: 35003MB, 50824 

OpenBSD and SYNFlood / DDoS protection

2008-07-18 Thread Parvinder Bhasin
This maybe dumb but won't hurt to throw this out there, maybe this has  
to be built with combination of tools, technologies etc but i would  
definately like to first collect as much info and then maybe work on  
this (or maybe the solution - open source is already out there , in  
that case I would like to know what :), I know of many 100K devices  
that will do this.


Is there a way that I can setup a machine (another openbsd machine) in  
front of an OpenBSD firewall to help against DDoS attacks?
If so what would be proper approach in doing so (if someone has  
already approached this subject).


Machine would have 2 or 3 nics (3rd nic for management maybe?).
  You take the internet drop on the first port, say for example:   
fxp0 (external_if) .  Maybe implement SYNCOOKIE (technology).   The  
traffic only gets passed on to the firewall port throught fxp1  
(internal_if) , once the server gets the ACK back.Would SYNPROXY  
do this too??

This machine could also be doing some form of RATE LIMITING?? maybe??

Anyone ?? Anytakes??

/Parvinder Bhasin