Re: continuous backup solution for FreeBSD

2008-10-10 Thread Evren Yurtesen
I just wanted to say thanks to all the replies to this thread. It has 
been insightful even though the suggestions I have received were not 
really answers to what I asked.


I dont see any reason why we should continue to argue about if this can 
be done using ZFS or Hammer or any other filesystem. The fact is that it 
can be done eventually with something else if one has the will, time and 
money to put into it. One can even write his own filesystem code for it eh?


The original question (which was lost) was if somebody who has technical 
knowledge and coding skills who can put r1soft into the right track so 
their software can support FreeBSD. Because r1soft is interested in 
supporting FreeBSD.


Most of you probably know that FreeBSD support in products of commercial 
companies are scarce already. This is causing reductions in user base 
and popularity, although I am not saying that the more users are the 
better or I am not saying that popularity is everything. But you have to 
be able to combine one issue with another and see what the results might 
be in the long run. For example, wouldnt it be good for FreeBSD itself 
if Oracle supported FreeBSD? While I cant make Oracle to support 
FreeBSD, there is a company out there with a popular and quality product 
which is interested in supporting FreeBSD in their products. So why not 
take advantage of the situation?


While I didnt think about some details when I sent the first post, some 
people thought that I would want somebody to code for r1soft for free so 
they can sell the software. No I do not and did not expect anybody to do 
anything for free.


So, to summarize, if there is anybody who wants to help the 'actual' 
issue here, either by getting payed or just giving free hints and tips 
to r1soft then please contact me (I can forward your contact info) or 
with r1soft. Dag-Erling Smørgrav already told me that I can send his 
info and I have sent his contact info to r1soft for this issue.


I hope we can now stop arguing about all the other things :) It wasnt my 
intention to start such arguments.


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


Re: continuous backup solution for FreeBSD

2008-10-08 Thread Evren Yurtesen

Shaun Amott wrote:

On Tue, Oct 07, 2008 at 12:31:58AM +0300, Evren Yurtesen wrote:
so FreeBSD could be supported also. As you can imagine, it is not only 
important that data can be restored when a box hardware failure etc. it is 
also important that data can be restored if deleted by accidents etc. While 
traditional backup programs provide this functionality, you cant really go 
back to 10 min or 1h ago, often they take daily backups and have to scan 
whole filesystem for changed files every time the backup is taken which 
stresses out the systems.




This can (more or less) be achieved with snapshots: you can cheaply
maintain old versions of the file system, and mount an old snapshot at
any time. Hourly is about as fine-grained as you can expect though.



The documentation says one cant do more than 20 snapshots.
http://www.freebsd.org/doc/en/books/handbook/snapshots.html

Although 20 could be enough combined with a normal backup program. As 
far as I understand creating snapshots will consume disk space, and 
freeze the disk writes for a certain amount of time, every time (I read 
5 seconds for 8GB system 
http://www.wave2.org/2007/10/08/mysql-snapshots-on-freebsd/ ) snapshot 
is created. The snapshots are stored in the local filesystem and it 
would require manually transferring the data to a remote machine.


More importantly, as far as I understand, if the hard drive totally 
fails, there would be no way to restore a snapshot anymore unless we 
have a dump of the whole filesystem and first restore it and make sure 
everything is exactly at the right blocks in the drive. No?


Although this probably could be worked out. In my opinion it requires a 
lot of work, Bbt thanks for the advice. Just that I would rather pay a 
small amount of fee and use Linux and use a continous backup software 
which works as easy as install and run. Which also provides utilities 
for easily recovering files or the whole filesystem or disk.


Thanks again for pointing out snapshots. It is more or less suitable :)

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


Re: continuous backup solution for FreeBSD

2008-10-08 Thread Evren Yurtesen

Outback Dingo wrote:

one answer...  www.bakbone.com http://www.bakbone.com



Unfortunately if you check their compatibility matrix you can see that I 
have to use Linux to be able to do CDP :)

http://www.bakbone.com/docs/NetVault_Backup_Supported_Platforms_October_2008.pdf
or am I reading this wrong?

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


Re: continuous backup solution for FreeBSD

2008-10-08 Thread Evren Yurtesen

