Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Sergey Kish
From binary kernel


-- Forwarded message --
From: Sergey Kish sergey.k...@gmail.com
Date: Wed, Jan 26, 2011 at 5:18 PM
Subject: Acer Aspire One 751, Atheros AR5424 doesn't work
To: dm...@openbsd.org


OpenBSD 4.8 (GENERIC) #1: Wed Jan 26 12:03:41 EET 2011
   r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR,
PDCM,MOVBE
real mem  = 1063514112 (1014MB)
avail mem = 1036156928 (988MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @
0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries)
bios0: vendor Acer version V0.3210 date 09/22/2009
bios0: Acer AO751h
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT
acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3)
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 124MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD04
acpivout3 at acpivideo0: DD05
acpivout4 at acpivideo0: DD04
acpivout5 at acpivideo0: DD05
bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800!
cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel US15W Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel US15W Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic
2 int 22 (irq 10)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel SCH PCIE rev 0x07: apic 2 int 17 (irq
4)
pci1 at ppb0 bus 2
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq
7)
pci2 at ppb1 bus 3
mem address conflict 0xd000/0x1
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
4)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0
uhci0 at pci0 dev 29 function 0 Intel SCH USB rev 0x07: apic 2 int 23 (irq
10)
uhci1 at pci0 dev 29 function 1 Intel SCH USB rev 0x07: apic 2 int 19 (irq
5)
uhci2 at pci0 dev 29 function 2 Intel SCH USB rev 0x07: apic 2 int 18 (irq
3)
ehci0 at pci0 dev 29 function 7 Intel SCH USB rev 0x07: apic 2 int 21 (irq
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel SCH LPC rev 0x07
pciide0 at pci0 dev 31 function 1 Intel SCH IDE rev 0x07: DMA,
channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: OCZ-VERTEX
wd0: 1-sector PIO, LBA48, 61057MB, 125045424 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev
2.00/2.22 addr 2
video0 at uvideo0
umass0 at uhub0 port 7 configuration 1 interface 0 Generic
USB2.0-CRW rev 2.00/58.88 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0
0/direct removable
sd0: 15193MB, 512 bytes/sec, 31116288 sec total
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
hw.sensors.acpitz0.temp0=55.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)

Re: allocation bandwidth with cbq

2011-01-28 Thread Indunil Jayasooriya
Hi,

I got it done. But for *http *traffic. But, I want to get it done for ftp
download also. It does NOT work.

These are the rules


# enable queueing on the internal interface to control traffic coming in
# from the Internet. use the cbq scheduler to control bandwidth. max
# bandwidth is 2Mbps.

altq on em1 cbq bandwidth 2Mb queue { std_in, ssh_im_in, dns_in, student_in
}

# define the parameters for the child queues.
# std_in  - the standard queue. any filter rule below that does not
#   explicitly specify a queue will have its traffic added
#   to this queue.
# ssh_im_in   - interactive SSH and various instant message traffic.
# dns_in  - DNS replies.
# student_in  - bandwidth reserved for student's workstation.
#

queue std_in bandwidth 1.6Mb cbq(default borrow)
queue ssh_im_in  bandwidth 200Kb priority 4
queue dns_in bandwidth 120Kb priority 5
queue student_in bandwidth 80Kb cbq


