alc0 panic and splassert: assertwaitok: want -1 have 1

2011-01-27 Thread Gabriel Linder
When booting 4.9-beta/amd64 without a network cable plugged, I get a lot 
of splassert failures.


After changing kern.splassert to 3 I was able to get the following trace 
(get with dmesg after a reboot) :


OpenBSD 4.9-beta (GENERIC.MP) #786: Tue Jan 25 17:46:34 MST 2011
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1062797312 (1013MB)
avail mem = 1020477440 (973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0760 (31 entries)
bios0: vendor American Megatrends Inc. version 0904 date 08/12/2010
bios0: ASUSTeK Computer INC. 1005PX
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG ECDT OEMB HPET GSCI SSDT SLIC
acpi0: wakeup devices P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU N450 @ 1.66GHz, 1666.71 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N450 @ 1.66GHz, 1666.48 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG
cpu1: 512KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 2
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0acpiec _REG failed, broken BIOS

acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P4)
acpiprt2 at acpi0: bus 2 (P0P5)
acpiprt3 at acpi0: bus -1 (P0P6)
acpiprt4 at acpi0: bus 1 (P0P7)
acpiec at acpi0 not configured
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz at acpi0 not configured
acpibat at acpi0 not configured
acpiac at acpi0 not configured
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
cpu0: Enhanced SpeedStep 1666 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 15)
drm0 at inteldrm0
Intel Pineview Video rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 
22 (irq 4)
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 16 
(irq 15)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 17 
(irq 10)
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR2427 rev 0x01: apic 2 int 17 (irq 10)
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:24:0f:2b
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 2 int 19 
(irq 11)
pci3 at ppb2 bus 1
alc0 at pci3 dev 0 function 0 Attansic Technology L2C rev 0xc0: apic 2 int 19 
(irq 11), address 20:cf:30:70:8f:31
atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
(irq 7)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 
(irq 15)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci4 at ppb3 bus 5
pcib0 at pci0 dev 31 function 0 Intel Tigerpoint LPC rev 0x02
ahci0 at pci0 dev 31 function 2 Intel 82801GR AHCI rev 0x02: apic 2 int 21 
(irq 5), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:ATA, WDC WD2500BEVT-8, 01.0  SCSI3 0/direct fixed
sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x02: apic 2 int 21 
(irq 11)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM
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
usb4 at uhci3: USB revision 1.0

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

2011-01-27 Thread Pete Vickers
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 ?

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



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Jan Stary
 But why? There was no changes except kernel!

Indeed.
Thanks.



Invito alla fiera Fornitore Offresi

2011-01-27 Thread elaboran...@prodware.it
i-Man

banner FO

i-Man in funzione

Spett.le Azienda

Elabora Srl e' lieta di invitarla a:

A.A.A. Fornitore Offresi

il Salone della Subfornitura Meccanica che si terra' presso LarioFiere di
Erba (CO) il 28 e 29 gennaio 2011.

