Re: wifi firmware for lenovo thinkpad E420

2012-05-04 Thread Siju George
On Thu, May 3, 2012 at 6:35 PM, David Coppa dco...@gmail.com wrote:
 It should be urtwn-firmware-1.1p1.tgz...

 Btw, just do a fw_update (man fw_update for info)


Thankyou David and Lawrence for the reply :-)

an fw_update does basically nothing

# fw_update
Couldn't find updates for uvideo-firmware-1.2p0
#

manually installing also does not fix the issue :-(

# ftp http://firmware.openbsd.org/firmware/5.1/urtwn-firmware-1.1p1.tgz
Trying 84.2.34.134...
Requesting http://firmware.openbsd.org/firmware/5.1/urtwn-firmware-1.1p1.tgz
100% 
|**|
16258   00:01
16258 bytes received in 1.94 seconds (8.19 KB/s)
# pkg_add urtwn-firmware-.1p1.tgz
urtwn-firmware-1.1p1: ok

# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33196
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr vvv
priority: 0
groups: egress
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet  netmask 0xX broadcast 
inet6 fe80::f2de:f1ff:feaa:f3ca%re0 prefixlen 64 scopeid 0x1
enc0: flags=0
priority: 0
groups: enc
status: active
pflog0: flags=141UP,RUNNING,PROMISC mtu 33196
priority: 0
groups: pflog

OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (GenuineIntel
686-class) 2.30 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,LAHF
real mem  = 3130179584 (2985MB)
avail mem = 3068866560 (2926MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/09/11, BIOS32 rev. 0 @
0xfc000, SMBIOS rev. 2.6 @ 0xe0830 (67 entries)
bios0: vendor LENOVO version 8HET38WW(1.20) date 09/09/2011
bios0: LENOVO 1141FSQ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT SSDT ASF! HPET APIC MCFG
SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S0) EHC2(S0) HDEF(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4)
PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4)
LID0(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 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (GenuineIntel
686-class) 2.30 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,LAHF
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (GenuineIntel
686-class) 2.30 GHz
cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,LAHF
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (GenuineIntel
686-class) 2.30 GHz
cpu3: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,LAHF
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 8 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus 9 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
byte 3119
acpicpu3 at acpi0: C3, C1, PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpitz1 at acpi0: critical temperature is 120 degC
acpibat0 at acpi0: BAT0 model LNV-42T4753 serial  1233 type LION oem
696e6f73616e6150
acpithinkpad0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
bios0: ROM 

Re: acer aspire one D270

2012-05-04 Thread Laurence Rochfort
I wouldn't recommend the iwn(4) devices. I've had a bad experience even
with those in the man page.

I recently replaced an iwn(4) with ral(4) and athn(4) as advised on misc
and they've been excellent.  No firmware needed for those I tried either.
On May 4, 2012 12:07 AM, frantisek holop min...@obiit.org wrote:

 hi there,

 here is the dmesg for a spanking new acer aspire one D270 netbook.
 installation was easy and fast.

 devices not supported (yet):
 intel integrated video,
 BCM4313 (probably gonna replace with an iwn)


 there is a curious ehci0 timeout..

 the 6 cell battery is supposed to give 8h, so would be a nice
 long haul netbook :]



 OpenBSD 5.1-current (GENERIC.MP) #253: Thu Apr 26 01:45:24 MDT 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class)
 1.60 GHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 real mem  = 1061408768 (1012MB)
 avail mem = 1033216000 (985MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 01/12/12, BIOS32 rev. 0 @ 0xef725,
 SMBIOS rev. 2.7 @ 0xe3e00 (47 entries)
 bios0: vendor Insyde Corp. version V1.04 date 01/12/2012
 bios0: Acer AOD270
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG WDRT SLIC BOOT MSDM FPDT SSDT SSDT
 SSDT WDAT
 acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3)
 PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) PXSX(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 99MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class)
 1.60 GHz
 cpu1:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class)
 1.60 GHz
 cpu2:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class)
 1.60 GHz
 cpu3:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (RP01)
 acpiprt2 at acpi0: bus 2 (RP02)
 acpiprt3 at acpi0: bus 3 (RP03)
 acpiprt4 at acpi0: bus -1 (RP04)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpicpu2 at acpi0: C2, C1, PSS
 acpicpu3 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature is 98 degC
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: SLPB
 acpibtn2 at acpi0: LID_
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model AL10B31 serial 4136 type LION oem SANYO
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 bios0: ROM list: 0xc/0xf200!
 cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1400, 1200, 1000, 800,
 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf1 rev
 0x03
 vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be1 rev
 0x09
 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 82801GB HD Audio rev 0x02: msi
 azalia0: codecs: Intel/0x2880, Realtek ALC269, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 4 int 16
 pci1 at ppb0 bus 1
 re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x05: RTL8105E (0x4080),
 apic 4 int 16, address 04:7d:7b:75:00:42
 ukphy0 at re0 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI
 0x000732, model 0x0008
 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 4 int 17
 pci2 at ppb1 bus 2
 Broadcom BCM4313 rev 0x01 at pci2 dev 0 function 0 not configured
 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 4 int 18
 pci3 at ppb2 bus 3
 Realtek RTS5209 Card Reader rev 0x01 at pci3 dev 0 function 0 not
 configured
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 4 int 17
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 4 int 19
 uhci2 at pci0 dev 29 function 2 

Re: How to have more than 15 pflog interfaces?

2012-05-04 Thread Siju George
On Thu, Apr 12, 2012 at 3:44 AM, Henning Brauer
lists-openbsdt...@bsws.de wrote:
 diffs are for current of course but should work for 5.1 as well -
 dunno what you are trying.


Dear Henning,

 I have upgraded my firewall to 5.1
could you please give ma a unified diff or something I can try

Thanks

Siju



AMD Zacate E350 (ASUS E35M1-M) dmesg/experiences?

2012-05-04 Thread Manolis Tzanidakis
Hello all,
I'm thinking of replacing my noisy and energy-hungry SOHO server with
an AMD Zacate E350-based solution; specifically ASUS E35M1-M.
Any experiences with this APU? A dmesg would be preferred.

-- 
Manolis Tzanidakis
http://mtzanidakis.com/
mtzanidakis[at]gmail[dot]com



Re: How to have more than 15 pflog interfaces?

2012-05-04 Thread Henning Brauer
* Siju George sgeorge@gmail.com [2012-05-04 08:44]:
 On Thu, Apr 12, 2012 at 3:44 AM, Henning Brauer
 lists-openbsdt...@bsws.de wrote:
  diffs are for current of course but should work for 5.1 as well -
  dunno what you are trying.
  I have upgraded my firewall to 5.1
 could you please give ma a unified diff or something I can try

Index: if_pflog.c
===
RCS file: /cvs/src/sys/net/if_pflog.c,v
retrieving revision 1.49
diff -u -p -r1.49 if_pflog.c
--- if_pflog.c  3 Feb 2012 01:57:50 -   1.49
+++ if_pflog.c  4 May 2012 08:59:00 -
@@ -80,6 +80,7 @@
 #endif
 
 void   pflogattach(int);
+intpflogifs_resize(size_t);
 intpflogoutput(struct ifnet *, struct mbuf *, struct sockaddr *,
   struct rtentry *);
 intpflogioctl(struct ifnet *, u_long, caddr_t);
@@ -91,16 +92,14 @@ LIST_HEAD(, pflog_softc)pflogif_list;
 struct if_clonepflog_cloner =
 IF_CLONE_INITIALIZER(pflog, pflog_clone_create, pflog_clone_destroy);
 
-struct ifnet   *pflogifs[PFLOGIFS_MAX];/* for fast access */
-struct mbuf*pflog_mhdr = NULL, *pflog_mptr = NULL;
+int  npflogifs = 0;
+struct ifnet   **pflogifs = NULL;  /* for fast access */
+struct mbuf *pflog_mhdr = NULL, *pflog_mptr = NULL;
 
 void
 pflogattach(int npflog)
 {
-   int i;
LIST_INIT(pflogif_list);
-   for (i = 0; i  PFLOGIFS_MAX; i++)
-   pflogifs[i] = NULL;
if (pflog_mhdr == NULL)
if ((pflog_mhdr = m_get(M_DONTWAIT, MT_HEADER)) == NULL)
panic(pflogattach: no mbuf);
@@ -111,15 +110,39 @@ pflogattach(int npflog)
 }
 
 int