# FTP Proxy rules ( *This highlighted rule worked in bold DOES NOT work ?
any idea ?)*
anchor ftp-proxy/*
*pass in quick on $int_if proto tcp from $student_pc to any port 21 \
flags S/SA keep state rdr-to 127.0.0.1 port 8021 queue student_in*

pass in quick on $int_if proto tcp from $lan_net to any port 21 \
flags S/SA keep state rdr-to 127.0.0.1 port 8021

# Squid Redirect ( *This highlighted rule worked*)
*pass in quick on $int_if proto tcp from $student_pc to any port { 80 8080 }
\
flags S/SA keep state rdr-to 127.0.0.1 port 3128 queue student_in
*
pass in quick on $int_if proto tcp from $lan_net to any port { 80 8080 } \
flags S/SA keep state rdr-to 127.0.0.1 port 3128


pass in quick log on $int_if inet proto udp from $lan_net to !$int_if \
  port $clientudpports keep state queue dns_in

pass in quick log on $int_if inet proto tcp from $student_pc to !$int_if \
  port $https flags S/SA keep state queue student_in

pass in quick log on $int_if inet proto tcp from $lan_net to !$int_if \
  port $https flags S/SA keep state



I have got what I want up to certain extent. I am still trying to allocate
ftp download for studnet_pc to 80Kbps.

I think port 21 for connection to establish. It further needs ports higher
than  49151

So i added in this way as well.

*pass in quick on $int_if proto tcp from $student_pc to any port ( 21  
49151 \
flags S/SA keep state rdr-to 127.0.0.1 port 8021 queue student_in*

Still no luck?

Any idea?







-- 
Thank you
Indunil Jayasooriya



Re: allocation bandwidth with cbq

2011-01-28 Thread Indunil Jayasooriya
You need to get your ftp-proxy setup right.



 *I am doing . Pls see below* . Is it right?



 AFAICT you just add the anchor, but do not do the pass in to port 21
 rdr-to 127.0.0.7 port 8021.


ok. removed 2 rules with* pass in to port 21 rdr-to 127.0.0.7 port 8021*



 Later on you must grant the proxy access to external ftp servers. You
 can add the traffic to the ftp queue from there

 Added these rules instead. Now, rule set is like this. ( newly added rules
in BOLD )

# FTP Proxy rules
anchor ftp-proxy/*

*pass in quick on $int_if proto tcp from $student_pc to any port { 21 
49151 } \
flags S/SA keep state queue student_in
*
*pass in quick on $int_if proto tcp from $lan_net to any port { 21  49151 }
\
flags S/SA keep state
*
pass in quick log on $int_if inet proto udp from $lan_net to !$int_if \
  port $clientudpports keep state queue dns_in

*pass out log on $ext_if inet proto tcp from $ext_if to any \
  port { 21  49151 } flags S/SA modulate state*


Now,  Student gets the download speed of *80Kbps*.

Is this way is right? Is there a better way. If so, I would like to hear...


-- 
Thank you
Indunil Jayasooriya



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Sergey Kish
Now with recompiled kernel

OpenBSD 4.8 (GENERIC) #3: Fri Jan 28 10:04:06 EET 2011
   r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR,
PDCM,MOVBE
real mem  = 1063514112 (1014MB)
avail mem = 1036156928 (988MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @
0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries)
bios0: vendor Acer version V0.3210 date 09/22/2009
bios0: Acer AO751h
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT
acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3)
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 124MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD04
acpivout3 at acpivideo0: DD05
acpivout4 at acpivideo0: DD04
acpivout5 at acpivideo0: DD05
bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800!
cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel US15W Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel US15W Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic
2 int 22 (irq 10)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel SCH PCIE rev 0x07: apic 2 int 17 (irq
4)
pci1 at ppb0 bus 2
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq
7)
pci2 at ppb1 bus 3
mem address conflict 0xd000/0x1
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
4)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0
uhci0 at pci0 dev 29 function 0 Intel SCH USB rev 0x07: apic 2 int 23 (irq
10)
uhci1 at pci0 dev 29 function 1 Intel SCH USB rev 0x07: apic 2 int 19 (irq
5)
uhci2 at pci0 dev 29 function 2 Intel SCH USB rev 0x07: apic 2 int 18 (irq
3)
ehci0 at pci0 dev 29 function 7 Intel SCH USB rev 0x07: apic 2 int 21 (irq
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel SCH LPC rev 0x07
pciide0 at pci0 dev 31 function 1 Intel SCH IDE rev 0x07: DMA,
channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: OCZ-VERTEX
wd0: 1-sector PIO, LBA48, 61057MB, 125045424 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev
2.00/2.22 addr 2
video0 at uvideo0
umass0 at uhub0 port 7 configuration 1 interface 0 Generic
USB2.0-CRW rev 2.00/58.88 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0
0/direct removable
sd0: 15193MB, 512 bytes/sec, 31116288 sec total
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
ath0: unable to reset hardware; hal status 200
ath0: unable to reset hardware; hal status 3692322188



Re: Options iCON401 USB 'modem' needs umass-umsm tickle ?

2011-01-28 Thread Stuart Henderson
On 2011-01-27, Pete Vickers p...@systemnet.no wrote:
 Hi,

 My Option iCON401 (aka GI401) [1], appears to require tickling to re-appear as
 a umsm instead of the initial umass. Can someone point me at the file/list to
 add the IDs to, too invoke this ?

*If* it is indeed compatible with umsm(4), add the device IDs to
sys/dev/usb/usbdevs, make, and add the IDs in the table in
sys/dev/usb/umsm.c.

Before you build kernels, first try to eject the umass device
(e.g. eject cd1). If that does the trick then DEV_UMASS4 is the one
to use.

Otherwise you can try the various DEV_UMASS# (currently 1 through 6).



 thanks

 /Pete


 $ usbdevs -dv -f /dev/usb0

 Controller /dev/usb0:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x),
 Intel(0x8086), rev 1.00
   uhub0
  port 1 addr 2: high speed, power 500 mA, config 1, Globetrotter HSUPA
 Modem(0x7401), Option N.V.(0x0af0), rev 0.00, iSerialNumber Serial Number
umass0



 Under Mac OS.X it creates 4 serial lines:

 mbp:~ pete$ ls- l /dev/tty.GI*
 crw-rw-rw-  1 root  wheel   11,   8 Jan 26 22:35 /dev/tty.GI401 App
 crw-rw-rw-  1 root  wheel   11,  10 Jan 26 22:35 /dev/tty.GI401 Control
 crw-rw-rw-  1 root  wheel   11,   6 Jan 26 22:35 /dev/tty.GI401 Diag
 crw-rw-rw-  1 root  wheel   11,  12 Jan 26 22:35 /dev/tty.GI401 Modem


 [1] http://www.option.com/en/products/products/usb-modems/icon401



Merci.

2011-01-28 Thread Cantal Maria
Bonjour,
Je sais que mon message sera dune grande surprise quand t-il vous parviendra. 
Donc, je vous prisente toutes mes excuses. Je vous icris sinchrement dans le 
but dobtenir votre coopiration et votre confiance pouvant me permettre 
deffectuer une affaire urgente avec vous, trhs cher, cest une proposition 
trhs sinchre et noble que je vous fais. Je souhaite solliciter votre aide dans 
la migration et l'investissement dans votre pays, la fortune que j'ai hiriti de 
mon difunt mari. Brihvement, je suis canadienne bgie de 63 ans et mon defunt 
mari se nomme Mr Jose Dubiot. Avant sa mort, mon mari itait le directeur du 
cabinet du chef d`Etat-major de cette branche des FAA, l`Amiral Feliciano dos 
Santos Paxe (en Angola) avant quil ne dichde le 29 Dicembre 2004.
Il est mort aprhs une brhve maladie qui a duri seulement quatre jours. Nous 
itions tous les deux viritables catholiques et itions mariis pendant dix neuf 
annies sans enfant. Aprhs sa mort jai dicidi de ne pas me remarier et adopti 
des enfants, mais ma santi ne me la pas permit, car je ne pouvais pas 
moccuper dun enfant ` cause de mon cancer. Je sais que je vais mourir, mais 
avant, je voudrais que ma vie serve ` apporter un peu de joie aux enfants et 
aux plus dimunis.
Du vivant de mon difunt mari, nous avions diposi dans une sociiti spicialisie 
de consignation diplomatique, une malle mitallique dans laquelle nous avions 
disposi une forte quantiti dargent. Nous avions pour projet, mon mari et moi, 
douvrir des orphelinats et certaines uvres sociales, mais depuis la mort de 
mon ipoux et ma maladie, je nai pu rialiser ces projets. Je vous contacte afin 
que si vous le souhaitez, vous pourrez le rialiser pour moi.
Nous avons diclari le diptt comme biens de famille pour des raisons de 
discrition et de sicuriti. Je voudrais quelquun de sinchre et discret qui 
procidera au transfert de la malle et rialisera mes dernihres volontis.
Je souhaiterais que cette affaire reste discrhte pour la sicuriti de ce fond. 
Je reste en attente de votre message ` mon adresse email personnel.

madame Cantal Maria.



Loi Scellier bbc dernière année pour en profiter

2011-01-28 Thread lebonplacement.com
En 2011, nouveau dispositif gouvernemental LOI SCELLIER BBC (Bacirc;timent
Basse Consommation) 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
DERNIERS LANCEMENTS : 
 

 

Ile-Saint-Denis
93450

Agrave; partir de 134 200 euros

Cergy
95000

Agrave; partir de 168 000 euros

Lieusaint
77127

Agrave; partir de 133 000 euros

 
 
 
 

 
 
 
 
 

 
 
 
 
copy; lebonplacement.com est une socieacute;teacute; indeacute;pendante
speacute;cialiseacute;e dans la seacute;lection de placements et
d#x27;investissements immobiliers neufs. deacute;sabonnement



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Neal Hogan
 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0

First, why do you not think you have an AR5424 chipset? I ask because
you've said so elsewhere.

 ath0: unable to reset hardware; hal status 200
 ath0: unable to reset hardware; hal status 3692322188

Second, I wonder if you have that card marked as 'up after the
recompile. I have the same card and when I have it marked as 'down'
there is no problem. In fact, I wonder if compiling the kernal has
anything to do with it, because I've done that too with no unable to
reset hardware mesage. that message only occurs when I  mark the card
'up' and try to use it.

So, to fix the issue (if it is what I think it is), mark your card
as 'down' (i.e., ifconfig ath0 down). It's not supported (yet),
anyway.

-Neal



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread sergey . kish
 First, why do you not think you have an AR5424 chipset? I ask because
 you've said so elsewhere.

It is not AR5424.
My question is simple Why is it different?, maybe
What else can be different?

 So, to fix the issue ... mark your card as 'down' 

No, my issue isn't few lines in dmesg then
I try to use hardware. But working hardware.



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Neal Hogan
On Fri, Jan 28, 2011 at 6:48 AM,  sergey.k...@gmail.com wrote:
 First, why do you not think you have an AR5424 chipset? I ask because
 you've said so elsewhere.

 It is not AR5424.

Sorry, got confused by your dmesg, the subject to this thread, and the
subject of the message you sent to dmesg@ . . .

quote
-- Forwarded message --
From: Sergey Kish sergey.k...@gmail.com
Date: Wed, Jan 26, 2011 at 5:18 PM
Subject: Acer Aspire One 751, Atheros AR5424 doesn't work
To: dm...@openbsd.org
/quote

 My question is simple Why is it different?, maybe
 What else can be different?

 So, to fix the issue ... mark your card as 'down'

 No, my issue isn't few lines in dmesg then
 I try to use hardware. But working hardware.


You want to know why those lines are added to your dmesg, no? You want
to know what the difference is. I'm suggesting that, after you did
something (not necessarily the kernel compile), the difference is
that your system is now trying to use a card that is unsupported.



SOCKS proxying software?

2011-01-28 Thread James Hozier
I'm looking for a program that I can use to use SOCKS proxies for various 
programs, such as different IRC clients (ircII, irssi, etc.) and SSH as well 
(or other programs that don't have native SOCKS proxy support built-in).

For SSH I Googled a lot of articles on how to run SSH as a proxy server, but 
not how to SSH using a proxy.

Since tsocks is very obsolete and dsocks is very limited in its support with 
programs, is dante the only viable option I currently have? (Since dsocks and 
dante conflict with trying to pkg_add I can only have one.)



Re: SOCKS proxying software?

2011-01-28 Thread Henning Brauer
* James Hozier guitars...@yahoo.com [2011-01-28 16:56]:
 I'm looking for a program that I can use to use SOCKS proxies for various 
 programs, such as different IRC clients (ircII, irssi, etc.) and SSH as well 
 (or other programs that don't have native SOCKS proxy support built-in).
 
 For SSH I Googled a lot of articles on how to run SSH as a proxy server, but 
 not how to SSH using a proxy.
 
 Since tsocks is very obsolete and dsocks is very limited in its support with 
 programs, is dante the only viable option I currently have? (Since dsocks and 
 dante conflict with trying to pkg_add I can only have one.)

i hacked up transproxy for that at one point for a customer with a
weird setup.

i have no idea wether this still works, and it isn't all work of mine,
i used some bits i found somewhere, but don't remember where. looong
time ago, at least 2 years.

Index: Makefile
===
RCS file: /cvs/ports/www/transproxy/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile19 Oct 2010 08:02:57 -  1.21
+++ Makefile28 Jan 2011 16:37:18 -
@@ -2,7 +2,7 @@
 
 COMMENT=   transparent www proxy driver for pf
 
-DISTNAME=  transproxy-1.4
+DISTNAME=  transproxy-1.6
 CATEGORIES=www net
 
 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=transproxy/}
Index: distinfo
===
RCS file: /cvs/ports/www/transproxy/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 17:26:26 -   1.3
+++ distinfo28 Jan 2011 16:37:18 -
@@ -1,5 +1,5 @@
-MD5 (transproxy-1.4.tgz) = kpXJPP9FHDLfJa6KmMvRrw==
-RMD160 (transproxy-1.4.tgz) = WUs8xReiYbZpvFw0pDlURZUWxps=
-SHA1 (transproxy-1.4.tgz) = ghdk5nBsoVQA8WsracGTF4OFDV8=
-SHA256 (transproxy-1.4.tgz) = /L3AJeK3ZfB/S2DacOMtpTamTg4aL2mUTQJz0JqlgDs=
-SIZE (transproxy-1.4.tgz) = 22569
+MD5 (transproxy-1.6.tgz) = AswRYKnbnEmkBJH4kAgwRA==
+RMD160 (transproxy-1.6.tgz) = yk4w7sIrnQ67hBWyE6A6cx8eBa4=
+SHA1 (transproxy-1.6.tgz) = JlIjKzUQgF5zI2Eihn7vlLBI1HY=
+SHA256 (transproxy-1.6.tgz) = e8TOWrAWSNysolVV601MOmeu1ru0LhQyqqTpsgt12rM=
+SIZE (transproxy-1.6.tgz) = 23592
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/www/transproxy/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile  6 Dec 2001 07:28:11 -   1.2
+++ patches/patch-Makefile  28 Jan 2011 16:37:18 -
@@ -1,6 +1,6 @@
 Makefile.orig  Thu Aug 17 23:35:46 2000
-+++ Makefile   Fri Nov 30 13:24:09 2001
-@@ -46,6 +46,9 @@ OPTIONS += -DLOG_TO_FILE_LINEBUFF
+--- Makefile.orig  Wed Mar 31 14:19:34 2004
 Makefile   Fri Oct 24 13:54:04 2008
+@@ -47,8 +47,11 @@ OPTIONS += -DLOG_TO_FILE_LINEBUFF
  # BSD IPFILTER mechanism for fetching intended destination address.
  #OPTIONS += -DIPFILTER
  
@@ -8,12 +8,15 @@
 +OPTIONS += -DOPENBSD_PF
 +
  # linux-2.4 iptables mechanism for fetching intended destination address.
- #OPTIONS += -DIPTABLES
+-OPTIONS += -DIPTABLES
++#OPTIONS += -DIPTABLES
  
-@@ -53,8 +56,8 @@ OPTIONS += -DLOG_TO_FILE_LINEBUFF
- #OPTIONS += -DDO_DOUBLE_FORK
+ # Double fork to make init(8) handle zombie processes. Some Unix variants
+ # simply don't let you ignore the death of child processes easily.
+@@ -56,8 +59,8 @@ OPTIONS += -DIPTABLES
  
- # Define these to enable tcp_wrappers. You can use the built-in ACLs instead 
though.
+ # Define these to enable tcp_wrappers. You can use the built-in ACLs
+ # instead though.
 -#OPTIONS += -DTCP_WRAPPERS
 -#LIBS+= -lwrap
 +OPTIONS += -DTCP_WRAPPERS
Index: patches/patch-tproxy.c
===
RCS file: /cvs/ports/www/transproxy/patches/patch-tproxy.c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-tproxy.c
--- patches/patch-tproxy.c  6 Dec 2001 07:28:11 -   1.2
+++ patches/patch-tproxy.c  28 Jan 2011 16:37:18 -
@@ -1,7 +1,7 @@
 tproxy.c.orig  Sun Feb  4 05:13:48 2001
-+++ tproxy.c   Fri Nov 30 13:39:20 2001
-@@ -49,6 +49,15 @@
- # include netinet/ip_nat.h
+--- tproxy.c.orig  Tue May 24 15:26:46 2005
 tproxy.c   Fri Oct 24 13:52:46 2008
+@@ -53,6 +53,15 @@
+ # include linux/netfilter_ipv4.h
  #endif
  
 +#ifdef OPENBSD_PF
@@ -13,10 +13,18 @@
 +# include net/pfvar.h
 +#endif /* OPENBSD_PF */
 +
