Re: A gmirror question.

2008-10-29 Thread Stefan Moro
Ok, that explains it.

Thanks for the quick answers!

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


A gmirror question.

2008-10-28 Thread Stefan Moro
Hi!

I've got a question regarding the way that gmirror identifies what
components (if that is the right term) are included in a mirror.

I recently created a mirror over two disks, ad2 and ad4. After some
bios changes (activating PATA) these devices were changed to ad6 and
ad10 respectively.
The magic thing (which probably isn't so magic =) ) here is that
after reboot, gmirror still managed to identify the mirror, now using
ad6 and ad10.

If I have understood things correctly, gmirror stores all relevant
information about the mirror in the last sector on the provider.

So I guess one possible solution is that gmirror ,during startup,
scans all disks/slices for this magic sector and then starts the
mirror.
But if this is the case, how does gmirror know that it should use (in
my example above) ad10 and not ad4 as the additional disk in the
mirror.
Or does gmirror use something else than the /dev entries to address disks??

I'm just curious how gmirror does this.


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


plextor PX-760SA problem

2007-02-06 Thread Stefan Moro

Hello!

I'm having some trouble trying to burn dvd:s using my PX-760SA under FreeBSD.
As far as I know, the DVD-burning software that is available for FBSD
uses the SCSI subsystem and therefore requires atapicam.

My problem is the following:

After Compiling the kernel with the following options
device atapicam
device ata
device scbus
device cd
device pass
The system almost hangs at startup. With almost I mean that when it
tries to recognize the cd0 device it hangs for about 5-10 minutes and
then produces the output:

cd0 at ata2 bus 0 target 1 lun 0
cd0: PLEXTOR DVDR   PX-760A 1.03 Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: @

after that it hangs again.

I've also tried loading the atapicam module with kldload which
generates almost the same behavior.
After kldload I can use the system until I try kldstat or ls /dev
then it hangs for about 5-10 minutes. produces the output

cd0 at ata2 bus 0 target 1 lun 0
cd0: PLEXTOR DVDR   PX-760A 1.03 Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: @

and then hangs again for another couple of minutes, responds to my
commands for a couple of minutes and hangs again and so on.

I tried upgrading the firmware of the PK-760SA to 1.06. Still the same problem

There is no problem using the PX-760SA without atapicam.

dmesg attached. (without atapicam in kernel)

Any help appreciated
//Stefan


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

Xorg problems..

2004-12-11 Thread Stefan Moro
Hello..

I've been having some problems with Xorg under fbsd 5.3 (Production release).

While using my computer under X (xorg 6.7) it suddenly hangs.. These
crashes seems to be somewhat random. They have occurd while i'm using
firefox or valknut and performing some sort of action, pressing the
refresh button or something like that..

The only thing that the computer responds to is the mouse movements.. It
does not respond to any buttons pressed on the keybord..

When I, via ssh, logged on to the computer it showed that Xorg was using
about 98% of processor capacity..

I could reboot the computer via ssh...

Anyone got any ideas of what could cause these problems??

Any help appreciated..

//Stefan




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


FreeBSD 5.3 problems

2004-11-24 Thread Stefan Moro
Hello..

I've been having some problems with fbsd 5.3.

While using my computer under X (xorg 6.7) it suddenly hangs.. These
crashes seems to be somewhat random. They have occurd while i'm using
firefox or valknut and performing some sort of action, pressing the
refresh button or something like that..

The only thing that still responds after the crash is the mouse.

I don't know of any logs being created when rebooting by pressing reset.
I'll attach my dmesg that was created during reboot after a crash..

Any help appreciated..

//Stefan



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


mysql40 and FBSD 4.9

2004-02-09 Thread Stefan Moro
Hi,

First of all I just want to say that I've never used mysql before so there
might not be any problem at all, except me not understanding how to do =)

I'm trying to setup mysql40. I installed it from the ports via the
mysql40-server port. The installation went just fine. Afetr the
installation I was trying to set the mysql root-users password with
mysqladmin -u root password 'new-password'

when i tried that I got the following message:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'

The server should be up and running because the command mysqladmin version
gave the following output:

mysqladmin  Ver 8.40 Distrib 4.0.17, for portbld-freebsd4.9 on i386
Copyright (C) 2000 MySQL AB  MySQL Finland AB  TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version  4.0.17
Protocol version10
Connection  Localhost via UNIX socket
UNIX socket /tmp/mysql.sock
Uptime: 2 days 15 hours 4 min 30 sec

Threads: 1  Questions: 8  Slow queries: 0  Opens: 6  Flush tables: 1  Open
tables: 0  Queries per second avg: 0.000


I have read the mysql-manual but have not found any solution for this
problem.

I have also googled for this problem but not found any solution..

uname -a output:

FreeBSD hostname 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Thu Nov 20
13:48:26 GMT 2003
root@hostname:/usr/obj/usr/src/sys/SERVERKERNEL  i386


Do I have to do anything before trying to set the root password or should
this work?

Does anyone know any good mysql tutorial which includes the installation
of the server?

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


NFS problem..

2003-09-25 Thread Stefan Moro
Hello..
I'm running FreeBSD 5.1 on a computer configured as an nfs-client and
freebsd4.8 on a computer configured as an nfs-server. When I try to move
something from the client to a partition on the server mounted on the
client in fstab using mv the client crashes. The server should be working
fine since there is no problem when using mv from a FreeBSD4.8 client to
the server.

I can without any problem access the files on the nfs server, it's just
when using mv that the client crashes.

Here are some configurations on the client...

This line is used in fstab:
192.168.0.1:/usr/server nfs rw  0   0

These options are compiled into the kernel.
options NFSCLIENT   #Network Filesystem Client
options NFS_ROOT#NFS usable as root device,

Any help appreciated 
//stefan


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


printer problem..

2003-09-09 Thread Stefan Moro
Hello...

I have an Epson Stylus PHOTO 810 yhat i recently tried to get to work
under freebsd 4.8.

It is connected via ulpt0. 

when i write something to ulpt0 the printer respondes with moving the
printerhead about 5 cm and then back again.. 

if I do this again the printer doesn't responde at all unless I unplug it
and replug it again.

Any help appreciated.

Thanks in advance
//Stefan



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


Re: linux module problem..

2003-07-05 Thread Stefan Moro
On Sat, 5 Jul 2003, Danny Pansters wrote:

 On Saturday 05 July 2003 01:08, Stefan Moro wrote:
  I'm running FreeBSD 4.8-stable. When i try to load the Linux module
  to the kernel with kldload it fails.
 
  kldload output is as follows:
  kldload: can't load linux: Exec format error
 
  I recently upgraded from 4.7 using make world.
 
 Hmm, are you sure you used the correct procedure... I mean, couldn't you 
 be running with an old linux kld? You did buildworld, build/install 
 kernel, install world, merge, reboot, right?

Yes.. Exactly like that. I have also recompiled the kernel again without
success. 

I couldn't get the Linux Compability to work even if i compile it in the
kernel.

regards Stefan


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


Re: linux module problem..

2003-07-05 Thread Stefan Moro
On 5 Jul 2003, Khairil Yusof wrote:

 On Sat, 2003-07-05 at 07:08, Stefan Moro wrote:
  I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
  kernel with kldload it fails.
 
 You should try using the abi script for this,
 
 #/etc/rc.d/abi start linux_enable=YES
 
 for more options
 
 #/etc/rc.d/abi rcvar
 
 To start it automatically put it in your /etc/rc.conf 
 linux_enable=YES

Thanks for your help but it seems that the /etc/rc.d directory does not
exist. I can't install the linux_base from the ports because kldload
fails, if that helps. 

Putting linux_enable=YES in my rc.conf doesn't start it either.

Thanks,

//Stefan


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


Re: linux module problem..

2003-07-05 Thread Stefan Moro
On 5 Jul 2003, Khairil Yusof wrote:

 On Sat, 2003-07-05 at 07:08, Stefan Moro wrote:
  I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
  kernel with kldload it fails.

Adding 

options SYSVSHM
options SYSVMSG
options SYSVSEM

to kernel config solved the problem.


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


linux module problem..

2003-07-04 Thread Stefan Moro
I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
kernel with kldload it fails.

kldload output is as follows:
kldload: can't load linux: Exec format error

I recently upgraded from 4.7 using make world.

Any ideas of how to get the linux compatibility to work?

//Stefan Moro



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