Re: Crash minecraft under NetBSD-8 amd64

2019-01-03 Thread Jose Luis Rodriguez Garcia
> Does it work with OpenJDK 8? We have that in pkgsrc (and it works
> fine for me for other apps).
>
> Martin

It doesn't work with OpenJDK 8. Minecraft ships with LWJGL and it
gives the error (I have tried this):

'Exception in thread "main" java.lang.LinkageError: Unknown platform: NetBSD'

I am following the instructions posted in:
https://www.reddit.com/r/NetBSD/comments/5mtsy1/getting_minecraft_to_run_on_netbsd/

I will try with a old version of Minecrat (with a old version of Java,
it gives the same error. It must be LWJGL that uses epoll).


Crash minecraft under NetBSD-8 amd64

2019-01-03 Thread Jose Luis Rodriguez Garcia
I am trying to run minecraft 1.13.2 under NetBSD amd64.

I am using the Java linux from Oracle: oracle-jre8-8.0.172

I have created this file for force oss sound (before it, crashed trying to
setup pulseaudio):
cat .alsoftrc
drivers=oss

It gives this error:
Caused by: java.io.IOException: Function not implemented
at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
~~[?:1.8.0_172]
at sun.nio.ch.EPollArrayWrapper.(EPollArrayWrapper.java:130)
~~[?:1.8.0_172]
at sun.nio.ch.EPollSelectorImpl.(EPollSelectorImpl.java:69)
~~[?:1.8.0_172]
at
sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
~~[?:1.8.0_172]


The full log, and the crash dump:

13:07:04] [Server thread/INFO]: Time elapsed: 80691 ms
[13:07:07] [Server thread/INFO]: Changing view distance to 12, from 10
[13:07:07] [Server thread/WARN]: Can't keep up! Is the server overloaded?
Running 2785ms or 55 ticks behind
[13:07:18] [main/FATAL]: Reported exception thrown!
h: mouseClicked event handler
at ckd.a(SourceFile:435) ~[1.13.2-OptiFine_HD_U_E5.jar:?]
at cfv.a(SourceFile:83) ~[1.13.2-OptiFine_HD_U_E5.jar:?]
at
org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
~~[lwjgl-glfw-3.1.6.jar:build 14]
at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.1.6.jar:build
14]
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3029)
~~[lwjgl-glfw-3.1.6.jar:build 14]
at cgd.a(MainWindow.java:458) ~[cgd.class:?]
at cft.c(SourceFile:875) ~[cft.class:?]
at cft.a(SourceFile:395) [cft.class:?]
at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~~[?:1.8.0_172]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~~[?:1.8.0_172]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~~[?:1.8.0_172]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_172]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[launchwrapper-1.12.jar:?]
Caused by: java.lang.IllegalStateException: failed to create a child event
loop
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:88)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:59)
~~[MultithreadEventLoopGroup.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:77)
~~[NioEventLoopGroup.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:72)
~~[NioEventLoopGroup.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:59)
~~[NioEventLoopGroup.class:4.1.25.Final]
at ub.f(SourceFile:55) ~[ub.class:?]
at xn.a(SourceFile:16) ~[xn.class:?]
at ub.a(SourceFile:136) ~[ub.class:?]
at cft.a(SourceFile:1490) ~[cft.class:?]
at cnc.i(SourceFile:302) ~[cnc.class:?]
at cnc.e(SourceFile:223) ~[cnc.class:?]
at cnb$2.a(SourceFile:71) ~[cnb$2.class:?]
at cgu.mouseClicked(SourceFile:103) ~[cgu.class:?]
at chq.mouseClicked(SourceFile:46) ~[chq.class:?]
at cfv.b(SourceFile:83) ~[cfv.class:?]
at ckd.a(SourceFile:430) ~[ckd.class:?]
... 14 more
Caused by: io.netty.channel.ChannelException: failed to open a new selector
at
io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:177)
~~[NioEventLoop.class:4.1.25.Final]
at io.netty.channel.nio.NioEventLoop.(NioEventLoop.java:151)
~~[NioEventLoop.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:127)
~~[NioEventLoopGroup.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:36)
~~[NioEventLoopGroup.class:4.1.25.Final]
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:84)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47)
~~[MultithreadEventExecutorGroup.class:4.1.25.Final]
at
io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:59)
~~[MultithreadEventLoopGroup.class:4.1.25.Final]
at
io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:77)
~~[NioEventLoopGroup.class:4.1.25.Final]
at

Re: Backup application recommendations

2018-04-02 Thread Jose Luis Rodriguez Garcia
The initial learning curve of bacula is a few step. If you only make
backup of 1-3 servers, dump scripts is ok.

With many servers, the reporting capabilities, easy use for restores,
monitoring backups, configurations of a software of this type
(Bacula/EMC Networker/NetBackup/Dataprotector) is a must to have.
Bacula has a lot of options, many of them you will never use them, and
at the beginning is confusing.

On Mon, Apr 2, 2018 at 12:03 PM, Sad Clouds <cryintotheblue...@gmail.com> wrote:
> On Mon, 2 Apr 2018 01:19:31 +0200
> Jose Luis Rodriguez Garcia <joseyl...@gmail.com> wrote:
>
>> I would look for Bacula or Bareos
>>
>> I think that it has most of the features that you request. (I haven't
>> used it on NetBSD/FreeBSD, just on Linux long time ago, but I am sure
>> that it must be supported for backup to disk, and to tape at least on
>> FreeBSD).
>
> OK, looks like Bareos is a fork of Bacula. I've been looking at Bacula
> for a few days now, but it seems to be quite complicated to setup and a
> lot of moving parts. I might just write my own backup scripts, that run
> from cron and periodically back up data to NFS share and also regularly
> verify previous backup for bit rot.


Re: Backup application recommendations

2018-04-01 Thread Jose Luis Rodriguez Garcia
I would look for Bacula or Bareos