- #ifdef IPTABLES
- # include linux/netfilter_ipv4.h
+ #ifdef TCP_WRAPPERS
+ # include tcpd.h
  #endif
-@@ -188,6 +197,13 @@ static FILE   *log_file = 
NULL;
+@@ -175,6 +184,7 @@ static char*prog;
+ static intdaemonize = 1;
+ static intfully_transparent = 0;
+ static intproxy_only = 0;
++static intsocks_header = 0;
+ static char   *force_url = NULL;
+ static 

Re: SOCKS proxying software?

2011-01-28 Thread Jiri B.
On Fri, Jan 28, 2011 at 07:52:34AM -0800, James Hozier wrote:
 I'm looking for a program that I can use to use SOCKS proxies for various 
 programs,
 such as different IRC clients (ircII, irssi, etc.) and SSH as well (or other 
 programs
 that don't have native SOCKS proxy support built-in).

dsocks - but you will have dns leaks...

 For SSH I Googled a lot of articles on how to run SSH as a proxy server, but 
 not how
 to SSH using a proxy.

Check 'ProxyCommand' in manpage, you can use netcat for that.

 Since tsocks is very obsolete and dsocks is very limited in its support with 
 programs,
 is dante the only viable option I currently have? (Since dsocks and dante 
 conflict with
 trying to pkg_add I can only have one.)

what's wrong with dsocks? it's ld_preload hack like tsocks...

try redsocks - http://darkk.net.ru/redsocks/

i tried on linux only because i wanted to socksify vmware remote console and it 
worked,
i haven't had enough time to try it on openbsd.

jirib



Re: em(4) detailed errors

2011-01-28 Thread Manuel Guesdon
Hi,

On Thu, 18 Nov 2010 16:38:55 +0100
Manuel Guesdon ml+openbsd.m...@oxymium.net wrote:
| Is there a way to get detailed em(4) device errors without having to
| recompile kernel with EM_DEBUG ?
| I try to find in-errors reason(s) but netstat only gives errors as a sum of
| dropped_pkts + stats.rxerrc + stats.crcerrs + sc-stats.algnerrc +... as far
| as I can see :-(

I took me some time to upgrade to 4.8 version and modify kernel to get detail
info on demand.
I still have the problem on multiple servers (but with very similar hardware 
and software).


em4 at pci11 dev 0 function 0 Intel PRO/1000 (82576) rev 0x01: apic 9 int 15 
(irq 15), address 00:25:90:05:53:3e


em4: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:25:90:05:53:3e
description: br1.th2
priority: 0
groups: pf-off
media: Ethernet autoselect (1000baseT 
full-duplex,master,rxpause,txpause) 
status: active 
inet6 fe80::225:90ff:fe05:533e%em4 prefixlen 64 scopeid 0x5 

#netstat -I em4 -d
NameMtu   Network Address  IpktsIerrsOpkts  
Oerrs Colls  Drop 
em4 1500  Link  00:25:90:05:53:3e 8936976317 4614835  5430820423 
0 00 
em4 1500  fe80::%em4/ fe80::225:90ff:fe 8936976317 4614835  5430820423  
0 00

Detailed stats:
em4: Dropped PKTS = 0
em4: Excessive collisions = 0
em4: Symbol errors = 0
em4: Sequence errors = 0
em4: Defer count = 353
em4: Missed Packets = 4241586
em4: Receive No Buffers = 5297798
em4: Receive Length Errors = 0
em4: Receive errors = 0
em4: Crc errors = 0
em4: Alignment errors = 0
em4: Carrier extension errors = 0
em4: RX overruns = 372913
em4: watchdog timeouts = 0
em4: XON Rcvd = 3086
em4: XON Xmtd = 592675
em4: XOFF Rcvd = 164449
em4: XOFF Xmtd = 4833995
em4: Good Packets Rcvd = 8936940571
em4: Good Packets Xmtd = 5430798347

At this time, the interface carry around 56mbps inbound and 35Mbps outbound
Server load is 0.14

The em4 interface is connected to a an interface on another server with near 
same config (but I get same kind of problem for interfaces connected to switch 
with copper and fiber).

Errors seems a little related to interface load but not very closely.

Each servers have 2xQuad-ports cards (82576) + 2 ports on motherboard (82576 
too).

I was thinking of problem with interrupt mitigation.

Any idea, comments, things to test ?

Thank you !

Manuel



amd64.html diff

2011-01-28 Thread Amit Kulkarni
Hi misc,

I don't know where to post www updates. www seems to be heavily
spammed and nobody uses it. And I don't want to spam specific people.

Thanks

Index: amd64.html
===
RCS file: /cvs/www/amd64.html,v
retrieving revision 1.228
diff -u -r1.228 amd64.html
--- amd64.html  1 Nov 2010 22:06:58 -   1.228
+++ amd64.html  28 Jan 2011 18:13:20 -
@@ -20,7 +20,7 @@
 hr

 p
-OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit mode.
+OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
in 64-bit mode.
 It also runs on processors made by other manufacturers which have cloned
 the AMD64 extensions.  (Some Intel processors lack support for important
 PAE NX bit, which means those machines will run without any W^X support --
@@ -52,7 +52,7 @@
 p
 The only major shortcoming at this time is that the kernel debugger
 a 
href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sektion=4;ddb/a
-is somewhat poor.
+is somewhat poor. There is no support for memory greater than 4 GB
for certain AMD64 processors which lack a IOMMU.

 hr
 a name=hardware/a
@@ -62,7 +62,7 @@

 p
 All versions of the AMD Athlon 64 processors and their clones are
-supported.
+supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
Nehalem (Core i3, i5, and i7), and Intel Atom.

 h4SMP support/h4
 Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP



CONVOCATORIA ANTOLOGIA UNA MIRADA AL SUR 2011

2011-01-28 Thread Viviana Alvarez
Pasisn de Escritores

Convoca a integrar su:

 
   
   Antologma Poitica de

Poesma - Prosa poitica - Imagenes


  
 a:

Escritores, Artistas Plasticos, Escultores y Fotsgrafos

  Antologma Latinoamericana

Una mirada al sur 2011

Escritos e imagenes de los pueblos de Latinoamirica

   Fecha de cierre 30-03-2011

   Para integrarse a Una mira al sur 2011:

Los costos estan expresados en pesos Argentinos

 

  1 Pagina   abonara un
total de $ 100 s 1 cuota   de $ 100 c/u ,y recibira  2 ejemplares.

  2 Paginas abonara un
total de $ 200 s 2 cuotas  de $ 100 c/u, y recibira  4 ejemplares.

  3 Paginas abonara un
total de $ 270 s 2 cuotas  de $ 135 c/u, y recibira  6 ejemplares.

  4 Paginas abonara un
total de $ 350 s 2 cuotas  de $ 175 c/u, y recibira  8 ejemplares.

  5 Paginas abonara un
total de $ 420 s 2 cuotas  de $ 210 c/u, y recibira 10 ejemplares.

  6 Paginas abonara un
total de $ 500 s 2 cuotas  de $ 250 c/u, y recibira 13 ejemplares.

   Para escritores del exterior,el
costo es el mismo

   Caractermsticas de la edicisn:

 

  Medida del libro 14cm
x 20cm

  Papel obra 90g o
ahuesado
80g

  Tapas ilustracisn de
250g, full color con solapas

  laminado de
polipropileno

  Registro en la Camara
del Libro con N0 de I.S.B.N

  C.D musicalizado que
contendra un poema por autor

  en la voz de Carlos
Fernandez



Participe en Una mirada al sur 2011enviando sus escritos
de la siguiente manera:

El espacio de publicacisn es de 30 lmneas por pagina,

puede combinar los gineros.

Los escritos se recibiran por E-mail, en archivo adjunto, formato Word, fuente
Times New Roman, tamaqo 12, y debera adjuntar nombre, apellido y pams de
origen
(incluir seudsnimo solo si desea ser publicado con el mismo).

 

Para los artistas plasticos , escultores, fotsgrafos

 

Las imagenes deberan ser enviadas en archivo adjunto, formato JPG y las mismas
se ajustaran al espacio equivalente a 30 lmneas. Enviar el tmtulo y medidas
de las obras.

Para informacisn detallada visitarwww.unamiradaalsur.com.ar

Una mirada al sur 2011



  
  FORMAS DE PAGO:

   El importe sera cancelado mediante: Giro Postal,
transferencia
o depssito bancario

   o transferencia Western Union.

 

Solicitar mas informacisn a:

Para los interesados usar znicamente este correo:

E-mail: antolo...@unamiradaalsur.com.ar 

   http://www.pasiondeescritores.com.ar

 http://www.unamiradaalsur.com.ar

 

 



Re: amd64.html diff

2011-01-28 Thread Amit Kulkarni
Updated diff based on private Atom feedback and bigmem feedback.

Index: amd64.html
===
RCS file: /cvs/www/amd64.html,v
retrieving revision 1.228
diff -u -r1.228 amd64.html
--- amd64.html  1 Nov 2010 22:06:58 -   1.228
+++ amd64.html  28 Jan 2011 19:55:09 -
@@ -20,7 +20,7 @@
 hr

 p
-OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit mode.
+OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
in 64-bit mode.
 It also runs on processors made by other manufacturers which have cloned
 the AMD64 extensions.  (Some Intel processors lack support for important
 PAE NX bit, which means those machines will run without any W^X support --
@@ -52,7 +52,7 @@
 p
 The only major shortcoming at this time is that the kernel debugger
 a
href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sek
tion=4ddb/a
-is somewhat poor.
+is somewhat poor. There is no support yet for memory greater than 4 GB.

 hr
 a name=hardware/a
@@ -62,7 +62,7 @@

 p
 All versions of the AMD Athlon 64 processors and their clones are
-supported.
+supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
Nehalem (Core i3, i5, and i7), and 64 bit Intel Atom.

 h4SMP support/h4
 Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP


On Fri, Jan 28, 2011 at 12:25 PM, Amit Kulkarni amitk...@gmail.com wrote:
 Hi misc,

 I don't know where to post www updates. www seems to be heavily
 spammed and nobody uses it. And I don't want to spam specific people.

 Thanks

 Index: amd64.html
 ===
 RCS file: /cvs/www/amd64.html,v
 retrieving revision 1.228
 diff -u -r1.228 amd64.html
 --- amd64.html  1 Nov 2010 22:06:58 -   1.228
 +++ amd64.html  28 Jan 2011 18:13:20 -
 @@ -20,7 +20,7 @@
  hr

  p
 -OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit mode.
 +OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
 in 64-bit mode.
  It also runs on processors made by other manufacturers which have cloned
  the AMD64 extensions.  (Some Intel processors lack support for important
  PAE NX bit, which means those machines will run without any W^X support --
 @@ -52,7 +52,7 @@
  p
  The only major shortcoming at this time is that the kernel debugger
  a
href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sek
tion=4ddb/a
 -is somewhat poor.
 +is somewhat poor. There is no support for memory greater than 4 GB
 for certain AMD64 processors which lack a IOMMU.

  hr
  a name=hardware/a
 @@ -62,7 +62,7 @@

  p
  All versions of the AMD Athlon 64 processors and their clones are
 -supported.
 +supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
 Nehalem (Core i3, i5, and i7), and Intel Atom.

  h4SMP support/h4
  Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP



Re: Audio noise with Intel SCH HD Audio

2011-01-28 Thread Jacob Meuser
On Thu, Jan 27, 2011 at 04:58:39AM -0500, sergey.k...@gmail.com wrote:
 Today I've checked audio support.
 
   azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic 2 
 int 22 (irq 10)
   azalia0: codecs: Realtek ALC272
   audio0 at azalia0
 
 With vorbis-tools-1.4.0 `ogg123 song45.ogg` - I can hear music, but with a 
 big noise.
 It works well in Linux
 
   $ lspci -vvv -s 00:1b.0
   00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH 
 Poulsbo) HD Audio Controller (rev 07)
 Subsystem: Acer Incorporated [ALI] Device 0244
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
 Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- 
 TAbort- MAbort- SERR- PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 22
 Region 0: Memory at b005 (64-bit, non-prefetchable) [size=16K]
 Capabilities: access denied
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel
 
 How can to found the problem and fix it?

do other audio applications also have noise?  what happens with
'cat /dev/zero  /dev/audio' ?  also check the faq, section 13.

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



Disfruta de un variado buffet... El del Santo no paga. publicidad li cis

2011-01-28 Thread Il Forno

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
nmelanosis.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
ninquisitorial.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
dblefaroplastia.jpg]



gcc FAQ entry incorrect

2011-01-28 Thread Amit Kulkarni
http://www.openbsd.org/faq/faq5.html#NewCompiler

AFAIK, since 4.8 archs have started the shift to gcc4. mips64 and
mips64el is mentioned in current.html and will switch in 4.9,
shouldn't the entry be expanded to include mention of gcc4?

from 4.8 release notes...

amd64, i386, hppa, sparc64, socppc and macppc platforms were switched
over to gcc4



equivalent of Linux mount -o bind

2011-01-28 Thread Travis H.
So I'm curious if there's something in OpenBSD that's similar to the
mount -o bind /dir1 /dir2 to make dir1 appear where dir2 is.

I seem to recall a mount_nullfs but don't see it in the latest
OpenBSD.

Please note that I'm not trying to start a flame war, so there's
no need to make Linux comments.

BTW, the vnconfig manpage should probably indicate that the image need
not be a file, you can use a slice/partition too.



Just a few questions about the Little Guy Network

2011-01-28 Thread Greg Reed
Hi,

I ran across Little Guy Network and your email online. I was curious if you are 
still involved. If you're involved I have a few questions. How long have you 
been working with Little Guy Network?  How are things going for you? Did you 
get involved for the product benefits or for the money opportunity?  

Greg Reed



Re: amd64.html diff

2011-01-28 Thread Nick Holland
On 01/28/11 14:57, Amit Kulkarni wrote:
 Updated diff based on private Atom feedback and bigmem feedback.

In short, no.
In long: well, see notes within.

 Index: amd64.html
 ===
 RCS file: /cvs/www/amd64.html,v
 retrieving revision 1.228
 diff -u -r1.228 amd64.html
 --- amd64.html1 Nov 2010 22:06:58 -   1.228
 +++ amd64.html28 Jan 2011 19:55:09 -
 @@ -20,7 +20,7 @@
  hr
 
  p
 -OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit mode.
 +OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
 in 64-bit mode.

I think this is already quite correct, if we consider the Opteron part
of the Athlon64 family.

IF you are going to get really picky about this, you need to do your
homework, as I'll pick you back.
* It's Opteron, not Opteron-64.
* If I read it as it is, I think there's a strong possibility my 64 bit
happy Sempron might run.  After your change, I start thinking you have
itemized everything that works...and thus, my Sempron won't work.  I
lose, my Sempron works fine, thank you very much.  And here's where it
gets ugly...not all the Semprons do.
* Athlon Neo? Turion?  Athlon X2, X3, X4...? Phenom?

And what have we gained by enlarging the list?  nothing.

  It also runs on processors made by other manufacturers which have cloned
  the AMD64 extensions.  (Some Intel processors lack support for important
  PAE NX bit, which means those machines will run without any W^X support --
 @@ -52,7 +52,7 @@
  p
  The only major shortcoming at this time is that the kernel debugger
  a
 href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sek
 tion=4ddb/a
 -is somewhat poor.
 +is somewhat poor. There is no support yet for memory greater than 4 GB.

this probably does need a note somewhere, but I think it can be done
better.

  hr
  a name=hardware/a
 @@ -62,7 +62,7 @@
 
  p
  All versions of the AMD Athlon 64 processors and their clones are
 -supported.
 +supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
 Nehalem (Core i3, i5, and i7), and 64 bit Intel Atom.

again, you take a broad general statement which is accurate and turn it
into an incomplete (and wrong -- many Athlons are NOT amd64 compatable!
 The name predates the 64 bit instruction set) specific statement.  I'm
not even gonna start listing the Intel systems you skipped over there,
and a very high percentage of the Intel Atom chips in consumer hands
(and I believe some still being sold) are NOT AMD64 compatible.  It's
all covered under clone quite nicely and to my satisfaction.  A lot of
the early Intel AMD64-compatible chips screwed up their AMD64
compatibility to the point where you basically just have to try it and
see if YOUR chip works.

It is not practical to enumerate every marketing name for every chip out
there (I see an attempt was made on the i386 page, though that should be
a legacy platform now and thus easier, but good ol' Intel is still
making new i386-only chips (or at least was, as of the first generations
of Atom...*sigh*).

There's also just no point, and a lot more future maintenance for this
page.  We are, actually, trying to cut down the itemized lists of
devices supported, not add to them.  It isn't about having the longest
list, it is about having the most useful list.

  h4SMP support/h4
  Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP
 
 
 On Fri, Jan 28, 2011 at 12:25 PM, Amit Kulkarni amitk...@gmail.com wrote:
 Hi misc,

 I don't know where to post www updates. www seems to be heavily
 spammed and nobody uses it. And I don't want to spam specific people.

www@ is the right place.  It's read by the people that need to read it.
 However, your mailer is mangling diffs still (line wraps, two leading
spaces where there should be one, etc.).  Mail the diff to yourself, see
if you can apply it.

Nick.



Re: gcc FAQ entry incorrect

2011-01-28 Thread Nick Holland
I prefer the word incomplete :)

On 01/28/11 17:46, Amit Kulkarni wrote:
 http://www.openbsd.org/faq/faq5.html#NewCompiler
 
 AFAIK, since 4.8 archs have started the shift to gcc4. mips64 and
 mips64el is mentioned in current.html and will switch in 4.9,
 shouldn't the entry be expanded to include mention of gcc4?
 
 from 4.8 release notes...
 
 amd64, i386, hppa, sparc64, socppc and macppc platforms were switched
 over to gcc4

no, I never should have put that section in in the first place.  See
commit message for more details. :)

Nick.



simple pf match question

2011-01-28 Thread Ted Unangst
I am apparently not getting pf at a very simple level.  Here's my rule:

match proto tcp from any to any port 80 label web

Here's the output of pfctl -sr -v after visiting a few websites:

match proto tcp from any to any port = www label web
  [ Evaluations: 1398  Packets: 0 Bytes: 0   States: 0 ]
  [ Inserted: uid 0 pid 931 State Creations: 0 ]

I would expect that rule to match the packets to port 80 and make the
counters go up, but they stay stuck at 0.  Why is that?



Re: amd64.html diff

2011-01-28 Thread Amit Kulkarni
Ok I got it. I admit I didn't think of Semprons or Athlon Neo as 64
bit capable but some are :)

I will post to www@ after this. Sorry about my mail. I thought gmail
would be better. I have set it to text encoding. I will definitely try
and fix this.

On Fri, Jan 28, 2011 at 9:26 PM, Nick Holland
n...@holland-consulting.net wrote:
 On 01/28/11 14:57, Amit Kulkarni wrote:
 Updated diff based on private Atom feedback and bigmem feedback.

 In short, no.
 In long: well, see notes within.

 Index: amd64.html
 ===
 RCS file: /cvs/www/amd64.html,v
 retrieving revision 1.228
 diff -u -r1.228 amd64.html
 --- amd64.html1 Nov 2010 22:06:58 -   1.228
 +++ amd64.html28 Jan 2011 19:55:09 -
 @@ -20,7 +20,7 @@
  hr

  p
 -OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit
mode.
 +OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
 in 64-bit mode.

 I think this is already quite correct, if we consider the Opteron part
 of the Athlon64 family.

 IF you are going to get really picky about this, you need to do your
 homework, as I'll pick you back.
 * It's Opteron, not Opteron-64.
 * If I read it as it is, I think there's a strong possibility my 64 bit
 happy Sempron might run.  After your change, I start thinking you have
 itemized everything that works...and thus, my Sempron won't work.  I
 lose, my Sempron works fine, thank you very much.  And here's where it
 gets ugly...not all the Semprons do.
 * Athlon Neo? Turion?  Athlon X2, X3, X4...? Phenom?

 And what have we gained by enlarging the list?  nothing.

  It also runs on processors made by other manufacturers which have cloned
  the AMD64 extensions.  (Some Intel processors lack support for important
  PAE NX bit, which means those machines will run without any W^X support
--
 @@ -52,7 +52,7 @@
  p
  The only major shortcoming at this time is that the kernel debugger
  a

href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sek
 tion=4ddb/a
 -is somewhat poor.
 +is somewhat poor. There is no support yet for memory greater than 4 GB.

 this probably does need a note somewhere, but I think it can be done
 better.

  hr
  a name=hardware/a
 @@ -62,7 +62,7 @@

  p
  All versions of the AMD Athlon 64 processors and their clones are
 -supported.
 +supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
 Nehalem (Core i3, i5, and i7), and 64 bit Intel Atom.

 again, you take a broad general statement which is accurate and turn it
 into an incomplete (and wrong -- many Athlons are NOT amd64 compatable!
  The name predates the 64 bit instruction set) specific statement.  I'm
 not even gonna start listing the Intel systems you skipped over there,
 and a very high percentage of the Intel Atom chips in consumer hands
 (and I believe some still being sold) are NOT AMD64 compatible.  It's
 all covered under clone quite nicely and to my satisfaction.  A lot of
 the early Intel AMD64-compatible chips screwed up their AMD64
 compatibility to the point where you basically just have to try it and
 see if YOUR chip works.

 It is not practical to enumerate every marketing name for every chip out
 there (I see an attempt was made on the i386 page, though that should be
 a legacy platform now and thus easier, but good ol' Intel is still
 making new i386-only chips (or at least was, as of the first generations
 of Atom...*sigh*).

 There's also just no point, and a lot more future maintenance for this
 page.  We are, actually, trying to cut down the itemized lists of
 devices supported, not add to them.  It isn't about having the longest
 list, it is about having the most useful list.

  h4SMP support/h4
  Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP


 On Fri, Jan 28, 2011 at 12:25 PM, Amit Kulkarni amitk...@gmail.com
wrote:
 Hi misc,

 I don't know where to post www updates. www seems to be heavily
 spammed and nobody uses it. And I don't want to spam specific people.

 www@ is the right place.  It's read by the people that need to read it.
  However, your mailer is mangling diffs still (line wraps, two leading
 spaces where there should be one, etc.).  Mail the diff to yourself, see
 if you can apply it.

 Nick.



Re: simple pf match question

2011-01-28 Thread Josh Hoppes
If I'm reading the man page correctly the rule only counts if it's the
one creating a state. Since the match rule won't be the deciding one
to generate a state or not I expect it will never actually count on
those statistics.

On Fri, Jan 28, 2011 at 8:48 PM, Ted Unangst ted.unan...@gmail.com wrote:
 I am apparently not getting pf at a very simple level.  Here's my rule:

 match proto tcp from any to any port 80 label web

 Here's the output of pfctl -sr -v after visiting a few websites:

 match proto tcp from any to any port = www label web
  [ Evaluations: 1398  Packets: 0 Bytes: 0   States: 0  
  ]
  [ Inserted: uid 0 pid 931 State Creations: 0 ]

 I would expect that rule to match the packets to port 80 and make the
 counters go up, but they stay stuck at 0.  Why is that?