problem with dhcpd on a bridge ?

2009-12-05 Thread jul
I have setup a bridge following the faq 
http://www.openbsd.org/faq/faq6.html#Bridge

(no filtering)

$ cat /etc/bridgename.bridge0
add sis0
add sis2
up
$ cat /etc/hostname.sis0
192.168.x.x 255.255.255.0 192.168.1.255 description LAN
$ cat /etc/hostname.sis2
up


$ brconfig bridge0
bridge0: flags=41UP,RUNNING
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 
proto rstp

designated: id 00:00:00:00:00:00 priority 0
sis2 flags=3LEARNING,DISCOVER
port 3 ifpriority 0 ifcost 0
sis0 flags=3LEARNING,DISCOVER
port 1 ifpriority 0 ifcost 0
Addresses (max cache: 100, timeout: 240):
00:21:70:d6:76:5a sis2 1 flags=0
00:23:32:d9:56:d8 sis0 1 flags=0



I start dhcpd with:
# /usr/sbin/dhcpd sis0 ral0

if started with bridge0 and/or sis2, /var/log/daemon returns
Dec  5 08:32:54 soekris4801 dhcpd[20667]: Can't listen on bridge0 - it 
has no IP address.
Dec  5 08:33:41 soekris4801 dhcpd[6656]: Can't listen on sis2 - it has 
no IP address.
And I believe it's not needed (one interface of the bridge equals all of 
them)


Dhcpd is working on sis0 with another system but doesn't answer to the 
box on sis2. tcpdump can see arp and bootp request from the station but 
there is no response from dhcpd. Don't know why.


Hints ?
If I configure static IP configuration, network access is good. really 
seems limited to dhcpd.


thanks a lot.
Best regards,

Julien

dmesg (note: update to 4.6 planned)
OpenBSD 4.4-stable (GENERIC) #0: Thu Apr 30 01:03:28 CEST 2009
r...@soekris4801.vpn.www:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC 
586-class) 267 MHz

cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133787648 (127MB)
avail mem = 120946688 (115MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Cyrix GXm PCI rev 0x00
sis0 at pci0 dev 6 function 0 NS DP83815 10/100 rev 0x00, DP83816A: 
irq 10, address 00:00:24:c3:58:cc

nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 NS DP83815 10/100 rev 0x00, DP83816A: 
irq 10, address 00:00:24:c3:58:cd

nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 NS DP83815 10/100 rev 0x00, DP83816A: 
irq 10, address 00:00:24:c3:58:ce

nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11, 
address 00:12:0e:61:7f:c0

ral0: MAC/BBP RT2561C, RF RT5225
gscpcib0 at pci0 dev 18 function 0 NS SC1100 ISA rev 0x00
gpio0 at gscpcib0: 64 pins
NS SC1100 SMI rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 NS SCx200 IDE rev 0x01: DMA, channel 
0 wired to compatibility, channel 1 wired to co

mpatibility
wd0 at pciide0 channel 0 drive 0: WDC WD1600BEVE-00UYT0
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 NS SC1100 X-Bus rev 0x00: iid 6 
revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 Compaq USB OpenHost rev 0x08: irq 5, 
version 1.0, legacy support

isa0 at gscpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 Compaq OHCI root hub rev 1.00/1.00 addr 1
biomask f3e5 netmask ffe5 ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Re: problem with dhcpd on a bridge ?

2009-12-05 Thread Claudio Jeker
On Sat, Dec 05, 2009 at 10:00:23AM +0100, jul wrote:
 I have setup a bridge following the faq
 http://www.openbsd.org/faq/faq6.html#Bridge
 (no filtering)
 
 $ cat /etc/bridgename.bridge0
 add sis0
 add sis2
 up
 $ cat /etc/hostname.sis0
 192.168.x.x 255.255.255.0 192.168.1.255 description LAN
 $ cat /etc/hostname.sis2
 up
 
 
 $ brconfig bridge0
 bridge0: flags=41UP,RUNNING
 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6
 proto rstp
 designated: id 00:00:00:00:00:00 priority 0
 sis2 flags=3LEARNING,DISCOVER
 port 3 ifpriority 0 ifcost 0
 sis0 flags=3LEARNING,DISCOVER
 port 1 ifpriority 0 ifcost 0
 Addresses (max cache: 100, timeout: 240):
 00:21:70:d6:76:5a sis2 1 flags=0
 00:23:32:d9:56:d8 sis0 1 flags=0
 
 
 
 I start dhcpd with:
 # /usr/sbin/dhcpd sis0 ral0
 
 if started with bridge0 and/or sis2, /var/log/daemon returns
 Dec  5 08:32:54 soekris4801 dhcpd[20667]: Can't listen on bridge0 -
 it has no IP address.
 Dec  5 08:33:41 soekris4801 dhcpd[6656]: Can't listen on sis2 - it
 has no IP address.
 And I believe it's not needed (one interface of the bridge equals
 all of them)
 
 Dhcpd is working on sis0 with another system but doesn't answer to
 the box on sis2. tcpdump can see arp and bootp request from the
 station but there is no response from dhcpd. Don't know why.
 
 Hints ?
 If I configure static IP configuration, network access is good.
 really seems limited to dhcpd.
 
 thanks a lot.
 Best regards,
 
   Julien
 
 dmesg (note: update to 4.6 planned)

Update to -current since this got fixed at h2k9 by Theo and myself.
Bridge did a terrible job when forwarding traffic to other ports which
resulted in most bpf listeners not seeing parts of the traffic.

-- 
:wq Claudio



Re: setxkbmap break network

2009-12-05 Thread Tomáš Bodžár
Update:

So at least I'm able to display text with Czech characters written in UTF-8.
Just start uxterm and in it :

$ luit -encoding 'UTF-8' emacs index.html

then you can see text in Czech without problems (vi,vim,gvim have problems).
But until I can use cz keyboard it's half solution.

2009/12/4 Abel Abraham Camarillo Ojeda acam...@the00z.org:
 On Fri, Dec 04, 2009 at 08:41:12AM +0100, TomC!E! BodEC!r wrote:
 Hi all,

 someone have similar problem? When I try :

 $ sudo setxkbmap cz
 $

 then my network connection stop responding and I must run :

 $ sudo sh /etc/netstart

 In Xorg.log there is same error as here
 https://bugs.freedesktop.org/show_bug.cgi?id=21761

 Before this error I can see line with :

 mtrr set failed: Invalid argument

 OpenBSD 4.6-current (GENERIC.MP) #325: Sat Nov 28 18:58:05 MST 2009
 B  B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel
 686-class) 2.40 GHz
 cpu0:
FPU,V86,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,VMX,SMX,EST,TM2,C
X16,xTPR
 real mem B = 3707650048 (3535MB)
 avail mem = 3608199168 (3441MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 09/17/09, BIOS32 rev. 0 @
 0xffa10, SMBIOS rev. 2.4 @ 0xf6510 (57 entries)
 bios0: vendor Dell Inc. version A17 date 09/17/2009
 bios0: Dell Inc. Latitude E6400
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT
 acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S3) USB2(S3) USB3(S3)
 USB4(S3) USB5(S3) USB6(S3) EHC2(S3) EHCI(S3) AZAL(S3) RP01(S4)
 RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 265MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel
 686-class) 2.40 GHz
 cpu1:
FPU,V86,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,VMX,SMX,EST,TM2,C
X16,xTPR
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 2
 acpiprt0 at acpi0: bus 3 (PCIE)
 acpiprt1 at acpi0: bus -1 (AGP_)
 acpiprt2 at acpi0: bus 11 (RP01)
 acpiprt3 at acpi0: bus 12 (RP02)
 acpiprt4 at acpi0: bus 13 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus -1 (RP05)
 acpiprt7 at acpi0: bus -1 (RP06)
 acpiprt8 at acpi0: bus 0 (PCI0)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpitz0 at acpi0: critical temperature 107 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PBTN
 acpibtn2 at acpi0: SBTN
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT0 model DELL MP4948B serial 36706 type LION
 oem Samsung SDI
 acpibat1 at acpi0: BAT1 not present
 acpivideo0 at acpi0: VID_
 acpivout0 at acpivideo0: CRT_
 acpivout1 at acpivideo0: LCD_
 acpivout2 at acpivideo0: DVI_
 acpivout3 at acpivideo0: DVI2
 acpivout4 at acpivideo0: DP__
 acpivout5 at acpivideo0: DP2_
 acpivideo1 at acpi0: VID_
 acpivout6 at acpivideo1: CRT_
 acpivout7 at acpivideo1: LCD_
 acpivout8 at acpivideo1: DP__
 acpivout9 at acpivideo1: DP2_
 acpivout10 at acpivideo1: DVI_
 acpivout11 at acpivideo1: DVI2
 acpivideo2 at acpi0: VID2
 bios0: ROM list: 0xc/0xf800! 0xcf800/0x800
 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 11)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 2
 int 22 (irq 10), address xx:xx:xx:xx:xx:xx
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 20 (irq 3)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 11)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 22 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 22 (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 82801I HD Audio rev 0x03:
 apic 2 int 21 (irq 11)
 azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 0)
 pci1 at ppb0 bus 11
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 0)
 pci2 at ppb1 