+pflogifs_resize(size_t n)
+{
+   struct ifnet**p;
+   int   i;
+
+   if (n  SIZE_MAX / sizeof(struct ifnet))
+   return (EINVAL);
+   if (n == 0)
+   p = NULL;
+   else
+   if ((p = malloc(n * sizeof(struct ifnet), M_DEVBUF,
+   M_NOWAIT|M_ZERO)) == NULL)
+   return (ENOMEM);
+   for (i = 0; i  n; i++)
+   if (i  npflogifs)
+   p[i] = pflogifs[i];
+   else
+   p[i] = NULL;
+
+   if (pflogifs)
+   free(pflogifs, M_DEVBUF);
+   pflogifs = p;
+   npflogifs = n;
+   return (0);
+}
+
+int
 pflog_clone_create(struct if_clone *ifc, int unit)
 {
struct ifnet *ifp;
struct pflog_softc *pflogif;
int s;
 
-   if (unit = PFLOGIFS_MAX)
-   return (EINVAL);
-
if ((pflogif = malloc(sizeof(*pflogif),
M_DEVBUF, M_NOWAIT|M_ZERO)) == NULL)
return (ENOMEM);
@@ -144,6 +167,10 @@ pflog_clone_create(struct if_clone *ifc,
 
s = splnet();
LIST_INSERT_HEAD(pflogif_list, pflogif, sc_list);
+   if (unit + 1  npflogifs  pflogifs_resize(unit + 1) != 0) {
+   splx(s);
+   return (ENOMEM);
+   }
pflogifs[unit] = ifp;
splx(s);
 
@@ -154,11 +181,16 @@ int
 pflog_clone_destroy(struct ifnet *ifp)
 {
struct pflog_softc  *pflogif = ifp-if_softc;
-   int  s;
+   int  s, i;
 
s = splnet();
pflogifs[pflogif-sc_unit] = NULL;
LIST_REMOVE(pflogif, sc_list);
+
+   for (i = npflogifs; i  0  pflogifs[i - 1] == NULL; i--)
+   ; /* nothing */
+   if (i  npflogifs)
+   pflogifs_resize(i); /* error harmless here */
splx(s);
 
if_detach(ifp);
@@ -225,7 +257,8 @@ pflog_packet(struct pf_pdesc *pd, u_int8
if (rm == NULL || pd == NULL || pd-kif == NULL || pd-m == NULL)
return (-1);
 
-   if ((ifn = pflogifs[rm-logif]) == NULL || !ifn-if_bpf)
+   if (rm-logif = npflogifs || (ifn = pflogifs[rm-logif]) == NULL ||
+   !ifn-if_bpf)
return (0);
 
bzero(hdr, sizeof(hdr));


-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/



CARP and OSPF interaction on boot

2012-05-04 Thread Matt Hamilton
Hi All,

I'm wondering if anyone has found an elegant solution to the problem
I'm having with interaction between CARP and OSPF. I have a pair of
routers in a failover config. On one side they speak OSPF to a set of
other routers and on the other side use CARP to provide a default
gateway to a set of hosts. There is currently only one CARP interface
at the moment whilst I'm testing this setup, but once in production
there will be around 50-60 vlan interfaces, each with a CARP interface.

Failover works a charm and if I reboot the primary then the backup
takes over in around 1 second. However when the primary boots back up
and tries to take over then I lose connectivity for about 12-14
seconds. What I think is happening is that the CARP side is becoming
master before the OSPF side has had a chance to work out neighbors and
take over as the preferred route for packets.

I know that OSPF can be configured to demote the carp group until it
has at least one active neighbor, but this is too late. The carp
interface is brought up on boot before the ospfd is started.

Anyone know of a good way to solve this? I'm guessing something along
the lines of demote the carp group *before* the carp interfaces are
brought up (is that even possible?) and then remove the demotion once
OSPF has stabalised. I don't see a nice clean place in the startup
process to do this though unless I hack /etc/netstart or similar which
I don't want to do.

Thanks,
-Matt



kqemu in 5.1

2012-05-04 Thread Jes
Hi all:

I can't find kqemu between snapshots packages, ports, or even in 5.1
packages. I think I've read something about kqemu is deprecated in
newer versions of qemu (1.0.1) Is this correct? Because performance
without kqemu is horrible. Any solution?

Thanks in advance,

Jes



Re: kqemu in 5.1

2012-05-04 Thread Weldon Goree

On 05/04/12 06:12, Jes wrote:

Hi all:

I can't find kqemu between snapshots packages, ports, or even in 5.1
packages. I think I've read something about kqemu is deprecated in
newer versions of qemu (1.0.1) Is this correct? Because performance
without kqemu is horrible. Any solution?




Yes, it was killed upstream since Linux now comes with its own 
hypervisor (KVM).


AFAIK OpenBSD currently does not have a working hypervisor since it also 
can't be dom0 on xen until such time as xen stops randomly overwriting 
register contents at unpredictable times.


So, as of now, any virtualization will have to be of the plain qemu or 
bochs variety. Sorry.


Best,
Weldon



Re: pfsync changes in current?

2012-05-04 Thread Kapetanakis Giannis

On 03/05/12 22:56, mxb wrote:

I'd suggest you to experiment with the src and try to rollback if_pfsync.c to,
say rev. 1.179,
then roll forward with revisions until you can pinpoint one which breaks it.

//maxim


Ok, I've traced the problem back to r1.180 of if_pfsync.c

If I remove 1.180 and apply 1.181, 1.182, 1.183, 1.184
then everything works fine.

According to my understanding 1.180 introduces the following two problems:

1) When one firewall reboots, the other one is initiating a bulk 
transfer thus demoting his carp/pfsync groups.

I don't understand why this is needed.

2) When the firewall boots it sets his demotion counter on groups 
carp/pfsync to 0 (instead of 1) before his bulk transfer

is finished.

The diff bellow removes 1.180
Feel free to send me diffs to try.

regards,

Giannis


Index: sys/net/if_pfsync.c
===
RCS file: /cvs/src/sys/net/if_pfsync.c,v
retrieving revision 1.184
diff -u -p -U10 -r1.184 if_pfsync.c
--- sys/net/if_pfsync.c11 Apr 2012 17:42:53 -1.184
+++ sys/net/if_pfsync.c4 May 2012 09:52:57 -
@@ -221,39 +221,36 @@ struct pfsync_softc {
 int sc_bulk_tries;
 struct timeout sc_bulkfail_tmo;

 u_int32_t sc_ureq_received;
 struct pf_state*sc_bulk_next;
 struct pf_state*sc_bulk_last;
 struct timeout sc_bulk_tmo;

 TAILQ_HEAD(, tdb) sc_tdb_q;

-void*sc_lhcookie;
-
 struct timeout sc_tmo;
 };

 struct pfsync_softc*pfsyncif = NULL;
 struct pfsyncstats pfsyncstats;

 voidpfsyncattach(int);
 intpfsync_clone_create(struct if_clone *, int);
 intpfsync_clone_destroy(struct ifnet *);
 intpfsync_alloc_scrub_memory(struct pfsync_state_peer *,
 struct pf_state_peer *);
 voidpfsync_update_net_tdb(struct pfsync_tdb *);
 intpfsyncoutput(struct ifnet *, struct mbuf *, struct sockaddr *,
 struct rtentry *);
 intpfsyncioctl(struct ifnet *, u_long, caddr_t);
 voidpfsyncstart(struct ifnet *);
-voidpfsync_syncdev_state(void *);

 struct mbuf *pfsync_if_dequeue(struct ifnet *);

 voidpfsync_deferred(struct pf_state *, int);
 voidpfsync_undefer(struct pfsync_deferral *, int);
 voidpfsync_defer_tmo(void *);

 voidpfsync_request_full_update(struct pfsync_softc *);
 voidpfsync_request_update(u_int32_t, u_int64_t);
 voidpfsync_update_state_req(struct pf_state *);
@@ -351,24 +348,20 @@ pfsync_clone_destroy(struct ifnet *ifp)
 int s;

 s = splsoftnet();
 timeout_del(sc-sc_bulkfail_tmo);
 timeout_del(sc-sc_bulk_tmo);
 timeout_del(sc-sc_tmo);
 #if NCARP  0
 if (!pfsync_sync_ok)
 carp_group_demote_adj(sc-sc_if, -1, pfsync destroy);
 #endif
-if (sc-sc_lhcookie != NULL)
-hook_disestablish(
-sc-sc_sync_if-if_linkstatehooks,
-sc-sc_lhcookie);
 if_detach(ifp);

 pfsync_drop(sc);

 while (sc-sc_deferred  0) {
 pd = TAILQ_FIRST(sc-sc_deferrals);
 timeout_del(pd-pd_tmo);
 pfsync_undefer(pd, 0);
 }

@@ -402,51 +395,20 @@ pfsyncstart(struct ifnet *ifp)
 int s;

 s = splnet();
 while ((m = pfsync_if_dequeue(ifp)) != NULL) {
 IF_DROP(ifp-if_snd);
 m_freem(m);
 }
 splx(s);
 }

-void
-pfsync_syncdev_state(void *arg)
-{
-struct pfsync_softc *sc = arg;
-
-if (!sc-sc_sync_if)
-return;
-
-if (sc-sc_sync_if-if_link_state == LINK_STATE_DOWN ||
-!(sc-sc_sync_if-if_flags  IFF_UP)) {
-sc-sc_if.if_flags = ~IFF_RUNNING;
-#if NCARP  0
-carp_group_demote_adj(sc-sc_if, 1, pfsyncdev);
-#endif
-/* drop everything */
-timeout_del(sc-sc_tmo);
-pfsync_drop(sc);
-
-/* cancel bulk update */
-timeout_del(sc-sc_bulk_tmo);
-sc-sc_bulk_next = NULL;
-sc-sc_bulk_last = NULL;
-} else {
-sc-sc_if.if_flags |= IFF_RUNNING;
-pfsync_request_full_update(sc);
-#if NCARP  0
-carp_group_demote_adj(sc-sc_if, -1, pfsyncdev);
-#endif
-}
-}
-
 int
 pfsync_alloc_scrub_memory(struct pfsync_state_peer *s,
 struct pf_state_peer *d)
 {
 if (s-scrub.scrub_flag  d-scrub == NULL) {
 d-scrub = pool_get(pf_state_scrub_pl, PR_NOWAIT | PR_ZERO);
 if (d-scrub == NULL)
 return (ENOMEM);
 }

@@ -1325,24 +1287,20 @@ pfsyncioctl(struct ifnet *ifp, u_long cm

 if (pfsyncr.pfsyncr_maxupdates  255) {
 splx(s);
 return (EINVAL);
 }
 sc-sc_maxupdates = pfsyncr.pfsyncr_maxupdates;

 sc-sc_defer = pfsyncr.pfsyncr_defer;

 if (pfsyncr.pfsyncr_syncdev[0] == 0) {
-if (sc-sc_lhcookie != NULL)
-hook_disestablish(
-sc-sc_sync_if-if_linkstatehooks,
-sc-sc_lhcookie);
 sc-sc_sync_if = NULL;
 if (imo-imo_num_memberships  0) {
 

Re: pfsync changes in current?

2012-05-04 Thread Mike Belopuhov
On Fri, May 4, 2012 at 12:27 PM, Kapetanakis Giannis
bil...@edu.physics.uoc.gr wrote:
 On 03/05/12 22:56, mxb wrote:

 I'd suggest you to experiment with the src and try to rollback if_pfsync.c
 to,
 say rev. 1.179,
 then roll forward with revisions until you can pinpoint one which breaks
 it.

 //maxim


 Ok, I've traced the problem back to r1.180 of if_pfsync.c

 If I remove 1.180 and apply 1.181, 1.182, 1.183, 1.184
 then everything works fine.

 According to my understanding 1.180 introduces the following two problems:

 1) When one firewall reboots, the other one is initiating a bulk transfer
 thus demoting his carp/pfsync groups.
 I don't understand why this is needed.

 2) When the firewall boots it sets his demotion counter on groups
 carp/pfsync to 0 (instead of 1) before his bulk transfer
 is finished.

 The diff bellow removes 1.180
 Feel free to send me diffs to try.

 regards,

 Giannis


hi,

yes, there's no doubt that this is a problem.

btw, can you try the unpatched kernel and put a switch between
the firewalls, i.e. connect pfsync interfaces through the switch.
will that work for you?



Re: pfsync changes in current?

2012-05-04 Thread Kapetanakis Giannis

On 04/05/12 13:35, Mike Belopuhov wrote:

hi,

yes, there's no doubt that this is a problem.

btw, can you try the unpatched kernel and put a switch between
the firewalls, i.e. connect pfsync interfaces through the switch.
will that work for you?


Sorry but I don't have two spare ports where the firewalls are placed :(
Nor a free switch to move there... so I can only connect them directly.

G



Re: acer aspire one D270

2012-05-04 Thread frantisek holop
here is sysctl hw as well:


hw.machine=i386
hw.model=Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class)
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:73fc4ae5314f89db
hw.diskcount=1
hw.sensors.acpitz0.temp0=40.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=Off (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=11.26 VDC (current voltage)
hw.sensors.acpibat0.current0=0.81 A (rate)
hw.sensors.acpibat0.amphour0=4.27 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.30 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.17 Ah (low capacity)
hw.sensors.acpibat0.amphour3=1.81 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=1 (battery discharging), OK
hw.sensors.cpu0.temp0=46.00 degC
hw.cpuspeed=600
hw.setperf=0
hw.vendor=Acer
hw.product=AOD270
hw.version=V1.04
hw.serialno=LUSGA0D0152091827A7614
hw.uuid=1892024c-38eb-426c-b159-047d7b750042
hw.physmem=1061408768
hw.usermem=1061199872
hw.ncpufound=4
hw.allowpowerdown=1



-- 
and god said, e = 1/2mv^2 - ze^2/r, and there was light.



Re: acer aspire one D270

2012-05-04 Thread frantisek holop
hmm, on Fri, May 04, 2012 at 07:37:45AM +0100, Laurence Rochfort said that
 I wouldn't recommend the iwn(4) devices. I've had a bad experience even
 with those in the man page.
 
 I recently replaced an iwn(4) with ral(4) and athn(4) as advised on misc
 and they've been excellent.  No firmware needed for those I tried either.

i have an old one in my eeepc, planned to cannibalize that one.
never had a problem with it though.

that eeepc in turn came with some ath that had to be replaced :]

-f
-- 
girls just wanna have fun...  guys just wanna have girls.



Re: CARP and OSPF interaction on boot

2012-05-04 Thread Stuart Henderson
On 2012-05-04, Matt Hamilton ma...@netsight.co.uk wrote:
 Hi All,

 I'm wondering if anyone has found an elegant solution to the problem
 I'm having with interaction between CARP and OSPF. I have a pair of
 routers in a failover config. On one side they speak OSPF to a set of
 other routers and on the other side use CARP to provide a default
 gateway to a set of hosts. There is currently only one CARP interface
 at the moment whilst I'm testing this setup, but once in production
 there will be around 50-60 vlan interfaces, each with a CARP interface.

 Failover works a charm and if I reboot the primary then the backup
 takes over in around 1 second. However when the primary boots back up
 and tries to take over then I lose connectivity for about 12-14
 seconds. What I think is happening is that the CARP side is becoming
 master before the OSPF side has had a chance to work out neighbors and
 take over as the preferred route for packets.

 I know that OSPF can be configured to demote the carp group until it
 has at least one active neighbor, but this is too late. The carp
 interface is brought up on boot before the ospfd is started.

 Anyone know of a good way to solve this? I'm guessing something along
 the lines of demote the carp group *before* the carp interfaces are
 brought up (is that even possible?) and then remove the demotion once
 OSPF has stabalised. I don't see a nice clean place in the startup
 process to do this though unless I hack /etc/netstart or similar which
 I don't want to do.

 Thanks,
 -Matt



You can add '!ifconfig -g carp carpdemote 50' in one of the hostname.carp
files, and then -carpdemote in rc.local, maybe give it a bit of a delay for
doing this too e.g. '(sleep 300; ifconfig -g carp -carpdemote 50) '.

Untested but it should work ;)



Re: wifi firmware for lenovo thinkpad E420

2012-05-04 Thread Stuart Henderson
On 2012-05-04, Siju George sgeorge@gmail.com wrote:
 On Thu, May 3, 2012 at 6:35 PM, David Coppa dco...@gmail.com wrote:
 It should be urtwn-firmware-1.1p1.tgz...

 Btw, just do a fw_update (man fw_update for info)


 Thankyou David and Lawrence for the reply :-)

 an fw_update does basically nothing

 # fw_update
 Couldn't find updates for uvideo-firmware-1.2p0
 #

 manually installing also does not fix the issue :-(

Ah, a dmesg this time. :)

 Realtek 8188CE rev 0x01 at pci4 dev 0 function 0 not configured

