Mouse problems with KVM switch

2004-08-19 Thread thrawn
Hi,
I have just brought this KVM switch:
http://www.level1.com/products3.php?sklop=20id=590430
But Im having major problems with getting the mouse to work under 
FreeBSD. Even the keyboard does not work sometimes. This KVM switch has 
support for hotkey and also supports emulation on both mouse and keyboard.

When I boot up my system and see the BIOS on the computer the keyboard 
works just fine. Then when it continues to boot and comes to the loader, 
it still works. And the it starts to load the kernel. But then when i 
get to the login prompt the keyboard does not work.

And sometimes even thought I stay with the computer the hole boot 
process I can't even use the keyboard. So I have to use ssh to login to 
the computer and make it reboot to regain the keyboard. I have also 
tried to change the cables but I get the same results. And It works with 
no problems under Windows XP Pro.

The system that im using is FreeBSD 5.2.1-p9, at least on this system.
I  have also two other computers that Im running FreeBSD-stable on. On 
one of my FreeBSD-stable machines I have hade a working mouse under X 
Windows System (Xorg latest from ports).

But then I rebooted the system and when I started xdm, it found the 
mouse but when I move it around It didn't move like it should. It took 
some seconds before it moved and it did not move like it should, jumps 
several ramdom cm/inches on the screen (Perhaps in the direction that I 
move the mouse im not sure). Its on usable in other words.

I have also tryied to use moused under FreeBSD but I get the same 
fault/problem. I also have a problem if I do not have this machine 
selected when I boot. Then when I switch to it when the boot of the 
FreeBSD system has complete, The screen on the monitor just blinks.

Still the keyboard works because I can press two times Left Ctrl and 
then 1 to 4 to change the computer Im controlling. This I can not do 
with the FreeBSD 5.2.1-p9 system I can only see the screen but have to 
change the computer im controlling by pressing the button on the switch box.

I have tried to remove the cables and put them back again. But that does 
not help, the only solution I can see is to reboot the system and let it 
boot with it selected. I have also booted up with the mouse directly 
connected to the computer. Then when the system boot was completed I 
moved the mouse around to see that it did work. After that I plugged 
back the cable from the switch in to the computers mouse port. And the 
plugged the mouse back in the switch box, that did not work either.

I have also added flags to both psm0 and atkbd in my kernel config:
# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x0
device  psm0at atkbdc? irq 12 flags 0x0
I have also tried with the flags set to 0x100 on both atkbd0 and psm0, 
but that doesn't seem to make any diffrance. I have done this on my 
FreeBSD 5.2.1-p9 box as well. I have also changed it in:

/boot/device.hints
But I don't get it working correctly either by that.
Does anybody have a clue or have hade any similar problems and/or who 
could shine some light on this problem?

Mvh Mattias Björk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with djbdns

2004-03-23 Thread User Thrawn
Hi,

Im runing djbdns on some boxes here at home. I haveing two major problems,
The first one is that for some reason the DNS server won't answer queryies.
Even thought that I have setup it right (to my knowlage), 
I might explain how many machines, I have.

On thing that I should metion is that my domain is birch.se, and Its only an
internal domain name.

I have my router computer, its 192.168.10.10. Then I have another one  
192.168.10.1. And My workstation that is 192.168.10.201.

thrawn.birch.se is .10.201, .10.10 is setiathome.birch.se and the last one is
dasboot.birch.se

It works fine on .10.201  .10.1. But for some reason it stopped working. And
I desided to tar down the directories in /var, and send it to .10.10.

The directories are /var/{tinydns,dnscache,dnscachex}. I tared down the 
directories and send them to .10.10.

The only thing that I changed was the ip address in /var/dnscachex/env/IP,
from 192.168.10.1 to 192.168.10.10. To get the correct IP address to listenoon 
setiathome.birch.se.

The directories on /var/dns*/root/ip/,
have the to following files, 127.0.0.1 and 192.168.10 and it works fine on the
two other boxes. The directory /var/dns*/root/servers/ have three files.
The names for them are 10.168.192.in-addr.arpa,@ and birch.se, the first and 
the last file have 127.53.0.1 as enteries. The @-file have some IP addresses.