Presenteremo i-Man il sistema che con i terminali touch screen a bordo
macchina h la soluzione piy innovativa ed efficiente per interagire con
il personale di reparto, acquisire i dati di produzione, eseguire i
controlli qualit`, gestire i part-program per indice di revisione, i
disegni e molto altro ancora.

i-Man h il sottosistema dell'erp ProdWare, la piattaforma software
interamente italiana con cui centinaia di aziende pianificano e
organizzano la produzione e gestiscono l'intera azienda.

Cordiali saluti

Scarica
l'invito
SCARICA L'INVITO

Disclaimer:

Questa comunicazione e' stata inviata in conformita' alle norme vigenti
in materia di tutela della privacy, d.lgs. 196/2003.

Se desidera cancellare il suo nominativo, puo' rispondere a questa mail
indicando nell'oggetto la parola rimuovi.

Elabora S.r.l.
Software solutions  consulting for enterprise management
Tel. 02-90.93.11 mail: elab...@prodware.it sito web: www.prodware.it

Powerd by: Elabora Srl



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread sergey . kish
 I've found that Luis Henriques was able to use it year ago
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html

 Short answer, it doesn't work.

As you can see I've already red it. But here I'm not asking how to make AR5424
work. My point is different.

 No changes were applied, clean src.tar.gz and sys.tar.gz
 which I get from the same place as distribution CD...

I've made no changes and wait for no changes.
But behaviour changed!

-ath0: unable to reset hardware: hal status 3
+ath0: unable to reset hardware; hal status 200
+ath0: unable to reset hardware; hal status 3692322168

Why? Does install binaries were made not from provided source?



Re: allocation bandwidth with cbq

2011-01-27 Thread Indunil Jayasooriya
 Hi, thanks for your reply. I am still NOT be able to get it done ( i.e -
 downloading @ 80 Kbps without borrowing for the student . Pls see below.



 
  and wrote my rules. But, I still can NOT allocate 80Kbps for the student,
  while downloading. it goes up whole a lot.  here are my rules. ( em0  is
  ext_if and em1 is int_if )
 
 
  # enable queueing on the external interface to control traffic going to
  # the Internet. use the priq scheduler to control only priorities. set
  # the bandwidth to 485Kbps to get the best performance out of the TCP
  # ACK queue.
 
  altq on em0 priq bandwidth 485Kb queue { std_out, ssh_im_out, dns_out, \
  tcp_ack_out }

  altq on em0 cbq bandwidth 485Kb queue { std_out, ssh_im_out, dns_out, \
 tcp_ack_out }

 it should be like below. ( I added tcp_student_out )

 ltq on em0 cbq bandwidth 485Kb queue { std_out, ssh_im_out, dns_out, \
tcp_ack_out, tcp_student_out }


queue std_out bandwidth 300Kb cbq(default borrow)
  queue ssh_im_out bandwidth 50Kb cbq(red)
  queue dns_out bandwidth 25Kb cbq(borrow)
  queue tcp_ack_out bandwidth 30Kb priority 6 cbq(borrow red)
  queue tcp_student_out bandwidth 80Kb cbq(red)

 
  # define the parameters for the child queues.
  # std_out  - the standard queue. any filter rule below that does not
  #explicitly specify a queue will have its traffic added
  #to this queue.
  # ssh_im_out   - interactive SSH and various instant message traffic.
  # dns_out  - DNS queries.
  # tcp_ack_out  - TCP ACK packets with no data payload.
 
 
  # 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  the workstation.
  #
 
  queue std_in bandwidth 1.6Mb cbq(default)
  queue ssh_im_in  bandwidth 200Kb priority 4
  queue dns_in bandwidth 120Kb priority 5
  queue student_in bandwidth 80Kb cbq
 
  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

 added as given above.


 
  clienttcpports={ 21, 80, 8080, 443 }
  clientudpports={ 53 }
 
 
  # FTP-Proxy
  anchor ftp-proxy/*
  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
  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 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 $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 21 \
 flags S/SA keep state rdr-to 127.0.0.1 port 8021

  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

 added as given above





 
  # filter rules
  block in log
  block out log
  #pass out log keep state
 
  antispoof quick for { lo $int_if ext_if }
 
 
  pass in log on $int_if inet proto udp from $lan_net to !$int_if \
port $clientudpports keep state


   pass in 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 log on $int_if inet proto tcp from $lan_net to !$int_if \
port $https flags S/SA keep state
 
 
  pass out log on $ext_if inet proto udp from $ext_if to any \
port $clientudpports keep state queue dns_out
 
  pass out log on $ext_if inet proto tcp from  $ext_if to any \
port $clienttcpports flags S/SA modulate state queue(std_out,
 tcp_ack_out)
 
 
 
  ###pass out on $int_if proto udp from port $clientudpports to $student_pc
 \
   ###   queue dns_in --delete
 
  ###pass out on $int_if proto tcp from port $clienttcpports to $student_pc
 \
   ###   queue student_in   -delete
 

  I understood the above 2 rules


 block out on $int_if


I think this is NOT needed. since I have default block the above

block in log
block out log


 if a rule pass in on $int_if with keep state it will pass back to
 $student_pc

  Yeah, I understand.


Hope to hear from you.



-- 
Thank you
Indunil Jayasooriya



Audio noise with Intel SCH HD Audio

2011-01-27 Thread sergey . kish
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?



OT really. Weird ethernet problem

2011-01-27 Thread Rod Whitworth
I'm whacked and obviously missing something BUT I did ask a guy who
wrote a seriously good TCP/IP course years ago.

Scenario:
Datacentre.
2 Soekris 5501s with a 4 port card = 4 * vr + 4 * sis
One is active bgpd, other is warm standby.
vr0 on #1 is 192.168.1.1
vr0 on #2 is 192.168.1.2
There is a cable directly connrcted #1 to #2
I have been syncing config files over that port--cable---port for
ages.
Suddenly it doesn't work. I can't ping either way. ifconfig vr0 on
either shows same media, active, correct IP and netmask.,

Tech went to DC and reports:
Verified no pings work on that network.
Neither can he ping either unit from a PC  with an IP in the
192.168.1.0/24 range.
Changing cable changed nothing else.
tcpdump on each end showed expected aro who-has requests without
answer.when pinging on the tcpdump box. No sign of activity at t'other
end's tcpdump.
pf is not running.

This is OT because, although we are running OpenBSD and OpenBGPd it
really isn't a problem I could ascribe to the OS.

OTOH I don't know where there are cluier network people

Help?
A 4*whatever is welcome. :-)


*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Atheros AR5001

2011-01-27 Thread sergey . kish
My Acer Aspire One 751 shipped with Atheros AR5001.
Recognized and works in Linux

$ lspci -vv -s 03:00.0
03:00.0 Ethernet controller: Atheros Communications Inc. AR5001 
Wireless Network Adapter (rev 01)
  Subsystem: Foxconn International, Inc. Device e00d
  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 17
  Region 0: Memory at d000 (64-bit, non-prefetchable) [size=64K]
  Capabilities: access denied
  Kernel driver in use: ath5k
  Kernel modules: ath5k

It is recognized as AR5424 by OpenBSD:

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

Doesn't work

$ ifconfig ath0 scan debug
ath0: unable to reset hardware: hal status 3

I need help to make it work.
It is working in Linux, and backport was already made for AR5424
http://www.mail-archive.com/tech@openbsd.org/msg01613.html

PS: is it a right mailing list?



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread Benny Lofgren
On 2011-01-27 06.02, Ted Unangst wrote:
 On Wed, Jan 26, 2011 at 10:00 PM, Amit Kulkarni amitk...@gmail.com wrote:
 pardon my ignorance but if you restored your data already, why bother
 investigating disk failure?

 Unless they are all the same person, there seems to be a sudden rash
 of people who want to bring a disk back from the dead because they are
 unwilling or unable to do the math on how much disks cost, how much
 time costs, and what the future integrity of their data is worth.  I
 don't know why this is, but I do know disks die, buy new ones is the
 correct answer to give them.

I fully understand the OP:s need to investigate this problem further,
regardless of whether there was any significant data loss or not.

It's a matter of uptime.

The indicated behaviour, that the system more or less freezes when
encountering a simple sector read error is indeed disturbing. For
example, my own reasons for using mirroring are exclusively so that a
system can remain online and operational in case of a disk failure.

If a disk in a mirror or redundant stripe set fails in a hotpluggable
hardware environment there really should be no need for service
interruption. The disk should be able to be replaced on the fly, or at
the very least during a controlled service window. In this case, that
obviously wouldn't work.

(The reason I'm butting in to this thread is that I'm currently
investigating a similar but probably totally unrelated problem, where a
system under high load (disk activity) claims there are sector read
errors, and then stops responding in a similar fashion to the OP:s
system. Saturate one, two or three disks with reads - no problem. Add a
fourth disk and after a while the problem appears. If I can determine
beyond reasonable doubt that this isn't a hardware problem, I'll submit
a bug report.)


Regards,
/Benny

-- 
internetlabbet.se / work:   +46 8 551 124 80  / Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted.
   /email:  benny -at- internetlabbet.se



what became of pflogd -p pidfile?

2011-01-27 Thread Harald Dunkel
Hi folks,

Problem: For rotating pflog log files I need the PID
of the appropriate pflogd. For 4.3 I could rely
upon pflogd -p pflogd4.pid, but for 4.8 the -p
is not allowed anymore :-(. The man page still points
to newsyslog, but thats all.

Of course this can be solved by messing around
with pgrep or pkill, but for several pflog files
this gets _really_ ugly, not to mention that
newsyslog doesn't accept a script to compute the
PID.

Why was the -p dropped? Is there any chance to get
it back?


Regards

Harri



Re: what became of pflogd -p pidfile?

2011-01-27 Thread Otto Moerbeek
On Thu, Jan 27, 2011 at 01:45:30PM +0100, Harald Dunkel wrote:

 Hi folks,
 
 Problem: For rotating pflog log files I need the PID
 of the appropriate pflogd. For 4.3 I could rely
 upon pflogd -p pflogd4.pid, but for 4.8 the -p
 is not allowed anymore :-(. The man page still points
 to newsyslog, but thats all.
 
 Of course this can be solved by messing around
 with pgrep or pkill, but for several pflog files
 this gets _really_ ugly, not to mention that
 newsyslog doesn't accept a script to compute the
 PID.
 
 Why was the -p dropped? Is there any chance to get
 it back?
 
 
 Regards
 
 Harri

-p is prone to race conditions. I don't think there's any drawback in
sending all pflogd instances a HUP.
Check the example newsyslog.conf that comes with the install.

-Otto



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

2011-01-27 Thread David Coppa
On Thu, Jan 27, 2011 at 10:23 AM, 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 ?

This USB dongle from Option comes with a special packet interface and
requires a dedicated driver, called HSO.

It's not supported by OpenBSD atm... Use another card!



Re: NO-IP not updating!

2011-01-27 Thread Joachim Schipper
On Wed, Jan 26, 2011 at 10:56:02AM +0100, Leslie Jensen wrote:
 Upon installation of noip I ran the command noip2 -C to configure it.
 
 I want noip to run a script every 30 minutes that sends a mail to me
 at the end of the updating of the address.
 
 So I choose the settings accordingly when configuring noip.
 
 I've put the following in my /etc/rc.local
 
 --
 # Add your local startup actions here.
 
 /usr/local/sbin/noip2 
 
 echo '.'
 --
 
 When the machine is booted I get the mail, but I do not get the
 updates every 30 minutes as I should.

 Top shows the process
 6013 _noip  20  428K  916K idle  select0:00  0.00% noip2
 
Everything looks fine, but note that you didn't get noip from ports (so
it may be incompatible with OpenBSD). Try posting your configuration,
running noip in debug mode (if it has one), or switching to
net/ddclient.

Joachim

-- 
TFMotD: div (3) - return quotient and remainder from division
http://www.joachimschipper.nl/



Re: question regarding bgpd

2011-01-27 Thread Илья Шипицин
I tried to investigate a liitle...

1) how do I enable logging ? I used log updates and -v flag. not a
bunch of diagnostics...

2) my AS is 49675, 91.142.140.0/24 at location A and
193.169.238.0/24 at location B, there are announces on rib

R0N0#bgpctl show rib | grep 49675
  91.142.140.0/24 87.229.147.182 100 0 31359 3216 8342 49675 i
  91.142.140.0/24 81.91.54.241   100 0 25086 12389 16083 49675 i
  91.142.140.0/24 80.78.109.138  100 0 16285 20485
9002 16083 49675 i

but no prefixes on fib

R0N0#bgpctl show fib | grep 49675
R0N0#

I do not see even a liitle complain why it refuses them.


2011/1/26 Stuart Henderson s...@spacehopper.org:
 On 2011-01-26,  ??? chipits...@gmail.com wrote:
 Dear Sirs,

 we are running our AS in many locations (say AS65000)

 (location 1, AS65000, network n1.n1.n1.n1)  Internet ---
 (location 2, same AS65000, network n2.n2.n2.n2)

 when we were running quagga, allowas-in made the work. otherwise
 there was no route except default between two locations.
 now we are replacing quagga with OpenBGPD, what is openbgpd's
 equivalent of allowas-in ?

 Cheers,
 Ilya Shipitsin

 P.S. just to make sure - I already read manuals and somehow I didn't
 find relevant information there. So, if all you can say is RTFM,
 please also say where exactly relevant information is located.



 bgpd doesn't currently support this.



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread Benny Lofgren
On 2011-01-27 14.11, Ted Unangst wrote:
 On Thu, Jan 27, 2011 at 7:28 AM, Benny Lofgren bl-li...@lofgren.biz wrote:
 It's a matter of uptime.

 The indicated behaviour, that the system more or less freezes when
 encountering a simple sector read error is indeed disturbing. For
 example, my own reasons for using mirroring are exclusively so that a
 system can remain online and operational in case of a disk failure.
 
 If that's why you're investigating, I'll save you some time.  The disk
 retry code will basically lock the system up while it's retrying.  If
 you don't like it, send a patch.

Well, fwiw I wasn't the one investigating this particular problem, but I
have no problem submitting patches in cases where I'm able to do
meaningful work. (The problem I mentioned investigating is in all
likelihood either driver-related or a hardware problem.)

I absolutely didn't mean to imply that hey this is broken, 'someone'
need to spend time to fix it - I fully realize that that someone may
very well be me. I apologize if I came across that way.

I was merely pointing out that the standard response of disks break,
live with it, while ever true, is sometimes irrelevant to the problem.

Yes, disks break (I currently have approximately two dozen broken ones
in a box at the office waiting for an appointment with a sledgehammer),
and yes, we diligently keep backups (or are sorry we didn't) but that
doesn't solve the situation where you have a critical system that causes
pain if it goes offline.

I have never in almost thirty years in this business lost a single byte
of customer data to disk failure. I have however had cases of unplanned
downtime, and every time that happens is also a failure.

Designing redundancy into our systems helps only as far as to the
nearest single point of failure, and if that point is the OS then I'd
say that is a problem (since it's not always feasible to build
redundancy using multiple servers).

I know I'm preaching to the choir here, and my only interest here is to
improve the robustness of an already incredibly robust system. I'll
certainly contribute to the best of my ability whenever I find fixable
problems.


Best regards,

/Benny

-- 
internetlabbet.se / work:   +46 8 551 124 80  / Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted.
   /email:  benny -at- internetlabbet.se



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread sergey . kish
 But why? There was no changes except kernel!

 Indeed.
 Thanks.

Jan, please read the message

 No changes were applied, clean src.tar.gz and sys.tar.gz
which I get from the same place as distribution CD

Once again. The only change I've made - recompiled kernel.
Same release kernel. Same as (I thought) was used to make
distribution.

But it gives me other errors. And the only way I know to make
other erros is different source code.

Is it true?



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread Ted Unangst
On Thu, Jan 27, 2011 at 7:28 AM, Benny Lofgren bl-li...@lofgren.biz wrote:
 It's a matter of uptime.

 The indicated behaviour, that the system more or less freezes when
 encountering a simple sector read error is indeed disturbing. For
 example, my own reasons for using mirroring are exclusively so that a
 system can remain online and operational in case of a disk failure.

If that's why you're investigating, I'll save you some time.  The disk
retry code will basically lock the system up while it's retrying.  If
you don't like it, send a patch.



Re: what became of pflogd -p pidfile?

2011-01-27 Thread Harald Dunkel
On 01/27/11 14:01, Otto Moerbeek wrote:
 
 -p is prone to race conditions.

A race condition on writing a pid file in main()?
It would be very interesting to get more details
about this.


Regards

Harri



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread L. V. Lammert
On Thu, 27 Jan 2011, Gordon Ferris wrote:

 We waited too long to replace the failed drive, so there were errors on
 both drives in the mirror, so the data was not completely restored.
 Backups were not as recent as we would have liked.  Since the drive
 didn't completely fail, it seemed worth trying to retrieve some data
 where possible from it.

dd_rescue will give you the best chance of recovering bad sectors.

Lee



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread Ted Unangst
On Thu, Jan 27, 2011 at 2:16 AM, Gordon Ferris
gordon.fer...@wfengineering.com wrote:
 1.  Is it normal for the operating system to freeze when accessing damaged
sectors - even if the only access is via a raw, unmounted partition?  This
seems like a hardware problem to me, except that errors are logged to
/var/log/messages as I described in the original post.

Yes.  It may not be desirable, but the retry code basically puts
everything else on hold while it's running.  It is a hardware problem
the operating system is trying to overcome.

 2.  What utilities will show which sectors are occupied by specific files?
 Ideally I could specify a range of sectors and a list of files using those
sectors would be provided.  It would also be nice to specify files and be
shown which sectors they occupy.  I've heard of the Coroner's Toolkit; are
there any other recommendations?

I don't know of any.  If I needed to do something like this, I'd
probably start with fsck_ffs and modify as needed.  Actually, that's
what fsdb does already.  You probably just need it to print a little
more info and to walk the tree automatically.



Re: what became of pflogd -p pidfile?

2011-01-27 Thread Otto Moerbeek
On Thu, Jan 27, 2011 at 03:08:32PM +0100, Harald Dunkel wrote:

 On 01/27/11 14:01, Otto Moerbeek wrote:
  
  -p is prone to race conditions.
 
 A race condition on writing a pid file in main()?
 It would be very interesting to get more details
 about this.
 
 
 Regards
 
 Harri

in genreal, when things go wrong, a pid file might remain. That file
does not reflect the pid of a pflogd daemon. You might be sending a
HUP to the wrong process. A race condition occurs when pflogd is
restarted, and in the meantime a process reads the pid file to send a
HUP or other signal. 

-Otto



Re: NO-IP not updating!

2011-01-27 Thread Orestes Leal R.

On Wed, Jan 26, 2011 at 10:56:02AM +0100, Leslie Jensen wrote:

Upon installation of noip I ran the command noip2 -C to configure it.

I want noip to run a script every 30 minutes that sends a mail to me
at the end of the updating of the address.

So I choose the settings accordingly when configuring noip.

I've put the following in my /etc/rc.local

--
# Add your local startup actions here.

/usr/local/sbin/noip2 

echo '.'
--

When the machine is booted I get the mail, but I do not get the
updates every 30 minutes as I should.


I don't think the mail gets to you, if you run noip2 without the ''
I think it will work, you put the process in background and
that why the mail can't get delivered for some reason. this happens
to me in other situations.


Top shows the process
6013 _noip  20  428K  916K idle  select0:00  0.00% noip2

Everything looks fine, but note that you didn't get noip from ports (so
it may be incompatible with OpenBSD). Try posting your configuration,
running noip in debug mode (if it has one), or switching to
net/ddclient.

Joachim




--
Using Opera's revolutionary email client: http://www.opera.com/mail/



Re: OT really. Weird ethernet problem

2011-01-27 Thread Kevin Chadwick
On Thu, 27 Jan 2011 22:25:56 +1100
Rod Whitworth glis...@witworx.com wrote:

 tcpdump on each end showed expected aro who-has requests without
 answer

I had the same ip assigned to two interfaces and got this behaviour even
if one was down? (4.8 stable)

Maybe something thinks your four port card has the same ip assigned to
two/four macs?.



how to NAT IP-phones

2011-01-27 Thread lilit-aibolit

Hello misc.
I have PBX samsung office serv 7400 with VOIP module.
SIP-provider give out small privat /29 network to connect to their
sip-server directly.
So I need to include in this network my OBSD box to translate IP-phone
from my
own private /24 network. All work is fine with only one IP-phone, any
other phones
can't establish connections with PBX, becouse static port directive is
use in nat rules.
Without static port directive only one side be hear in talk.
Please, help to resolve this problem.

#pf.conf#
int_if = fxp0
ipsec_if = fxp1
phone_if = fxp2
waterpas_if = rl0

table khaer{ 192.168.16.0/24 }
table baza{ 192.168.15.0/24 }
table phone{ 172.20.252.0/29 }
table ipsec1{ 192.168.10.1 }
table ipsec2{ 192.168.10.2 }

set skip on { lo0, enc0 }
set loginterface fxp0
set block-policy drop

block log all
#nat
match out on $phone_if inet proto udp from 192.168.16.13 to any nat-to
$phone_if static-port
match out on $phone_if inet proto udp from 192.168.16.14 to any nat-to
$phone_if static-port
#in
pass in on $int_if inet proto udp from 192.168.16.13 to fxp2:network
route-to $phone_if
pass in on $int_if inet proto udp from 192.168.16.14 to fxp2:network
route-to $phone_if
#out
pass out on { $phone_if, $waterpas_if } inet proto { tcp, udp }
pass out on $int_if inet proto { tcp, udp } from 192.168.16.6 to any
pass out on $int_if inet proto icmp from 192.168.16.6 to any
###

route-to is used for policy based routing, because I have four network
on this box.
Here is state:

# pfctl -s state | grep .13
all udp 172.20.252.34:6000 - 192.168.16.13:6000   MULTIPLE:MULTIPLE
all udp 172.20.252.36:6000 (192.168.16.13:6000) -
172.20.252.34:6000   MULTIPLE:MULTIPLE
all udp 172.20.252.34:9000 - 192.168.16.13:9000   NO_TRAFFIC:SINGLE
all udp 172.20.252.36:9000 (192.168.16.13:9000) -
172.20.252.34:9000   SINGLE:NO_TRAFFIC
all udp 172.20.252.35:30012 - 192.168.16.13:9000   MULTIPLE:MULTIPLE
all udp 172.20.252.36:9000 (192.168.16.13:9000) -
172.20.252.35:30012   MULTIPLE:MULTIPLE
all udp 172.20.252.35:30013 - 192.168.16.13:9001   MULTIPLE:MULTIPLE
all udp 172.20.252.36:9001 (192.168.16.13:9001) -
172.20.252.35:30013   MULTIPLE:MULTIPLE
# pfctl -s state | grep .14
all udp 172.20.252.34:6000 - 192.168.16.14:6000   NO_TRAFFIC:SINGLE

192.168.16.13 is ringing and talk, but 192.168.16.14 can't.
I read this: http://www.bastard.net/~kos/pf-voip.html and directly
copy-paste setup for my case,
but with tagging again only one phone is done.
Possibility I don't understand how nat is work and PF can't translate
192.168.16.14 with same port,
that in use in this moment.
here translate is work:
all udp 172.20.252.34:6000 - 192.168.16.13:6000   MULTIPLE:MULTIPLE
all udp 172.20.252.36:6000 (192.168.16.13:6000) -
172.20.252.34:6000   MULTIPLE:MULTIPLE
but here not work
all udp 172.20.252.34:6000 - 192.168.16.14:6000   NO_TRAFFIC:SINGLE
because port 6000 already take up in previous state.



Re: question regarding bgpd

2011-01-27 Thread Insan Praja SW

Hi,

On Thu, 27 Jan 2011 19:57:20 +0700, PP;QQ P(P8P?P8QP8P= chipits...@gmail.com  
wrote:



I tried to investigate a liitle...

1) how do I enable logging ? I used log updates and -v flag. not a
bunch of diagnostics...

2) my AS is 49675, 91.142.140.0/24 at location A and
193.169.238.0/24 at location B, there are announces on rib

R0N0#bgpctl show rib | grep 49675
  91.142.140.0/24 87.229.147.182 100 0 31359 3216 8342  
49675 i
  91.142.140.0/24 81.91.54.241   100 0 25086 12389 16083  
49675 i

  91.142.140.0/24 80.78.109.138  100 0 16285 20485
9002 16083 49675 i

but no prefixes on fib

R0N0#bgpctl show fib | grep 49675
R0N0#


Try bgpctl sh fib | grep your_prefix



I do not see even a liitle complain why it refuses them.


2011/1/26 Stuart Henderson s...@spacehopper.org:

On 2011-01-26,  ??? chipits...@gmail.com wrote:

Dear Sirs,

we are running our AS in many locations (say AS65000)

(location 1, AS65000, network n1.n1.n1.n1)  Internet ---
(location 2, same AS65000, network n2.n2.n2.n2)

when we were running quagga, allowas-in made the work. otherwise
there was no route except default between two locations.
now we are replacing quagga with OpenBGPD, what is openbgpd's
equivalent of allowas-in ?

Cheers,
Ilya Shipitsin

P.S. just to make sure - I already read manuals and somehow I didn't
find relevant information there. So, if all you can say is RTFM,
please also say where exactly relevant information is located.




bgpd doesn't currently support this.




Regards,


Insan Praja
--
Using Opera's revolutionary email client: http://www.opera.com/mail/



Re: what became of pflogd -p pidfile?

2011-01-27 Thread Harald Dunkel
On 01/27/11 15:37, Otto Moerbeek wrote:
 
 in genreal, when things go wrong, a pid file might remain. That file
 does not reflect the pid of a pflogd daemon. You might be sending a
 HUP to the wrong process. A race condition occurs when pflogd is
 restarted, and in the meantime a process reads the pid file to send a
 HUP or other signal. 
 

I was concerned that this problem is specific to pflogd.


Many thanx

Harri



[gordon.fer...@wfengineering.com: Re: Computer stops responding (freezes up) during uncorrectable data error]

2011-01-27 Thread Gordon Ferris
Thank you for the interest so far in my post.  

I never meant to imply someone fix this now.  If that's how it came across, 
then I do apologize - that's not what I intended.

I am looking for more than the standard disks break, live with it answer.

I am surprised that the disk retry code doesn't timeout after 5 minutes or 100 
retries or something like that.  Also, it seems odd that the system is still 
responsive when the first few error messages are written to console but then 
stops responding a few messages later.

Also, I expected the unresponsiveness when the failed disk was mounted as part 
of the root filesystem - not when it is mounted as an auxiliary filesystem or 
not even mounted at all but simply accessed as a raw device.

I have trouble believing that I'm the first one to run into this, or at least 
the need to go back and forth between filesystem blocks and filenames.  But 
maybe I am.

Thanks Lee, for the dd_rescue suggestion.  I'll take a look at it.

Sincerely,
Gordon

On Thu, Jan 27, 2011 at 03:01:40PM +0100, Benny Lofgren wrote:
 On 2011-01-27 14.11, Ted Unangst wrote:
  On Thu, Jan 27, 2011 at 7:28 AM, Benny Lofgren bl-li...@lofgren.biz wrote:
  It's a matter of uptime.
 
  The indicated behaviour, that the system more or less freezes when
  encountering a simple sector read error is indeed disturbing. For
  example, my own reasons for using mirroring are exclusively so that a
  system can remain online and operational in case of a disk failure.
  
  If that's why you're investigating, I'll save you some time.  The disk
  retry code will basically lock the system up while it's retrying.  If
  you don't like it, send a patch.
 
 Well, fwiw I wasn't the one investigating this particular problem, but I
 have no problem submitting patches in cases where I'm able to do
 meaningful work. (The problem I mentioned investigating is in all
 likelihood either driver-related or a hardware problem.)
 
 I absolutely didn't mean to imply that hey this is broken, 'someone'
 need to spend time to fix it - I fully realize that that someone may
 very well be me. I apologize if I came across that way.
 
 I was merely pointing out that the standard response of disks break,
 live with it, while ever true, is sometimes irrelevant to the problem.
 
 Yes, disks break (I currently have approximately two dozen broken ones
 in a box at the office waiting for an appointment with a sledgehammer),
 and yes, we diligently keep backups (or are sorry we didn't) but that
 doesn't solve the situation where you have a critical system that causes
 pain if it goes offline.
 
 I have never in almost thirty years in this business lost a single byte
 of customer data to disk failure. I have however had cases of unplanned
 downtime, and every time that happens is also a failure.
 
 Designing redundancy into our systems helps only as far as to the
 nearest single point of failure, and if that point is the OS then I'd
 say that is a problem (since it's not always feasible to build
 redundancy using multiple servers).
 
 I know I'm preaching to the choir here, and my only interest here is to
 improve the robustness of an already incredibly robust system. I'll
 certainly contribute to the best of my ability whenever I find fixable
 problems.
 
 
 Best regards,
 
 /Benny
 
 -- 
 internetlabbet.se / work:   +46 8 551 124 80  / Words must
 Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
 /   fax:+46 8 551 124 89/not counted.
/email:  benny -at- internetlabbet.se

- End forwarded message -

-- 
Gordon Ferris
W.F. Engineering
Phone: +1 801-455-6108



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread Gordon Ferris
Thank you for the interest so far in my post.  

I never meant to imply someone fix this now.  If that's how it came across, 
then I do apologize - that's not what I intended.

I am looking for more than the standard disks break, live with it answer.

I am surprised that the disk retry code doesn't timeout after 5 minutes or 100 
retries or something like that.  Also, it seems odd that the system is still 
responsive when the first few error messages are written to console but then 
stops responding a few messages later.

Also, I expected the unresponsiveness when the failed disk was mounted as part 
of the root filesystem - not when it is mounted as an auxiliary filesystem or 
not even mounted at all but simply accessed as a raw device.

I have trouble believing that I'm the first one to run into this, or at least 
the need to go back and forth between filesystem blocks and filenames.  But 
maybe I am.

Thanks Lee, for the dd_rescue suggestion.

Thanks David, for the sleuthkit suggestion.

Sincerely,
Gordon

On Thu, Jan 27, 2011 at 03:01:40PM +0100, Benny Lofgren wrote:
 On 2011-01-27 14.11, Ted Unangst wrote:
  On Thu, Jan 27, 2011 at 7:28 AM, Benny Lofgren bl-li...@lofgren.biz wrote:
  It's a matter of uptime.
 
  The indicated behaviour, that the system more or less freezes when
  encountering a simple sector read error is indeed disturbing. For
  example, my own reasons for using mirroring are exclusively so that a
  system can remain online and operational in case of a disk failure.
  
  If that's why you're investigating, I'll save you some time.  The disk
  retry code will basically lock the system up while it's retrying.  If
  you don't like it, send a patch.
 
 Well, fwiw I wasn't the one investigating this particular problem, but I
 have no problem submitting patches in cases where I'm able to do
 meaningful work. (The problem I mentioned investigating is in all
 likelihood either driver-related or a hardware problem.)
 
 I absolutely didn't mean to imply that hey this is broken, 'someone'
 need to spend time to fix it - I fully realize that that someone may
 very well be me. I apologize if I came across that way.
 
 I was merely pointing out that the standard response of disks break,
 live with it, while ever true, is sometimes irrelevant to the problem.
 
 Yes, disks break (I currently have approximately two dozen broken ones
 in a box at the office waiting for an appointment with a sledgehammer),
 and yes, we diligently keep backups (or are sorry we didn't) but that
 doesn't solve the situation where you have a critical system that causes
 pain if it goes offline.
 
 I have never in almost thirty years in this business lost a single byte
 of customer data to disk failure. I have however had cases of unplanned
 downtime, and every time that happens is also a failure.
 
 Designing redundancy into our systems helps only as far as to the
 nearest single point of failure, and if that point is the OS then I'd
 say that is a problem (since it's not always feasible to build
 redundancy using multiple servers).
 
 I know I'm preaching to the choir here, and my only interest here is to
 improve the robustness of an already incredibly robust system. I'll
 certainly contribute to the best of my ability whenever I find fixable
 problems.
 
 
 Best regards,
 
 /Benny
 
 -- 
 internetlabbet.se / work:   +46 8 551 124 80  / Words must
 Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
 /   fax:+46 8 551 124 89/not counted.
/email:  benny -at- internetlabbet.se

- End forwarded message -

-- 
Gordon Ferris
W.F. Engineering
Phone: +1 801-455-6108

- End forwarded message -

-- 
Gordon Ferris
W.F. Engineering
Phone: +1 801-455-6108



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Stuart Henderson
On 2011-01-26, sergey.k...@gmail.com sergey.k...@gmail.com wrote:
 My Acer Aspire One 751 shipped with Atheros AR5424.
 It isn't supported, but was found during boot

 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

 It fails to scan network:

   $ ifconfig ath0 scan debug
   ath0: unable to reset hardware: hal status 3

 I've found that Luis Henriques was able to use it year ago
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html

No, that is for an AR5424 10.2 phy 6.1, this will
not work with your AR5424 14.2 phy 7.0

 Why? I've made no changes in kernel and I was waiting for same error (status 
 3)!

Possibly the card is in a different state (cold boot vs warm boot)?
Could be lots of possible reasons.

I would suggest one of the mini-USB devices (or swapping the internal
card, but the mini-USB ones are much cheaper+easier to buy).



Re: OT really. Weird ethernet problem

2011-01-27 Thread Stuart Henderson
On 2011-01-27, Rod Whitworth glis...@witworx.com wrote:
 I'm whacked and obviously missing something BUT I did ask a guy who
 wrote a seriously good TCP/IP course years ago.

 Scenario:
 Datacentre.
 2 Soekris 5501s with a 4 port card = 4 * vr + 4 * sis
 One is active bgpd, other is warm standby.
 vr0 on #1 is 192.168.1.1
 vr0 on #2 is 192.168.1.2
 There is a cable directly connrcted #1 to #2
 I have been syncing config files over that port--cable---port for
 ages.
 Suddenly it doesn't work. I can't ping either way. ifconfig vr0 on
 either shows same media, active, correct IP and netmask.,

 Tech went to DC and reports:
 Verified no pings work on that network.
 Neither can he ping either unit from a PC  with an IP in the
 192.168.1.0/24 range.
 Changing cable changed nothing else.
 tcpdump on each end showed expected aro who-has requests without
 answer.when pinging on the tcpdump box. No sign of activity at t'other
 end's tcpdump.
 pf is not running.

 This is OT because, although we are running OpenBSD and OpenBGPd it
 really isn't a problem I could ascribe to the OS.

 OTOH I don't know where there are cluier network people

 Help?
 A 4*whatever is welcome. :-)

Our vr(4) driver has been known to wedge at times, usually bouncing
the interface makes it recover (ifconfig vr0 down; ifconfig vr0 up).

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_vr.c.diff?r1=1.106;r2=1.107
fixes one problem (and my vr(4) has been stable since then), but PR 6546
suggests that there are other problems which haven't been found yet.



Do You Sell Residential or Commercial Real Estate

2011-01-27 Thread Dave Hughes
Hello,
I was searching Remax Real Estate online and came across your information.

Can you tell me how you get your sales leads?

Please let me know.

Sincerely
Dave Hughes



Re: NO-IP not updating!

2011-01-27 Thread Leslie Jensen

On 2011-01-27 14:41, Joachim Schipper wrote:

On Wed, Jan 26, 2011 at 10:56:02AM +0100, Leslie Jensen wrote:

Upon installation of noip I ran the command noip2 -C to configure it.

I want noip to run a script every 30 minutes that sends a mail to me
at the end of the updating of the address.

So I choose the settings accordingly when configuring noip.

I've put the following in my /etc/rc.local

--
# Add your local startup actions here.

/usr/local/sbin/noip2

echo '.'
--

When the machine is booted I get the mail, but I do not get the
updates every 30 minutes as I should.



Top shows the process
6013 _noip  20  428K  916K idle  select0:00  0.00% noip2


Everything looks fine, but note that you didn't get noip from ports (so
it may be incompatible with OpenBSD). Try posting your configuration,
running noip in debug mode (if it has one), or switching to
net/ddclient.

Joachim



I did get NO-IP from ports! I check out your suggestion.
Thanks :-)



Re: Computer stops responding (freezes up) during uncorrectable data error

2011-01-27 Thread David Vasek

On Thu, 27 Jan 2011, Gordon Ferris wrote:

2.  What utilities will show which sectors are occupied by specific 
files?  Ideally I could specify a range of sectors and a list of files 
using those sectors would be provided.  It would also be nice to specify 
files and be shown which sectors they occupy.  I've heard of the 
Coroner's Toolkit; are there any other recommendations?


Try looking at sleuthkit. Handy set of tools. Hopefully it could be used 
in your case too.


Sleuthkit seems to have some limitations on OpenBSD. I needed to use it 
recently, but it did not recognise the FFS filesystem size when run on 
OpenBSD. I had to compile and run it on some linux live CD and it worked 
well (on OpenBSD FFS) from there. I was able to get a listing of blocks 
occupied by individual files.


Regards,
David



Re: Atheros AR5001

2011-01-27 Thread Abel Abraham Camarillo Ojeda
On Thu, Jan 27, 2011 at 4:23 AM,  sergey.k...@gmail.com wrote:
 My Acer Aspire One 751 shipped with Atheros AR5001.
 Recognized and works in Linux

 B  B  B  B $ lspci -vv -s 03:00.0
 B  B  B  B 03:00.0 Ethernet controller: Atheros Communications Inc. AR5001
Wireless Network Adapter (rev 01)
 B  B  B  B  B Subsystem: Foxconn International, Inc. Device e00d
 B  B  B  B  B Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
 B  B  B  B  B Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR- INTx-
 B  B  B  B  B Latency: 0, Cache Line Size: 64 bytes
 B  B  B  B  B Interrupt: pin A routed to IRQ 17
 B  B  B  B  B Region 0: Memory at d000 (64-bit, non-prefetchable)
[size=64K]
 B  B  B  B  B Capabilities: access denied
 B  B  B  B  B Kernel driver in use: ath5k
 B  B  B  B  B Kernel modules: ath5k

 It is recognized as AR5424 by OpenBSD:

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

 Doesn't work

 B  B  B  B $ ifconfig ath0 scan debug
 B  B  B  B ath0: unable to reset hardware: hal status 3

 I need help to make it work.
 It is working in Linux, and backport was already made for AR5424
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html

 PS: is it a right mailing list?



You have been answered in your other thread...
It doesn't work.



preferring ipv6?

2011-01-27 Thread Michael W. Lucas
Hi,

My desktop, running the January amd64 snapshot, has a ipv6 tunnel via
he.net.  It seems that my applications all prefer using ipv4.

Research led me to rfc3484 and the destination address selection
algorithm.  A tunnel isn't going to work that way, fair enough.

I found a discussion about making Linux prefer IPv6
(http://wahjava.wordpress.com/2007/12/13/unable-to-view-ipv6-site-over-6to4-connection-in-firefox/).
Is there some way to make OpenBSD similarly prefer IPv6 when
available?

Thanks,
==ml

-- 
Michael W. Lucas
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Latest book: Network Flow Analysis http://www.networkflowanalysis.com/
mwlu...@blackhelicopters.org, Twitter @mwlauthor



Re: preferring ipv6?

2011-01-27 Thread Todd T. Fries
SEE ALSO
  resolv.conf(5)

Search for 'family'

I suspect you want:

family inet6 inet4

I run with this myself.

Penned by Michael W. Lucas on 20110127 12:41.05, we have:
| Hi,
| 
| My desktop, running the January amd64 snapshot, has a ipv6 tunnel via
| he.net.  It seems that my applications all prefer using ipv4.
| 
| Research led me to rfc3484 and the destination address selection
| algorithm.  A tunnel isn't going to work that way, fair enough.
| 
| I found a discussion about making Linux prefer IPv6
| 
(http://wahjava.wordpress.com/2007/12/13/unable-to-view-ipv6-site-over-6to4-connection-in-firefox/).
| Is there some way to make OpenBSD similarly prefer IPv6 when
| available?
| 
| Thanks,
| ==ml
| 
| -- 
| Michael W. Lucas  
| http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
| Latest book: Network Flow Analysis http://www.networkflowanalysis.com/
| mwlu...@blackhelicopters.org, Twitter @mwlauthor

-- 
Todd Fries .. t...@fries.net

 _
| \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:freedae...@ekiga.net
| ..in support of free software solutions.  \  sip:4052279...@ekiga.net
 \\
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt



Re: question regarding bgpd

2011-01-27 Thread Илья Шипицин
 Try bgpctl sh fib | grep your_prefix

it's not there

R0N0#bgpctl sh fib | grep 91.142.140
R0N0#

it's reachable only via default route:

R0N0#route -n get 91.142.140.254
   route to: 91.142.140.254
destination: default
   mask: default
gateway: 80.78.109.138
  interface: carp102
 if address: 80.78.109.137
   priority: 48 (bgp)
  flags: GATEWAY,DONE
 use   mtuexpire
 6587265 0 0
R0N0#


well, I didn't try suggested patch yet. need to upgrade to 4.8 first.




 I do not see even a liitle complain why it refuses them.


 2011/1/26 Stuart Henderson s...@spacehopper.org:

 On 2011-01-26,  ??? chipits...@gmail.com wrote:

 Dear Sirs,

 we are running our AS in many locations (say AS65000)

 (location 1, AS65000, network n1.n1.n1.n1)  Internet ---
 (location 2, same AS65000, network n2.n2.n2.n2)

 when we were running quagga, allowas-in made the work. otherwise
 there was no route except default between two locations.
 now we are replacing quagga with OpenBGPD, what is openbgpd's
 equivalent of allowas-in ?

 Cheers,
 Ilya Shipitsin

 P.S. just to make sure - I already read manuals and somehow I didn't
 find relevant information there. So, if all you can say is RTFM,
 please also say where exactly relevant information is located.



 bgpd doesn't currently support this.


 Regards,


 Insan Praja
 --
 Using Opera's revolutionary email client: http://www.opera.com/mail/



Re: OT really. Weird ethernet problem

2011-01-27 Thread Rod Whitworth
Thanks for responding Stu. My replies are nearly at the end of this
msg.

On Thu, 27 Jan 2011 17:39:09 + (UTC), Stuart Henderson wrote:

On 2011-01-27, Rod Whitworth glis...@witworx.com wrote:
 I'm whacked and obviously missing something BUT I did ask a guy who
 wrote a seriously good TCP/IP course years ago.

 Scenario:
 Datacentre.
 2 Soekris 5501s with a 4 port card = 4 * vr + 4 * sis
 One is active bgpd, other is warm standby.
 vr0 on #1 is 192.168.1.1
 vr0 on #2 is 192.168.1.2
 There is a cable directly connrcted #1 to #2
 I have been syncing config files over that port--cable---port for
 ages.
 Suddenly it doesn't work. I can't ping either way. ifconfig vr0 on
 either shows same media, active, correct IP and netmask.,

 Tech went to DC and reports:
 Verified no pings work on that network.
 Neither can he ping either unit from a PC  with an IP in the
 192.168.1.0/24 range.
 Changing cable changed nothing else.
 tcpdump on each end showed expected aro who-has requests without
 answer.when pinging on the tcpdump box. No sign of activity at t'other
 end's tcpdump.
 pf is not running.

 This is OT because, although we are running OpenBSD and OpenBGPd it
 really isn't a problem I could ascribe to the OS.

 OTOH I don't know where there are cluier network people

 Help?
 A 4*whatever is welcome. :-)

Our vr(4) driver has been known to wedge at times, usually bouncing
the interface makes it recover (ifconfig vr0 down; ifconfig vr0 up).

The vr0 interface is almost never used and only gets minimal ssh
traffic when I scp small config files. Vr1,2,3 are handling masses of
traffic without problems. I see times when one of those is around
50Mb/s without hangups.

The problem appears to have happened simultaneously on both units,
isn't fixed with new cable and an independant PC hooking to either box
cannot ping the unit under test.

It's as though lightning hit the cable joining the two 5501s but I've
never seen lightning in a major datacenter and there would be more
damage to other components if it even hit that short cable ;-)


http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_vr.c.diff?r1=1.106;r2=1.107
fixes one problem (and my vr(4) has been stable since then), but PR 6546
suggests that there are other problems which haven't been found yet.


The reason I was using the link was to have both units in sync (changes
happened in last few days) so that we could upgrade the units one at a
time.



*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: Do You Sell Residential or Commercial Real Estate

2011-01-27 Thread Jay Hart
I'll bet if it was up your Arse with a ham sandwich you'd know how we get our
sales leads...

J

 Hello,
 I was searching Remax Real Estate online and came across your information.

 Can you tell me how you get your sales leads?

 Please let me know.

 Sincerely
 Dave Hughes



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Sergey Kish
 Why? I've made no changes in kernel and I was waiting for same error (status 
 3)!
 Possibly the card is in a different state (cold boot vs warm boot)?
 Could be lots of possible reasons.

No, same state. I've copied binary kernel bsd from mirror and it
returns error 3 again.
What's why I've posted here.



Re: Atheros AR5001

2011-01-27 Thread Sergey Kish
 You have been answered in your other thread...
 It doesn't work.

In another thread I've asked about unexpected difference between
shipped kernel and same kernel built from source.
Still have no answer, but a lot of answers about AR5424.

But I have no AR5424!
 My Acer Aspire One 751 shipped with Atheros AR5001.



Re: Do You Sell Residential or Commercial Real Estate

2011-01-27 Thread David Burgess
WTF

Sent from my iPhone

On Jan 27, 2011, at 1:04 PM, Jay Hart jh...@kevla.org wrote:

 I'll bet if it was up your Arse with a ham sandwich you'd know how we get
our
 sales leads...

 J

 Hello,
 I was searching Remax Real Estate online and came across your information.

 Can you tell me how you get your sales leads?

 Please let me know.

 Sincerely
 Dave Hughes



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Philip Guenther
On Thu, Jan 27, 2011 at 3:17 PM, Sergey Kish sergey.k...@gmail.com wrote:
...
 No, same state. I've copied binary kernel bsd from mirror and it
 returns error 3 again.
 What's why I've posted here.

No dmesg, don't state what kernel you downloaded (snapshot?  4.8?),
and don't state what source branch you built from.  You didn't read
the How to create a problem report section of the FAQ I guess.

To head off a question: SNAPSHOTS OFTEN CONTAIN CODE THAT HASN'T BEEN
COMMITTED.  Similarly, there are often commits between when a snapshot
build started and when it was posted.  Failing to include dmesg output
means you don't really want an answer.


Philip Guenther



Atualização de acesso

2011-01-27 Thread Caixa-Economica
Caixa Economica Federal

Caro Cliente:

A CAIXA esta langando uma nova corregco ao sistema de Cadastramento do
seu computador, com
 o objetivo de corrigir falhas crmticas existente no sistema de seguranga
e identificagco dos usuarios.
A falha pode ocasionar a perda de alguns dados em operagues finbnceiras e
o bloqueio inesperado
 ao acesso do cliente a sua conta Internet-Banking.Para a corregco basta
confirma: Confirma
Ou acessar o link: https://internetbanking.caixa.gov.br/cadastra.html
ATENGCO: Todos clientes; Pessoa Fmsica, Jurmdica e Governo devem
atualizar seus cadastros, evitando
assim que o acesso seja bloqueado, e o desbloqueio podera ser realizado
somente nas agjncias CAIXA.
Em caso de dzvidas entrar em contato atravis do Help-Desk CAIXA pelo
nzmero 0800 726 0104,
a ligagco i gratumta e o servigo esta disponmvel 24 horas por dia,
durante os 7 dias da semana.



Re: question regarding bgpd

2011-01-27 Thread Insan Praja SW

Hi,

On Fri, 28 Jan 2011 01:31:41 +0700, PP;QQ P(P8P?P8QP8P= chipits...@gmail.com  
wrote:




Try bgpctl sh fib | grep your_prefix


it's not there

R0N0#bgpctl sh fib | grep 91.142.140
R0N0#

it's reachable only via default route:

R0N0#route -n get 91.142.140.254
   route to: 91.142.140.254
destination: default
   mask: default
gateway: 80.78.109.138
  interface: carp102
 if address: 80.78.109.137
   priority: 48 (bgp)

   ^^^

  flags: GATEWAY,DONE
 use   mtuexpire
 6587265 0 0
R0N0#



That confirm the default is supplied from bgpd. Can you supply your bgpd  
config?




well, I didn't try suggested patch yet. need to upgrade to 4.8 first.






I do not see even a liitle complain why it refuses them.


2011/1/26 Stuart Henderson s...@spacehopper.org:


On 2011-01-26,  ??? chipits...@gmail.com wrote:


Dear Sirs,

we are running our AS in many locations (say AS65000)

(location 1, AS65000, network n1.n1.n1.n1)  Internet ---
(location 2, same AS65000, network n2.n2.n2.n2)

when we were running quagga, allowas-in made the work. otherwise
there was no route except default between two locations.
now we are replacing quagga with OpenBGPD, what is openbgpd's
equivalent of allowas-in ?

Cheers,
Ilya Shipitsin

P.S. just to make sure - I already read manuals and somehow I didn't
find relevant information there. So, if all you can say is RTFM,
please also say where exactly relevant information is located.




bgpd doesn't currently support this.




Regards,


Insan Praja
--
Using Opera's revolutionary email client: http://www.opera.com/mail/




Thanks,



Insan Praja
--
Using Opera's revolutionary email client: http://www.opera.com/mail/



Problem sur votre dernier facture.

2011-01-27 Thread Swisscom
[IMAGE]

Bonjour,

Cet email a ete envoye pour vous informer que nous ne pouvions pas
traiter votre paiement recent de facture.

Ceci pourrait etre du a l une ou l autre des raisons suivantes:

1. Un changement recent de vos informations personnelles. (par exemple :
adresse de facturation, telephone)

2. Soumission de l information incorrecte pendant le processus de
paiement de facture.

3. Une incapacite de verifier exactement votre option choisie de paiement
due a une erreur interne dans nos processeurs.

En raison de ceci, pour s assurer que votre service n est pas interrompu,
nous vous invitons a confirmer et mettre a jour votre information de
facturation aujourd hui:

Cliquer Ici Pour Une Resolution.

Merci de votre confiance,
[IMAGE]
Carsten Schloter
Directeur giniral de Swisscom

) 2011 SWISSCOM. Tous droits reserves.



Re: Do You Sell Residential or Commercial Real Estate

2011-01-27 Thread Todd Alan Smith
On Thu, Jan 27, 2011 at 2:04 PM, Jay Hart jh...@kevla.org wrote:
 I'll bet if it was up your Arse with a ham sandwich you'd know how we get our
 sales leads...

Man, Jay, you gave me a good chuckle with that one!

  up your arse with a ham sandwich

I use the ham sandwich thing a lot, too, but never this well. Cheers!