I think that it has most of the features that you request. (I haven't
used it on NetBSD/FreeBSD, just on Linux long time ago, but I am sure
that it must be supported for backup to disk, and to tape at least on
FreeBSD).


Re: NetBSD 7.1.1 cairo update issues

2018-03-22 Thread Jose Luis Rodriguez Garcia
>I am running 7.1.1 on x86. I update pkgsrc and pkg_rolling-replace tells me:
>cairo build fails because it pulls in MesaLibs which fails:

You can also try to use modular xorg

Edit your /etc/mk.conf and add the following line:

X11_TYPE=modular

and rebuild all your pkgsrc packages (at least X11 packages).

With modular it will use the X11 libraries from pkgsrc for the new
pkgsrc binaries, instead of the X11 libraries that come with NetBSD
7.1.1.


Other option is upgrade to NetBSD 8 (it is a beta version), that has
got newer libraries, compilers, etc. and it isn't problematic for
compile new packages:

http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/


Re: NetBSD - binary package upgrade on 6.1.5

2018-03-14 Thread Jose Luis Rodriguez Garcia
>Second, I bumped into a problem I have seen other have issues with: upgrading 
>of >osabi and x11-links fails, because it says that I have a different 
>platform than the >host it was built on. No solution for this? I even thought: 
>fine, let me build osabi >from source and try upgrading again, but still 
>pkg_chk would want to upgrade >(actually, downgrade) my freshly built osabi 
>package.

You can add/change pkg_install.conf this line:

CHECK_OSABI=no

http://netbsd.gw.com/cgi-bin/man-cgi?pkg_install.conf+5+NetBSD-current


Re: Recommendation for squid proxy server

2016-12-08 Thread Jose Luis Rodriguez Garcia
I have installed several squids in the past +10 years ago mainly in
Solaris in some Linux.
For so few users any PC will be enough. (the real number that gives
the real uses is the number of http requests per second). I won't care
about configuration, unless you are using a virtual server. Any pc
with a basic configuration will be enough.

The critical point with squid 2.x (the versions that I installed in
that time) is the I/O performance. I suppose that squid 3.x will be
similar.

> Hi folks.

> I'm working in a new squid/proxy server for 150+ users in my network.
> I need some testing, whenever, maybe someone have experience with squid > 
> performance on NetBSD, basically in the Filesystem and security.

> If anyone can comment, please let me know.

> Best regards.

> --
> Francisco Valladolid H.
> -- http://blog.bsdguy.net - Jesus Christ follower.


Why is locking this process with a only pthread

2016-11-12 Thread Jose Luis Rodriguez Garcia
I am debuging a problem with the X server, and it deadlocks with a
printf that I have added. gdb shows only on thread running.

Do you know how is it possible? My programming knowledge about
pthreads programming is near to zero (it coulde be a simple mistake).

The process is taking all the cpu.

(gdb) info threads
  Id   Target Id Frame
* 1LWP 1 0x7f7ff4a0b456 in ?? () from
/usr/lib/libpthread.so.1
(gdb) bt
#0  0x7f7ff4a0b456 in ?? () from /usr/lib/libpthread.so.1
#1  0x7f7ff4a0b497 in ?? () from /usr/lib/libpthread.so.1
#2  0x7f7ff4a0b73b in ?? () from /usr/lib/libpthread.so.1
#3  0x7f7ff4a0aa53 in pthread_setcancelstate () from
/usr/lib/libpthread.so.1
#4  0x7f7ff430de2a in __flockfile_internal () from /usr/lib/libc.so.12
#5  0x7f7ff42bcea2 in vfprintf () from /usr/lib/libc.so.12
#6  0x7f7ff42c117a in fprintf () from /usr/lib/libc.so.12
#7  0x7f7ff5805761 in drmIoctl () from /usr/X11R7/lib/libdrm.so.3
#8  0x7f7ff5803ff2 in drmModeMoveCursor () from /usr/X11R7/lib/libdrm.so.3
#9  0x00496e2a in ?? ()
#10 0x004d1ea5 in ?? ()
#11 0x004d28f0 in miPointerSetPosition ()
#12 0x00440dd2 in GetPointerEvents ()
#13 0x0047de4f in xf86PostMotionEventM ()
#14 0x0047dfdc in xf86PostMotionEvent ()
#15 0x7f7fef606a05 in ?? () from /usr/X11R7/lib/modules/drivers/mouse_drv.so
#16 0x7f7fef6070a9 in ?? () from /usr/X11R7/lib/modules/drivers/mouse_drv.so
#17 0x7f7fef607a2f in ?? () from /usr/X11R7/lib/modules/drivers/mouse_drv.so
#18 0x00471086 in ?? ()
#19 0x0048a4e0 in ?? ()
#20 0x7f7ff429f440 in opendir () from /usr/lib/libc.so.12
#21 0x7fff0017 in ?? ()
#22 0x in ?? ()
(gdb)