When I start them with svc -u /var/service/* it starts fine. Running in the bg.
I can also se them with netstat -nl -f inet -t {tcp,udp} But nothing happens,
if i try to telnet to 192.168.10.10/127.0.0.1 using port 53. nslookup, dnsip
and dnsname can't resolv internal dns names/IPs.

I don't se any reason why I don't can copy the directoryies from one box to
another box. And then simply change the IP address.

The other problem is that when i share my data.old file, located in: 
/var/tinydns/root/data. Clients using axfr-get, can fetch the file fine. axfrdns
is running on port 5300 btw. The I run make in /var/tinydns/root on the slave,
boxes. It works fine but then after restaring djbdns. Then I get the smilar
problem that I have above, It can resolv external domains and hosts, but not 
internals like 192.168.x.y and dasboot.birch.se using dnsname/dnsip/nslookup.

This is how good I can describe my problem. I have google alot and not found
anything that hade help me there. I have also runned some step by step guides.
The problem where that I did not get it to work with www.djbdnsrock.org, even
thought I did it more the one time. (First i tryied to start from scratch, but
it in the end I was forced to copy the setup from setiathome to thrawn to get
it up and running) My dns db-file does not look the same after transfering it
via axfr-get. I might have something to do with it. Because when i copy it by
my self via scp, it works...

I have checked host.conf and there dns stands before host(s). I have search in
my /etc/resolv.conf file also. I have attatched the db-file.
.birch.se:127.53.0.1:a:2592
.10.168.192.in-addr.arpa:127.53.0.1:a:2592

#Hosts

=dasboot.birch.se:192.168.10.1:864
=setiathome.birch.se:192.168.10.10:864
=hphora.birch.se:192.168.10.111:864
=thrawn.birch.se:192.168.10.201:864
=maria.birch.se:192.168.10.202:864
=anders.birch.se:192.168.10.203:864
=ttd.birch.se:192.168.10.204:864

#MX records

@dasboot.birch.se:192.168.10.1:a:10:86400
@setiathome.birch.se:192.168.10.10:a::86400
@thrawn.birch.se:192.168.10.201:a::86400

#Alias

+pappa.birch.se:192.168.10.203:864

#DNS servers

.ns.birch.se:192.168.10.10:a:2592
.ns2.birch.se:192.168.10.1:a:2592
.ns3.birch.se:192.168.10.201:a:2592

=ns.birch.se:192.168.10.10:864
=ns2.birch.se:192.168.10.1:864
=ns3.birch.se:192.168.10.201:864

#DNS root servers:

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID/Disc problem with a American Megatrends RAID controller. ( 428 )

2002-10-23 Thread thrawn
Hi,

I have hade this problem before but I ignored it then but since It showed up again I 
decided to post it.

When I turned on my monitor to my server It was constatly printing out this error 
message in to my console:

amr: I/O error 0x1

I have hade this error before, I figure it has something to do with a bad disc or 
sector on it. The only thing left to do was to reboot because it did this in a instant 
loop.

I could not login as a user and reboot because of this. So I pressed ctrl-alt-del and 
that worked after a couple of minutes. And the when I did get to my RAID controllers 
BIOS at startup it hade offcorse degrade two disc.

I have set it up in RAID 5. Using 5 18.4 10k rpm seagate cheata disc. The controller 
have 2 channels. The first channel have 3 of the disc, id 0-2 and the second have 2 
disc, id 0-1.

On the first channel disc with id 0 and 2 was degraded. I made disc 2 online because I 
guessed its the disc with id 0 that did cause this. And I was right the filesystem 
when I booted up the box again the filesystem was not corrupted, but offcourse it 
runed fsck on the partions. And then the system worked fine again accept for the disc 
with id 0 on the first channel. 

So I need som advice to what could be causing this problem, is this a failing disc or 
does this problem only emarge because of it trying to write on a bad sector on this 
disc and that is what is causing this error?

I can supply my info if asked for but I don't see why that should be necessery, One 
other thing that have crossed my mind is that this disc is more greedy when it comes 
to power than the other disc and may be causing this problem as well.
But then again I have hade this system upp and runing for weeks now. 

How often are the disc supposed to recalibrate, I mean spin down and up again, could 
this be a sign of the disc not getting enought power?

MVH Mattias Björk.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Openoffice problem runing as normal user

2002-10-09 Thread thrawn

Hi,

Im having som problems with Openoffice. I have compiled it from ports and that is not 
any problem. I have installed it and runed it as root with out any problem. I by 
installing it I mean runing openoffice-setup. Make install also works fine offcourse. 
And I have runed it as root and there is no problem.

How ever when i try to run make install-user/openoffice-setup the installation program 
lanuches and it works just fine. But I can't see any text or pictures in the run setup 
program. The window's pops up but there is nothing in them. And i can't do anything 
because I have to guess what it says to me. 

Are there anybody that have the same problem or have any solution on this problem? I 
don't think this will help if I install it as a package or? I don't have any idea what 
kind of problem this might be. But could It be some kind of permission problem?

Any way thanks for an answer.

Mvh Mattias Björk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



XFree86 ports problem when trying to build package

2002-07-15 Thread thrawn

Hi,

I get this error when i try to build x11/XFree86-4 as an port:

thrawn/usr/ports/x11/XFree86-4# make package 2:02PM
===  Extracting for XFree86-4.2.0_1,1
 No MD5 checksum file.
===   XFree86-4.2.0_1,1 depends on shared library: Xft.1 - found
===  Patching for XFree86-4.2.0_1,1
===  Configuring for XFree86-4.2.0_1,1
===  Installing for XFree86-4.2.0_1,1
===  XFree86-4.2.0_1,1 is already installed - perhaps an older version?
  If so, you may wish to ``make deinstall'' and install
  this port again by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of XFree86-4.2.0_1,1
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.
thrawn/usr/ports/x11/XFree86-4#

I have the port installed but how do I get rid of the complains that it is all
ready installed?
I just want to build it to a package. Do I have to do something special if the
port is all ready installed?

More if can be provided as needed. I have the latest cvsup for the ports tree.

Thanks in advance.

Mvh Mattias Björk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message