urtwn(4) is for USB-attached devices, your wlan controller is an
unsupported PCIE device.



Re: Where's my bandwidth going?

2012-05-04 Thread Stuart Henderson
The request was specifically for pids...

On 2012-05-04, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote:
 I use pktstat from ports...

 On Thu, May 3, 2012 at 11:34 PM, Chris Cappuccio ch...@nmedia.net wrote:
 The suggestion on this thread are interesting. But tcpdump -n is pretty
 manageable over a modem link and shows you exactly what you want to know, not
 just a summary of it.

 Alan Corey [ab...@devio.us] wrote:
 I'm on a modem, so there's only about 3 K/sec anyway, but is there
 anything that'll show me at least pids of what's using bandwidth?
 I've learned to close Firefox and even mc sessions I'm not using,
 and I'm watching a wget download and pftop and netstat -b -I tun0
 -w 1.

 I've got it under control right now by shutting off my wireless
 access point because my Kindle Fire was talking to s3.amazonaws.com.
 Poking around in userland ppp sources I see something called
 netgraph. B How do I use that and what does it do?

 B  Alan

 --
 Keep them laughing half the time, scared of you the other half. And always
 keep them guessing. -- Clair George



Re: acer aspire one D270

2012-05-04 Thread Stuart Henderson
On 2012-05-04, Edward M mindbende...@live.com wrote:
 cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF

  is this correct four core cpu?

