Steve Blinkhorn | 20 May 2013 15:37
Picon
Favicon

ntpd and crond question

I have NetBSD 5.1 running on a colocated virtual machine running on a
remote (to me) site.   I am having no success is getting the system
clock to synchronise using ntpd, whereas all my various other systems
are in lock step.   And, at least when the system is idling, crond is
reported as taking about 50% of available CPU time.

The drift in the system clock is very substantial: could this be
because if I use m other systems as peers or servers the distance
(U.K. to California) is excessive?   Perhaps someone could
suggest/offer sites in the S.F. Bay Area to which I could
synchronkise?

I don't understand the crond behaviour - there is little in the
crontabs, there's no queue of jobs wiating to be processed - and
nothing I can seen in the results of a web search that seems to relate
to my situation.

Can anyone suggest a line of attack?

--

-- 
Steve Blinkhorn <steve <at> prd.co.uk>

Cabrera | 19 May 2013 08:47
Picon

Do you need a loan , Email us at jerb1960 <at> gmail.com with Names, Loan Amount, Duration, Country


David Wetzel | 19 May 2013 07:59
Picon
Favicon

pkgsrc asterisk 11.4 broken

Hi!

it seems like the RTP module is not working.

*CLI> [May 19 07:58:28] ERROR[-1][C-00000000]: rtp_engine.c:259 ast_rtp_instance_new: No RTP engine
was found. Do you have one loaded?

[May 19 07:57:42] WARNING[-1]: loader.c:486 load_dynamic_module: Error loading module
'res_rtp_asterisk.so': /usr/pkg/lib/asterisk/modules/res_rtp_asterisk.so: Undefined PLT
symbol "DTLSv1_method" (symnum = 188)
*CLI> [May 19 07:57:42] WARNING[-1]: loader.c:902 load_resource: Module 'res_rtp_asterisk.so' could
not be loaded.

http://lists.digium.com/pipermail/asterisk-users/2012-December/276525.html

NetBSD sina 6.1 NetBSD 6.1 (GENERIC) amd64 (just installed)

Thanks!

David

Konrad Neuwirth | 18 May 2013 13:42
Picon

pf question

Hello, 

we are currently struggling with a pf configuration that we can't seem to get working. 

Basically, the challenge is that we have a NetBSD system acting as a router for a largish network. Said
system has two upstream nodes ('default routes') that apply, depending on the ip address that we use.
Basically, we have one broadband connection that should be used for most every (outgoing) traffic. The
exception is that the second upstream handles a subnet that we have here, and all traffic to and from those
addresses should, of course, be going over that second link. 

What we've done is added the broadband as the default route, and then had a pf rule to the effect of: 

pass out route-to ($ext_if_dsl $dsl_gw) proto tcp from $fixed_ip to any

But this does not work -- the packets just do not go out over the appropriate interface. Connecting to
something on one of those IP numbers just … has a connection that times out. 

What am I missing? What do we need to do? 

Thank you,
Konrad
David Wetzel | 18 May 2013 06:42
Picon
Favicon

asterisk 11 and ConfBridge?

Hi,

is anybody using ConfBridge on asterisk 11?

it seems like I have to load

res_timing_kqueue.so

my machine (amd64) crashed from that. 

Is that working for anybody?

Thanks!

David

Konrad Neuwirth | 18 May 2013 00:35
Picon

pf question

Hello, 

we are currently struggling with a pf configuration that we can't seem to get working. 

Basically, the challenge is that we have a NetBSD system acting as a router for a largish network. Said
system has two upstream nodes ('default routes') that apply, depending on the ip address that we use.
Basically, we have one broadband connection that should be used for most every (outgoing) traffic. The
exception is that the second upstream handles a subnet that we have here, and all traffic to and from those
addresses should, of course, be going over that second link. 

What we've done is added the broadband as the default route, and then had a pf rule to the effect of: 

pass out route-to ($ext_if_dsl $dsl_gw) proto tcp from $fixed_ip to any

But this does not work -- the packets just do not go out over the appropriate interface. Connecting to
something on one of those IP numbers just … has a connection that times out. 

What am I missing? What do we need to do? 