And this is the relevant code: (it is inside of libdrm library, file xf86drm.c):
( I added some printfs
int
drmIoctl(int fd, unsigned long request, void *arg)
{
int ret;
FILE *fd_log;
int try,try_eintr,try_eagain;
int by_ten;

try=0;
try_eintr=0;
try_eagain=0;
by_ten=1;

fd_log=fopen("/log.ioctl","a");
fprintf(fd_log,"fd: %d, request: %lu",fd,request);
fflush(fd_log);
do {
ret = ioctl(fd, request, arg);
if (ret == -1 && (errno == EINTR || errno == EAGAIN))
{
try++;
if (errno == EINTR ) try_eintr++;
if (errno == EAGAIN ) try_eagain++;
if (try == by_ten) {
fprintf(fd_log," ei:%d,ea:%d",try_eintr,try_eagain);
fflush(fd_log);
by_ten=by_ten*10;
}
}
} while (ret == -1 && (errno == EINTR || errno == EAGAIN));
fprintf(fd_log,"\n");
fclose(fd_log);
return ret;
}


Re: NetBSD 7, i386, firefox with flash plugin?

2016-05-20 Thread Jose Luis Rodriguez Garcia
I haven't more ideas.
I know that in the previous pkgsrc version, recent firefox didn't
build. You had to use firefox24-24.

In the recent pkgsrc firefox now builds fine. I am using now firefos
38 (it is the ESR version).

I think that you have mixed packages from different versions of
pkgsrc. Delete all the packages , and install all from zero with
pkgin.

These are my versions, if it can help you:

pc2$ pkg_info|egrep 'firefox|flash|nspluginwrapper'
nspluginwrapper-1.4.4 Use Netscape compatible plugins from other platforms
firefox24-24.8.1nb6 Web browser with support for extensions (version 24.x)
libflashsupport-4.2.2011 Additional Interface Support for Linux Flash Player
adobe-flash-plugin-11.2.202.559 Adobe Flash Player Browser plugin
firefox38-38.7.1Web browser with support for extensions (version 38)

I have also this entry for linux emulation in /etc/fstab:
procfs/procprocfsrw
tmpfs/var/shmtmpfsrw,-m1777,-sram%25

(I think the last one rarely is needed).


On Fri, May 20, 2016 at 7:16 PM, Mayuresh <mayur...@acm.org> wrote:
> On Fri, May 20, 2016 at 09:11:11PM +0530, Mayuresh wrote:
>> On Fri, May 20, 2016 at 05:04:55PM +0200, Jose Luis Rodriguez Garcia wrote:
>> > I think that it matters.
>> >
>> > f you use pkgin try to update all packages: pkgin upgrade. If you
>> > don't use pkgin, you can try to use pkg_add -u on firefox and
>> > npwrapper.
>>
>> I prefer pkgin whenever packages are available and I do not need different
>> options. But when I installed last week firefox wasn't available.
>> I'll try now. It seems there now.
>>
>> (Unfortunately the pkgin version comes with pulseaudio which I don't
>> prefer. I'll anyway try.)
>
> Installed everything from pkgin now. Some packages like icu had higher
> version as I compiled it using pkgsrc. Recursively deleted it and synced
> everything with pkgin.
>
> The problem still persists.
>
>
>
> Badly stuck. Would appreciate help to solve this.
>
>
> Mayuresh


Re: NetBSD 7, i386, firefox with flash plugin?

2016-05-20 Thread Jose Luis Rodriguez Garcia
I think that it matters.

f you use pkgin try to update all packages: pkgin upgrade. If you
don't use pkgin, you can try to use pkg_add -u on firefox and
npwrapper.

I think that you have mixed versions (some packages have dependencies
of older packages).

As workaround you can try to do a symlink of libX11, but I think that
the libX11 is from
 linux (under /emul/linux/...), not the NetBSD one. (the flasplayer is
a linux library).

On Fri, May 20, 2016 at 3:47 PM, Mayuresh <mayur...@acm.org> wrote:
> On Fri, May 20, 2016 at 03:41:27PM +0200, Jose Luis Rodriguez Garcia wrote:
>> I use it without problems in NetBSD 7.0/amd64 and NetBSD 6.1/i386.
>
> Yes, it looks like:
>
> Shockwave Flash
>
> File: npwrapper.libflashplayer.so
> Path: /usr/pkg/lib/netscape/plugins/npwrapper.libflashplayer.so
> Version:
> State: Enabled
> Shockwave Flash 11.2 r202
>
> MIME Type   Description Suffixes
> application/x-shockwave-flash   Shockwave Flash swf
> application/futuresplashFutureSplash Player spl
>
>
>> When you try play a flash file what is the error message?
>
> Nothing on the terminal where I launch firefox.
>
> In flash area: "An error occurred. Please try again later."
>
> I got to see "libX11.so.6 not found" or something like that message once,
> but that is not getting reproduced (strangely).
>
> I have libX11.so.7. But I saw mail threads that say above error should not
> matter.
>
> Mayuresh.


Re: NetBSD 7, i386, firefox with flash plugin?

2016-05-20 Thread Jose Luis Rodriguez Garcia
I use it without problems in NetBSD 7.0/amd64 and NetBSD 6.1/i386.

Does it appear in the list of registered plugins, In firefox type: about:plugins

When you try play a flash file what is the error message?

On Mon, May 16, 2016 at 08:07:22PM +0530, Mayuresh wrote:

>Can someone please help? Any way out to get flash work in any browser on
NetBSD 7.0 i386?

>Does it work on amd64? (Did I make a mistake by switching to i386?)

>Mayuresh


Re: Disconnect/connect usb ports

2016-02-18 Thread Jose Luis Rodriguez Garcia
On Wed, Feb 17, 2016 at 9:51 AM, Felix Deichmann <m4j0rd...@gmail.com> wrote:
> 2016-02-16 23:32 GMT+01:00 Jose Luis Rodriguez Garcia <joseyl...@gmail.com>:
>> Both disconnect at same time, and usually connect at few seconds at
>> same time (when they don't connect I have to reboot the pc).
>
> I had this with a USB frame grabber under Windows with a new PC, you
> could hear the disconnect and connect sounds each time (and recordings
> were always borked). Finally hunted it down to the exact moment when a
> fridge (!) with its compressor nearby turned on and off. USB together
> with modern PSUs seems very susceptible, google it.
> This is heavily dependent on your computer's PSU, the case, good
> grounding of the mainboard, and if it's related to a mains
> interference like above, there are special filters for such equipment
> (maybe the already present filter inside is broken).
> Other expensive solutions, if nothing else helps, are an online UPS
> (Uninterruptible Power Supply) for your PC or a different PSU
> reputedly...

Thank you Felix
I will try as you said.

I will use the the power supply of a laptop, and I will test it for
serveral days/weeks. The problem is very random.
As you can suppose. Neither my pc ( a nettop) or my lapto have ground.


Disconnect/connect usb ports

2016-02-16 Thread Jose Luis Rodriguez Garcia
Several times per day I receive disconnect and connect messages from
usb devices: mouse and keyboard (it is ps2 keyboard attached to a
usb/ps conversor).

Both disconnect at same time, and usually connect at few seconds at
same time (when they don't connect I have to reboot the pc).

This NetBSD 7.0 amd64 on a Pineview PC.

Any idea?

Feb 16 22:10:51 pc2 /netbsd: wskbd1: disconnecting from wsdisplay0
Feb 16 22:10:51 pc2 /netbsd: wskbd1: detached
Feb 16 22:10:51 pc2 /netbsd: ukbd0: detached
Feb 16 22:10:51 pc2 /netbsd: wsmouse0: detached
Feb 16 22:10:51 pc2 /netbsd: ums0: detached
Feb 16 22:10:51 pc2 /netbsd: uhid0: detached
Feb 16 22:10:51 pc2 /netbsd: uhidev0: detached
Feb 16 22:10:51 pc2 /netbsd: uhidev0: at uhub1 port 1 (addr 2) disconnected
Feb 16 22:10:51 pc2 /netbsd: ehci0: handing over low speed device on
port 1 to uhci0
Feb 16 22:10:53 pc2 /netbsd: uhidev0 at uhub1 port 1 configuration 1 interface 0
Feb 16 22:10:53 pc2 /netbsd: uhidev0: vendor 0x1bcf USB Optical Mouse,
rev 2.00/0.61, addr 2, iclass 3/1
Feb 16 22:10:53 pc2 /netbsd: uhidev0: 3 report ids
Feb 16 22:10:53 pc2 /netbsd: ukbd0 at uhidev0 reportid 1: 8 modifier
keys, 6 key codes
Feb 16 22:10:54 pc2 /netbsd: wskbd1 at ukbd0 mux 1
Feb 16 22:10:54 pc2 /netbsd: wskbd1: connecting to wsdisplay0
Feb 16 22:10:54 pc2 /netbsd: ums0 at uhidev0 reportid 2: 5 buttons and Z dir
Feb 16 22:10:54 pc2 /netbsd: wsmouse0 at ums0 mux 0
Feb 16 22:10:54 pc2 /netbsd: uhid0 at uhidev0 reportid 3: input=2,
output=0, feature=0


Last version of of citrix Client core dumps (Was Re: How to run Microsoft Internet Explorer on NetBSD?)

2016-02-03 Thread Jose Luis Rodriguez Garcia
On Tue, Feb 2, 2016 at 4:17 AM, Eric Haszlakiewicz <e...@nimenees.com> wrote:
> On 2/1/2016 3:51 PM, Jose Luis Rodriguez Garcia wrote:


> Have you tried downloading a newer version of the client from Citrix's site?

I have just tried the last version of citrix as you told me.

It solves the problem of the certificate (the old version didn't
understand the CA from Godaddy, but it coredumps at the startup.

I copy backtrace/registers and output from ktruss:


pc1$ gdb wfica wfica.core
warning: A handler for the OS ABI "GNU/Linux" is not built into this
configuration
of GDB.  Attempting to continue with the default i386 settings.

Reading symbols from /home/jose/citrix/wfica...(no debugging symbols
found)...done.
[New process 2412]
[New process 2227]
[New process 2459]

warning: Can not parse XML library list; XML support was disabled at
compile time
Core was generated by `wfica'.
Program terminated with signal 11, Segmentation fault.
#0  0xba90004d in ?? ()
(gdb) info registers
eax0x80bacba134982842
ecx0x82f7f60137330528
edx0xc12
ebx0x2032
esp0xbfbff6e00xbfbff6e0
ebp0xbfbff7080xbfbff708
esi0x8214c04136399876
edi0xba90004c-1164967860
eip0xba90004d0xba90004d
eflags 0x10202[ IF RF ]
cs 0xa3163
ss 0x2335
ds 0x2335
es 0x2335
fs 0x2335
gs 0xb3179
(gdb) bt
#0  0xba90004d in ?? ()
#1  0x080bfd57 in EmulProcessInput ()
#2  0xbaa51e90 in ?? ()
#3  0x08213720 in ?? ()
#4  0x080ca9c0 in ?? ()
#5  0x080cdd97 in ?? ()
#6  0x080caa3b in ?? ()
#7  0xbaa513b2 in ?? ()
#8  0x08214f00 in ?? ()
#9  0x080c91e9 in WdPoll ()
#10 0x0813e92d in Call_WD ()
#11 0x08104144 in Do_work ()
#12 0x08103cf5 in ?? ()
#13 0xbb2bb4ff in ?? ()
#14 0x in ?? ()
(gdb) thread apply all backtrace

Thread 3 (process 2459):
#0  0xbb1ba907 in ?? ()
#1  0x041e in ?? ()
#2  0x0013 in ?? ()
#3  0x0820e5f8 in ?? ()
#4  0x08084013 in ?? ()
#5  0xbb25fa7d in ?? ()
#6  0x0820e5f8 in ?? ()
#7  0xbb1c1abe in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (process 2227):
#0  0xbb25fb24 in ?? ()
#1  0xbaa79000 in ?? ()
#2  0x001fb000 in ?? ()
#3  0x0004 in ?? ()
#4  0x in ?? ()

Thread 1 (process 2412):
#0  0xba90004d in ?? ()
#1  0x080bfd57 in EmulProcessInput ()
#2  0xbaa51e90 in ?? ()
#3  0x08213720 in ?? ()
#4  0x080ca9c0 in ?? ()
#5  0x080cdd97 in ?? ()
#6  0x080caa3b in ?? ()
#7  0xbaa513b2 in ?? ()
#8  0x08214f00 in ?? ()
#9  0x080c91e9 in WdPoll ()
#10 0x0813e92d in Call_WD ()
#11 0x08104144 in Do_work ()
#12 0x08103cf5 in ?? ()
#13 0xbb2bb4ff in ?? ()
#14 0x in ?? ()
(gdb)

Ktruss output:

  2412   2412 wficaGIO   fd 3 wrote 324 bytes
   ";\^C\^E\0=\0 \^B\0\0\0\09\^C\"\^B\M^C\0\r\08\^C\^D\0=\0
\^B\b\0\0\0\0\0\0\0H\0G\0007\0 \^B=\0
\^B\M^G\0\r\09\^C\"\^B\0\^A\^A\0\M^?\M^?\M^?\M^?\

\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-3\M-/\0\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-3\M-/\0\^?\

\M^?\M^?\M-~\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-{\M^?\M^?\M-o\M^?\M^?\M-3\M-/\0C\M^?\M^?\M-^\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-{\M^?\M-n\M-o\M^?\M^?\M-3\

\M-/\0}\M^?\M^?\M-~\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-{\M^?\M-~\M-o\M^?\M^?\M-3\M-/\0~8\M^NV8\M-<\^[\M-;\M-z\M-(q\^X\M-Chl\M-|\M^?\M-3\M-/\0~\M-W\

\M-uZ\M-W\M-=\M-k\M-:|\M-O\M-.\M-k\M-:\M-n\M-+\M^?\M^?\M-3\M-/\0~\^W\M-t\\\M-W}\M-m\M-:~\M-o\240\v\M-:n(\M^?\M^?\M-3\M-/\0~\M-W\M-wZ\M-W}\M-m\

\M-:~\M-o\M->\M-k\M-;\M-.\M-k\M-|\M^?\M-3\M-/\0}\M-W\M-uV\M-W\M-}\M-n\M-:~\M-o\M-.\M-k\M-:\M-.\M-k\M-m\M-n\M-3\M-/\0C7\M^NN7\M-|\^^\M^G\M-~\M-h\

q\^X\M-;i(\M-n\M-n\M-3\M-/\0\M^?\M^?\M^?\M^?\M^?}\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M-2\M--\0\M^?\M^?\M^?\M^??~\M^?\M^?\M^?\M^?\M^?\
\M^?\M^?\M^?\M^?\M^?\M^?\M-/\M-*\0+\M-.\^A\0"
  2412   2412 wficaRET   writev 324/0x144
  2412   2412 wficaCALL  poll(0xbfbff418,1,0x)
  2412   2412 wficaRET   poll 1
  2412   2412 wficaCALL  read(3,0x8264a38,0x1000)
  2412   2412 wficaGIO   fd 3 read 32 bytes
   "\^A\^B8\^B\0\0\0\0002\0`\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  2412   2412 wficaRET   read 32/0x20
  2412   2412 wficaCALL  read(3,0x8264a38,0x1000)
  2412   2412 wficaRET   read -1 unknown errno 35
  2412   2412 wficaCALL  read(3,0x8264a38,0x1000)
  2412   2412 wficaRET   read -1 unknown errno 35
  2412   2412 wficaCALL  gettimeofday(0xbfbff8bc,0)
  2412   2412 wficaRET   gettimeofday 0
  2412   2412 wficaCALL  gettimeofday(0xbfbff83c,0)
  2412   2412 wficaRET   gettimeofday 0
  2412   2412 wficaCALL  gettimeofday(0xbfbff7dc,0)
  2412   2412 wficaRET   gettimeofday 0
  2412   2412 wficaCALL  socketcall(9,0xbfbff5f0)
  2412   2412 wficaMISC  se

Re: How to run Microsoft Internet Explorer on NetBSD?

2016-02-01 Thread Jose Luis Rodriguez Garcia
> If you're content with VirtualBox, Microsoft themselves provide images
> of various versions of Windows with various versions of IE already
> installed.
>
> https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/

On Fri, Jan 29, 2016 at 2:08 PM, Marina Brown  wrote:

> They have a portal that requires windows. I think you can even get
> windows 10 for free under some circumstances. Not sure about this i had
> a windows license owned by my company.
>
> --- Marina Brown

Thank Marina, Coypu

I have opted by this way.

I have downloaded the image for virtual box for ie6_winxp. It has
worked with the qemu emulator.

I have done:

tar xf file.ovf
It has uncompressed a vmdk file. I have converted it to qcow2 with qemu-img:
qemu-img -c -O qcow2 "IE6 - WinXP-disk1.vmdk" "IE6 - WinXP-disk1.qcow2"

qemu-system-i386 -m 256 -net nic,model=ne2k_pci  -net user -hda "IE6 -
WinXP-disk1.qcow2"

and it worked ok.

It is slow..., but it works and it is easy if you think on wine.


Re: How to run Microsoft Internet Explorer on NetBSD?

2016-02-01 Thread Jose Luis Rodriguez Garcia
>The so-called "Citrix Receiver" ? I've tried it using both Wine and Linux 
>emulation. The Linux version was a huge pain. It segfaulted, whined about SSL 
>/ x509 certificates (so tired of seeing this lately in apps), and had the 
>usual way-too-many-dependencies on a zillion worthless GUI libraries and 
>abstraction layers. Honestly, the Wine version looked like it was going to 
>work up until the last moment when ... it didn't. With Windows apps you can't 
>do much but just shrug when they fail.

I had always the same problem. I have read that the https problem is
resolved installing the crypt32 package (winetricks). But I have been
unable to test it. Explorer 7 and Explorer 8 fails to install.

Explorer 6 installs sucessfully (with crypt32) but crashes with the
SSL problem that you mention.

I  have read some report that may be for Explorer 8 it can help wine
mono/wine gecko native. May be I can try to compile them.

> It seems like the previous ICA client didn't have nearly as much kruft and 
> actually worked. I know I've used it at some point on NetBSD. Of course, that 
> version is probably no longer around. It's too bad, though. IIRC, you could 
> often use older clients with newer Citrix servers.

It is still in pkgsrc : net/citrix_ica version 10.6.115659.

It worked until my company changed the certificates to godaddy. I have
been unable to configure the SSL certificates. I am thinking that it
can be the SSL client doesn't understand the new certificates. Can it
be?

-Swift

On Fri, Jan 29, 2016 at 11:31 AM, Jose Luis Rodriguez Garcia
<joseyl...@gmail.com> wrote:
> I need to use Internet Explorer for access a web from my company:
> Siebel software.
>
> It uses Active X and it only works with Internet Explorer. (They
> haven't activated the mode of Siebel Software for non Microsoft
> browsers).
>
> .It is a application that I must use, very few times.
>
> It is the option that I have used (tested some of them). What option
> do you suggest?
>
> 1- Wine (I have tried it years ago with bad results with Explorer.
> 2- I can access with Citrix, but the citrix client from pkgsrc is very
> old ,and it has problems with certificates of our Citrix Server. I
> have tried to add the certificates without success. I don't know if I
> am doing the right thing, or the citrix client has some problem for
> understand the new certificates.
> 3- VMware.
> 4- Other emulator?


Re: How to run Microsoft Internet Explorer on NetBSD?

2016-01-30 Thread Jose Luis Rodriguez Garcia
I have tried this other time. (I tried it in the past also without success).

The package is broken, and one file that tries to download from
Microsoft is not longer available. (mfc42.cab)

After of downloading manually the missing package from web archiv,
fixing the scripts of ies4linux, it installs Internet Explorer 6.

As always (as mi previous attempts) it fails at the few seconds of
start the explorer.

Have you tried with some older version of wine that worked better than
the actual versions?


On Fri, Jan 29, 2016 at 11:55 AM, Mayuresh <mayur...@acm.org> wrote:
> On Fri, Jan 29, 2016 at 11:31:17AM +0100, Jose Luis Rodriguez Garcia wrote:
>> I need to use Internet Explorer for access a web from my company:
>
> www/ies4linux? [ I haven't used of late. ]
>
> Mayuresh.


Re: How to run Microsoft Internet Explorer on NetBSD?

2016-01-30 Thread Jose Luis Rodriguez Garcia
Thank you. If I have the energy, I will ask in some Citrix forum, if
they can resolve the problem with certificates.

Does anyone tried a new version of citrix (not the one from pkgsrc)
client in NetBSD?

On Fri, Jan 29, 2016 at 4:14 PM, Eric Haszlakiewicz <e...@nimenees.com> wrote:
> On January 29, 2016 5:31:17 AM EST, Jose Luis Rodriguez Garcia 
> <joseyl...@gmail.com> wrote:
>>I need to use Internet Explorer for access a web from my company:
>>Siebel software.
>>
>>It uses Active X and it only works with Internet Explorer. (They
>>haven't activated the mode of Siebel Software for non Microsoft
>>browsers).
>>
>>.It is a application that I must use, very few times.
>>
>>It is the option that I have used (tested some of them). What option
>>do you suggest?
>>
>>2- I can access with Citrix, but the citrix client from pkgsrc is very
>>old ,and it has problems with certificates of our Citrix Server. I
>>have tried to add the certificates without success. I don't know if I
>>am doing the right thing, or the citrix client has some problem for
>>understand the new certificates.
>
> If you're running this from inside your company's network, Citrix is probably 
> your best bet for minimizing friction with your IT/security department, and 
> making things easy for yourself.  If you can get it the Citrix client working 
> reliably then you can let someone else worry about Windows licensing, making 
> sure the right version of IE is installed, security patches are installed, 
> etc...
>
> Eric
>
>


How to run Microsoft Internet Explorer on NetBSD?

2016-01-29 Thread Jose Luis Rodriguez Garcia
I need to use Internet Explorer for access a web from my company:
Siebel software.

It uses Active X and it only works with Internet Explorer. (They
haven't activated the mode of Siebel Software for non Microsoft
browsers).

.It is a application that I must use, very few times.

It is the option that I have used (tested some of them). What option
do you suggest?

1- Wine (I have tried it years ago with bad results with Explorer.
2- I can access with Citrix, but the citrix client from pkgsrc is very
old ,and it has problems with certificates of our Citrix Server. I
have tried to add the certificates without success. I don't know if I
am doing the right thing, or the citrix client has some problem for
understand the new certificates.
3- VMware.
4- Other emulator?


Re: I can't generate a kernel crash core.

2016-01-27 Thread Jose Luis Rodriguez Garcia
I have been debuging this problem with gdb and printfs in the source
for locate the path.

I have found it fails in:

arch/amd64/amd64/machdep.c:dodumpsys does: psize = bdev_size(dumpdev);
kern/subr_devsw.c:bdev_size calls rv = (*d->d_psize)(dev)
In my case the dev has major 0 and minor 1
(gdb) print bdevsw[0].d_psize
$1 = (int (*)(dev_t)) 0x80a0ad60 

then d->d_psize is the function wdsize

dev/ata/wd.c:wdsize does wd = device_lookup_private(_cd, WDUNIT(dev));
kern/subr_autoconf.c:device_lookup_private does  return
device_private(device_lookup(cd, unit));
kern/subr_autoconf.c:device_lookup fails and returns NULL. This is in
the sentence:


else if ((dv = cd->cd_devs[unit]) != NULL && dv->dv_del_gen != 0)
 dv = NULL;

config_alldevs_unlock(s);

 return dv;

because cd->cd_devs[unit]) is null.

I have checked these values with printf in the function and these are
(executing a reboot -d):
unit: 0
cd->cd_ndevs: 4
dv is assigned NULL in the asignement: dv = cd->cd_devs[unit])

If I check these values when the system is running cd->cd_devs[unit] isn't NULL.
(gdb) print wd_cd->cd_devs[0]
$23 = (device_t) 0xfe8107cc6408
(gdb) print (*wd_cd->cd_devs[0]).dv_del_gen
$24 = 0

It seems that in the ordered shutdow process this structure
(cd->cd_devs[unit] is destroyed, and the dump fails.



This is the log from dmesg. It says "dump area unavailable"
(file src/sys/arch/amd64/amd64/machdep.c line 1156)
.
wd0: detached
atabus0: detached

dumping to dev 0,1 (offset=8410383, size=1046094):
dump area unavailable
rebooting...

The swap device configuration seems ok:
pc2$ swapctl -z
dump device is wd0b


On Sun, Jan 24, 2016 at 11:00 PM, Jose Luis Rodriguez Garcia
<joseyl...@gmail.com> wrote:
> If the kernel hash a panic, the dump is captured, etc. and it works ok
> (kern.dump_on_panic=1).
>
> I can't generate a crash dump of a running system.
>
>
> On Sun, Jan 24, 2016 at 10:28 PM, Jose Luis Rodriguez Garcia
> <joseyl...@gmail.com> wrote:
>> It is NetBSD 7.0 amd64
>>
>> The swap size is 8 GB, and the memory of the PC is 4GB.
>>


Re: I can't generate a kernel crash core.

2016-01-24 Thread Jose Luis Rodriguez Garcia
If the kernel hash a panic, the dump is captured, etc. and it works ok
(kern.dump_on_panic=1).

I can't generate a crash dump of a running system.


On Sun, Jan 24, 2016 at 10:28 PM, Jose Luis Rodriguez Garcia
<joseyl...@gmail.com> wrote:
> It is NetBSD 7.0 amd64
>
> The swap size is 8 GB, and the memory of the PC is 4GB.
>


I can't generate a kernel crash core.

2016-01-24 Thread Jose Luis Rodriguez Garcia
It is NetBSD 7.0 amd64

The swap size is 8 GB, and the memory of the PC is 4GB.

This the /etc/sysctl.conf file:
pc2$ grep -v '^#' /etc/sysctl.conf
ddb.onpanic?=0
kern.ipc.shmmax=16000
vfs.generic.usermount=1
machdep.sparse_dump=1
kern.dump_on_panic=1

I have tried with:
reboot 0x100
reboot 0x104

halt|reboot -dq
etc

without sucess.

I have tried to add savecore=yes to /etc/rc.conf.

Doing a halt -dv o reboot -dqx, I can't see any message that it tries to dump.

I have tried also to do a:
sysctl -w kern.dump_on_panic=0, and it didn't work.


pc2# swapctl -l
Device  1K-blocks UsedAvail Capacity  Priority
/dev/wd0b 83895680  8389568 0%0

By the way I have seen a strange thing:

Doing a rcorder , swap1 and swap2 are execute before of savecore. I
thought that savecore that should be executed before of adding swap.

pc2# rcorder *
wdogctl
fsck_root
modules
resize_root
root
ccd
rndctl
cgd
lvm
raidframe
DISKS
swap1
fsck
mountcritlocal
random_seed
bootconf.sh
ttys
pf_boot
ipsec
ipfilter
sysctl
network
wpa_supplicant
dhclient
dhcpcd
ldpd
npf
pf
route6d
routed
rtsold
staticroute
NETWORKING
mountcritremote
sysdb
newsyslog
wscons
syslogd
ppp
named
rtclocaltime
ntpdate
rpcbind
ypserv
ypbind
yppasswdd
mountall
perusertmp
cleartmp
xfs
accounting
amd
dmesg
fccache
veriexec
ldconfig
quota
mountd
nfsd
nfslocking
pwcheck
gpio
ipnat
securelevel
swap2
virecover
altqd
blacklistd
ifwatchd
isdnd
downinterfaces
ipfs
ipmon
kdc
pflogd
racoon
savecore
SERVERS
DAEMON
apmd
bluetooth
bootparams
devpubd
dhcpd
dhcrelay
ftp_proxy
irdaattach
local
lpd
makemandb
mopd
motd
mrouted
ntpd
powerd
rarpd
rbootd
rtadvd
rwho
screenblank
timed
tpctl
LOGIN
xdm
wsmoused
sshd
raidframeparity
postfix
ndbootd
moused
mixerctl
mdnsd
isibootd
iscsi_target
inetd
identd
httpd
hostapd
ftpd
envsys
dbus
cron
pc2#


Re: Network redundancy (Linux bonding/Solaris IPMP)

2014-10-13 Thread Jose Luis Rodriguez Garcia
On Sat, Oct 11, 2014 at 11:13 AM, Manuel Bouyer
bouyer%antioche.eu.org@localhost wrote:
 It does with LACP, I don't know if the link status is considered when
 in round-robin mode.

 Anyway if I had to setup something like that I'd use bridge with
 spanning-tree to select the best path. This way you get failover for
 more cases than just the local link failure.

With Spanning-tree method, in my company network people use enhaced
SPT protocols (mainly Cisco SPT protocols that converge more faster,
etc.--), and I think that hey won't be compatible (they have denied in
the past to connect not Cisco switches to switching infraestructure
because of this).

¿Is there some performance degradation using this bridge configuration
over the case of no bridge setup?


With IPMP and bonding you can use link failure test, but you can use
more advanced methods:
1- Solaris IPMP can use configure a test address in every interface. I
think that does pings to address that you can configure or , that it
extracts from the network.
http://docs.oracle.com/cd/E26502_01/html/E28993/gfazs.html
2- Linux Bonding can uses basic link monitoring (miimon) or arp
monitoring configuring one(several) target(s).
https://www.kernel.org/doc/Documentation/networking/bonding.txt


Re: Network redundancy (Linux bonding/Solaris IPMP)

2014-10-11 Thread Jose Luis Rodriguez Garcia
I have looked the agr page, and I have googled for agr for a while,
without finding how link1 mode works.

Because I will connect the server to two switches, I can't use LACP
mode. I will have to use link1 mode.

How does link1 mode work?. Is it active/passive? Does it work using
the link status of the ehternet connections? If this is the way it
works, it is ok for my setup.

 See the man page for agr(4).

 I haven't actually tried it but it looks fairly straightforward.

 Andy


Works fine Dell R320/ Dell R420 with NetBSD?

2014-10-10 Thread Jose Luis Rodriguez Garcia
Does NetwBSD work fine with these two servers: Dell R320 and Dell R420?

The would have a PERC H310 RAID card for the two internal disks.


mouse: scroll wheel not working properly

2014-06-01 Thread Jose Luis Rodriguez Garcia
I have bought a new mouse, and the scroll wheel changes of direction:

If I move up the wheel, the wheel moves up in the screen, but after of
a few moments, it reverses the direction: it goes down, The same thing
happes in the other direction.

I have tested with xev. When I scroll the wheel in a only direction,
it alternates between buttons 4 and 5.

If I scroll up the wheel xev: receives 10 hits from button 5, and
after 6 hits from button '4', and cycles:

10 times button 5, 6 times button 4, 10 times button 5, 6 times
button 4, 10 times button 5, ..


The model of mouse is: Maxtrack from Trust. web page: trust.com/17179-02

My NetBSD is 6.1.2./ amd64. I have tested with the last kernel of NetBSD 6.


pc2$ dmesg|grep wsmouse
wsmouse0 at ums0 mux 0
wsmouse1 at ums1 mux 0
wsmouse0 at ums0 mux 0
wsmouse1 at ums1 mux 0
wsmouse0 at ums0 mux 0
wsmouse1 at ums1 mux 0
wsmouse0: detached
wsmouse0 at ums0 mux 0

This is the outpout of dmesg. wsmouse0 is the mouse. wsmouse1 is a
conversor from usb to ps2 keyboard and ps2 mouse.

pc2$ dmesg|egrep 'wsmouse|ums|uhidev'
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x1bcf USB Optical Mouse, rev 2.00/0.14, addr 2, iclass 3/1
uhidev0: 1 report ids
ums0 at uhidev0 reportid 1: 5 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 1 configuration 1 interface 0
uhidev1: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ukbd0 at uhidev1
uhidev2 at uhub1 port 1 configuration 1 interface 1
uhidev2: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ums1 at uhidev2: 3 buttons and Z dir
wsmouse1 at ums1 mux 0
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: vendor 0x1bcf USB Optical Mouse, rev 2.00/0.14, addr 2, iclass 3/1
uhidev0: 1 report ids
ums0 at uhidev0 reportid 1: 5 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 1 configuration 1 interface 0
uhidev1: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
uhidev2 at uhub1 port 1 configuration 1 interface 1
uhidev2: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ums1 at uhidev2: 3 buttons and Z dir
wsmouse1 at ums1 mux 0
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x1bcf USB Optical Mouse, rev 2.00/0.14, addr 2, iclass 3/1
uhidev0: 1 report ids
ums0 at uhidev0 reportid 1: 5 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
uhidev1 at uhub3 port 1 configuration 1 interface 0
uhidev1: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ukbd0 at uhidev1
uhidev2 at uhub3 port 1 configuration 1 interface 1
uhidev2: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev
1.01/0.01, addr 2, iclass 3/1
ums1 at uhidev2: 3 buttons and Z dir
wsmouse1 at ums1 mux 0
wsmouse0: detached
ums0: detached
uhidev0: detached
uhidev0: at uhub0 port 1 (addr 2) disconnected
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x1bcf USB Optical Mouse, rev 2.00/0.14, addr 2, iclass 3/1
uhidev0: 1 report ids
ums0 at uhidev0 reportid 1: 5 buttons, W and Z dirs
wsmouse0 at ums0 mux 0



The output of Xorg.log:

[   140.817] (**) Option CorePointer
[   140.818] (**) Mouse0: always reports core events
[   140.825] (**) Option Protocol wsmouse
[   140.825] (**) Option Device /dev/wsmouse
[   140.825] (**) Mouse0: Protocol: wsmouse
[   140.825] (**) Mouse0: always reports core events
[   140.899] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[   140.899] (**) Mouse0: ZAxisMapping: buttons 4 and 5
[   140.899] (**) Mouse0: Buttons: 9
[   140.899] (II) XINPUT: Adding extended input device Mouse0 (type: MOUSE)
[   140.899] (**) Mouse0: (accel) keeping acceleration scheme 1
[   140.899] (**) Mouse0: (accel) acceleration profile 0
[   140.899] (**) Mouse0: (accel) acceleration factor: 2.000
[   140.899] (**) Mouse0: (accel) acceleration threshold: 4

The section of xorg.conf: (I have tested several options of
ZAxisMapping without success)

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
#   Option  Buttons 9
#   Option  ZAxisMapping 4 5 6 7
#   Option  ZAxisMapping 4 5
EndSection


High memory usage with www/firefox and www/seamonkey on amd64

2014-02-15 Thread Jose Luis Rodriguez Garcia
I am having high usage of memory with firefox and seamonkey from a
year ago (or more), with different PKG2013QX(s) (may be also
pkgsr2012QX) using NetBSD 6.1 on amd64.

The memory used (rss column) uses to be more of 2G with +50 tabs

¿Is this the usual behavior? A friend of mine with Linux/amd64 says it
takes to him 300-500 Mbytes of memory.

Now I have 130 tabs, it is using 2600 Mbytes with seamonkey pkg2013Q3
using a binary package ( I have not compiled at hand with pkgsrc).

Usually after of several days using 50 tabs or more the memory grows
more of 2600-2800 Mbytes, the system becomes unsable and I have to
restart the browser. (with 130 tabs it has grown up to the 2 GB in one
hour)

Also using a old laptop, with NetBSD 5.x i386 and old version of
seamonkey the system works a lot better that my NetBSD 6.1