http://lmgtfy.com/?q=atom+n2600+specsl=1



Why so old firefox in 5.1?

2012-05-04 Thread Jeronimo Baldino

Hi,

I just want to know: why OpenBSD provides Firefox 9.0.1 in packages when 
the latest stable release (12.0, according to Mozilla) was launched in 
April 24, 2012.


Why older versions (3.5.19, 3.6.25) are still shipped with ?

Thank you,
JB



Re: Why so old firefox in 5.1?

2012-05-04 Thread HSL GmbH - Lukas Ratajski
http://www.openbsd.org/papers/asiabsdcon2009-release_engineering/

This should suffice and explain enough.



Re: Why so old firefox in 5.1?

2012-05-04 Thread David Coppa
On Fri, May 4, 2012 at 6:18 AM, Jeronimo Baldino
jeronimobald...@bol.com.br wrote:
 Hi,

 I just want to know: why OpenBSD provides Firefox 9.0.1 in packages when the
 latest stable release (12.0, according to Mozilla) was launched in April 24,
 2012.

 Why older versions (3.5.19, 3.6.25) are still shipped with ?

- Why am I Mr. Pink?
- Because, you're a faggot, alright?!

(I can't resist a bit of Friday humor ;))



Re: [ANN] portable cwm 5.1

2012-05-04 Thread Christiano F. Haesbaert
On Wed, May 02, 2012 at 02:37:21PM +0200, Christian Neukirchen wrote:
 Hello,
 
 today I'm proud to release the first public version of portable cwm 5.1.
 
 Portable cwm is a minor modification of the cwm version in OpenBSD CVS
 with a portable Makefile and a few compatibility features.  It has
 been built successfully on OpenBSD, NetBSD and Linux.
 
 This port requires pkg-config, Xft, Xinerama and Xrandr.  The included
 Makefile should work with both GNU make and BSD make.
 
 This version actively tracks changes in the OpenBSD CVS repository.
 Releases are roughly coordinated.
 
 http://chneukirchen.org/releases/cwm-5.1.tar.gz
 http://chneukirchen.org/releases/cwm-5.1.tar.gz.asc
 
 Enjoy,

Hi !

Thanks for the port, I had to tweak a bit to compile on an ancient
ubuntu 8.04, you may want the YYSTYLE_IS_DECLARED at least. 

diff -dpru /tmp/cwm-5.1/client.c /home/haesbaert/src/cwm-5.1/client.c
--- /tmp/cwm-5.1/client.c   2012-05-02 09:26:57.0 -0300
+++ /home/haesbaert/src/cwm-5.1/client.c2012-05-04 10:40:56.0 
-0300
@@ -24,6 +24,7 @@
 #include assert.h
 #include err.h
 #include errno.h
+#include limits.h
 #include stdlib.h
 #include string.h
 #include stdio.h
Only in /home/haesbaert/src/cwm-5.1: cscope.files
Only in /home/haesbaert/src/cwm-5.1: cscope.out
diff -dpru /tmp/cwm-5.1/parse.y /home/haesbaert/src/cwm-5.1/parse.y
--- /tmp/cwm-5.1/parse.y2012-05-02 09:26:57.0 -0300
+++ /home/haesbaert/src/cwm-5.1/parse.y 2012-05-04 10:47:41.0 -0300
@@ -21,6 +21,8 @@
 
 %{
 
+#define _GNU_SOURCE
+
 #include sys/param.h
 #include sys/queue.h
 
@@ -35,6 +37,8 @@
 
 #include calmwm.h
 
+#define YYSTYPE_IS_DECLARED
+
 TAILQ_HEAD(files, file) files = TAILQ_HEAD_INITIALIZER(files);
 static struct file {
TAILQ_ENTRY(file)entry;
diff -dpru /tmp/cwm-5.1/strtonum.c /home/haesbaert/src/cwm-5.1/strtonum.c
--- /tmp/cwm-5.1/strtonum.c 2012-05-02 09:26:57.0 -0300
+++ /home/haesbaert/src/cwm-5.1/strtonum.c  2012-05-04 10:46:26.0 
-0300
@@ -21,8 +21,10 @@
 
 #ifndef HAVE_STRTONUM
 #include stdlib.h
-#include limits.h
 #include errno.h
+#define __USE_ISOC99
+#include limits.h
+
 
 #define INVALID1
 #define TOOSMALL   2



Re: Why so old firefox in 5.1?

2012-05-04 Thread Kevin Chadwick
On Fri, 04 May 2012 01:18:25 -0300
Jeronimo Baldino wrote:

 I just want to know: why OpenBSD provides Firefox 9.0.1

You can find firefox 11 here or build from source/port.

http://mirror.bytemark.co.uk/OpenBSD/snapshots/packages/i386/

You'll need to upgrade and follow current though first using a snapshot
image. Read the OpenBSD FAQ.

http://mirror.bytemark.co.uk/OpenBSD/doc/



Re: Problems reading from (but not writing to?) LTO 5 Ultrium tape from i386 snapshot(s)

2012-05-04 Thread Mike Belopuhov
On Wed, May 02, 2012 at 11:29 +, Fergus Wilde wrote:
 Hello,
 
 I wonder if anyone can help me out with the following. Any or all
 help, including 'this has nothing
 to do with OBSD', or options to try passing
 to the dump, happily received. In particular, I wonder
  if my situation is
 analogous with the facts of the case here:
 http://old.nabble.com/Restore-from-SCSI-tape-on-recent-i386-snapshot-td288246
 13.html
 
 although unlike the OP in this case I have *not* had it working right
 beforehand
 as this is a new machine.
 
 This is with snapshot 5.1 GENERIC.MP#253
 i386 and the two previous snapshots on my 
 local mirror. Dmesg and
 /var/run/dmesg.boot below.
 
 Machine is an HP 350ML G6 using 3-disk hardware
 RAID 5 with a Quantum Ultrium LTO 5 external drive.
 
 
 And so on for the other mounts on the array. The amount of
 time this takes appears realistic, but since
 I can't successfully test the
 dump, I don't know if it is 'really' doing  a backup.
 
 Attempting to test the
 dump:
 
 # /sbin/restore -tvs 1 -f /dev/rst0  
 Verify tape and initialize maps
 restore: tape read error: Input/output error
 
 
 For interest, I tried using tar
 to backup the root partition. Again, this seemed to work fine from the write
 side, but on attempting to read I again got an Input/output error.
 
 Thanks for
 any thoughts!
 
 mpii0 at pci3 dev 0 function 0 Symbios Logic SAS2008 rev 0x03: msi
 scsibus1 at mpii0: 258 targets
 st0 at scsibus1 targ 5 lun 0: QUANTUM, ULTRIUM
 5, 3180 SCSI4 1/sequential removable naa.00e09e60001d700e

hi,

can you attach a hard drive to the controller (SATA will do)
and run some simple tests with it: partition, newfs, do some
file copying.  see if it works for you.  newer lsi firmwares
are known to be a bit different and don't work very well with
the current driver.



Re: Why so old firefox in 5.1?

2012-05-04 Thread Christian Weisgerber
Jeronimo Baldino jeronimobald...@bol.com.br wrote:

 I just want to know: why OpenBSD provides Firefox 9.0.1 in packages when 
 the latest stable release (12.0, according to Mozilla) was launched in 
 April 24, 2012.

The packages for the OpenBSD 5.1 release were built in early February.
(Or, for slower architectures, the builds were started then.) 9.0.1
was current at the time.  10.0 had just appeared, but there hadn't
been time to test it.

 Why older versions (3.5.19, 3.6.25) are still shipped with ?

We didn't have a working Java plugin for newer versions and newer
Firefox versions wouldn't work on alpha and sparc64 any longer.

Also, some people complain the other way around.  They are happy
with their old version of Firefox and are terrified by all these
new versions that might, *gasp*, CHANGE something, anything, and
they hate version chasers like you with all their heart.

Everybody complains.  Suck it up, bitches!

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: Why so old firefox in 5.1?

2012-05-04 Thread Jeronimo Baldino
Is the development cycle the cause of older firefox in packages? But 
firefox isn't shipped with core OS.


JB

Em 04/05/2012 10:22, HSL GmbH - Lukas Ratajski escreveu:

http://www.openbsd.org/papers/asiabsdcon2009-release_engineering/

This should suffice and explain enough.




Re: Why so old firefox in 5.1?

2012-05-04 Thread Jeronimo Baldino

Thanks a lot for the answer.

JB

Em 04/05/2012 11:37, Christian Weisgerber escreveu:

Jeronimo Baldinojeronimobald...@bol.com.br  wrote:


I just want to know: why OpenBSD provides Firefox 9.0.1 in packages when
the latest stable release (12.0, according to Mozilla) was launched in
April 24, 2012.


The packages for the OpenBSD 5.1 release were built in early February.
(Or, for slower architectures, the builds were started then.) 9.0.1
was current at the time.  10.0 had just appeared, but there hadn't
been time to test it.


Why older versions (3.5.19, 3.6.25) are still shipped with ?


We didn't have a working Java plugin for newer versions and newer
Firefox versions wouldn't work on alpha and sparc64 any longer.

Also, some people complain the other way around.  They are happy
with their old version of Firefox and are terrified by all these
new versions that might, *gasp*, CHANGE something, anything, and
they hate version chasers like you with all their heart.

Everybody complains.  Suck it up, bitches!




Re: Why so old firefox in 5.1?

2012-05-04 Thread Francois Pussault
Because they do...

9.0 is known as stable for real 12 isn't known for that yet...

 
 From: David Coppa dco...@gmail.com
 Sent: Fri May 04 15:43:21 CEST 2012
 To: misc misc@openbsd.org
 Subject: Re: Why so old firefox in 5.1?


 On Fri, May 4, 2012 at 6:18 AM, Jeronimo Baldino
 jeronimobald...@bol.com.br wrote:
  Hi,
 
  I just want to know: why OpenBSD provides Firefox 9.0.1 in packages when
the
  latest stable release (12.0, according to Mozilla) was launched in April
24,
  2012.
 
  Why older versions (3.5.19, 3.6.25) are still shipped with ?

 - Why am I Mr. Pink?
 - Because, you're a faggot, alright?!

 (I can't resist a bit of Friday humor ;))



Cordialement
Francois Pussault
3701 - 8 rue Marcel Pagnol
31100 ToulouseB 
FranceB 
+33 6 17 230 820 B  +33 5 34 365 269
fpussa...@contactoffice.fr



suspend ok, wake up not so much (on acer aspire one D270)

2012-05-04 Thread frantisek holop
hi there,

things are looking promising with this little netbook,
but there is room for improvement :]

suspending seems to work, but the problem is waking up.
what happens is, i hear the machine coming up, but there
is no visible sign except the power led going from blinking
orange (sleeping) to blue (on).  then there is a reboot...

what happens in the attached /var/log/messages piece:

18:05:52 -- machine turned on (this is not a custom kernel,
i compiled a new one with Brad's patch to attach rlphy)
18:06:49 -- ran apmd manually, then zzz(8)
18:07:05 -- pressed the power button, system resumes, but only
visible sign is power led color change.
18:07:24 -- restart initiates (nothing on the display)
18:09:03 -- boot up, file system is clean...

any ideas?

-f


May  4 18:05:52 tyin /bsd: OpenBSD 5.1-current (GENERIC.MP) #0: Fri May  4 
14:53:32 CEST 2012
May  4 18:05:52 tyin /bsd: 
r...@tyin.obiit.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
May  4 18:05:52 tyin /bsd: cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz 
(GenuineIntel 686-class) 1.60 GHz
May  4 18:05:52 tyin /bsd: cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
May  4 18:05:52 tyin /bsd: real mem  = 1061408768 (1012MB)
May  4 18:05:52 tyin /bsd: avail mem = 1033216000 (985MB)
May  4 18:05:52 tyin /bsd: mainbus0 at root
May  4 18:05:52 tyin /bsd: bios0 at mainbus0: AT/286+ BIOS, date 01/12/12, 
BIOS32 rev. 0 @ 0xef725, SMBIOS rev. 2.7 @ 0xe3e00 (47 entries)
May  4 18:05:52 tyin /bsd: bios0: vendor Insyde Corp. version V1.04 date 
01/12/2012
May  4 18:05:52 tyin /bsd: bios0: Acer AOD270
May  4 18:05:52 tyin /bsd: acpi0 at bios0: rev 2
May  4 18:05:52 tyin /bsd: acpi0: sleep states S0 S3 S4 S5
May  4 18:05:52 tyin /bsd: acpi0: tables DSDT FACP HPET APIC MCFG WDRT SLIC 
BOOT MSDM FPDT SSDT SSDT SSDT WDAT
May  4 18:05:52 tyin /bsd: acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) PXSX(S4)
May  4 18:05:52 tyin /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
May  4 18:05:52 tyin /bsd: acpihpet0 at acpi0: 14318179 Hz
May  4 18:05:52 tyin /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
May  4 18:05:52 tyin /bsd: cpu0 at mainbus0: apid 0 (boot processor)
May  4 18:05:52 tyin /bsd: cpu0: apic clock running at 99MHz
May  4 18:05:52 tyin /bsd: cpu1 at mainbus0: apid 1 (application processor)
May  4 18:05:52 tyin /bsd: cpu1: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz 
(GenuineIntel 686-class) 1.63 GHz
May  4 18:05:52 tyin /bsd: cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
May  4 18:05:52 tyin /bsd: cpu2 at mainbus0: apid 2 (application processor)
May  4 18:05:52 tyin /bsd: cpu2: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz 
(GenuineIntel 686-class) 1.60 GHz
May  4 18:05:52 tyin /bsd: cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
May  4 18:05:52 tyin /bsd: cpu3 at mainbus0: apid 3 (application processor)
May  4 18:05:52 tyin /bsd: cpu3: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz 
(GenuineIntel 686-class) 1.60 GHz
May  4 18:05:52 tyin /bsd: cpu3: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
May  4 18:05:52 tyin /bsd: ioapic0 at mainbus0: apid 4 pa 0xfec0, version 
20, 24 pins
May  4 18:05:52 tyin /bsd: ioapic0: misconfigured as apic 0, remapped to apid 4
May  4 18:05:52 tyin /bsd: acpimcfg0 at acpi0 addr 0xe000, bus 0-255
May  4 18:05:52 tyin /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
May  4 18:05:52 tyin /bsd: acpiprt1 at acpi0: bus 1 (RP01)
May  4 18:05:52 tyin /bsd: acpiprt2 at acpi0: bus 2 (RP02)
May  4 18:05:52 tyin /bsd: acpiprt3 at acpi0: bus 3 (RP03)
May  4 18:05:52 tyin /bsd: acpiprt4 at acpi0: bus -1 (RP04)
May  4 18:05:52 tyin /bsd: acpiec0 at acpi0
May  4 18:05:52 tyin /bsd: acpicpu0 at acpi0: C2, C1, PSS
May  4 18:05:52 tyin /bsd: acpicpu1 at acpi0: C2, C1, PSS
May  4 18:05:52 tyin /bsd: acpicpu2 at acpi0: C2, C1, PSS
May  4 18:05:52 tyin /bsd: acpicpu3 at acpi0: C2, C1, PSS
May  4 18:05:52 tyin /bsd: acpitz0 at acpi0: critical temperature is 98 degC
May  4 18:05:52 tyin /bsd: acpibtn0 at acpi0: PWRB
May  4 18:05:52 tyin /bsd: acpibtn1 at acpi0: SLPB
May  4 18:05:52 tyin /bsd: acpibtn2 at acpi0: LID_
May  4 18:05:52 tyin /bsd: acpiac0 at acpi0: AC unit offline
May  4 18:05:52 tyin /bsd: acpibat0 at acpi0: BAT1 model AL10B31 serial 4136 
type LION oem SANYO
May  4 18:05:52 tyin /bsd: acpivideo0 at acpi0: GFX0
May  4 18:05:52 tyin /bsd: acpivout0 at acpivideo0: DD02
May  4 18:05:52 tyin /bsd: bios0: ROM list: 

Re: acer aspire one D270

2012-05-04 Thread Weldon Goree
On Fri, 2012-05-04 at 07:37 +0100, Laurence Rochfort wrote:
 I wouldn't recommend the iwn(4) devices. I've had a bad experience even
 with those in the man page.

YMMV; I've had good results with the 4965 AGN. Of note: NetBSD 6 (in
beta) has a new largely-non-Damien driver with its own PHY (ignphy(4),
IIRC) and no need for Intel's firmware. Might be worth looking at.

Weldon



Re: Why so old firefox in 5.1?

2012-05-04 Thread Weldon Goree
On Fri, 2012-05-04 at 11:43 -0300, Jeronimo Baldino wrote:
 Is the development cycle the cause of older firefox in packages? But 
 firefox isn't shipped with core OS.

No, but binary packages are built against the core OS as shipped, so the
ports people try to approach something like stability every six
months. Firefox in particular has had -current a few versions ahead of
-release for, I don't know, several years now at least. And, as
mentioned before, we have more architectures than i386 to think about
here. 

If you just want a more recent browser, Chromium is at 18.0.1025.162,
which is ahead of Debian Testing, even (go team!).

Weldon



ipsec.conf ,routers and endpoints - third try

2012-05-04 Thread shadrock

my apologies for my first post

network topology

  home network   remote network

  3.3.3.3  1.1.1.12.2.2.2  4.4.4.4
 -- router_a  internet  router_b -
| |
| |
| |
| |
| 3.3.3.2  4.4.4.2|
 firewall_a   
firewall_b

| 5.5.5.4  7.7.7.4|
| |
| |
| |
 network_a 
network_b


 5.5.5.0/24
7.7.7.0/24


---
network_a

home network = 5.5.5.0/24
firewall dual homed
network facing static nic address = 5.5.5.4 (rfc1918/rfc6598)
virgin media router facing static nic address = 3.3.3.2 
(rfc1918/rfc6598)

virgin media router static address = 3.3.3.3 (rfc1918/rfc6598)
virgin media dynamic wan address = 1.1.1.1 (internet-routable)
firewall default route = 3.3.3.3
network_a default route = 5.5.5.4

network_b

home network = 7.7.7.0/24
firewall dual homed
network facing static nic address = 7.7.7.4 (rfc1918/rfc6598)
virgin media router facing static nic address = 4.4.4.2 
(rfc1918/rfc6598)

virgin media router static address = 4.4.4.4 (rfc1918/rfc6598)
virgin media dynamic wan address = 2.2.2.2(internet-routable)
firewall default route = 4.4.4.4
network_a default route = 7.7.7.4

both firewalls run ipsec
both firewalls run NAT
both will have ddns for the internet-routable address
both routers configured for vpn passthrough

network_a connects to firewall_a via a switch
firewall_a connects to router_a via a switch
router_a connects to virgin media cable

--

network_a ipsec.conf

# Macros
local_gw= local_addr  # External interface
local_net   = 5.5.5.0/24  # Local private network
remote_gw   = remote_addr # Remote IPsec gateway
remote_nets = 7.7.7.0/24  # Remote private networks

# Set up the VPN between the gateway machines
ike esp from $local_gw to $remote_gw
# Between local gateway and remote networks
ike esp from $local_gw to $remote_nets peer $remote_gw
# Between the networks
ike esp from $local_net to $remote_nets peer $remote_gw

---

Q1: for my local_gw is local_addr 3.3.3.2 or 3.3.3.3 or 1.1.1.1
Q2: for my remote_gw is remote_addr 2.2.2.2 or 4.4.4.4 or 4.4.4.2



Re: acer aspire one D270

2012-05-04 Thread Edward M

On 05/04/2012 05:41 AM, Stuart Henderson wrote:

On 2012-05-04, Edward Mmindbende...@live.com  wrote:

cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF

  is this correct four core cpu?

http://lmgtfy.com/?q=atom+n2600+specsl=1



Thanks for the reply.  first time  I read the specs site I missed 
the part that this cpu
has Hyper Threading. First I believed it could been a bug.  Was not 
aware  atoms comes with Hyper threading,until now:-)




For the person with long sitting, browsing,driving hours.

2012-05-04 Thread Back Buddy
A must for persons with long sitting hours
==

This is to certify that I have been prescribing Transval Self-care
products to my patients for the last two years. The feedback has been
very positive, specialy for Back Buddy, Versatile Seat and Lumbar roll.

- Dr.Deepak Sharan 

Consultant in Orthopaedics and Rehabilitation

Bangalore-26-08-05;nbs p;   
--

I am Prescribing, Transval Cervical Contour Pillow, Versatile Seat and
Back care support products for my patients for the past three years. All
my patients are feeling comfortable and satisfied using these products.

- Dr. T.V. Raja

Consultant Orthopaedic Surgeon

Chennai ?November 14, 2003

-

We are giving Contour Pillow and Versatile Seat for last five years, we
are getting very good feedback from the patients it actually enhancing
their work.

V.Ramesh Babu

B.P.T., M.I.A.P.,
Consultant Physiotherapy

Sri Venkateswara Physiotherapy  Pain Relief Clinic

VERSATILE SEAT WEDGE

This Wedge Cushion reduces fatigue, prevent numbness of buttocks,

Slight contour and angle promotes proper posture, increases blood
circulation

Improves posture and maintains correct ergonomic for long sitting hours
while browsing, driving or seating in office.

Most comfortable for those with tender tailbones coccyx, hernia, or pile
patients.

Cushion most helpful for person suffering from Coccyx Injury, (Tail Bone
Injury), Post partum pain (Child Birth)

This orthopaedic wedge pillow (size 16.5?*16?*3?-1?) with 12? angle
corrects seating posture at work or while driving.

During pregnancy, apart from helping in preventing back and hip strain.

FOR FURTHER DETAILS/TESTIMONIALS AND PHOTO PLEASE CLICK

http://www.orthopaedicindia.com/products.html

TRANSVAL MFG.  MKTG PRIVATE LTD.
CHENNAI-600016, INDIA PH. 09381031484

  transvalor...@yahoo.co.in

In case you want to unsubscribe from our mailing list, Please click
unsubscribe /A



Re: suspend ok, wake up not so much (on acer aspire one D270)

2012-05-04 Thread Laurence Rochfort
I have the same experience with a Toshiba R840 with Intel GT2+ Sandy
Bridge graphics.

I've found that booting to console or using the vesa driver allows the
laptop to poweroff and suspend/resume correctly, so I'm assuming it's
to do with the fledgling Sandy Bridge graphics support.

I also can't switch to VT from X

On 4 May 2012 17:34, frantisek holop min...@obiit.org wrote:
 hi there,

 things are looking promising with this little netbook,
 but there is room for improvement :]

 suspending seems to work, but the problem is waking up.
 what happens is, i hear the machine coming up, but there
 is no visible sign except the power led going from blinking
 orange (sleeping) to blue (on).  then there is a reboot...

 what happens in the attached /var/log/messages piece:

 18:05:52 -- machine turned on (this is not a custom kernel,
i compiled a new one with Brad's patch to attach rlphy)
 18:06:49 -- ran apmd manually, then zzz(8)
 18:07:05 -- pressed the power button, system resumes, but only
visible sign is power led color change.
 18:07:24 -- restart initiates (nothing on the display)
 18:09:03 -- boot up, file system is clean...

 any ideas?

 -f


 May  4 18:05:52 tyin /bsd: OpenBSD 5.1-current (GENERIC.MP) #0: Fri May  4
14:53:32 CEST 2012
 May  4 18:05:52 tyin /bsd:
r...@tyin.obiit.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 May  4 18:05:52 tyin /bsd: cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
(GenuineIntel 686-class) 1.60 GHz
 May  4 18:05:52 tyin /bsd: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,
SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 May  4 18:05:52 tyin /bsd: real mem  = 1061408768 (1012MB)
 May  4 18:05:52 tyin /bsd: avail mem = 1033216000 (985MB)
 May  4 18:05:52 tyin /bsd: mainbus0 at root
 May  4 18:05:52 tyin /bsd: bios0 at mainbus0: AT/286+ BIOS, date 01/12/12,
BIOS32 rev. 0 @ 0xef725, SMBIOS rev. 2.7 @ 0xe3e00 (47 entries)
 May  4 18:05:52 tyin /bsd: bios0: vendor Insyde Corp. version V1.04 date
01/12/2012
 May  4 18:05:52 tyin /bsd: bios0: Acer AOD270
 May  4 18:05:52 tyin /bsd: acpi0 at bios0: rev 2
 May  4 18:05:52 tyin /bsd: acpi0: sleep states S0 S3 S4 S5
 May  4 18:05:52 tyin /bsd: acpi0: tables DSDT FACP HPET APIC MCFG WDRT SLIC
BOOT MSDM FPDT SSDT SSDT SSDT WDAT
 May  4 18:05:52 tyin /bsd: acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3)
USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) PXSX(S4)
 May  4 18:05:52 tyin /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
 May  4 18:05:52 tyin /bsd: acpihpet0 at acpi0: 14318179 Hz
 May  4 18:05:52 tyin /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 May  4 18:05:52 tyin /bsd: cpu0 at mainbus0: apid 0 (boot processor)
 May  4 18:05:52 tyin /bsd: cpu0: apic clock running at 99MHz
 May  4 18:05:52 tyin /bsd: cpu1 at mainbus0: apid 1 (application processor)
 May  4 18:05:52 tyin /bsd: cpu1: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
(GenuineIntel 686-class) 1.63 GHz
 May  4 18:05:52 tyin /bsd: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,
SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 May  4 18:05:52 tyin /bsd: cpu2 at mainbus0: apid 2 (application processor)
 May  4 18:05:52 tyin /bsd: cpu2: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
(GenuineIntel 686-class) 1.60 GHz
 May  4 18:05:52 tyin /bsd: cpu2:
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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,
SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 May  4 18:05:52 tyin /bsd: cpu3 at mainbus0: apid 3 (application processor)
 May  4 18:05:52 tyin /bsd: cpu3: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
(GenuineIntel 686-class) 1.60 GHz
 May  4 18:05:52 tyin /bsd: cpu3:
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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,TM2,
SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF
 May  4 18:05:52 tyin /bsd: ioapic0 at mainbus0: apid 4 pa 0xfec0,