mpi error on DELL1655MC and 4.5 -stable

2009-12-05 Thread Ivo Chutkin

Hello misc,

I am getting this message mpi0: can't get RAID vol cfg page 0
 every 10 seconds on console and /var/log/messages.

The system is DELL PowerEdge 1655MC with PERC4/mi LSI logic hardware 
raid controller, RAID1 (mirror) enabled, hard drives synced, OpenBSD 4.5 
-stable as of December 3 2009.

Dmesg at the bottom.

I was searching the archives but found no solution.

Here is the output of bioctl:

r...@mail.
~ # bioctl mpi0
bioctl: BIOCVOL: Invalid argument

r...@mail.
~ # bioctl /dev/mpi0
bioctl: Can't locate /dev/mpi0 device via /dev/bio

What does this message mean and should I rely on this server?

Thanks for the help,

Ivo

Dmesg:

OpenBSD 4.5-stable (GENERIC.MP) #4: Thu Dec  3 20:09:48 EET 2009
r...@tftp.office...:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU - S 1266MHz (GenuineIntel 686-class) 
1.26 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 2146992128 (2047MB)
avail mem = 2067759104 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/24/02, BIOS32 rev. 0 @ 0xffe90, 
SMBIOS rev. 2.3 @ 0xfb040 (44 entries)

bios0: vendor Dell Computer Corporation version A00 date 09/24/2002
bios0: Dell Computer Corporation PowerEdge 1655MC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices PCI0(S5) PCI1(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(R) Pentium(R) III CPU - S 1266MHz (GenuineIntel 686-class) 
1.26 GHz
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)
acpicpu0 at acpi0
acpicpu1 at acpi0
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xcc000/0x4000 
0xd/0x1800 0xd1800/0x1800 0xec000/0x4000!

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 1
bge0 at pci1 dev 10 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2 
(0x1002): apic 3 int 1 (irq 10), address 00:06:5b:ee:4a:47
bge1 at pci1 dev 11 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2 
(0x1002): apic 3 int 0 (irq 7), address 00:06:5b:ee:4a:48
mpi0 at pci0 dev 13 function 0 Symbios Logic 53c1030 rev 0x07: apic 3 
int 3 (irq 14)

scsibus0 at mpi0: 16 targets, initiator 7
sd0 at scsibus0 targ 1 lun 0: DELL, VIRTUAL DISK, 1000 SCSI2 0/direct 
fixed

sd0: 69878MB, 512 bytes/sec, 143110145 sec total
mpi0: phys disk 1 Sync at 80MHz width 16bit offset 127 QAS 0 DT 1 IU 0
mpi0: phys disk 0 Sync at 80MHz width 16bit offset 127 QAS 0 DT 1 IU 0
vga1 at pci0 dev 14 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
iic0 at piixpm0
admtemp0 at iic0 addr 0x18: adm1023
admtemp1 at iic0 addr 0x4c: adm1023
spdmem0 at iic0 addr 0x50: 1GB SDRAM registered ECC PC133CL2
spdmem1 at iic0 addr 0x51: 1GB SDRAM registered ECC PC133CL2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05: 
apic 2 int 11 (irq 11), version 1.0, legacy support

pchb2 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 ServerWorks OHCI 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
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 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
mtrr: Pentium Pro MTRR support
mpi0: can't get RAID vol cfg page 0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
mpi0: can't get RAID vol cfg page 0
mpi0: can't get RAID vol cfg page 0
mpi0: can't get RAID vol cfg page 0
mpi0: can't get RAID vol cfg page 0
mpi0: can't get RAID vol cfg page 0
mpi0: can't get RAID vol cfg page 0


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4661 (20091204) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



spamd greylisting and 2nd MX question

2009-12-05 Thread inet_user23

Hi,

I am using the -M option of spamd and I am seeing a lot good servers
being
trapped because they tried the secondary MX first. What I am assuming is
that they tried the primary MX, which created a greylist entry. But this
entry expired, and after that, they tried to connect to the 2nd MX.

If I increase the greyexp value of the -G option (which is the default
of 4
hours), I suppose the greylist entryfor these servers will last longer.

Is there a chance that by doing so I will see less traps for this
reason?

Thanks in advance.

Regards,

Jose



HP Mini Touchpad Broken in Recent Snapshots

2009-12-05 Thread Brad Tilley
With recent snapshots, the touchpad on my HP Mini netbook stopped
working. Here is a dmesg for a few months back when the touchpad
worked followed by one from the most recent snapshot:

http://16systems.com/hp/hp-mini-110-1020NR.txt
http://16systems.com/hp/hp_mini_broken_touchpad.txt



Re: spamd greylisting and 2nd MX question

2009-12-05 Thread Bob Beck
I certainly do not see this behaviour. sounds to me very likely that your
primary is not reachable for some reason and they are trying the secondary.


2009/12/5  inet_use...@samerica.com:
 Hi,

 I am using the -M option of spamd and I am seeing a lot good servers
 being
 trapped because they tried the secondary MX first. What I am assuming is
 that they tried the primary MX, which created a greylist entry. But this
 entry expired, and after that, they tried to connect to the 2nd MX.

 If I increase the greyexp value of the -G option (which is the default
 of 4
 hours), I suppose the greylist entryfor these servers will last longer.

 Is there a chance that by doing so I will see less traps for this
 reason?

 Thanks in advance.

 Regards,

 Jose



Re: HP Mini Touchpad Broken in Recent Snapshots

2009-12-05 Thread Miod Vallat
 With recent snapshots, the touchpad on my HP Mini netbook stopped
 working. Here is a dmesg for a few months back when the touchpad
 worked followed by one from the most recent snapshot:
 
 http://16systems.com/hp/hp-mini-110-1020NR.txt
 http://16systems.com/hp/hp_mini_broken_touchpad.txt

However nothing changed in the PS/2 input devices code in between.

Does this happen upon everyboot (i.e. 100% reproduceable)? Does this
happen on cold boots?

Miod



How to disable IPv6?

2009-12-05 Thread rhubbell
I have disabled IPv6 in the kernel (via top-level GENERIC) but I can't
see what other places it needs to be disabled for other applications.
Is it enabled per-application or is there some magic in a top-level
Makefile somewhere? This IPv6 is like Whak-A-Mole. Or is it just so
pervasive now that it cannot be disabled? I don't have a need to
partake in the IPv6 research right now.

For all you IPv6 cheerleaders, please just resist the temptation to
cheer this time. I promise I'll re-enable the shit when my toaster
does IPv6.



Re: How to disable IPv6?

2009-12-05 Thread STeve Andre'
On Saturday 05 December 2009 14:25:02 rhubbell wrote:
 I have disabled IPv6 in the kernel (via top-level GENERIC) but I can't
 see what other places it needs to be disabled for other applications.
 Is it enabled per-application or is there some magic in a top-level
 Makefile somewhere? This IPv6 is like Whak-A-Mole. Or is it just so
 pervasive now that it cannot be disabled? I don't have a need to
 partake in the IPv6 research right now.
 
 For all you IPv6 cheerleaders, please just resist the temptation to
 cheer this time. I promise I'll re-enable the shit when my toaster
 does IPv6.

Future intelligent toast makers aside, why do you want to do this?
You aren't going to save much memory unless you're running on some
486 based system, and you will have created a frankensystem, that is
one which the OpenBSD community isn't going to be enthusiastic about
helping you.

You are free of course to make mods, but please understand that you
are on your own for them.  I suppose it could also be said that if
you need help in turning ipv6 off, you shouldn't--learn first how
things work before making such a modification.  I don't think most
of the people reading this are ipv6 fans, either.

--STeve Andre'



Re: HP Mini Touchpad Broken in Recent Snapshots

2009-12-05 Thread Brad Tilley
On Sat, Dec 5, 2009 at 1:16 PM, Miod Vallat m...@online.fr wrote:
 With recent snapshots, the touchpad on my HP Mini netbook stopped
 working. Here is a dmesg for a few months back when the touchpad
 worked followed by one from the most recent snapshot:

 http://16systems.com/hp/hp-mini-110-1020NR.txt
 http://16systems.com/hp/hp_mini_broken_touchpad.txt

 However nothing changed in the PS/2 input devices code in between.

 Does this happen upon everyboot (i.e. 100% reproduceable)? Does this
 happen on cold boots?

 Miod

Yes, it occurs each boot 100%. Cold boots too. I can plug a mouse in
and that works fine, but the touchpad and touchpad buttons don't work.
Maybe the hardware is broken. I'll try to dig up an old snapshot and
reload it to see.

Brad



building sbin/route on -current?

2009-12-05 Thread James Hartley
I updated my local source tree Tuesday.  Rebuilding the kernel went fine,
but building userland failed at sbin/route with the following messages:

=== sbin/route
cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c
/usr/src/sbin/route/route.c
cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c
/usr/src/sbin/route/show.c
cc -static -o route route.o show.o
route.o(.text+0x2a06): In function 'rdomain':
: undefined reference to 'setrdomain'
collect2: ld returned 1 exit status
*** Error 1