Zaphod Beeblebrox wrote:
On Wed, Oct 8, 2008 at 4:14 AM, Dag-Erling Smørgrav [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Zaphod Beeblebrox [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
writes:
  Dag-Erling Smørgrav [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
writes:
   What really annoys me with this thread is that nobody has provided
   any information at all that would allow someone to understand what
   needs to be done and estimate how hard it would be.
  Well... I hinted that a hammer port would be sufficient (although
they
  need to finish their replication design) and I hinted that the hammer
  approach may be graftable to ZFS.  Both reasonably large effort-wise
  (but probably within the scope of a single developer with sufficient
  time).

No...  you're so far off the mark it's not even funny, especially when
it's been repeatedly pointed out to you.  This is not a file system,
it's a backup system.  It's not designed to survive a disk crash or an
accidental file deletion, it's designed to survive a direct missile
strike on your colo center.

To quote Wikipedia, CDP is a service that captures changes to data to a
separate storage location - emphasis on separate.


Wow... thanks for the flame, but there's no reason that the  device that 
is receiving the hammer replication couldn't be on the other side of the 
globe and there's no reason it couldn't be considered a backup.  Part of 
the advantage of the structure that allows you to efficiently select for 
new changes allows you to do the same kind of *backup* as they claim.




Wouldnt that device need to keep the whole filesystem? Like if you have 
10 machines with 10x 1GB drives (lets say each used about 250gb), you 
will need 10TB disk space in the backup server?

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


Re: continuous backup solution for FreeBSD

2008-10-07 Thread Evren Yurtesen
I think here might be a misunderstanding. I was talking about a reliable backup 
solution whereas you guys are all the time talking about mirroring and 
replication type solutions. Since you cant be thinking that mirroring and 
replication can replace backup, there must be a misunderstanding?


Zaphod Beeblebrox wrote:



 From my reading, Hammer is much more than a filesystem, but then you 
probably havn't read about it yet.  By my reading, Hammer hits all their 
feature points and does it better _because_ it's a filesystem.


I glanced through these actually:
http://www.dragonflybsd.org/hammer/
I didnt see anywhere that it will replace backup programs?

It's relatively simple.  Database replication solves the data backup 
problem (I don't store application data outside the database).  Database 
replication for both MySQL and PostgreSQL is relatively straight 
forward.  As for the configuration of code and servers --- that is taken 
care of with configuration management (it's really a bigger issue than 
just backing up a filesystem) and installing a new server to take a 
place in the cluster is a straight forward checkout from the CM system.  
For things I really care about staying up, add VRRP and an application 
design that is fault tolerant.


Have you ever tried to restore data from MySQL replication logs? :) Even if you 
use binary logging, when you want to go back in time. You will need to first 
restore the whole database first from normal backups then replay the logs until 
the point that you wanna be. There is no simple way to go back in time. That is 
of course you have backups. If you dont have backups because you think 
replication is a backup solution, you would be screwed. Totally more complicated 
that clicking from the web to select data and time and table and restore!


Also, you are thinking about a very small sized system. While replication might 
work if you are relatively small sized company (like 1-2 servers). If you have 
many independent servers with different databases inside you just cant use it. 
Even if you could replicate multiple boxes into one box, there would eventually 
be problems such as same named databases etc. and even then, you cant just 
easily restore the data if the user deletes all his data in his tables.


Also that is not practical for users at all. For example I cant give an option 
to the user to restore his data by himself. While that is possible with most 
backup software easily.


About VRRP etc. I already told that I am not talking about redundancy here. You 
are talking about totally different things. I need data protection.


This actually works rather well if you do your research.  Database 
replication is possible at all kinds of different link speeds and 
distances.  Database replication also allows you to control your data 
better --- you know more about your data than a block replicator would.  
It means that your backup is already live and it means that, with the 
right scripts, invoking a backup on primary failure is simple.  Database 
replication on some databases even allows you to preserve transactions 
--- which is important in some cases.


And how do you propose that I restore a table in the database to of 1h before 
status? like you can do with a data backup solution? You are talking about a 
spare server solution not backup solution. Replication IS NOT backup. If you 
look at articles and information about database replication, almost all mention 
that it DOES NOT replace backups.


Well... no.  Backup software and strategies are just one available tool 
for risk mitigation.  To know what tools you require, you must define 
your risks.  Then with your list of risks you look at the cost of each 
tool and find the toolset that suits you.  By the responses in this 
thread, it seems like the set of FreeBSD developers and the set of 
people who desire this solution are disjoint.


Right, I just cant use the tool I require. There is no way to take near 
continuous backups of FreeBSD filesystems.


Actually... as some obligatory positive content, the time travel 
features of Hammer should be straightforward to implement in ZFS... are 
ZFS modules supported on FreeBSD yet?  It would seem to be a logical module.


Those features work within the filesystem, you there is no mention of mirroring 
to a remote hard drive, if you could mirror to a remote hard drive, you couldnt 
easily mirror 10 machines into 1 remote hard drive, even if you could do that, 
it would require total disk space of all those 10 drives to exist in that 1 
backup server. Even if you could overcome that, this would mean that all FreeBSD 
users wanting to take advantage of such system to convert their filesystems. 
Even if it was easy enough, there is no GUI tools to allow users exist in those 
systems to restore files by themselves easily.


As you can see, none of the solutions you are suggesting is anywhere near simple 
solutions which can replace near continous backup 

continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Hello,

As far as I can see, there is no continuous backup solution for FreeBSD at the 
moment. I talked with R1Soft and they seem to not be able to support FreeBSD and 
need help.


Does anybody have free time and skills to give a hand? Please see:
http://forum.r1soft.com/showpost.php?p=3414postcount=9

I know people who want to switch to using FreeBSD but cant do that because their 
backup solution (R1Soft) does not support FreeBSD :(


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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Bob Bishop wrote:


Does anybody have free time and skills to give a hand? Please see:
http://forum.r1soft.com/showpost.php?p=3414postcount=9


Should be possible to do this with a geom(4) class?



I am not saying it is impossible. They just need somebody to put them to 
right track I guess. I personally cant do that. It would be nice if 
somebody who has knowledge in this area contacts r1soft. At the very 
least r1soft seems to be willing to communicate on this issue.


Continuous backups as well as bare-metal-restore seem to be a key 
feature for many hosters. FreeBSD is loosing users because of this issue.


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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Vlad GALU wrote:

On Mon, Oct 6, 2008 at 5:33 PM, Evren Yurtesen [EMAIL PROTECTED] wrote:

Bob Bishop wrote:


Does anybody have free time and skills to give a hand? Please see:
http://forum.r1soft.com/showpost.php?p=3414postcount=9

Should be possible to do this with a geom(4) class?


I am not saying it is impossible. They just need somebody to put them to
right track I guess. I personally cant do that. It would be nice if somebody
who has knowledge in this area contacts r1soft. At the very least r1soft
seems to be willing to communicate on this issue.

Continuous backups as well as bare-metal-restore seem to be a key feature
for many hosters. FreeBSD is loosing users because of this issue.


   gmirror+ggate come to mind as a nifty solution ...


That allows mirroring however not a very practical solution. You would 
need to mirror every drive in another machine and you cant restore the 
drives into a earlier time.


I am talking about a real backup solution where the backup agent 
collecting the information about written sectors and sending to backup 
server. You can then restore a file which existed in the box 1 hour ago 
if you need to.


For example think about a situation where a server is processing 
important data which shouldnt get lost. A software failure wipes out the 
hard drive. You would loose all the data in the mirror as well. Also the 
setup of such mirroring system would be rather complicated. In addition 
to that, the mirroring does not support for example restore of mysql 
databases in table level. Think about a customer who wiped out his 
database accidentally. All the data would be gone in the mirror as well.


With near continuous backup you can restore the data to just moments 
before the deletion process. Traditional backup systems at best daily 
backups, even if you could restore the data, the data could be up to 1 
day old.


More on that subject, r1soft supports multiple hosting control panel 
softwares. For example H-Sphere ( http://www.parallels.com/hsphere/ ) 
etc. through plugins which allow hosting customers to restore their own 
data easily. Something impossible with gmirror+ggate combination (since 
it does not actually backup the data and only mirror it) and not even 
practical if it was possible, if you have thousands of users.


Actually, I am not saying that anybody should be doing about this and 
neither am I an r1soft advocate. I am just pointing out that there is a 
company out there which can provide a valuable software tool and they 
need somebody to put them into right direction only. If you know some 
FreeBSD developers who know the disk subsystem and can help R1Soft then 
you can perhaps forward this information to them.


This not a feature or help request and I just am mentioning this. 
However you can imagine that a company which is giving online services 
on a serious scale probably would be interested in a CDP solution. It is 
currently impossible with FreeBSD. This makes using FreeBSD servers on 
critical applications a little bit insecure data protectionwise thus 
often people prefer Linux which is supported by such continuous data 
protection type backup solutions. (not that I am advocating FreeBSD or 
Linux here but this is the situation).


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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Zaphod Beeblebrox wrote:
On Mon, Oct 6, 2008 at 10:33 AM, Evren Yurtesen [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


[regarding r1soft.com http://r1soft.com, ...]
 


I am not saying it is impossible. They just need somebody to put
them to right track I guess. I personally cant do that. It would be
nice if somebody who has knowledge in this area contacts r1soft. At
the very least r1soft seems to be willing to communicate on this issue.

Continuous backups as well as bare-metal-restore seem to be a key
feature for many hosters. FreeBSD is loosing users because of this
issue.


Actually, having looked at the site, the hammer filesystem and it's 
replication strategy seem to be the most applicable technology (but then 
you wouldn't even need these guys --- you'd be doing it yourself).  Like 
anything, though, live applications will require special treatment.  
Keeping a live filesystem replicated does in no way guarentee that your 
database (for instance) will be sane at any particular moment.  It 
sounds like these guys have made allowances for MySQL (they specifically 
mention it), but this won't help the PostgreSQL users, etc.


I think you didnt get the point here. Replication or mirroring != 
backup. You cant return back to how things were 1 hour ago.


Also they support postgresql as well (while its usage is way smaller 
than mysql)

http://www.r1soft.com/CDP_db_postgreSQL.html

In any case, the product guarantees that it can return your databases to 
any point in the time. Do you see what you are missing? :)


I've spent a lot of time thinking about redundancy and I've come to one 
inescapable conclusion: That the further up the stack you design for 
redundancy, the cheaper and easier it becomes.  Most databases have 
replication strategies of one type or another that don't require exotic 
hosting solutions to work.


The idea/problem is not redundancy here, it is data protection.

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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Sean Bruno wrote:

Evren Yurtesen wrote:

Hello,

As far as I can see, there is no continuous backup solution for 
FreeBSD at the moment. I talked with R1Soft and they seem to not be 
able to support FreeBSD and need help.


Does anybody have free time and skills to give a hand? Please see:
http://forum.r1soft.com/showpost.php?p=3414postcount=9

I know people who want to switch to using FreeBSD but cant do that 
because their backup solution (R1Soft) does not support FreeBSD :(


Thanks,
Evren
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
HmmmWell, my company (MiraLink) makes a BSD based appliance that 
mirrors block level changes between two units.


It's commercial, not BSD licensed, but it's something.

www.miralink.com

sean




Hello Sean,

Thanks for the link. The miralink products seem to be doing data replication 
similar to gmirror+ggate? This wont protect against accidental deletion of data etc.


The near continuous backup solutions do not mirror/replicate the data. Think 
about it as continuously taking backup. You can return back to 10 minutes or 1 
hour before and restore old data.


In either case, I wasnt trying to start a debate between backup solutions etc. 
here. I simply wanted to ask for help if somebody who has in depth knowledge 
about disk subsystems of FreeBSD and can give some tips to r1soft so FreeBSD 
could be supported also. As you can imagine, it is not only important that data 
can be restored when a box hardware failure etc. it is also important that data 
can be restored if deleted by accidents etc. While traditional backup programs 
provide this functionality, you cant really go back to 10 min or 1h ago, often 
they take daily backups and have to scan whole filesystem for changed files 
every time the backup is taken which stresses out the systems.


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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Volker wrote:

On 12/23/-58 20:59, Evren Yurtesen wrote:

Hello,

As far as I can see, there is no continuous backup solution for FreeBSD
at the moment. I talked with R1Soft and they seem to not be able to
support FreeBSD and need help.

Does anybody have free time and skills to give a hand? Please see:
http://forum.r1soft.com/showpost.php?p=3414postcount=9


Quoting the thread:

and they are usually very busy... and they like to work for hire.


Wrong term: Even open source folks need something for living. That's too
cheap and I don't suggest supporting a company like this, as they're
expecting somebody else to do their job and make profit of it.

They're free to use a system like FreeBSD for their products, they're
free to modify and redistribute it but they need to do their job and
don't expect anybody else to code for them for free.



I agree, perhaps whoever can help than can ask for money for the job done and I 
am sure they would pay reasonably since this is a commercial company. But as far 
as I can see people here do not even know the difference between near continous 
backup and mirroring. I just wanted to inform that there is such solutions 
nowadays available but FreeBSD users are not able to take advantage of them and 
the company who is making the product is interested in supporting FreeBSD but 
perhaps somebody who has experience can give some hints to them. They actually 
do not think that it is an easy job to adapt their software to support FreeBSD 
even. See this post:

http://forum.r1soft.com/showpost.php?p=4224postcount=3



Next quote of thread:

real world competency writing block device drivers for FreeBSD


Let me check that out...
%ls -l /dev | grep ^b
%

Well, I guess, nobody is able to do so and it's noted in the handbook or
in GNN's The Design and Implementation of the FreeBSD operating
system. A good read.


You can go ahead and explain it to r1soft or any other software company which 
makes near continuous backup solutions. So maybe they can find this information 
and improve their product. So far at least this company thinks that this is 
impossible to do with FreeBSD as far as I can tell.



I know people who want to switch to using FreeBSD but cant do that
because their backup solution (R1Soft) does not support FreeBSD :(


What's wrong with solutions like Bacula? It's working, cross platform,
well supported.


Do you know what is near continuous backup solution or ever heard of such 
technologies? I dont see how you can compare this with Bacula. They are not the 
same thing really. I can tell you one thing which is wrong with Bacula, it scans 
the whole filesystem everytime it takes a backup even incremental backups (while 
this disk io loading operation is unnecessary with CDP), and Bacula cant restore 
your data to what there was 10 minutes ago at any time of the day.



And now, go ahead and flame me for not doing work for free for other
peoples profit but I'm pretty sure there won't be much guys wanting to
do that.


There is nothing to flame or blame really. I can only blame my own stupidity. I 
posted this information here in hopes that somebody capable can give some hints 
to r1soft or to another near continuous backup solution so we could all benefit.


But what do I get? All I get is information about solutions which mirror / 
replicate the data or suggestions of standard backup programs. I am not even 
surprised that FreeBSD is not supported. FreeBSD users do not even know the 
difference between a CDP solution or mirroring / replication or traditional 
backup... Go figure... If you dont know what is CDP then please read and learn 
(there are links to wikipedia articles in this address also)

http://www.r1soft.com/CDP.html

I never told that anybody should make the software ready for selling by another 
company for free, neither the post in the thread is asking for somebody to write 
a driver for free. The company obviously understands that such job requires an 
expert who works for money. They probably wouldnt mind if somebody wrote it for 
free to them (who wouldnt) but it doesnt say that they wouldnt pay. If you can 
do the job, please contact the company and give your price. If they tell that 
they want it done for free, then come and complain that they want it done for free.


I am sorry if I was a little bit out of line here but a simple question became 
an unnecessary debate really. It was more or less a yes or no question :)


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


Re: continuous backup solution for FreeBSD

2008-10-06 Thread Evren Yurtesen

Zaphod Beeblebrox wrote:
Actually, right back at you.  You didn't fathom the meaning in my 
statement.  While your post was vague, I read the company's website to 


I am sorry what was vague since I wrote 'continuous backup' in my post? The 
whole idea is such a basic idea that if you put this to google you can get 
wikipedia entry about it in first 3 results (I see in 2nd). Maybe you didnt know 
anything about it makes it vague to you. The message I sent was quite clear and 
plain.


determine the featureset they were claiming (although I missed their 
postgres support --- I only read the features page).  NetBSD's hammer 
filesystem achieves replication at the filesystem layer (which will do 
infinitely better at this problem than a block-only driver) by 
maintaining a history of what's happened and being able to select (as 
in the database term) changes to the filesystem that have occurred since 
the last batch of blocks were shiped out to replication.  This gives you 
both fine grained recovery (basically changes to files are kept until 
your rules define they should be freed) and replication and fine 
grained recovery on the other side of replication.   In fact, Hammer 
delivers what they claim in a far more sophisticated way.


You might want to read this page too:
http://www.r1soft.com/CDP.html


(but it's NetBSD, not FreeBSD, unless someone decides to port it)


While Hammer might be doing a similar job, it is a filesystem not a backup 
application and it wont replace backups. It doesnt just store the data in a 
backup server. While eventually it might become a backup solution, it will take 
years before that can happen. Even then, people will not just switch their 
current filesystems overnight. The CDP backup softwares are available today, it 
just needs a sort of driver to function in current system.



Also they support postgresql as well (while its usage is way smaller
than mysql)
http://www.r1soft.com/CDP_db_postgreSQL.html

In any case, the product guarantees that it can return your
databases to any point in the time. Do you see what you are missing? :)


Well... I am not missing it.  I have that without making my filesystem 
jump through an enormous hoop.  But designing my application 
correctly, I have that feature for far less effort.  (that was the other 
point of my post)


Can you just explain how can one currently do that in FreeBSD? Is it as easy as 
in Linux with CDP backup softwares? such as installing a program and done?


 


I've spent a lot of time thinking about redundancy and I've come
to one inescapable conclusion: That the further up the stack you
design for redundancy, the cheaper and easier it becomes.  Most
databases have replication strategies of one type or another
that don't require exotic hosting solutions to work.


The idea/problem is not redundancy here, it is data protection.


Well... no... you don't need fine grained filesystem history for data 
integrity (unless you let loose a bunch of summer students armed with 
the ability to RM or your application is faulty (in which case, your 
filesystem won't protect you).  As I said, This can all be achieved with 
other far simpler solutions.  However, if your dev team isn't smart 
enough (or don't care for some reason), then you can take advantage of 
their product and pay their price.


There is no perfect system. This is exactly why people take backups. If what you 
said was applicable then there wouldnt be any need for backup software. People 
would just make sure that they dont loose their data. In addition to this, I 
have no control of if my customer will delete his/her data accidentally. I cant 
make a system which does not allow customers to delete data.


I have given an example of a simple solution that Linux users can utilize (which 
obviously we also can utilize if we put our heads into it and give some 
directions as r1soft is willing to support FreeBSD). While you are first saying 
that these can be achieved with far simpler solutions, at the same time you are 
saying that the dev team must be smart enough.


My solution is simple enough to write here. You install Linux on all machines 
and then CDP backup server on the backup server and CDP agent on the client 
machines, is yours simpler? Then explain how we can create similar sort of data 
protection?


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


powerd feature proposal...(and a small problem)

2007-08-08 Thread Evren Yurtesen

Hi,

The problem is with an 8 processor system. If a process is not threaded and 
starts using 100% cpu time of a single processor, the system still shows over 
80% idle. Whereas this single process works really slow if the system is already 
at the slowest speed. Is there a simple way to fix this problem? It is not so 
big problem but sometimes it is quite annoying :)


Also I am currently using acpi_ppc 
(http://www.spa.is.uec.ac.jp/~nfukuda/software/) for adaptive CPU speeds on some 
machines. It gives performance statistics like:


hw.acpi.cpu.px_supported: 2200 1800 800
hw.acpi.cpu.px_usage: 3.33% 3.33% 93.33%

Is it possible for powerd to create similar sysctl entries?

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


Re: powerd feature proposal...(and a small problem)

2007-08-08 Thread Evren Yurtesen

George Hartzell wrote:

Evren Yurtesen writes:
  Hi,
  
  The problem is with an 8 processor system. If a process is not threaded and 
  starts using 100% cpu time of a single processor, the system still shows over 
  80% idle. Whereas this single process works really slow if the system is already 
  at the slowest speed. Is there a simple way to fix this problem? It is not so 
  big problem but sometimes it is quite annoying :)

  [...]

I edited /etc/rc.d/powerd and just after the command line I added

  command_arg=-r 84 -i 93

[values determined by trial and error]

g.


I believe you can set those in powerd_flags= in /etc/rc.conf also.
But that is not a good solution. Do we have to calculate this manually? :)

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


Re: alias netmask bug?

2007-07-24 Thread Evren Yurtesen

Jeremy Chadwick wrote:

On Tue, Jul 24, 2007 at 03:34:54AM +0300, Evren Yurtesen wrote:
 I remember from earlier versions of FreeBSD that it had a restriction about 
 alias IP netmasks (somewhere in 3.x,4.x days)...


 as explained here:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html

 However I tried on the loopback interface to add a 2nd IP with the same 
 netmask as the original IP and it accepts it fine. (on 6.2)


 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 inet 127.0.0.2 netmask 0xff00

 Is FreeBSD allowing this a bug or ???


It's not a bug.  Why did you disregard the instructions, though?


I didnt disregard the instructions. I read somebody suggesting not using 
255.255.255.255 in some forum. Then I tried it out and FreeBSD accepted the 
netmask for the alias IP.


Why does FreeBSD accept such netmask which can cause problems when earlier it 
was rejecting it?


 If this is not a bug. What happens if an interface which is connecting to 
 the machine has 2 IP addresses with same netmask which is not 
 255.255.255.255? Does FreeBSD use each IP randomly?


Don't know, but my guess is no, it probably does not use each IP
randomly, and I cannot even fathom the network breakage that would
ensue as a result of such.


I understand, I will try to test that sometime to see what FreeBSD does in this 
kind of situation.


However, it might be nice if ifconfig did not allow this kind of wrong setting.

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


alias netmask bug?

2007-07-23 Thread Evren Yurtesen

Hi,

I remember from earlier versions of FreeBSD that it had a restriction about 
alias IP netmasks (somewhere in 3.x,4.x days)...


as explained here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html
-
The calculation of alias netmasks is important, but fortunately quite simple. 
For a given interface, there must be one address which correctly represents the 
network's netmask. Any other addresses which fall within this network must have 
a netmask of all 1s (expressed as either 255.255.255.255 or 0x).

-

However I tried on the loopback interface to add a 2nd IP with the same netmask 
as the original IP and it accepts it fine. (on 6.2)


lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet 127.0.0.2 netmask 0xff00

Is FreeBSD allowing this a bug or ???

If this is not a bug. What happens if an interface which is connecting to the 
machine has 2 IP addresses with same netmask which is not 255.255.255.255? Does 
FreeBSD use each IP randomly?


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


any plans to enhance 'locate'?

2007-04-13 Thread Evren Yurtesen

Hi,

I am wondering if there are any plans to enhance the locate
command. As you know, Linux slocate is storing file owner/perm
info into database and it is able to show all files when the
user is root compared to FreeBSD locate where you can only search
files which can be listed by nobody user.

I realized that this comes very handy when I am looking for
certain files if I can see the files owned by root 'only' when
I am root.

Is there a reason why there is no port for slocate or the FreeBSD
locate to not to be enhanced this way?

There seems to be a port for this for Mac OS X:
http://slocate.darwinports.com/dports/sysutils/slocate/

There are people trying to do workarounds:
http://freebsd.munk.me.uk/archives/207-Let-root-see-all-files-with-locate.html

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


jail cpu/memory resource limits question

2007-04-09 Thread Evren Yurtesen

Hi,

FreeBSD supports jail cpu/memory resource limits.
http://wiki.freebsd.org/JailResourceLimits

I hear that these are very inefficient (compared to FreeVPS for example)
and with over 1000 processes it creates noticable overhead. Is this true?

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


Re: logitech cordless optical mouse problems...

2004-01-01 Thread Evren Yurtesen
Yes, but the keyboard mouse I mentioned is working without any resets in
Linux and Windows. So it cant be faulty hardware

Evren

On Wed, 31 Dec 2003, Peter Dufault wrote:

 
 On Dec 30, 2003, at 11:31 AM, Evren Yurtesen wrote:
 
  The funny thing is that this works in Windows and Linux. So how come it
  doesnt work in FreeBSD without any physical change? I think this is a 
  bug
  in FreeBSD.
 
 Some of these mouse/keyboards are weird.  I've used one on FreeBSD in 
 the past, and it would work for weeks, and then the mouse or the 
 keyboard would stop working even through reboots.  I had to go through 
 combinations of resetting the logitech hardware to get it to work 
 again.  I found the sequence on Logitech's website, it was something 
 like reset all three pieces, unreset the wireless part, then unreset 
 the keyboard and mouse.
 
 I'm currently using this mouse/keyboard on a Windows system.  I have to 
 unplug and replug the USB connection after the system powers up to get 
 Windows to find the mouse, at first it powers up only with the 
 keyboard.  100% reproducible.
 
 I have a newer version and don't have any problems.
 
 Peter Dufault
 HD Associates, Inc.
 
 

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


logitech cordless optical mouse problems...

2003-12-30 Thread Evren Yurtesen
This mouse has a USB connection and PS/2 connection to the computer. The
keyboard works but the mouse doesnt.

I tried to use ums0 device and with moused I tried sysmouse device
but none makes any effect in X.

I have found from google that this mouse(or similar) works in netbsd.
http://starling.us/gus_netbsd/gus_netbsd_logitech_cordless_optical_mouse.html

The mouse I am talking about is working under windows and in many
different flavors of Linux!

Thanks, here is dmesg. Can there be a driver for this mouse that you guys
forgot to import from netbsd or ? (as you can see that I have even
recently cvsupped a 5.2-rc2 system but it still didnt solve the problem)

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a33000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a331f4.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 335478784 (319 MB)
avail memory = 316243968 (301 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ABIT   AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdf00
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
ACPI-0175: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 -
AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff
on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: slot 7 INTD is routed to irq 11
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 17 INTA is routed to irq 11
agp0: Intel 82443BX (440 BX) host to PCI bridge mem
0xd200-0xd2ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib0: slot 1 INTA is routed to irq 12
pcib1: slot 0 INTA is routed to irq 12
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f irq 11
at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ukbd0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
kbd1 at ukbd0
ums0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem
0xd400-0xd4ff irq 10 at device 11.0 on pci0
rl0: Ethernet address: 00:0a:cd:05:db:36
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: multimedia, audio at device 17.0 (no driver attached)
pci0: input device at device 17.1 (no driver attached)
fdc0: cannot reserve I/O port range (1 ports)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x3bc-0x3c3 irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
fdc0: cannot reserve I/O port range (1 ports)
orm0: Option ROMs at iomem 0xcc000-0xc,0xc-0xc8fff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: cannot reserve I/O port range (6 ports)
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 334092891 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad0 dp=0xc34bc460
ad0: 114498MB SAMSUNG SV1204H [232632/16/63] at ata0-master UDMA33
GEOM: create 

Re: logitech cordless optical mouse problems...

2003-12-30 Thread Evren Yurtesen
That is not the problem. I get nothing
freebsd:/home/staff/yurtesen#cat /dev/ums0 

its empty

But this is a weird mouse, it has USB connection and then PS/2 connection
also. It doesn't work if the PS/2 connector is not connected! I was
thinking that the mouse maybe shows itself from USB but communicates
through PS/2 connector. The reason I think this is that when I disconnect
PS/2 connector, freebsd still finds ums0 device.

Evren

On Tue, 30 Dec 2003, William Michael Grim wrote:

 A good test is to kill moused on your system and drop into a console.
 Here, do cat /dev/ums0 and move the mouse around a little bit.  If a
 bunch of random characters begin appearing, your mouse is working just
 fine and you've probably chosen the wrong protocol to use with XFree86.
 With USB mice, you sometimes need to use the auto protocol.
 
 BTW, you can not disable moused on bootup by disabling it in /etc/rc.conf.
 I plan to write a patch or something for this sometime because it's
 annoying.
 
 Best of luck!
 
 William Michael Grim
 Student, Southern Illinois University at Edwardsville
 Unix Network Administrator, SIUE, Computer Science dept.
 Phone: (217) 341-6552
 Email: [EMAIL PROTECTED]
 
 
 
 On Tue, 30 Dec 2003, Evren Yurtesen wrote:
 
  This mouse has a USB connection and PS/2 connection to the computer. The
  keyboard works but the mouse doesnt.
  
  I tried to use ums0 device and with moused I tried sysmouse device
  but none makes any effect in X.
  
  I have found from google that this mouse(or similar) works in netbsd.
  http://starling.us/gus_netbsd/gus_netbsd_logitech_cordless_optical_mouse.html
  
  The mouse I am talking about is working under windows and in many
  different flavors of Linux!
  
  Thanks, here is dmesg. Can there be a driver for this mouse that you guys
  forgot to import from netbsd or ? (as you can see that I have even
  recently cvsupped a 5.2-rc2 system but it still didnt solve the problem)
  
  Copyright (c) 1992-2003 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
  FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  Preloaded elf kernel /boot/kernel/kernel at 0xc0a33000.
  Preloaded elf module /boot/kernel/acpi.ko at 0xc0a331f4.
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0x660  Stepping = 0
  
  Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  real memory  = 335478784 (319 MB)
  avail memory = 316243968 (301 MB)
  Pentium Pro MTRR support enabled
  npx0: [FAST]
  npx0: math processor on motherboard
  npx0: INT 16 interface
  acpi0: ABIT   AWRDACPI on motherboard
  pcibios: BIOS version 2.10
  Using $PIR table, 7 entries at 0xc00fdf00
  acpi0: Power Button (fixed)
  Timecounter ACPI-safe frequency 3579545 Hz quality 1000
  ACPI-1287: *** Error: Method execution failed
  [\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
  ACPI-0175: *** Error: Method execution failed
  [\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
  can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 -
  AE_AML_UNINITIALIZED_LOCAL
  acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
  acpi_cpu0: CPU on acpi0
  acpi_button0: Power Button on acpi0
  pcib0: ACPI Host-PCI bridge port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff
  on acpi0
  pci0: ACPI PCI bus on pcib0
  pcib0: slot 7 INTD is routed to irq 11
  pcib0: slot 11 INTA is routed to irq 10
  pcib0: slot 17 INTA is routed to irq 11
  agp0: Intel 82443BX (440 BX) host to PCI bridge mem
  0xd200-0xd2ff at device 0.0 on pci0
  pcib1: PCI-PCI bridge at device 1.0 on pci0
  pci1: PCI bus on pcib1
  pcib0: slot 1 INTA is routed to irq 12
  pcib1: slot 0 INTA is routed to irq 12
  pci1: display, VGA at device 0.0 (no driver attached)
  isab0: PCI-ISA bridge at device 7.0 on pci0
  isa0: ISA bus on isab0
  atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1
  on pci0
  ata0: at 0x1f0 irq 14 on atapci0
  ata0: [MPSAFE]
  ata1: at 0x170 irq 15 on atapci0
  ata1: [MPSAFE]
  uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f irq 11
  at device 7.2 on pci0
  usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
  usb0: USB revision 1.0
  uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  ukbd0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
  kbd1 at ukbd0
  ums0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
  ums0: 7 buttons and Z dir.
  pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
  rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem
  0xd400-0xd4ff irq 10 at device 11.0 on pci0
  rl0: Ethernet address: 00:0a:cd:05:db:36

Re: logitech cordless optical mouse problems...

2003-12-30 Thread Evren Yurtesen
It is not the problem. I have setup mouse many times in FreeBSD before.

freebsd:/home/staff/yurtesen#ls -al /dev/ums0 
crw-r--r--  1 root  operator  111,   0 Dec 30 19:56 /dev/ums0
freebsd:/home/staff/yurtesen#

The mouse just doesnt work under FreeBSD.
The usbd is running and it runs moused automatically
I tried killing moused and using the command
cat /dev/ums0
but I dont get anything to screen when I use my mouse.

This mouse is working with PS/2 for sure but it shows itself as a USB
mouse. Under the mouse the model number is

M/N: M-RR67A
Cordless Optical mouse

I have also found another person who has the same problem from google. He
couldnt find a solution either. I am sure this requires a bit source
tweaking...

Evren

On Tue, 30 Dec 2003, Ryan Sommers wrote:

 On Tue, 2003-12-30 at 08:54, Evren Yurtesen wrote:
  I tried to use ums0 device and with moused I tried sysmouse device
  but none makes any effect in X.
  
 
 Sysmouse is the device moused sets up, you can't just use it. 
 
 Try this:
 killall -9 moused
 moused -t auto -p /dev/ums0
 vidcontrol -m on
 
 if you can see a mouse cursor when you move the mouse around then you
 can use that and /dev/sysmouse as your device in X.
 
 Also, do you have usbd running? (ps -xa|grep usbd)
 If you don't have usbd running then I don't think you'll get a /dev/ums0
 in devfs.
 
 -- 
 Ryan leadZERO Sommers
 Gamer's Impact President
 [EMAIL PROTECTED]
 ICQ: 1019590
 AIM/MSN: leadZERO
 
 -= http://www.gamersimpact.com =-
 
 
 


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


Re: logitech cordless optical mouse problems...

2003-12-30 Thread Evren Yurtesen
If I plug out the USB portion, then I cant use the keyboard anymore!
But I will try plugging out the PS/2 section, then send email again.

The funny thing is that this works in Windows and Linux. So how come it
doesnt work in FreeBSD without any physical change? I think this is a bug
in FreeBSD.

Also I wonder if it is possible to use the normal ps/2 keyboard and the
wireless usb keyboard at the same time? This also works in Linux and
Windows. I know that I can change the keyboard in use by changing the
devices from kbd0 to kbd1 etc. But in Windows and Linux both keyboards
work simultaneously without any change.

Thanks
Evren

On Tue, 30 Dec 2003, William Michael Grim wrote:

 Have you tried unplugging the USB portion and just running off of PS/2 or
 vice-versa?  I find it hard to believe that a mouse would need to be
 plugged into both at once in order to operate.  Running part of the
 connection through PS/2 and part through USB might increase speed (you
 know, if it worked), but the extra speed would be wasted, since we use
 devices so slowly (compared to how fast a computer operates).
 
 William Michael Grim
 Student, Southern Illinois University at Edwardsville
 Unix Network Administrator, SIUE, Computer Science dept.
 Phone: (217) 341-6552
 Email: [EMAIL PROTECTED]
 
 
 
 On Tue, 30 Dec 2003, Evren Yurtesen wrote:
 
  That is not the problem. I get nothing
  freebsd:/home/staff/yurtesen#cat /dev/ums0 
  
  its empty
  
  But this is a weird mouse, it has USB connection and then PS/2 connection
  also. It doesn't work if the PS/2 connector is not connected! I was
  thinking that the mouse maybe shows itself from USB but communicates
  through PS/2 connector. The reason I think this is that when I disconnect
  PS/2 connector, freebsd still finds ums0 device.
  
  Evren
  
  On Tue, 30 Dec 2003, William Michael Grim wrote:
  
   A good test is to kill moused on your system and drop into a console.
   Here, do cat /dev/ums0 and move the mouse around a little bit.  If a
   bunch of random characters begin appearing, your mouse is working just
   fine and you've probably chosen the wrong protocol to use with XFree86.
   With USB mice, you sometimes need to use the auto protocol.
   
   BTW, you can not disable moused on bootup by disabling it in /etc/rc.conf.
   I plan to write a patch or something for this sometime because it's
   annoying.
   
   Best of luck!
   
   William Michael Grim
   Student, Southern Illinois University at Edwardsville
   Unix Network Administrator, SIUE, Computer Science dept.
   Phone: (217) 341-6552
   Email: [EMAIL PROTECTED]
   
   
   
   On Tue, 30 Dec 2003, Evren Yurtesen wrote:
   
This mouse has a USB connection and PS/2 connection to the computer. The
keyboard works but the mouse doesnt.

I tried to use ums0 device and with moused I tried sysmouse device
but none makes any effect in X.

I have found from google that this mouse(or similar) works in netbsd.
http://starling.us/gus_netbsd/gus_netbsd_logitech_cordless_optical_mouse.html

The mouse I am talking about is working under windows and in many
different flavors of Linux!

Thanks, here is dmesg. Can there be a driver for this mouse that you guys
forgot to import from netbsd or ? (as you can see that I have even
recently cvsupped a 5.2-rc2 system but it still didnt solve the problem)

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a33000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a331f4.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 335478784 (319 MB)
avail memory = 316243968 (301 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ABIT   AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdf00
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
ACPI-0175: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 -
AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power

Re: logitech cordless optical mouse problems...

2003-12-30 Thread Evren Yurtesen
OK My mistake the mouse works only with USB connection (in linux!)
I couldnt test windows but I suspect it would work there too.
The funny thing is that only with PS/2 connector connected. Nothing works
in Linux either. I cant even type at boot time. Well its not that funny
after all. But I dont know what is the purpose of PS/2 connector anymore.
There is a mouse icon on it though ...



On Tue, 30 Dec 2003, William Michael Grim wrote:

 Have you tried unplugging the USB portion and just running off of PS/2 or
 vice-versa?  I find it hard to believe that a mouse would need to be
 plugged into both at once in order to operate.  Running part of the
 connection through PS/2 and part through USB might increase speed (you
 know, if it worked), but the extra speed would be wasted, since we use
 devices so slowly (compared to how fast a computer operates).
 
 William Michael Grim
 Student, Southern Illinois University at Edwardsville
 Unix Network Administrator, SIUE, Computer Science dept.
 Phone: (217) 341-6552
 Email: [EMAIL PROTECTED]
 
 
 
 On Tue, 30 Dec 2003, Evren Yurtesen wrote:
 
  That is not the problem. I get nothing
  freebsd:/home/staff/yurtesen#cat /dev/ums0 
  
  its empty
  
  But this is a weird mouse, it has USB connection and then PS/2 connection
  also. It doesn't work if the PS/2 connector is not connected! I was
  thinking that the mouse maybe shows itself from USB but communicates
  through PS/2 connector. The reason I think this is that when I disconnect
  PS/2 connector, freebsd still finds ums0 device.
  
  Evren
  
  On Tue, 30 Dec 2003, William Michael Grim wrote:
  
   A good test is to kill moused on your system and drop into a console.
   Here, do cat /dev/ums0 and move the mouse around a little bit.  If a
   bunch of random characters begin appearing, your mouse is working just
   fine and you've probably chosen the wrong protocol to use with XFree86.
   With USB mice, you sometimes need to use the auto protocol.
   
   BTW, you can not disable moused on bootup by disabling it in /etc/rc.conf.
   I plan to write a patch or something for this sometime because it's
   annoying.
   
   Best of luck!
   
   William Michael Grim
   Student, Southern Illinois University at Edwardsville
   Unix Network Administrator, SIUE, Computer Science dept.
   Phone: (217) 341-6552
   Email: [EMAIL PROTECTED]
   
   
   
   On Tue, 30 Dec 2003, Evren Yurtesen wrote:
   
This mouse has a USB connection and PS/2 connection to the computer. The
keyboard works but the mouse doesnt.

I tried to use ums0 device and with moused I tried sysmouse device
but none makes any effect in X.

I have found from google that this mouse(or similar) works in netbsd.
http://starling.us/gus_netbsd/gus_netbsd_logitech_cordless_optical_mouse.html

The mouse I am talking about is working under windows and in many
different flavors of Linux!

Thanks, here is dmesg. Can there be a driver for this mouse that you guys
forgot to import from netbsd or ? (as you can see that I have even
recently cvsupped a 5.2-rc2 system but it still didnt solve the problem)

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a33000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a331f4.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 335478784 (319 MB)
avail memory = 316243968 (301 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ABIT   AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdf00
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
ACPI-0175: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc33ec3c0), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 -
AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff
on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: slot 7 INTD is routed to irq 11
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 17

is it possible to change drive identification of hard drive?

2002-12-19 Thread Evren Yurtesen
Hello,

Is it possible to write a different drive identification into the drive
than which is inside?

Thanks!

Evren



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



bind and the limit of serial number ???

2000-04-23 Thread Evren Yurtesen

Hello,

is the bind have 32 bit unsigned integer variable for the serial
number part of the dns records?
if yes, it means that we cant have a number bigger than
4294967296 right? what happens if we have a bigger number?
then bind takes it like modulus 2^32? or it is forbidden to
have a bigger number?

Thanks!

Evren Yurtesen




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



Re: bind and the limit of serial number ???

2000-04-23 Thread Evren Yurtesen

well ours is still working fine !
thats why I asked this question, we did not realize that it went over 32
bit boundary
how can I understand if there is a problem or not?
Evren

On Sun, 23 Apr 2000, Dave Dunaway wrote:

 
 Put a number bigger than 2^32 and it will overflows.
 
  is the bind have 32 bit unsigned integer variable for the serial
  number part of the dns records?
  if yes, it means that we cant have a number bigger than
  4294967296 right? what happens if we have a bigger number?
  then bind takes it like modulus 2^32? or it is forbidden to
  have a bigger number?
 
 -- 
 
 Dave.
 
 
 Dave Dunaway
 [EMAIL PROTECTED]
 



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



nobody knows the answer?

1999-09-01 Thread Evren Yurtesen

Hello,

I have sent this email a 2 days ago but nobody answered yet.
Is there anybody who I can contact with about this?
I need an answer because this is a serious problem for me.

Evren

 Original Message 
Subject: free space problem
Date: Tue, 31 Aug 1999 19:42:10 +0300
From: Evren Yurtesen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Hello,

I am using 3.2-Stable and I have a 9GB disk drive used as cache for
squid proxy. I have changed the min free space with tunefs program to 0
but now I have a problem. Even though I have 250MB free space on the
file system, I get file system full error.

usr/local/squid/cache/disk1: write failed, file system is full
cp: ./backup.28-08-1999.tgz: No space left on device
turkey:/usr/local/squid/cache/disk1#df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/da0s1a25406390875   14286339%/
/dev/da0s1f   3432241  1684020  147364253%/usr
/dev/da0s1e127023 1234   115628 1%/var
/dev/da1s1e   8617428  8363169   25425997%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7696737   92069189%
/usr/local/squid/cache/disk2
procfs  440   100%/proc
turkey:/usr/local/squid/cache/disk1#

the output below is taken later after I deleted that big backup file
with the
-i option of the df command

Filesystem  1K-blocks UsedAvail Capacity iused   ifree  %iused
Mounted
on
/dev/da0s1a25406390875   14286339%5518   57968 9%
/
/dev/da0s1f   3432241  1686306  147135653%   50425  807621 6%
/usr
/dev/da0s1e127023 1243   115619 1% 148   31594 0%
/var
/dev/da1s1e   8617428  7775826   84160290%  700170 145842032%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7717658   89977090%  708745 144984533%
/usr/local/squid/cache/disk2
procfs  440   100%  37 495 7%
/proc
turkey:/root#

how come this is possible? also if now I am not able to use 250MB then
is this mean
that when the min free space was 8% which makes nearly 650MB of space;
the system
was not able to use 650MB of space for the defragmentation etc. stuff?
because
we are not able to access to 250MB so 400MB is left for the space and
time optimazation
thingies?

also if I had 500MB hard drive then 8% would make 40MB but even under
same load
if I had 5000MB hard drive then 8% makes 400MB which is a lot of
space...
is not it possible for ffs to work with 40MB again? why does it need
more space
for time optimization?

Evren Yurtesen
[EMAIL PROTECTED]


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



nobody knows the answer?

1999-09-01 Thread Evren Yurtesen
Hello,

I have sent this email a 2 days ago but nobody answered yet.
Is there anybody who I can contact with about this?
I need an answer because this is a serious problem for me.

Evren

 Original Message 
Subject: free space problem
Date: Tue, 31 Aug 1999 19:42:10 +0300
From: Evren Yurtesen yurte...@ispro.net.tr
To: freebsd-hackers@freebsd.org

Hello,

I am using 3.2-Stable and I have a 9GB disk drive used as cache for
squid proxy. I have changed the min free space with tunefs program to 0
but now I have a problem. Even though I have 250MB free space on the
file system, I get file system full error.

usr/local/squid/cache/disk1: write failed, file system is full
cp: ./backup.28-08-1999.tgz: No space left on device
turkey:/usr/local/squid/cache/disk1#df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/da0s1a25406390875   14286339%/
/dev/da0s1f   3432241  1684020  147364253%/usr
/dev/da0s1e127023 1234   115628 1%/var
/dev/da1s1e   8617428  8363169   25425997%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7696737   92069189%
/usr/local/squid/cache/disk2
procfs  440   100%/proc
turkey:/usr/local/squid/cache/disk1#

the output below is taken later after I deleted that big backup file
with the
-i option of the df command

Filesystem  1K-blocks UsedAvail Capacity iused   ifree  %iused
Mounted
on
/dev/da0s1a25406390875   14286339%5518   57968 9%
/
/dev/da0s1f   3432241  1686306  147135653%   50425  807621 6%
/usr
/dev/da0s1e127023 1243   115619 1% 148   31594 0%
/var
/dev/da1s1e   8617428  7775826   84160290%  700170 145842032%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7717658   89977090%  708745 144984533%
/usr/local/squid/cache/disk2
procfs  440   100%  37 495 7%
/proc
turkey:/root#

how come this is possible? also if now I am not able to use 250MB then
is this mean
that when the min free space was 8% which makes nearly 650MB of space;
the system
was not able to use 650MB of space for the defragmentation etc. stuff?
because
we are not able to access to 250MB so 400MB is left for the space and
time optimazation
thingies?

also if I had 500MB hard drive then 8% would make 40MB but even under
same load
if I had 5000MB hard drive then 8% makes 400MB which is a lot of
space...
is not it possible for ffs to work with 40MB again? why does it need
more space
for time optimization?

Evren Yurtesen
yurte...@ispro.net.tr


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



free space problem

1999-08-31 Thread Evren Yurtesen

Hello,

I am using 3.2-Stable and I have a 9GB disk drive used as cache for
squid proxy. I have changed the min free space with tunefs program to 0
but now I have a problem. Even though I have 250MB free space on the
file system, I get file system full error.

usr/local/squid/cache/disk1: write failed, file system is full
cp: ./backup.28-08-1999.tgz: No space left on device
turkey:/usr/local/squid/cache/disk1#df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/da0s1a25406390875   14286339%/
/dev/da0s1f   3432241  1684020  147364253%/usr
/dev/da0s1e127023 1234   115628 1%/var
/dev/da1s1e   8617428  8363169   25425997%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7696737   92069189%
/usr/local/squid/cache/disk2
procfs  440   100%/proc
turkey:/usr/local/squid/cache/disk1#

the output below is taken later after I deleted that big backup file
with the
-i option of the df command

Filesystem  1K-blocks UsedAvail Capacity iused   ifree  %iused
Mounted
on
/dev/da0s1a25406390875   14286339%5518   57968 9%
/
/dev/da0s1f   3432241  1686306  147135653%   50425  807621 6%
/usr
/dev/da0s1e127023 1243   115619 1% 148   31594 0%
/var
/dev/da1s1e   8617428  7775826   84160290%  700170 145842032%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7717658   89977090%  708745 144984533%
/usr/local/squid/cache/disk2
procfs  440   100%  37 495 7%
/proc
turkey:/root#

how come this is possible? also if now I am not able to use 250MB then
is this mean
that when the min free space was 8% which makes nearly 650MB of space;
the system
was not able to use 650MB of space for the defragmentation etc. stuff?
because
we are not able to access to 250MB so 400MB is left for the space and
time optimazation
thingies?

also if I had 500MB hard drive then 8% would make 40MB but even under
same load
if I had 5000MB hard drive then 8% makes 400MB which is a lot of
space...
is not it possible for ffs to work with 40MB again? why does it need
more space
for time optimization?

Evren Yurtesen
[EMAIL PROTECTED]



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



free space problem

1999-08-31 Thread Evren Yurtesen
Hello,

I am using 3.2-Stable and I have a 9GB disk drive used as cache for
squid proxy. I have changed the min free space with tunefs program to 0
but now I have a problem. Even though I have 250MB free space on the
file system, I get file system full error.

usr/local/squid/cache/disk1: write failed, file system is full
cp: ./backup.28-08-1999.tgz: No space left on device
turkey:/usr/local/squid/cache/disk1#df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/da0s1a25406390875   14286339%/
/dev/da0s1f   3432241  1684020  147364253%/usr
/dev/da0s1e127023 1234   115628 1%/var
/dev/da1s1e   8617428  8363169   25425997%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7696737   92069189%
/usr/local/squid/cache/disk2
procfs  440   100%/proc
turkey:/usr/local/squid/cache/disk1#

the output below is taken later after I deleted that big backup file
with the
-i option of the df command

Filesystem  1K-blocks UsedAvail Capacity iused   ifree  %iused
Mounted
on
/dev/da0s1a25406390875   14286339%5518   57968 9%
/
/dev/da0s1f   3432241  1686306  147135653%   50425  807621 6%
/usr
/dev/da0s1e127023 1243   115619 1% 148   31594 0%
/var
/dev/da1s1e   8617428  7775826   84160290%  700170 145842032%
/usr/local/squid/cache/disk1
/dev/da2s1e   8617428  7717658   89977090%  708745 144984533%
/usr/local/squid/cache/disk2
procfs  440   100%  37 495 7%
/proc
turkey:/root#

how come this is possible? also if now I am not able to use 250MB then
is this mean
that when the min free space was 8% which makes nearly 650MB of space;
the system
was not able to use 650MB of space for the defragmentation etc. stuff?
because
we are not able to access to 250MB so 400MB is left for the space and
time optimazation
thingies?

also if I had 500MB hard drive then 8% would make 40MB but even under
same load
if I had 5000MB hard drive then 8% makes 400MB which is a lot of
space...
is not it possible for ffs to work with 40MB again? why does it need
more space
for time optimization?

Evren Yurtesen
yurte...@ispro.net.tr



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: setting up -STABLE for hack contest

1999-08-20 Thread Evren Yurtesen
it is possible to detect operating systems from their behaviours
of replying to packets.

see the program queso from ports/packages.

but anyway you can change the login prompt from /etc/gettytab file

Evren Yurtesen
yurte...@ispro.net.tr

Lauri Laupmaa wrote:
 
 Hi
 
 As the subject says i'm waiting for suggestions how to make a stable box
 very secure :)
 
 I would like to know how to change login screen and make it difficult to
 guess what operating system is running, etc.
 
 TIA
 _
 Lauri
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-stable in the body of the message


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re:(2) hey

1999-08-12 Thread Evren Yurtesen

Well, I am the person who has this problem.
The RFCs does not explicitly say that we should not use underscore
character
as far as I understood. But it suggests which characters we should use.

Also in RFC1033 it says (well the status of this one is UNKNOWN though)
-
   The domain system allows a label to contain any 8-bit character.
   Although the domain system has no restrictions, other protocols such
   as SMTP do have name restrictions.  Because of other protocol
   restrictions, only the following characters are recommended for use
   in a host name (besides the dot separator):

   "A-Z", "a-z", "0-9", dash and underscore
-

So Solaris does the right thing by understanding underscore I guess.
Since it is not forbidden to use it in hostnames.

http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1.
-
For example, when naming a mail domain, the user should satisfy both the
rules of this memo and those in RFC-822.  When creating a new host name,
the old rules for HOSTS.TXT should be followed.  This avoids problems
when old software is converted to use domain names.

The following syntax will result in fewer problems with many
applications that use domain names (e.g., mail, TELNET).

domain ::= subdomain | " "
subdomain ::= label | subdomain "." label
label ::= letter [ [ ldh-str ] let-dig ]
ldh-str ::= let-dig-hyp | let-dig-hyp ldh-str
let-dig-hyp ::= let-dig | "-"
let-dig ::= letter | digit
letter ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
digit ::= any one of the ten digits 0 through 9
-

BTW. I could not really understand this explanation in RFC1035. 
This is very cryptic for me :( 

Thanks for the help

Evren Yurtesen
[EMAIL PROTECTED]


Bill Fumerola wrote:
 
 On Thu, 12 Aug 1999, Michael Mannsberger wrote:
 
  ping  www.atayatirim.com.tr works under Sun but not in FreeBSD - why?
  FreeBSD doesn't like "_" in a URL
 
 Uhm, that's a hostname, but yes, FreeBSD doesn't like it. Windows is
 okay with it, however.
 
 http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1.
 However explains why this hostname is not allowed. FreeBSD is not violating
 RFC.
 
 --
 - bill fumerola - [EMAIL PROTECTED] - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - [EMAIL PROTECTED] - [EMAIL PROTECTED]  -
 
 hawk% ping wam_notes.internal.chc-chimes.com
 ping: cannot resolve wam_notes.internal.chc-chimes.com: Unknown server error
 hawk% dig wam_notes.internal.chc-chimes.com |grep notes
 ;  DiG 8.1  wam_notes.internal.chc-chimes.com
 ;;  wam_notes.internal.chc-chimes.com, type = A, class = IN
 wam_notes.internal.chc-chimes.com.  1D IN CNAME  notes.internal.chc-chimes.com.
 notes.internal.chc-chimes.com.  1D IN A  172.16.81.245
 
 It should be noted that the dns server that my workstation queried is running
 FreeBSD and has no trouble _serving_ hostnames with an underscore.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-questions" in the body of the message


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



Re:(2) hey

1999-08-12 Thread Evren Yurtesen
Well, I am the person who has this problem.
The RFCs does not explicitly say that we should not use underscore
character
as far as I understood. But it suggests which characters we should use.

Also in RFC1033 it says (well the status of this one is UNKNOWN though)
-
   The domain system allows a label to contain any 8-bit character.
   Although the domain system has no restrictions, other protocols such
   as SMTP do have name restrictions.  Because of other protocol
   restrictions, only the following characters are recommended for use
   in a host name (besides the dot separator):

   A-Z, a-z, 0-9, dash and underscore
-

So Solaris does the right thing by understanding underscore I guess.
Since it is not forbidden to use it in hostnames.

http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1.
-
For example, when naming a mail domain, the user should satisfy both the
rules of this memo and those in RFC-822.  When creating a new host name,
the old rules for HOSTS.TXT should be followed.  This avoids problems
when old software is converted to use domain names.

The following syntax will result in fewer problems with many
applications that use domain names (e.g., mail, TELNET).

domain ::= subdomain |  
subdomain ::= label | subdomain . label
label ::= letter [ [ ldh-str ] let-dig ]
ldh-str ::= let-dig-hyp | let-dig-hyp ldh-str
let-dig-hyp ::= let-dig | -
let-dig ::= letter | digit
letter ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
digit ::= any one of the ten digits 0 through 9
-

BTW. I could not really understand this explanation in RFC1035. 
This is very cryptic for me :( 

Thanks for the help

Evren Yurtesen
yurte...@ispro.net.tr


Bill Fumerola wrote:
 
 On Thu, 12 Aug 1999, Michael Mannsberger wrote:
 
  ping  www.atayatirim.com.tr works under Sun but not in FreeBSD - why?
  FreeBSD doesn't like _ in a URL
 
 Uhm, that's a hostname, but yes, FreeBSD doesn't like it. Windows is
 okay with it, however.
 
 http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1.
 However explains why this hostname is not allowed. FreeBSD is not violating
 RFC.
 
 --
 - bill fumerola - bi...@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfume...@computerhorizons.com - bi...@freebsd.org  -
 
 hawk% ping wam_notes.internal.chc-chimes.com
 ping: cannot resolve wam_notes.internal.chc-chimes.com: Unknown server error
 hawk% dig wam_notes.internal.chc-chimes.com |grep notes
 ;  DiG 8.1  wam_notes.internal.chc-chimes.com
 ;;  wam_notes.internal.chc-chimes.com, type = A, class = IN
 wam_notes.internal.chc-chimes.com.  1D IN CNAME  
 notes.internal.chc-chimes.com.
 notes.internal.chc-chimes.com.  1D IN A  172.16.81.245
 
 It should be noted that the dns server that my workstation queried is running
 FreeBSD and has no trouble _serving_ hostnames with an underscore.
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message