version 20, 24 pins
 May  4 18:05:52 tyin /bsd: ioapic0: misconfigured as apic 0, remapped to
apid 4
 May  4 18:05:52 tyin /bsd: acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 May  4 18:05:52 tyin /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
 May  4 18:05:52 tyin /bsd: acpiprt1 at acpi0: bus 1 (RP01)
 May  4 18:05:52 tyin /bsd: acpiprt2 at acpi0: bus 2 (RP02)
 May  4 18:05:52 tyin /bsd: acpiprt3 at acpi0: bus 3 (RP03)
 May  4 18:05:52 tyin /bsd: acpiprt4 at acpi0: bus -1 (RP04)
 May  4 18:05:52 tyin /bsd: acpiec0 at acpi0
 May  4 18:05:52 tyin /bsd: acpicpu0 at acpi0: C2, C1, PSS
 May  4 18:05:52 tyin /bsd: acpicpu1 at acpi0: C2, C1, PSS
 May  4 18:05:52 tyin /bsd: acpicpu2 at acpi0: C2, C1, PSS
 May  4 18:05:52 tyin /bsd: acpicpu3 at acpi0: C2, C1, PSS
 May  4 18:05:52 tyin /bsd: acpitz0 at acpi0: critical temperature is 98
degC
 May  4 18:05:52 tyin /bsd: acpibtn0 at 