Thank you,
 Konrad
David Wetzel | 13 May 2013 22:35
Picon
Favicon

anyone using asterisk 11 on i386?

Hi!

Is anyone using the Asterisk 11 from pkgsrc on 32bit i386?
I had trouble with the later 1.8 versions from pkgsrc on 32 bit.

If yes, how is it working and which NetBSD version are you using?

Thanks!

David

Greg Troxel | 13 May 2013 16:21
Picon

PaX bad tags error?


I have a binary from 2004 (that works fine under -6; ldd says:
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
)

but on running it I get:

/home/gdt/bin/i386-NetBSD/[foo]: bad tag 1: [8 4, 0 4, 01.0  PaX]

Is this a clue that pax expects elf notes in a place that didn't use to
be initialized?  Somthing else?
John Refling | 12 May 2013 07:34
Picon

i386 RC_4 failed to boot on some of my hardware (dell d400 laptop)

I was trying the RC_4 isos and it seems to work on a desktop (and the large disk sector support is there ! --- thanks)

But on my Dell D400 laptop it finds this hardware and stops:

sd0: 1629 GB, 45722 cyl, 130 heads, 225 sec, 3417145469 sectors

cd0 is also on the scsi controller (but is really the USB faked as a SCSI).

I wish I had that hard disk, but it is bogus.

I tried without the ACPI and SMP support and no difference.

I tried the RC_4 install CD and the RC_4 boot CD (boot.iso).  Same problem on both. With different CD media.

Also, I had a ucom0 at umodem0 plugged in originally.  The boot would not proceed until unplugging that device.  Then it stopped at the sd0.

Edgar Rodolfo V. A. | 12 May 2013 01:44
Picon

Mysql server NetBSD 6.1 RC4 it does not works

Hi guys,

I am testing again mysql-server (5.5.30 and 5.6) i am using pkgin, e.g.:
#pkgin search mysql-server
I saw diferent releases to mysql-server, 5.5.30 and 5.6, then i
installed the default:
#pkgin install mysql-server

but when finished it say failed, the I try again, but with 5.5.30, it
installed, then i copy the script
#cp /usr/pkg/share/examples/rc.d/mysqld /etc/rc.d/
#echo mysqld=YES >> /etc/rc.conf
#/etc/rc.d/mysqld start
it failed, say that does not found the default files, what is the
problem with mysql in NetBSD? I remember that it was very easy to use
in NetBSD 5.x, the problem is with NetBSD 6.x

Mysql and MariaDB are the most popular db in hosting in the inetrnet,
I am programming in php and my db is Mysql, i want to use NetBSD as my
default web server, I love NetBSD, but this simple package (mysql)
does not works, another operating system as Linux or other BSD mysql
is very simple to run, here also, but the new release does not works

Who is the responsable of mysql? in NetBSD? i believe that to
developers are not complex to use mysql binary to run in NetBSD or in
another Operating system.

I am using the default install, no complex, I have machine i386.

Mayuresh | 11 May 2013 18:14
Picon
Favicon

audiocfg test works but no sound with mplayer; earphones work

I recently changed my hardware and audio on NetBSD stopped working. Would
appreciate some help.

Following are some details:

This is on NetBSD 6.0 on i386.

Following test shows sound working:

#audiocfg test 0
0: [*] audio0  <at>  hdafg0: Sigmatel product 76df, 2 playback channels
  testing channel 0... done
  testing channel 1... done

The left and right speakers create sound at respective step.

Sound using flash plugin works in firefox.

With mplayer / espeak, there is no sound from the speaker, but with
earphones it works. So I think there is no codec related issue.

#dmesg  | grep -i audi
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Sigmatel product 76df
audio0 at hdafg0: full duplex, playback, capture, independent
hdvsmfg at hdaudio0 not configured
hdafg1 at hdaudio0: Intel product 2806

#audioctl -a
name=Sigmatel
version=product 76df
config=01h
encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*,slinear_le:32,slinear_be:32*,ulinear_le:32*,ulinear_be:32*,ac3:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=8192
hiwat=8
lowat=1
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=254
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8192
play.samples=336960
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
<snipped record settings>


Gmane