Stop in /usr/src/sbin/route (line 95 of /usr/share/mk/bsd.prog.mk).
*** Error 1

Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error 1

Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error 1

Stop in /usr/src (line 73 of Makefile).

Guessing that my tree may not be pristine, I deleted /usr/src  downloaded
again via AnonCVS last night.  Subsequent rebuilding of the kernel today
went fine, but building userland failed again in sbin/route.  I'm not seeing
anything in Following -current, but is there something else that I am
missing?

Thanks.



Re: can't get vesa @ 1280x800 or nv

2009-12-05 Thread rhubbell
On Sat, 28 Nov 2009 13:33:22 -0200
Rodrigo Amorim Bahiense wrote:

 On Sat, Nov 28, 2009 at 08:20:16AM +, Matthieu Herrb wrote:
  On Sat, Nov 28, 2009 at 1:35 AM, Peter Miller feu...@gmail.com wrote:
   I have 4.6 amd64 installed and can't get X to work at 1280x800.
--snip--
  Stay away from nVidia graphics cards, especially on laptops if you
  want to run an open source system on it.
  
  --
  Matthieu Herrb
   
 
 Can you point some good manufacturers, please?

Yes, I'd like to see some pointers also.  I recall that there was
discussion (might've been on linux kernel) a while ago about a
partially-open video card.  Why doesn't the community support that?
I recall that price was a factor in lack of uptake.
Seems to me that opensource is farsical if it runs on closesource hardware.
So where's the opensource hardware? Seems like the new world order isn't
going to allow that. The trend in hardware looks like a race to keep
control.  Seems like we are going to be paying for the hardware but not
owning; instead leasing.

Or am I behind the times and there's salvation from some beneficent
hardware maker in Taiwan?



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 14:39:39 -0500
STeve Andre' wrote:
 
 You are free of course to make mods, but please understand that you
 are on your own for them.  I suppose it could also be said that if

Ha, yeah, I feel so alone.

 you need help in turning ipv6 off, you shouldn't--learn first how

So you don't know, but couldn't resist the reply (^:



Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Matthieu Herrb
On Sat, Dec 5, 2009 at 9:02 PM, rhubbell rhubb...@ihubbell.com wrote:

 Yes, I'd like to see some pointers also.  I recall that there was
 discussion (might've been on linux kernel) a while ago about a
 partially-open video card.  Why doesn't the community support that?

You mean http://www.opengraphics.org ?
What makes you say that? How did *you* contribute?

 I recall that price was a factor in lack of uptake.
 Seems to me that opensource is farsical if it runs on closesource hardware.
 So where's the opensource hardware? Seems like the new world order isn't
 going to allow that. The trend in hardware looks like a race to keep
 control.  Seems like we are going to be paying for the hardware but not
 owning; instead leasing.

 Or am I behind the times and there's salvation from some beneficent
 hardware maker in Taiwan?

Making hardware is a lot more difficult than writing software. So it takes
more resources and more skills. This is probably why there aren't so
many of them.

I'd recommend you read the wikipedia page:
http://en.wikipedia.org/wiki/Graphics_hardware_and_FOSS


--
Matthieu Herrb



Re: How to disable IPv6?

2009-12-05 Thread STeve Andre'
On Saturday 05 December 2009 15:07:43 rhubbell wrote:
 On Sat, 5 Dec 2009 14:39:39 -0500
 STeve Andre' wrote:
  
  You are free of course to make mods, but please understand that you
  are on your own for them.  I suppose it could also be said that if
 
 Ha, yeah, I feel so alone.
 
  you need help in turning ipv6 off, you shouldn't--learn first how
 
 So you don't know, but couldn't resist the reply (^:

To be honest, I have never tried.

There was a time back in 1999 when made 'shrimp' kernels to save space
by eliminating all the drivers I thought I didn't need.  Things seemed
to be going ok for several weeks with it, till I crashed the kernel
somehow.  I was very puzzled, but had the presence of mind to build a
stock generic kernel and see if that worked, before talking about it
on m...@.  The generic kernel worked flawlessly, doing everything ok
when the shrimp kernel worked.  Oops.

That taught me several things, being twiddling knobs (taking drivers
from the kernel surely constitues that) blindly can lead to interesting
consequences down the line, and that making the shrimp kernel was 
mostly a waste of time, except for the educational aspects of what not
to do.

--STeve Andre'



Re: HP Mini Touchpad Broken in Recent Snapshots

2009-12-05 Thread Brad Tilley
On Sat, Dec 5, 2009 at 2:55 PM, Brad Tilley b...@16systems.com wrote:
 On Sat, Dec 5, 2009 at 1:16 PM, Miod Vallat m...@online.fr wrote:
 With recent snapshots, the touchpad on my HP Mini netbook stopped
 working. Here is a dmesg for a few months back when the touchpad
 worked followed by one from the most recent snapshot:

 http://16systems.com/hp/hp-mini-110-1020NR.txt
 http://16systems.com/hp/hp_mini_broken_touchpad.txt

 However nothing changed in the PS/2 input devices code in between.

 Does this happen upon everyboot (i.e. 100% reproduceable)? Does this
 happen on cold boots?

 Miod

 Yes, it occurs each boot 100%. Cold boots too. I can plug a mouse in
 and that works fine, but the touchpad and touchpad buttons don't work.
 Maybe the hardware is broken. I'll try to dig up an old snapshot and
 reload it to see.

 Brad

Looks like my touchpad is broken. I loaded the same snapshot as the
first dmesg and the touchpad still did not work. Oh well, I'll use a
mouse.

Brad



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 15:28:09 -0500
STeve Andre' wrote:

 mostly a waste of time, except for the educational aspects of what not
 to do.

Thanks for the nice story.  I get a kick out of how far folks here go out
of their way not to help people out. Instead offering up non-sequitars,
etc.

Come on admit it, you don't know how to disable IPv6.  Why does everyone
place so much trust in OpenBSD when the kernel seems to be a mystery to
most here with constant warnings about not fiddling with it

Curiouser and curiouser.



Re: How to disable IPv6?

2009-12-05 Thread Jussi Peltola
On Sat, Dec 05, 2009 at 12:44:42PM -0800, rhubbell wrote:
 On Sat, 5 Dec 2009 15:28:09 -0500
 STeve Andre' wrote:
 
  mostly a waste of time, except for the educational aspects of what not
  to do.
 
 Thanks for the nice story.  I get a kick out of how far folks here go out
 of their way not to help people out. Instead offering up non-sequitars,
 etc.
 
 Come on admit it, you don't know how to disable IPv6.  Why does everyone
 place so much trust in OpenBSD when the kernel seems to be a mystery to
 most here with constant warnings about not fiddling with it
 
At least some developers hang on misc@ and surely know how to disable
ipv6. The question is: do they care?



Re: How to disable IPv6?

2009-12-05 Thread Johan Beisser
On Sat, Dec 5, 2009 at 12:44 PM, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 15:28:09 -0500
 STeve Andre' wrote:

 mostly a waste of time, except for the educational aspects of what not
 to do.

 Thanks for the nice story.  I get a kick out of how far folks here go out
 of their way not to help people out. Instead offering up non-sequitars,
 etc.

You could also do more digging around yourself.

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/conf/GENERIC?rev=1.150

Look for INET6.



Re: How to disable IPv6?

2009-12-05 Thread Johan Beisser
On Sat, Dec 5, 2009 at 12:52 PM, Jussi Peltola pe...@pelzi.net wrote:

 At least some developers hang on misc@ and surely know how to disable
 ipv6. The question is: do they care?

In my experience, no.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Soner Tari
On Sat, 2009-12-05 at 21:30 +0100, Matthieu Herrb wrote:
 Making hardware is a lot more difficult than writing software. So it takes
 more resources and more skills.

Sorry Matthieu, but I have to say that this is utter bullshit, and I
believe such underestimation is the underlying reason that many software
suck.

Read this for a summary of cognitive requirements of software design:
http://argouml.tigris.org/docs/robbins_dissertation/diss2.html

And yes, I did hardware design too. But no, I have no intension to
compare hardware and software development like you did.

I usually resist replying such threads and keep my silence, but your
comment above begged for it.



You Recived A Christmas Card

2009-12-05 Thread E-card . com
A Friend has sent you an E-Card -- an online greeting card from
E-Cards.com. You can pickup your card at this website.
- If your e-mail is hot-link enabled, click here to download the E-card:
http://www.e-cards.com/pickup/?code=ca3407-vo-Cristmas1,

- You may also click on http://www.e-cards.com,

If you are asked for a code input your pickup code:

ca3407-vo-Cristmas1

Your E-Card will be available for 15 days following its send date.
To keep your E-Card accessible indefinitely, you may want to join
My E-Cards -- an option to do so is provided in your E-Card!



Block friends from sending you cards?

http://www.e-cards.com/contact/abuseCall.pl



^ Save trees. Learn about wildlife nature and the environment.

^^^ Generate an advertising sponsored donation.

^ Every E-Card sent helps support wildlife and the environment!





Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-12-05 Thread Tobias Ulmer
On Sun, Nov 22, 2009 at 08:31:07PM -0800, Roland Dreier wrote:
 The interrupt handling in ral(4) for RT2661 has a couple of problems,
 which causes the interface to get stuck under heavy load with OACTIVE
 set (the problems are likely especially severe on slow systems such as
 my 600MHz VIA system); bouncing the interface down and back up fixes
 things.  As I describe below, I think I've been able to fix it, and
 I'd be happy to see the patch below reviewed and applied.
 
 I've seen other reports that look similar to the problems I was
 having; eg bug kernel/5958 starts out talking about RT2860 (which is
 completely different code) but some of the me too replies are for
 RT2561S, which I hope this patch fixes (I've cc'ed those reporters;
 test reports welcome!).  I've not looked at the RT2860 code due to
 lack of hardware, but if someone wants to send me a PCI card

I've found an unused RT 2561 and did some tests with it.

 
 The first problem is that multiple TX completions may happen before
 the interrupt handler gets to rt2661_tx_intr().  When this happens,
 the TX interrupt handler only completes one entry in the TX ring,
 which leads to the driver getting behind the hardware.  To fix this, I
 extended the qid field in the TX descriptor to contain the index in
 the TX ring as well as the queue ID, and then when an interrupt is
 missed, free the earlier TX entries as well as the entry that the
 interrupt is for.  (I did see this code trigger under load)
 
 This exposes the second problem: there is a race that is inherent in
 separating TX completion handling between TX DMA interrupts and TX
 interrupts -- the driver may handle all the TX DMAs that finished when
 it called rt2661_tx_dma_intr(), but by the time it gets to
 rt2661_tx_intr(), another TX may have completed and the driver may end
 up processing a TX completion for which it hasn't handled the TX DMA
 completion.  This ends up leaking mbufs if a new send is enqueued
 before the TX DMA interrupt has a chance to catch up.  (This happens
 in practice on my system as well)
 
 It is probably possible to fix this and keep the split DMA/TX
 handling, but that seems to require unneeded complexity.  Instead, we
 can just ignore TX DMA interrupts and handle everything when the TX
 actually completes.  This means we don't free the mbuf quite as soon,
 but since we can't reuse the slot in the TX ring anyway, I don't see
 this as a problem in practice.
 
 With this patch applied, the ral interface on my access point is able
 to continue operating under load that would cause the interface to get
 stuck with the stock driver fairly quickly.

I don't see any difference between your patch and -current (but it
does work, no issues)

Mind sharing your hostname.ral0 and the tools you use to trigger this
situation? I've tried hping, tcpbench, ping -f, rsync, etc to no avail.

max ~8000 intr/s with hping
2.5MB/s with scp


OpenBSD 4.6-current (GENERIC) #0: Sat Dec  5 16:13:19 CET 2009
tobi...@neodym.tmux.org:/home/tobiasu/obsd/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2500+ (AuthenticAMD 686-class, 512KB L2 cache) 1.84 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 1610117120 (1535MB)
avail mem = 1551433728 (1479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/17/05, BIOS32 rev. 0 @ 0xfa390, SMBIOS 
rev. 2.3 @ 0xf0100 (38 entries)
bios0: vendor Award Software International, Inc. version F6 date 05/17/2005
bios0: Gigabyte Technology Co., Ltd. GA-7S748
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/0xc784
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc6f0/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 5 6 9 10 11
pcibios0: PCI Interrupt Router at 000:02:0 (SiS 85C503 System rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xf600 0xd/0x8000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 SiS 746 PCI rev 0x10
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xe000, size 0x400
ppb0 at pci0 dev 1 function 0 SiS 86C202 VGA rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x9505 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25
pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 746: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PLEXTOR, CD-R PX-W1210A, 1.02 ATAPI 5/cdrom 
removable
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
wd0 at pciide0 channel 1 drive 0: ST3250620A
wd0: 16-sector PIO, LBA48, 238474MB, 488395055 sectors
wd1 at pciide0 channel 1 drive 1: 

Re: How to disable IPv6?

2009-12-05 Thread Ted Unangst
On Sat, Dec 5, 2009 at 3:52 PM, Jussi Peltola pe...@pelzi.net wrote:
 Come on admit it, you don't know how to disable IPv6.  Why does everyone
 place so much trust in OpenBSD when the kernel seems to be a mystery to
 most here with constant warnings about not fiddling with it

 At least some developers hang on misc@ and surely know how to disable
 ipv6. The question is: do they care?

Other than adding rhubbell to the list of people who probably broke
it themselves, not really.



Re: How to disable IPv6?

2009-12-05 Thread Allie Daneman
man ifconfig...is a quick and easy way to disable inet6 on any 
interface. Beyond that I'm thinking sysctl, did you peruse around before 
posting ?


Johan Beisser wrote:

On Sat, Dec 5, 2009 at 12:44 PM, rhubbell rhubb...@ihubbell.com wrote:

On Sat, 5 Dec 2009 15:28:09 -0500
STeve Andre' wrote:


mostly a waste of time, except for the educational aspects of what not
to do.

Thanks for the nice story.  I get a kick out of how far folks here go out
of their way not to help people out. Instead offering up non-sequitars,
etc.


You could also do more digging around yourself.

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/conf/GENERIC?rev=1.150

Look for INET6.



--

Allie



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Ted Unangst
On Sat, Dec 5, 2009 at 4:09 PM, Soner Tari so...@comixwall.org wrote:
 On Sat, 2009-12-05 at 21:30 +0100, Matthieu Herrb wrote:
 Making hardware is a lot more difficult than writing software. So it takes
 more resources and more skills.

 Sorry Matthieu, but I have to say that this is utter bullshit, and I
 believe such underestimation is the underlying reason that many software
 suck.

I think the point is the tools to make software are more readily
available than the tools to make hardware.  Let's say so you want to
make a graphics card.  Let's also say that you're only interested in
playing quake3.  What does it take to party like 1999?  About 150 MHz
on a 180nm process.  And what does it cost to fab some 180nm chips?
More than I've ever spent on all the computers I've ever written
software with.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 12:57:58 -0800
Johan Beisser wrote:

 You could also do more digging around yourself.

I'd say that applies to you, not me. (^:



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 17:01:34 -0500
Ted Unangst wrote:

 Other than adding rhubbell to the list of people who probably broke
 it themselves, not really.
 

Nothing's broken here. Hope you didn't strain a muscle jumping to
conclusions. (^:  Well nothing other than the pervasiveness of IPv6 into
every nook and cranny with no apparent way to shut it off by pulling one
switch.

Also looking back I see the question was ignored before.
I can figure it out with enough time.  But guess I thought there was a
community here that would share the secret incantations.  Apparently
there's unity with out the comm.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 22:52:35 +0200
Jussi Peltola wrote:

 ipv6. The question is: do they care?

Not sure how care plays into this. A simple question that the folks here
would rather not answer but instead would rather meander about.



Re: How to disable IPv6?

2009-12-05 Thread Philip Guenther
On Sat, Dec 5, 2009 at 11:25 AM, rhubbell rhubb...@ihubbell.com wrote:
 I have disabled IPv6 in the kernel (via top-level GENERIC) but I can't
 see what other places it needs to be disabled for other applications.

Needs to be disabled ...to accomplish what goal?  Saving of disk
space?  Elimination of code complexity?  Ignoring of IPv6 packets that
are received?  Something else?

Depending on what you're trying to accomplish, putting
  up -inet6

in your /etc/hostname.* files may be sufficient.


 Is it enabled per-application or is there some magic in a top-level
 Makefile somewhere? This IPv6 is like Whak-A-Mole. Or is it just so
 pervasive now that it cannot be disabled? I don't have a need to
 partake in the IPv6 research right now.

Sounds like you would prefer if the presence of IPv6 wasn't making the
code more complex.  If so, the answer is no, it cannot be disabled in
that way.


Philip Guenther



Re: How to disable IPv6?

2009-12-05 Thread Johan Beisser
Feeding the troll, sorry.

On Sat, Dec 5, 2009 at 2:45 PM, rhubbell rhubb...@ihubbell.com wrote:

 Not sure how care plays into this. A simple question that the folks here
 would rather not answer but instead would rather meander about.

I gave you the file where GENERIC for all kernels is configured.

If you bothered to look, you'd have seen and figured it out for
yourself. You didn't bother. You want to be coddled and hand-fed
answers, and that's fine if you don't mind sticking with what's
supported.

Otherwise, teach yourself.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 17:08:36 -0500
Ted Unangst wrote:

 More than I've ever spent on all the computers I've ever written
 software with.

How much would that be? Ballpark. Doesn't seem like it would be very much.
Seems like you're just hand-waving without real numbers.

Wikipedia has a money-raised thermometer on their site from time-to-time
and they're raising millions. 



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 21:30:28 +0100
Matthieu Herrb wrote:

 On Sat, Dec 5, 2009 at 9:02 PM, rhubbell rhubb...@ihubbell.com wrote:
 
  Yes, I'd like to see some pointers also.  I recall that there was
  discussion (might've been on linux kernel) a while ago about a
  partially-open video card.  Why doesn't the community support that?
 
 You mean http://www.opengraphics.org ?
 What makes you say that? How did *you* contribute?

Why did I say that? Let's take a poll on this list of how many people are
using one of those cards? Or any list, anywhere.

I have not contributed to it in anyway. But why is that relevant? Can you
explain? And how did you contribute?

 
  I recall that price was a factor in lack of uptake.
  Seems to me that opensource is farsical if it runs on closesource
  hardware. So where's the opensource hardware? Seems like the new world
  order isn't going to allow that. The trend in hardware looks like a
  race to keep control.  Seems like we are going to be paying for the
  hardware but not owning; instead leasing.
 
  Or am I behind the times and there's salvation from some beneficent
  hardware maker in Taiwan?
 
 Making hardware is a lot more difficult than writing software. So it
 takes more resources and more skills. This is probably why there aren't
 so many of them.

You're saying the barrier to entry is too high?  I'm not expert but I
don't believe that is why.  There are other barriers.

 
 I'd recommend you read the wikipedia page:
 http://en.wikipedia.org/wiki/Graphics_hardware_and_FOSS

I think I may have read that a while ago...I'll look.



Re: How to disable IPv6?

2009-12-05 Thread Brynet
 Not sure how care plays into this. A simple question that the folks here
 would rather not answer but instead would rather meander about.

Well you're especially chipper, now instead of whining on mailing
lists.. how about you try helping yourself?

http://marc.info/?l=openbsd-cvsm=124414310527723w=2
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c#rev1.216
http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfigmanpath=OpenBSD+Currentarch=i386format=html

Feeling better now? next time.. for a successful troll.. at least
pretend to do some research.

Here's a tissue, everybody gets one.

-Bryan.



Re: building sbin/route on -current?

2009-12-05 Thread Philip Guenther
On Sat, Dec 5, 2009 at 11:55 AM, James Hartley jjhart...@gmail.com wrote:
 I updated my local source tree Tuesday.  Rebuilding the kernel went fine,
 but building userland failed at sbin/route with the following messages:

 === sbin/route
 cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c
 /usr/src/sbin/route/route.c
...
 Guessing that my tree may not be pristine, I deleted /usr/src  downloaded
 again via AnonCVS last night.  Subsequent rebuilding of the kernel today
 went fine, but building userland failed again in sbin/route.  I'm not
seeing
 anything in Following -current, but is there something else that I am
 missing?

Whatever directions you've followed that suggest that you can compile
a system without installing it are wrong, or at least insufficient.


Philip Guenther



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread bofh
Come back and talk when you've bought one for yourself, and donated
another to the project.

KTHX HAND

On 12/5/09, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 17:08:36 -0500
 Ted Unangst wrote:

 More than I've ever spent on all the computers I've ever written
 software with.

 How much would that be? Ballpark. Doesn't seem like it would be very much.
 Seems like you're just hand-waving without real numbers.

 Wikipedia has a money-raised thermometer on their site from time-to-time
 and they're raising millions.



-- 
Sent from my mobile device

http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: How to disable IPv6?

2009-12-05 Thread bofh
User:  there's a knob I want to twiddle, but don't know how...
Community:  Don't

User:  but I wanna, I wanna.
Developers:  don't, really

User:  I know what I'm doing, so there
Community: .

User:  why is everyone ignoring me?  Where's the love?
Everyone:  it's hard to love the village idiot

On 12/5/09, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 17:01:34 -0500
 Ted Unangst wrote:

 Other than adding rhubbell to the list of people who probably broke
 it themselves, not really.


 Nothing's broken here. Hope you didn't strain a muscle jumping to
 conclusions. (^:  Well nothing other than the pervasiveness of IPv6 into
 every nook and cranny with no apparent way to shut it off by pulling one
 switch.

 Also looking back I see the question was ignored before.
 I can figure it out with enough time.  But guess I thought there was a
 community here that would share the secret incantations.  Apparently
 there's unity with out the comm.



-- 
Sent from my mobile device

http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: How to disable IPv6?

2009-12-05 Thread Marco Peereboom
On Sat, Dec 05, 2009 at 02:43:32PM -0800, rhubbell wrote:
 On Sat, 5 Dec 2009 17:01:34 -0500
 Ted Unangst wrote:
 
  Other than adding rhubbell to the list of people who probably broke
  it themselves, not really.
  
 
 Nothing's broken here. Hope you didn't strain a muscle jumping to
 conclusions. (^:  Well nothing other than the pervasiveness of IPv6 into
 every nook and cranny with no apparent way to shut it off by pulling one
 switch.

You are a sphincter of epic proportions.

Le me turn on my care meter, oh look at that -10 on the 0 to 1 scale.

 
 Also looking back I see the question was ignored before.
 I can figure it out with enough time.  But guess I thought there was a
 community here that would share the secret incantations.  Apparently
 there's unity with out the comm.

No this community isn't about helping beggars and other dogshit.  This
community is about developing code that doesn't suck.

Fuck off troll.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Marco Peereboom
blah blah blah

go away troll

On Sat, Dec 05, 2009 at 02:59:19PM -0800, rhubbell wrote:
 On Sat, 5 Dec 2009 21:30:28 +0100
 Matthieu Herrb wrote:
 
  On Sat, Dec 5, 2009 at 9:02 PM, rhubbell rhubb...@ihubbell.com wrote:
  
   Yes, I'd like to see some pointers also.  I recall that there was
   discussion (might've been on linux kernel) a while ago about a
   partially-open video card.  Why doesn't the community support that?
  
  You mean http://www.opengraphics.org ?
  What makes you say that? How did *you* contribute?
 
 Why did I say that? Let's take a poll on this list of how many people are
 using one of those cards? Or any list, anywhere.
 
 I have not contributed to it in anyway. But why is that relevant? Can you
 explain? And how did you contribute?
 
  
   I recall that price was a factor in lack of uptake.
   Seems to me that opensource is farsical if it runs on closesource
   hardware. So where's the opensource hardware? Seems like the new world
   order isn't going to allow that. The trend in hardware looks like a
   race to keep control.  Seems like we are going to be paying for the
   hardware but not owning; instead leasing.
  
   Or am I behind the times and there's salvation from some beneficent
   hardware maker in Taiwan?
  
  Making hardware is a lot more difficult than writing software. So it
  takes more resources and more skills. This is probably why there aren't
  so many of them.
 
 You're saying the barrier to entry is too high?  I'm not expert but I
 don't believe that is why.  There are other barriers.
 
  
  I'd recommend you read the wikipedia page:
  http://en.wikipedia.org/wiki/Graphics_hardware_and_FOSS
 
 I think I may have read that a while ago...I'll look.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 18:14:00 -0500
bofh wrote:

 Come back and talk when you've bought one for yourself, and donated
 another to the project.

Gee, ok. What have you contributed to it? 
You don't want to converse. Fine by me.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 15:01:06 -0800
Johan Beisser wrote:

 Feeding the troll, sorry.

Hi, fresh from high school?

 I gave you the file where GENERIC for all kernels is configured.

Apparently you don't care enough to even read the thread. But it's ok,
I don't care if you care or not.  But thanks at least for trying to help.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 17:26:36 -0600
Marco Peereboom wrote:

 You are a sphincter of epic proportions.

Sphincter's pretty important. So thanks!

 
 Le me turn on my care meter, oh look at that -10 on the 0 to 1 scale.
 
  
  Also looking back I see the question was ignored before.
  I can figure it out with enough time.  But guess I thought there was a
  community here that would share the secret incantations.  Apparently
  there's unity with out the comm.
 
 No this community isn't about helping beggars and other dogshit.  This
 community is about developing code that doesn't suck.
 
 Fuck off troll.

Jeez, go get some fresh air or something. And please just ignore my posts
if you care that much.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 05 Dec 2009 13:10:27 -0800
Allie Daneman wrote:

 man ifconfig...is a quick and easy way to disable inet6 on any 
 interface. Beyond that I'm thinking sysctl, did you peruse around before 
 posting ?

It's not that simple. Applications still try IPv6 even when it's disabled
in the kernel and there's no vestige of it for ifconfig to even find.
So the problem is that there are apps I need to rebuild but I presumed that
there might be a simple way to disable from a top-level makefile or the
like.




Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread bofh
On Sat, Dec 5, 2009 at 6:54 PM, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 18:14:00 -0500
 bofh wrote:

 Come back and talk when you've bought one for yourself, and donated
 another to the project.

 Gee, ok. What have you contributed to it?
 You don't want to converse. Fine by me.

You're a moron right?  Since when I did I say I contributed to it?
You're the one claiming it doesn't cost much.  And yet, you didn't
contribute.  And you want to see it succeed.  Seems that you like
others to do the hard work, and you can just armchair quarterback
right?


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 14:59:53 -0800
Philip Guenther wrote:

 On Sat, Dec 5, 2009 at 11:25 AM, rhubbell rhubb...@ihubbell.com wrote:
  I have disabled IPv6 in the kernel (via top-level GENERIC) but I can't
  see what other places it needs to be disabled for other applications.
 
 Needs to be disabled ...to accomplish what goal?  Saving of disk
 space?  Elimination of code complexity?  Ignoring of IPv6 packets that
 are received?  Something else?

I presumed that applications would be written so that if there's no
support for a protocol family in the kernel that the app would be smart
enough to avoid using that family.  Doesn't seem unreasonable.


 
 Depending on what you're trying to accomplish, putting
   up -inet6
 
 in your /etc/hostname.* files may be sufficient.

It seems that may help some but some apps are still not aware enough.

 
 
  Is it enabled per-application or is there some magic in a top-level
  Makefile somewhere? This IPv6 is like Whak-A-Mole. Or is it just so
  pervasive now that it cannot be disabled? I don't have a need to
  partake in the IPv6 research right now.
 
 Sounds like you would prefer if the presence of IPv6 wasn't making the
 code more complex.  If so, the answer is no, it cannot be disabled in
 that way.

Thanks for the assist. To me it's simply I don't need IPv6, I don't use
IPv6. I don't want to see any errors from applications that want IPv6.
Why isn't IPX in the kernel and everywhere else? Or AppleTalk or  
Yes I know IPv6 is the future. But I can wait. I've yet to see a good
answer of why it's on by default in a lot of places. Is it to shake it out
to find the issues? That's fine but to force it is not fine. It should be
opt-in not opt-out just like most everything.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sat, 05 Dec 2009 18:08:30 -0500
Brynet wrote:

  Not sure how care plays into this. A simple question that the folks
  here would rather not answer but instead would rather meander about.
 
 Well you're especially chipper, now instead of whining on mailing
 lists.. how about you try helping yourself?

A little sensitive?  Whining?

 
 http://marc.info/?l=openbsd-cvsm=124414310527723w=2
 http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c#rev1.216
 http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfigmanpath=OpenBSD+Currentarch=i386format=html

The issue is that many apps aren't aware enough to notice that the kernel
has no support for a protocol family and they continue to try to use it
anyway. It would be nice if those things above took care of all that.
Thanks for the links I had seen them.

 
 Feeling better now? next time.. for a successful troll.. at least
 pretend to do some research.

Troll? That what you call someone that asks a question you can't answer?
(^:  Who's the whiner? But at least you care. Sniff, sniff.


 
 Here's a tissue, everybody gets one.

And here I thought OpenBSDers were a hardy bunch, sure doesn't take much
to get some of you into a tizzy. (^:
Thanks for the tissue, I'll use it on my sphincter of epic proportions.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread rhubbell
On Sat, 5 Dec 2009 19:10:19 -0500
bofh wrote:

 On Sat, Dec 5, 2009 at 6:54 PM, rhubbell rhubb...@ihubbell.com wrote:
  On Sat, 5 Dec 2009 18:14:00 -0500
  bofh wrote:
 
  Come back and talk when you've bought one for yourself, and donated
  another to the project.
 
  Gee, ok. What have you contributed to it?
  You don't want to converse. Fine by me.
 
 You're a moron right?  Since when I did I say I contributed to it?
 You're the one claiming it doesn't cost much.  And yet, you didn't
 contribute.  And you want to see it succeed.  Seems that you like
 others to do the hard work, and you can just armchair quarterback
 right?

The sensitive type, eh?



Re: HP Mini Touchpad Broken in Recent Snapshots

2009-12-05 Thread Brad Tilley
On Sat, Dec 5, 2009 at 1:16 PM, Miod Vallat m...@online.fr wrote:
 With recent snapshots, the touchpad on my HP Mini netbook stopped
 working. Here is a dmesg for a few months back when the touchpad
 worked followed by one from the most recent snapshot:

 http://16systems.com/hp/hp-mini-110-1020NR.txt
 http://16systems.com/hp/hp_mini_broken_touchpad.txt

 However nothing changed in the PS/2 input devices code in between.

 Does this happen upon everyboot (i.e. 100% reproduceable)? Does this
 happen on cold boots?

 Miod

This turned-out to be a loose cable. Re-seating it fixed the problem.
Thanks for the help.

Brad



NAT rule change with 4.6 current PF

2009-12-05 Thread Quentin Merton
Has the NAT rule syntax changed in 4.6 current from 3-dec? - (GENERIC.MP)
#340

I dont see any change in the webpages:
http://www.openbsd.org/faq/pf/nat.html

A rule that worked in 4.6 release:
nat pass on $ext_if proto tcp from 192.168.0.2 to any port 80 - $ext_if_IP

now generates an error:
pf.conf:247: syntax error
I had a look at the pf documentation and it now mentions nat-to rather than
nat but perhaps I am misreading.

A pointer would be much appreciated.

Quentin



Re: NAT rule change with 4.6 current PF

2009-12-05 Thread Allie Daneman
It changed awhile ago...check out the man page of pf.conf, there are a 
few examples.


Quentin Merton wrote:

Has the NAT rule syntax changed in 4.6 current from 3-dec? - (GENERIC.MP)
#340

I dont see any change in the webpages:
http://www.openbsd.org/faq/pf/nat.html

A rule that worked in 4.6 release:
nat pass on $ext_if proto tcp from 192.168.0.2 to any port 80 - $ext_if_IP

now generates an error:
pf.conf:247: syntax error
I had a look at the pf documentation and it now mentions nat-to rather than
nat but perhaps I am misreading.

A pointer would be much appreciated.

Quentin



--

Allie



Routing question with 2 external lines.

2009-12-05 Thread Alastair Johnson
We have 2 internet lines with 2 different and equally unreliable Internet
providers.

We have 2 PF firewalls running 4.6 RELEASE arranged in a failover
configuration
using CARP/pfsync. Each firewall is therefore connected to each router and
to our
internal network as well as a crossover cable between them for the pfsync.

I would like one of our internal servers to be reachable by certain remote
people.
Given the unreliability of each line I would like a remote person to be able
to
target the CARP address of either external connection and RDR traffic
through to
the internal server.

Sounds simple and it half works. It only works for whichever line the
firewall's
default route is pointing towards. Traffic always returns along the default
route even if it originates from down the other external line, even if I use

reply-to and even if I keep-state and even if I set policy if-bound

Is this by design? do I ask the conceptually impossible? it doesnt seem
unreasonable - not everyone has high quality lines.

I have the following:

rdr pass on $ext_if1   proto tcp from $supplierIP to $CARP_ip_line1 port 443
- 10.0.0.50 port 443
rdr pass on $ext_if2   proto tcp from $supplierIP to $CARP_ip_line2 port 443
- 10.0.0.50 port 443

The problem is that replies only get back down the line that is set as
default
gateway. if the default gateway is down line 1 then an incoming packet
coming
down line 2 will sucessfully get in to the fw, pass the fw, go to the
internal
server, come back to the fw but then try to go out down line 1.

I have tried separating the pass rule and adding a reply-to but that doesnt
seem to work either:

pass in on $ext_if1 reply-to ($ext_if1 $isp_gw_ip_1) proto tcp from
$supplierIP to $CARP_ip_line1 port 443 keep state
pass in on $ext_if2 reply-to ($ext_if2 $isp_gw_ip_2) proto tcp from
$supplierIP to $CARP_ip_line2 port 443 keep state

I still cant get traffic to return down the interface it arrived on unless
its the same as the default route.

I have to set a default route because I NAT for internal workstations doing
general web browsing.

Happy to send a dmesg is it would be useful.

Many thanks,

Alastair Johnson



Re: How to disable IPv6?

2009-12-05 Thread Michiel van Baak
On 15:59, Sat 05 Dec 09, rhubbell wrote:
 On Sat, 5 Dec 2009 17:26:36 -0600
 Marco Peereboom wrote:
 
  You are a sphincter of epic proportions.
 
 Sphincter's pretty important. So thanks!
 
  
  Le me turn on my care meter, oh look at that -10 on the 0 to 1 scale.
  
   
   Also looking back I see the question was ignored before.
   I can figure it out with enough time.  But guess I thought there was a
   community here that would share the secret incantations.  Apparently
   there's unity with out the comm.
  
  No this community isn't about helping beggars and other dogshit.  This
  community is about developing code that doesn't suck.
  
  Fuck off troll.
 
 Jeez, go get some fresh air or something. And please just ignore my posts
 if you care that much.

And please stop posting till you get a fucking clue.
-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called users?



Re: NAT rule change with 4.6 current PF

2009-12-05 Thread Robert
On Sun, 6 Dec 2009 01:00:50 +
Quentin Merton quentin.mer...@googlemail.com wrote:

 Has the NAT rule syntax changed in 4.6 current from 3-dec? -
 (GENERIC.MP) #340
 
 I dont see any change in the webpages:
 http://www.openbsd.org/faq/pf/nat.html
 
 A rule that worked in 4.6 release:
 nat pass on $ext_if proto tcp from 192.168.0.2 to any port 80 -
 $ext_if_IP
 
 now generates an error:
 pf.conf:247: syntax error
 I had a look at the pf documentation and it now mentions nat-to
 rather than nat but perhaps I am misreading.
 
 A pointer would be much appreciated.
 
 Quentin

uhm, yeah, looong time ago:
http://www.openbsd.org/faq/current.html#20090901
for those using snapshots/-current that page is kind of mandatory if
one doesn't follow the nice commit messages on source-chan...@.
(or misc@ for that matter in this case.)

- Robert



Re: How to disable IPv6?

2009-12-05 Thread Jacob Meuser
On Sat, Dec 05, 2009 at 03:59:28PM -0800, rhubbell wrote:

 And please just ignore my posts
 if you care that much.

finally you say something that I can relate to.

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



Re: How to disable IPv6?

2009-12-05 Thread Michiel van Baak
On 16:02, Sat 05 Dec 09, rhubbell wrote:
 On Sat, 05 Dec 2009 13:10:27 -0800
 Allie Daneman wrote:
 
  man ifconfig...is a quick and easy way to disable inet6 on any 
  interface. Beyond that I'm thinking sysctl, did you peruse around before 
  posting ?
 
 It's not that simple. Applications still try IPv6 even when it's disabled
 in the kernel and there's no vestige of it for ifconfig to even find.
 So the problem is that there are apps I need to rebuild but I presumed that
 there might be a simple way to disable from a top-level makefile or the
 like.

there are apps means you are not talking about your system.

Did you even bother to look at a tcpdump when you are running on a
kernel without ipv6 support? Is there any ipv6 traffic when running on a
kernel without ipv6 ?

You blame us for a lot of stuff while you did not do anything to show us
where the problem is.

Till you have more data, go read the manpages and find out yourself
mkay?

-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called users?



Re: How to disable IPv6?

2009-12-05 Thread Michiel van Baak
On 16:16, Sat 05 Dec 09, rhubbell wrote:
 On Sat, 5 Dec 2009 14:59:53 -0800
 Philip Guenther wrote:
 
  On Sat, Dec 5, 2009 at 11:25 AM, rhubbell rhubb...@ihubbell.com wrote:
   I have disabled IPv6 in the kernel (via top-level GENERIC) but I can't
   see what other places it needs to be disabled for other applications.
  
  Needs to be disabled ...to accomplish what goal?  Saving of disk
  space?  Elimination of code complexity?  Ignoring of IPv6 packets that
  are received?  Something else?
 
 I presumed that applications would be written so that if there's no
 support for a protocol family in the kernel that the app would be smart
 enough to avoid using that family.  Doesn't seem unreasonable.

give us some data.
tcpdump will be ok.

 
 
  
  Depending on what you're trying to accomplish, putting
up -inet6
  
  in your /etc/hostname.* files may be sufficient.
 
 It seems that may help some but some apps are still not aware enough.

If your system does not support ipv6, there will be no outgoing/incoming
ipv6 packets.

 
  
  
   Is it enabled per-application or is there some magic in a top-level
   Makefile somewhere? This IPv6 is like Whak-A-Mole. Or is it just so
   pervasive now that it cannot be disabled? I don't have a need to
   partake in the IPv6 research right now.
  
  Sounds like you would prefer if the presence of IPv6 wasn't making the
  code more complex.  If so, the answer is no, it cannot be disabled in
  that way.
 
 Thanks for the assist. To me it's simply I don't need IPv6, I don't use
 IPv6. I don't want to see any errors from applications that want IPv6.
 Why isn't IPX in the kernel and everywhere else? Or AppleTalk or  
 Yes I know IPv6 is the future. But I can wait. I've yet to see a good
 answer of why it's on by default in a lot of places. Is it to shake it out
 to find the issues? That's fine but to force it is not fine. It should be
 opt-in not opt-out just like most everything.

You only have 1 year left according to most counters.
-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called users?



Sun X4100 M2 with amd64.mp kernel reboot constantly

2009-12-05 Thread Daniel Ouellet
This is an old issue and not new, but I tried the latest snapshot in 
case the situation have changed to no avail.


I git a little bit more details however after letting it reboot 
constantly may be 40 times or so.


Then it jam and was able to get a screen shut of the remote console 
before forcing it to reboot and here is what i got. Hopefully it will be 
more useful and yes I can't do ps, or ddb as it is totally jam, or 
simply reboot constantly, always at the same place.


See the console output, screen shut if you want to see it here and the 
dmesg below as well from the amd64 single kernel bot as I can't get it 
with the mp kernel.


I wish I could provide more, but I can't. No console, no ps, no ddb, 
nothing is possible pass this point here. I only was able to get this 
much twice be letting it reboot constantly for about 45 minutes before 
it jam again at the same stage so that I can get a screen shut of it to 
type it below.


The real screen shut is also available here

http://openbsdsupport.org/images/sun4100.png

if you want to see it, but that's the same as I type below as I copy it 
from the screen shut I was able to capture in the process when it 
actually didn't reboot constantly, but jam for good.


No issue with the i386 kernel, or the i386.mp, nor with the amd64, only 
the amd64.mp kernel does this problem and is reproduceable at will.



Not sure what else I could provide to help isolate this, but if 
anything, I would be more then happy to do so.


Best,

Daniel


==
Console output in free mode retype as seen on the console when crash and 
frozen and need to be unfrozen by doing a hard reset.


..
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
kernel:uvm_f kernel:  kernel: protection fault trap, code=0
Stopped at  Xintr_legacy7+0x24d:iret
ddb{2} kernel: privileged instruction fault trap, code=0
Faulted in DDB; continuing...




===
dmesg

OpenBSD 4.6-current (GENERIC) #6: Fri Dec  4 22:47:14 MST 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3756982272 (3582MB)
avail mem = 3650658304 (3481MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfbd50 (70 entries)
bios0: vendor American Megatrends Inc. version 0ABJX039 date 04/11/2007
bios0: Sun Microsystems Sun Fire X4100 M2
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR SLIT OEMB HPET IPET SRAT SSDT
acpi0: wakeup devices PS2K(S1) PS2M(S1) USB0(S4) USB1(S4) MAC_(S5) 
P0P1(S4) P0P2(S4) P0P3(S4) P0P4(S4) P0P5(S4) IO4B(S4) BR5B(S4) BR5C(S4) 
BR5D(S4) BR5E(S4) IOB2(S4) BR2B(S4) BR2C(S4) BR2D(S4) BR2E(S4) PWRB(S1)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual-Core AMD Opteron(tm) Processor 2216, 2393.93 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 15 pa 0xfec0, version 11, 24 pins
ioapic1 at mainbus0: apid 16 pa 0xfeafd000, version 11, 7 pins
ioapic1: misconfigured as apic 0, can't remap to apid 16
ioapic2 at mainbus0: apid 17 pa 0xfeafc000, version 11, 7 pins
ioapic2: misconfigured as apic 1, can't remap to apid 17
ioapic3 at mainbus0: apid 14 pa 0xfeaff000, version 11, 24 pins
acpihpet0 at acpi0: 2500 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 4 (P0P4)
acpiprt3 at acpi0: bus 5 (P0P5)
acpiprt4 at acpi0: bus 128 (PCIB)
acpiprt5 at acpi0: bus 133 (POGA)
acpiprt6 at acpi0: bus 134 (POGB)
acpiprt7 at acpi0: bus 131 (BR5D)
acpiprt8 at acpi0: bus 132 (BR5E)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: PowerNow! K8 2393 MHz: speeds: 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3
nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x52: 1GB DDR2 SDRAM registered cmd/addr parity, 
data ECC PC2-5300CL5
spdmem1 at iic0 addr 0x53: 1GB DDR2 SDRAM registered cmd/addr parity, 
data ECC PC2-5300CL5

iic1 at nviic0
iic1: addr 0x18 00=01 01=01 02=00 03=00 words 00=0101 01=0101 02= 
03= 04= 05= 06= 07=
iic1: addr 0x19 00=01 01=00 02=00 03=01 words 00=0101 01= 02= 
03=0101 04= 05= 06= 07=
iic1: addr 0x1a 02=00 03=00 words 00= 01= 02= 03= 
04= 05= 06= 07=

Re: How to disable IPv6?

2009-12-05 Thread rhubbell
Yeah you said that already.

On Sat, 5 Dec 2009 19:17:28 -0600
Marco Peereboom wrote:

 fuck off troll
 
 On Sat, Dec 05, 2009 at 04:24:42PM -0800, rhubbell wrote:
  On Sat, 05 Dec 2009 18:08:30 -0500
  Brynet wrote:
  
Not sure how care plays into this. A simple question that the folks
here would rather not answer but instead would rather meander
about.
   
   Well you're especially chipper, now instead of whining on mailing
   lists.. how about you try helping yourself?
  
  A little sensitive?  Whining?
  
   
   http://marc.info/?l=openbsd-cvsm=124414310527723w=2
   http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c#rev1.216
   http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfigmanpath=OpenBSD+Currentarch=i386format=html
  
  The issue is that many apps aren't aware enough to notice that the
  kernel has no support for a protocol family and they continue to try
  to use it anyway. It would be nice if those things above took care of
  all that. Thanks for the links I had seen them.
  
   
   Feeling better now? next time.. for a successful troll.. at least
   pretend to do some research.
  
  Troll? That what you call someone that asks a question you can't
  answer? (^:  Who's the whiner? But at least you care. Sniff, sniff.
  
  
   
   Here's a tissue, everybody gets one.
  
  And here I thought OpenBSDers were a hardy bunch, sure doesn't take
  much to get some of you into a tizzy. (^:
  Thanks for the tissue, I'll use it on my sphincter of epic
  proportions.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread rhubbell
Another sensitive type. Guess there are always a few on every list.


On Sat, 5 Dec 2009 19:17:14 -0600
Marco Peereboom wrote:

 fuck off troll
 
 On Sat, Dec 05, 2009 at 04:26:49PM -0800, rhubbell wrote:
  On Sat, 5 Dec 2009 19:10:19 -0500
  bofh wrote:
  
   On Sat, Dec 5, 2009 at 6:54 PM, rhubbell rhubb...@ihubbell.com
   wrote:
On Sat, 5 Dec 2009 18:14:00 -0500
bofh wrote:
   
Come back and talk when you've bought one for yourself, and
donated another to the project.
   
Gee, ok. What have you contributed to it?
You don't want to converse. Fine by me.
   
   You're a moron right?  Since when I did I say I contributed to it?
   You're the one claiming it doesn't cost much.  And yet, you didn't
   contribute.  And you want to see it succeed.  Seems that you like
   others to do the hard work, and you can just armchair quarterback
   right?
  
  The sensitive type, eh?



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sun, 6 Dec 2009 03:07:03 +0100
Michiel van Baak wrote:

 Did you even bother to look at a tcpdump when you are running on a
 kernel without ipv6 support? Is there any ipv6 traffic when running on a
 kernel without ipv6 ?

Again re-read the thread if you need to. Can read the reply to P. Geunther

 
 You blame us for a lot of stuff while you did not do anything to show us
 where the problem is.
 
Funny, no, not blaming anyone for anything. Never play blame game. What's
the point? But go ahead if you want.

The question seemed simple enough to me, if you can't give an answer, no
problem.



Re: How to disable IPv6?

2009-12-05 Thread rhubbell
On Sun, 6 Dec 2009 02:07:00 +
Jacob Meuser wrote:

 finally you say something that I can relate to.

But couldn't resist, eh? (^:



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Tony Abernethy
rhubbell wrote:
 Another sensitive type. Guess there are always a few on every list.
As distinguished from insensitive twerps like yourself.



Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-12-05 Thread Roland Dreier
  Mind sharing your hostname.ral0 and the tools you use to trigger this
  situation? I've tried hping, tcpbench, ping -f, rsync, etc to no avail.
  
  max ~8000 intr/s with hping
  2.5MB/s with scp

hostname.ral0 is:

inet 10.2.0.1 255.255.0.0 NONE \
mode 11g \
mediaopt hostap \
nwid  \
wpa \
wpaprotos wpa2 \
wpapsk 0x \
wpaakms psk \
chan 1
inet6 alias 2001:470:8379:2::1

and this system is basically my home wireless AP -- so it's routing
between wired ethernet hooked up to my cable modem and my laptops
etc.  I see the interface get stuck intermittently under pretty much
any heavy traffic from my laptop -- rsync over ssh to a system on
wired ethernet, uploading big files to the external internet, etc.

I think maybe having a lot of small ack packets to send exposes the
race the best, since typically I see the problem when I am sending a
lot via TCP from the laptop through the slow AP.

If you search the web for soekris and rt2661 then you can find several
other people that seem to be hitting this bug from many months ago,
which makes sense -- a geode is probably a slow enough CPU to make the
races bigger.

  cpu0: AMD Athlon(tm) XP 2500+ (AuthenticAMD 686-class, 512KB L2 cache) 
  1.84 GHz

Your CPU may be too fast... my system has:

cpu0: VIA Samuel 2 (CentaurHauls 686-class) 602 MHz

If your system can service TX interrupts fast enough that there is
never more than one packet being completed, the standard driver should
work fine.

 - R.



Re: How to disable IPv6?

2009-12-05 Thread Brynet
rhubbell the top posting troll wrote:
 Yeah you said that already.
 
 Marco Peereboom wrote:
 fuck off troll

You have asked your questions, quite impolitely.. many have responded
regardless of this.

Marco has kindly given you some further direction, the 'off' in 'fuck
off' would indicate that you should not be posting here any further.

-Bryan.



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Brynet
rhubbell wrote:
 Another sensitive type. Guess there are always a few on every list.

It has nothing to do with sensitivity, we just have an aversion toward
idiots.

-Bryan.



Re: How to disable IPv6?

2009-12-05 Thread Jacob Meuser
On Sat, Dec 05, 2009 at 07:55:11PM -0800, rhubbell wrote:
 On Sun, 6 Dec 2009 02:07:00 +
 Jacob Meuser wrote:
 
  finally you say something that I can relate to.
 
 But couldn't resist, eh? (^:

no, it was a test to see if you could take your own advice.  since you
won't, I am now sure you're not worth paying attention to and are only
here to be a prick.

thanks for clarifying.

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



Re: building sbin/route on -current?

2009-12-05 Thread James Hartley
On Sat, Dec 5, 2009 at 3:08 PM, Philip Guenther guent...@gmail.com wrote:

 On Sat, Dec 5, 2009 at 11:55 AM, James Hartley jjhart...@gmail.com
 wrote:
  I updated my local source tree Tuesday.  Rebuilding the kernel went fine,
  but building userland failed at sbin/route with the following messages:
 
  === sbin/route
  cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c
  /usr/src/sbin/route/route.c
 ...
 Whatever directions you've followed that suggest that you can compile
 a system without installing it are wrong, or at least insufficient.

Thanks, Philip for responding.  I have followed the recipe given in Section
5.3.4 - 5.3.5 of the FAQ religiously for months without incident.

As an additional data point, I installed the 4 December i386 snapshot
followed by downloading /usr/src via AnonCVS today,  successfully rebuilt
the kernel  userland.   Although this may point out that the problem is
solved, it still leaves the question of why building started failing
Tuesday.

Thanks again for responding.



Re: How to disable IPv6?

2009-12-05 Thread Tomáš Bodžár
Which apps? I have secret for you ;-) Most of the apps from packages/ports
is not from OpenBSD project, but from people/communities around the world.
So please ask them what to do. In OpenBSD there are at least two ways how
to disable IPv6 for whole system. And in case of problems with app there are
two ways too. Ask author of app or send diff to misc@ with repair ;-)

On Sun, Dec 6, 2009 at 1:24 AM, rhubbell rhubb...@ihubbell.com wrote:

 The issue is that many apps aren't aware enough to notice that the kernel
 has no support for a protocol family and they continue to try to use it
 anyway. It would be nice if those things above took care of all that.
 Thanks for the links I had seen them.



Re: How to disable IPv6?

2009-12-05 Thread Tomáš Bodžár
You are missing whole point of philosophy of OpenBSD. Snippet from one
good book :

The OpenBSD community generally expects users to be advanced computer
users. They have
written extensive documentation about OpenBSD, and expect people to be
willing to read it.
They're not interested in coddling new UNIX users and will say so if
pressed. They don't object
to new UNIX users using OpenBSD, but do object to people asking them
for basic UNIX help
just because they happen to be running OpenBSD. If you're a new UNIX
user, they will not hold
your hand. They will not develop features just to please users.
OpenBSD exists to meet the needs
of the developers, and while others are welcome to ride along the
needs of the passengers do not
steer the project.


On Sat, Dec 5, 2009 at 11:43 PM, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 17:01:34 -0500
 Ted Unangst wrote:

 Other than adding rhubbell to the list of people who probably broke
 it themselves, not really.


 Nothing's broken here. Hope you didn't strain a muscle jumping to
 conclusions. (^: B Well nothing other than the pervasiveness of IPv6 into
 every nook and cranny with no apparent way to shut it off by pulling one
 switch.

 Also looking back I see the question was ignored before.
 I can figure it out with enough time. B But guess I thought there was a
 community here that would share the secret incantations. B Apparently
 there's unity with out the comm.





--
http://www.openbsd.org/lyrics.html



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-05 Thread Tomáš Bodžár
wow now I have point. You are like kid on sand. Look they have thermometer
and you haven't :-P :-D You don't have even any respect for long time OpenBSD
developers or users which know a LOT more then you. Just because you are
unqualified user doesn't mean that you can shout around on everyone.

And from your answers in this thread I can see that you haven't even small
idea about how expensive is develop of new HW. You are like more and more
newbies in Linux community. Give me everything now for free. I don't want to pay
anything, you are all idiots without knowledge and if you don't want to give me
something for free then I will shout on you a lot.

Uh sorry. I know from professionals that I must be nice on people with similar
problems because they need doctor. So please take my apology (:-D).

On Sun, Dec 6, 2009 at 12:04 AM, rhubbell rhubb...@ihubbell.com wrote:
 On Sat, 5 Dec 2009 17:08:36 -0500
 Ted Unangst wrote:

 More than I've ever spent on all the computers I've ever written
 software with.

 How much would that be? Ballpark. Doesn't seem like it would be very much.
 Seems like you're just hand-waving without real numbers.

 Wikipedia has a money-raised thermometer on their site from time-to-time
 and they're raising millions.





-- 
http://www.openbsd.org/lyrics.html