Curso de Coaching y Multihabilidades Gerenciales Nueva fecha

2012-05-04 Thread Reynaldo Tapia G.
!Muy Importante!
Si no puede visualizar correctamente este correo, le pedimos que lo arrastre a
su Bandeja de Entrada

TIEM de Mixico
Empresa Lmder en Capacitacisn y Actualizacisn de Capital Humano

Debido a la gran demanda, ponemos nuevamente a su disposicisn este Excelente
Curso denominado:
Coaching y Multihabilidades Gerenciales

Esta Programado para el dma:
17 de Mayo de 2012 en la Ciudad de Mixico

Inscrmbase 5 dmas antes de la fecha del Curso y obtenga un descuento del 15%
con Inversisn Inmediata
No deje pasar esta oportunidad e Invierta en su Desarrollo Personal y
Profesional

El Nuevo concepto de Coaching y Multihabilidades le ayudara a mejorar y
aumentar notablemente su capacidad de trabajo, le brindara las ticnicas mas
modernas y efectivas que usted necesita para destacar en su organizacisn.

Entre los temas a tratar, se incluyen:

?Csmo se transforma un Gerente en un Coach - Multihabilidades?
Mitodos practicos para planear, organizar y controlar su trabajo y el de sus
colaboradores.
?Cuando y csmo delegar y facultar a sus colaboradores?
Establecer una cultura de previsisn, eficiencia y proactividad hacia la
solucisn de problemas.
Ticnicas avanzadas para medir el trabajo, controlar la eficiencia y
rendimiento de la mano de obra.
?Csmo administrar y distribuir mejor las cargas de trabajo? - Estandares de
tiempo.
Metodologma del curso:

Curso taller presencial con ticnicas de aprendizaje acelerado para impactar en
el conocimiento empmrico del participante.
Manejo de dinamicas personales y grupales.
Se revisan los principales modelos de comunicacisn y asertividad para integrar
conceptos y reforzar las competencias de los participantes.
Si al momento de recibir este correo ya realizo su confirmacisn le pedimos
haga caso omiso.

De lo contrario, favor de responder este correo con los siguientes datos:
 Empresa:
 Nombre:
 Ciudad:
 Telifono:

O si lo prefiere comunmquese a los telifonos:

Del DF al 5611-0969 con 10 lmneas
Interior del Pams Lada sin Costo
01 800 900 TIEM (8436)
Aceptamos todas las TDC y Dibito.
**Promocisn: 3 meses sin Intereses pagando con American Express
**Aplica solo con Inversisn Normal

.Todos los Derechos Reservados )2011 TIEM Talento e Innovacisn Empresarial
de Mixico
Este Mensaje le ha sido enviado como usuario de TIEM de Mixico o bien un
usuario le refiris para recibir este boletmn.
Como usuario de TIEM de Mixico, en este acto autoriza de manera expresa que
TIEM de Mixico le puede contactar vma correo electrsnico u otros medios.
Si usted ha recibido este mensaje por error, haga caso omiso de il y reporte
su cuenta respondiendo este correo con el asunto BAJABD
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del receptor.



no tty for login

2012-05-04 Thread Mihai Popescu
Hello,

I'm using a recent snapshot install and I see some strange behaviour
from time to time: the ttyC0 is not started and I can't login. The
computer stops loading it after date/time message from the boot and
keyboard login is not possible, ssh is not accepted and hangs forever.
All I can tell is I had to disable intelagp from kernel because of
kernel stop at this driver (more details are on a previous message on
the list).
/var/log/messages contains no errors.
What can I do to investigate more?

Thanks



Chrome HTML5 video - no audio

2012-05-04 Thread Laurence Rochfort
I can't get any audio output when watching HTML5 videos in Chrome, but
audio works in xxxterm.

I have installed libvpx (Google VP8 codex) and x264.

http://www.youtube.com/html5 shows a red cross for h.264 but a green
tick for WebM.

Any suggestions?

$ uname -a
OpenBSD puffy-laptop.my.domain 5.1 GENERIC.MP#207 amd64
$ pkg_info | grep vpx
libvpx-0.9.6Google VP8 video codec
$ pkg_info | grep 264
x264-20111027   free H264/AVC encoder



Re: suspend ok, wake up not so much (on acer aspire one D270)

2012-05-04 Thread frantisek holop
hmm, on Fri, May 04, 2012 at 08:30:43PM +0100, Laurence Rochfort said that
 I have the same experience with a Toshiba R840 with Intel GT2+ Sandy
 Bridge graphics.

this one has an Intel GMA 3600.  i am not sure thats part of the
sandy family, i dont know.

the pci id is so new, one of the only references google found
was my email with the dmesg...  looking at the X.org.log,
it is not using the intel driver but the vesa one (at a fairly
strange DPI set to (118, 117))

 I also can't switch to VT from X

this works here.

i tried to switch to VT before suspending,
and waking up, but the result is actually worse,
nothing happens..

-f
-- 
questions, questions!  does it ever end?!



Re: Chrome HTML5 video - no audio

2012-05-04 Thread Antoine Jacoutot
On Fri, May 04, 2012 at 10:13:11PM +0100, Laurence Rochfort wrote:
 I can't get any audio output when watching HTML5 videos in Chrome, but
 audio works in xxxterm.
 
 I have installed libvpx (Google VP8 codex) and x264.
 
 http://www.youtube.com/html5 shows a red cross for h.264 but a green
 tick for WebM.
 
 Any suggestions?

Chrome needs to be ported to sndio...

-- 
Antoine



Re: acer aspire one D270

2012-05-04 Thread Ted Unangst
On Fri, May 04, 2012 at 12:33, Weldon Goree wrote:
 On Fri, 2012-05-04 at 07:37 +0100, Laurence Rochfort wrote:
 I wouldn't recommend the iwn(4) devices. I've had a bad experience even
 with those in the man page.
 
 YMMV; I've had good results with the 4965 AGN. Of note: NetBSD 6 (in
 beta) has a new largely-non-Damien driver with its own PHY (ignphy(4),
 IIRC) and no need for Intel's firmware. Might be worth looking at.

The only google hit for netbsd ignphy is... your email.  ???



Re: acer aspire one D270

2012-05-04 Thread Weldon Goree
On Fri, 2012-05-04 at 19:26 -0400, Ted Unangst wrote:

 The only google hit for netbsd ignphy is... your email.  ???
 

I may have misremembered the name of the PHY, but iwn(4) in NetBSD
6.0-BETA does produce a PHY named something and doesn't require Intel's
firmware to run. Though this may also be NetBSD's frustrating slowness
to actually document Beta releases.

I'll boot up again when I get home and let you know the PHY name.

Weldon



Re: Chrome HTML5 video - no audio

2012-05-04 Thread Stuart Henderson
On 2012-05-04, Laurence Rochfort laurence.rochf...@gmail.com wrote:
 I can't get any audio output when watching HTML5 videos in Chrome, but
 audio works in xxxterm.

 I have installed libvpx (Google VP8 codex) and x264.

 http://www.youtube.com/html5 shows a red cross for h.264 but a green
 tick for WebM.

 Any suggestions?

 $ uname -a
 OpenBSD puffy-laptop.my.domain 5.1 GENERIC.MP#207 amd64
 $ pkg_info | grep vpx
 libvpx-0.9.6Google VP8 video codec
 $ pkg_info | grep 264
 x264-20111027   free H264/AVC encoder



Expected. There is no sndio backend for Chromium yet.



Camara SAMSUNG PL120 49% OFF | Peninsula Valdez 75% OFF | Tandil 67% OFF | Cena Gourmet 52% OFF | Paseo en Velero 64% OFF | Lenceria Erotica 43% OFF

2012-05-04 Thread Bonus Cupon
Para visualizar correctamente este newsletter ingresa a
http://news1.bonuscupon.com.ar/r.html?uid=1.9.29hh.2s.cvjv3xbra1



Re: kqemu in 5.1

2012-05-04 Thread Peter Ericson
Could there be a KVM for OpenBSD? I have been wondering for a while if the
answer is an absolute no because it could never be trustworthy enough, not
likely to happen because of lack of interest, or somewhere in between.

Peter Ericson

On 04/05/2012, at 8:28 PM, Weldon Goree wel...@b.rontosaur.us wrote:

 On 05/04/12 06:12, Jes wrote:
 Hi all:

 I can't find kqemu between snapshots packages, ports, or even in 5.1
 packages. I think I've read something about kqemu is deprecated in
 newer versions of qemu (1.0.1) Is this correct? Because performance
 without kqemu is horrible. Any solution?



 Yes, it was killed upstream since Linux now comes with its own hypervisor
(KVM).

 AFAIK OpenBSD currently does not have a working hypervisor since it also
can't be dom0 on xen until such time as xen stops randomly overwriting
register contents at unpredictable times.

 So, as of now, any virtualization will have to be of the plain qemu or bochs
variety. Sorry.

 Best,
 Weldon



Re: Where's my bandwidth going?

2012-05-04 Thread Alan Corey
That's OK, I've mostly got it figured out.  Having many (10+) tabs open in 
Firefox is the main culprit, especially when some of those pages refresh. 
I don't trust Yahoo mail anymore, even though I close that tab.  mc seems 
to use bandwidth for something too.


I've got pktstat running now, I like systat too and pftop.  tcpdump -n is 
pretty noisy, with some intentional download with wget going on.


  Alan

On Fri, 4 May 2012, Stuart Henderson wrote:


The request was specifically for pids...

On 2012-05-04, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote:

I use pktstat from ports...

On Thu, May 3, 2012 at 11:34 PM, Chris Cappuccio ch...@nmedia.net wrote:

The suggestion on this thread are interesting. But tcpdump -n is pretty

manageable over a modem link and shows you exactly what you want to know, not
just a summary of it.


Alan Corey [ab...@devio.us] wrote:

I'm on a modem, so there's only about 3 K/sec anyway, but is there
anything that'll show me at least pids of what's using bandwidth?
I've learned to close Firefox and even mc sessions I'm not using,
and I'm watching a wget download and pftop and netstat -b -I tun0
-w 1.

I've got it under control right now by shutting off my wireless
access point because my Kindle Fire was talking to s3.amazonaws.com.
Poking around in userland ppp sources I see something called
netgraph. B How do I use that and what does it do?

B  Alan


--
Keep them laughing half the time, scared of you the other half. And always

keep them guessing. -- Clair George




File descriptor - name?

2012-05-04 Thread Alan Corey
Is there a way to get the name of a file that's open when all you've 
got is a file descriptor?


I'm working on porting something, that I didn't write. with directories 
full of source.  I'm seeing a problem with an ioctl being the wrong type, 
but I'm looking at the code where it happens, I can't see what the file 
descriptor passed in is pointing to.  Seems like there should be a way.


  Alan



Re: kqemu in 5.1

2012-05-04 Thread Weldon Goree
On Sat, 2012-05-05 at 14:02 +1000, Peter Ericson wrote:
 Could there be a KVM for OpenBSD? I have been wondering for a while if the 
 answer is an absolute no because it could never be trustworthy enough, not 
 likely to happen because of lack of interest, or somewhere in between.
 

There certainly could be, but someone would have to program it.

WMG



Re: Where's my bandwidth going?

2012-05-04 Thread Abel Abraham Camarillo Ojeda
and fstat(1)...

On Fri, May 4, 2012 at 7:10 AM, Stuart Henderson s...@spacehopper.org wrote:
 The request was specifically for pids...

 On 2012-05-04, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote:
 I use pktstat from ports...

 On Thu, May 3, 2012 at 11:34 PM, Chris Cappuccio ch...@nmedia.net wrote:
 The suggestion on this thread are interesting. But tcpdump -n is pretty
 manageable over a modem link and shows you exactly what you want to know,
not
 just a summary of it.

 Alan Corey [ab...@devio.us] wrote:
 I'm on a modem, so there's only about 3 K/sec anyway, but is there
 anything that'll show me at least pids of what's using bandwidth?
 I've learned to close Firefox and even mc sessions I'm not using,
 and I'm watching a wget download and pftop and netstat -b -I tun0
 -w 1.

 I've got it under control right now by shutting off my wireless
 access point because my Kindle Fire was talking to s3.amazonaws.com.
 Poking around in userland ppp sources I see something called
 netgraph. B How do I use that and what does it do?

 B B Alan

 --
 Keep them laughing half the time, scared of you the other half. And
always
 keep them guessing. -- Clair George



Re: File descriptor - name?

2012-05-04 Thread Andres Perera
not in obsd

plan 9/linux keep the name as it was opened

think about hardlinks, unlinking and how the kernel only stores the inode #

On Fri, May 4, 2012 at 11:44 PM, Alan Corey ab...@devio.us wrote:
 Is there a way to get the name of a file that's open when all you've got is
 a file descriptor?

 I'm working on porting something, that I didn't write. with directories
full
 of source. B I'm seeing a problem with an ioctl being the wrong type, but
I'm
 looking at the code where it happens, I can't see what the file descriptor
 passed in is pointing to. B Seems like there should be a way.

 B Alan



Re: File descriptor - name?

2012-05-04 Thread Ted Unangst
On Sat, May 05, 2012 at 00:14, Alan Corey wrote:
 Is there a way to get the name of a file that's open when all you've
 got is a file descriptor?
 
 I'm working on porting something, that I didn't write. with directories
 full of source.  I'm seeing a problem with an ioctl being the wrong type,
 but I'm looking at the code where it happens, I can't see what the file
 descriptor passed in is pointing to.  Seems like there should be a way.

If you ktrace the process, you can look back to see how the fd is
created.