Re: how to tell which process call sendmail
Hi Glenn, I once wrote some (quick-and-dirty) perl script that monitors network traffic and logs (for matching outgoing connections) the process command line and (if apache) the respective vhost and request. But this would not help if they are calling the sendmail program directly to inject the message into mail queue. (Unverified guess: if you temporarily remove execute permissions on it, the execution error should probably be logged somewhere?). BTW most probably that is not your user as such, but rather some abused comment form or forum script or something like that. Best wishes Eugene -Original Message- From: Glenn McCalley Sent: Thursday, September 19, 2013 10:30 PM To: freebsd-questions@freebsd.org Subject: how to tell which process call sendmail So, some idiot is using a cgi or php or something to send mail out of his website that he shouldn't be sending. With a bunch of sites on the server, can't tell who. System accounting can tell me that sendmail was executed 32,976 times, but is there a way to tell what process /file name called it each time? Since it's always called by the www user that doesn't help -- I need to distinguish between legit processes that call 5 or 10 in a day and the idiot who calls the other 31,000 times. Thanks! Glenn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Network Question
Hi, Yes, I have a similar setup at work (though currently migrating it to DHCP to accommodate mobile clients and simplify management). But I suppose OP would like to basically keep his the architecture intact =) Best wishes Eugene -Original Message- From: Al Plant Sent: Friday, September 13, 2013 10:28 PM To: Eugene Cc: freebsd-questions@freebsd.org ; Daniel Nang Subject: Re: Network Question Eugene wrote: Hi Daniel, The easiest way is to check the LAN Config (or similar) page of the router. They usually allow one to specify fixed IP and hostname for the DHCP clients based on the MAC addresses. Aloha, For many years I have 8 Freebsd boxes behind a PF firewall on a static labeled lan. Only one public address feeds the lan. All the boxes can work the internet and can ssh. I found that easier than dhcp. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Network Question
Hi Daniel, The easiest way is to check the LAN Config (or similar) page of the router. They usually allow one to specify fixed IP and hostname for the DHCP clients based on the MAC addresses. Best wishes Eugene -Original Message- From: Daniel Nang Sent: Thursday, September 12, 2013 11:16 PM To: Adam Vande More Cc: freebsd-questions@freebsd.org Subject: Re: Network Question That was easier than I thought. My initial approach already looked something like this, except that for the ip address I always put the machine's name as in: machine1# ssh u...@machine2.example.com which results in ssh: Could not resolve hostname machine2.example.com: hostname nor servname provided, or not known I think the problem here lies with the /etc/hosts file where machine1 and machine2 have to be registered respectively. The thing here is that the ip isn't static which makes this approach somewhat difficult to realize. Got it. Thanks. On Fri, Sep 13, 2013 at 2:51 AM, Adam Vande More amvandem...@gmail.comwrote: On Thu, Sep 12, 2013 at 1:45 PM, Daniel Nang daniel.nan...@gmail.comwrote: Hello, I have two computers, both running FreeBSD, accessing the web via DHCP from the router. The setup looks like this: Internet | | | machine1.example.com --- Router --- machine.2.example.com - DHCP -- DHCP - Both computers can access the internet with no problems. So far so good... My question is, if I can simultaneously have the computers access the net as in the given picture and also let them communicate with each other e.g. via ssh? machine1# ssh `ip of machine2` -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: AMD Phenom II X4 temperature issues (was Re: hardware monitor)
Hello Gary, Also make sure there is no packed dirt on the heatsink -- I don't know about AMDs, but older Intel heatsinks often tend to accumulate a paper-like layer of dirt on the 'top' of heatsink grid, blocking the airflow. I once had several thermal shutdowns on my home PC before I found that. This does not seem to happen with newer heatsinks so they must have changed the design somehow =) Best wishes Eugene -Original Message- From: Peter Giessel Sent: Monday, August 05, 2013 8:23 AM To: Gary Aitken Cc: freebsd-questions@freebsd.org Subject: Re: AMD Phenom II X4 temperature issues (was Re: hardware monitor) You can also try shutting down (obviously), then removing the heat sink, put some thermal paste on the processor and reinstall the heat sink. Sometimes there isn't much (any) thermal paste there and the processor can't get the heat into the heat sink. On 2013, Aug 4, at 15:22, Gary Aitken vagab...@blackfoot.net wrote: Ok, so now I see that my cpu temperature shoots up pretty dang fast when a build is going on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: prevent ip conflict in dhcp client
Hi Sam, Actually I think this is wrong approach. Correctly configured networks should be consistent and should not need such 'fixes'. Also you should observe the IP provided by upstream DHCP server otherwise it is an invitation for trouble (both technical and possibly legal). Are the 'other' interfaces in your internal networks? Then you should change them to use different address block from that used in your provider's network (there are many address blocks for private networks). And/or you should talk to your admin and discuss the address policy, maybe they can give you a fixed address. Best wishes Eugene -Original Message- From: s m Sent: Thursday, July 11, 2013 2:19 PM To: freebsd-questions Subject: prevent ip conflict in dhcp client hello all i have a question about dhcp client. i want to know if there is any way to understand the ip address which is offered by server before it assigned to the interface. i have a freebsd system which one of its interfaces should get ip address from dhcp server whereas other interfaces have ip addresses and their ip address change many times. so i want to prevent ip conflict. is there any way to prevent ip conflict in this situation? i think the best way is to know the ip address which is offered by dhcp server before assigning it to interface and check if it has conflict with others or not. is it possible? if yes, how i can do this? any comments or hints are appreciated. thanks in advance SAM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: prevent ip conflict in dhcp client
Hi Sam, The idea that for the internal networks you should use so-called private address space (unless you are a big organization that need and can get a public address block of its own). You can read about it in more detail here https://en.wikipedia.org/wiki/Private_network So, for your upstream interface you use the address obtained via DHCP from your provider. For your internal networks you use private blocks, for example: Network 1: 192.168.0.1 mask 255.255.255.0 Network 2: 192.168.1.1 mask 255.255.255.0 Network 3: 192.168.2.1 mask 255.255.255.0 etc... And you configure NAT on the router to perform address translation for the external connections (See FreeBSD handbook for that). Personally I think ipfilter/ipnat (http://www.freebsd.org/doc/handbook/firewalls-ipf.html) is more easy and convenient but other people probably will have other opinions =) If you don't have a public IP address (sometimes this is optional service that costs extra money) and it happens that your provider also uses 192.168.x.x block in ITS internal network (that is EXTERNAL for you), just change your internal networks to some other block. Regards, Eugene -Original Message- From: s m Sent: Thursday, July 11, 2013 3:18 PM To: Eugene Cc: freebsd-questions Subject: Re: prevent ip conflict in dhcp client thanks Eugene, you're right but i forgot to say that my client acts like a router. i mean none of interfaces should have ip address in same range (this is conflict for me). i can manage each interface to get ip address from DHCP or manually. so one interface may get ip address from dhcp server whereas all others have ip addresses which are set manually. for this situation, do you have any ideas to avoid ip conflict? thanks again for your attention SAM On Thu, Jul 11, 2013 at 3:06 PM, Eugene ge...@geniechka.ru wrote: Hi Sam, Actually I think this is wrong approach. Correctly configured networks should be consistent and should not need such 'fixes'. Also you should observe the IP provided by upstream DHCP server otherwise it is an invitation for trouble (both technical and possibly legal). Are the 'other' interfaces in your internal networks? Then you should change them to use different address block from that used in your provider's network (there are many address blocks for private networks). And/or you should talk to your admin and discuss the address policy, maybe they can give you a fixed address. Best wishes Eugene -Original Message- From: s m Sent: Thursday, July 11, 2013 2:19 PM To: freebsd-questions Subject: prevent ip conflict in dhcp client hello all i have a question about dhcp client. i want to know if there is any way to understand the ip address which is offered by server before it assigned to the interface. i have a freebsd system which one of its interfaces should get ip address from dhcp server whereas other interfaces have ip addresses and their ip address change many times. so i want to prevent ip conflict. is there any way to prevent ip conflict in this situation? i think the best way is to know the ip address which is offered by dhcp server before assigning it to interface and check if it has conflict with others or not. is it possible? if yes, how i can do this? any comments or hints are appreciated. thanks in advance SAM __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
Hi all, A small followup: Looks like freebsd-update does try to rebuild the password database but does not quite succeed, leaving binary files in somewhat corrupted state, this leading to some problems when trying to add new users later. This is discussed here: http://www.freebsd.org/cgi/query-pr.cgi?pr=180241 However the master.passwd is fine, thus as a workaround you can simply run vipw to resave master.passwd, then vipw regenerates binary password databases correctly and everything works quite nicely. Best wishes Eugene -Original Message- From: Eugene Sent: Tuesday, July 02, 2013 8:37 PM To: freebsd-questions@freebsd.org Subject: Re: Should I be able to use mergemaster with freebsd-update? Hi all, In case anybody was following this discussion, I have successfully upgraded the system from 8.2 to 8.4 using freebsd-update. The process did have some glitches (in retrospect, minor ones) but mostly they were not related to freebsd-update (like some issues with gmirror and firewall configurations). The data merging phase was quite bearable and reasonable (if a bit tedious) and all the databases got properly updated. Thanks to everyone involved! Eugene -Original Message- From: Mike Brown Sent: Wednesday, June 26, 2013 6:22 AM To: freebsd-questions@freebsd.org Subject: Re: Should I be able to use mergemaster with freebsd-update? On Tue, Jun 25, 2013, at 15:29, Eugene wrote: I do not quite understand. Is the freebsd-update upgrade process completely broken? IMHO it is partially broken; I'm not doing anything special. How broken it is depends on what's getting changed. Most of what the system is designed to do, it indeed does very well. It also overlaps some of the functionality of mergemaster in that it automatically merges as many files as it can, which is nice. Where it is under-designed and under-implemented is in its rudimentary handling of un-mergeable files, and in its total lack of support for the regeneration of /etc/*.db files (like the, uh, rather important password database) and sendmail aliases - things that you would handle via mergemaster in an ordinary, source-based upgrade, but which you must now figure out how to do by hand, without any guidance, and they really don't make it easy for you. ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: X client without X server
Hello, It is usually not about disk space (though that is also not exactly free and unlimited either), but about compilation/update delays, ease of management, additional security risks, additional ways to fail for the system as a whole, etc. Not to mention simple elegance. Best wishes Eugene -Original Message- From: Bill Tillman Sent: Wednesday, July 03, 2013 7:26 PM To: freebsd-questions@freebsd.org Subject: Re: X client without X server Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But the days of limited RAM, small hard drives, etc...are long since behind us. I remember in 1994 when and IT consultant came in and built a Novell server for us with a whopping 1 GB hard drive. And back then how we thought with a 1 GB hard drive we'd never run out of space. Well these days one could easily run out of space with such a small hard drive. But with today's systems having 2 or 3 TB drives and GB's of RAM, something as trivial as X-Server should not be a problem. If you don't need it, don't run it. But to worry about the space it takes up is kind of a moot point these days. And like some of the other replies mentioned, xterm may not require it, but one of xterm's dependencies may. I run Asterisk routinely on my systems and I'm always amazed at how installing one port requires no less than 38 other ports to be installed as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
Hi all, In case anybody was following this discussion, I have successfully upgraded the system from 8.2 to 8.4 using freebsd-update. The process did have some glitches (in retrospect, minor ones) but mostly they were not related to freebsd-update (like some issues with gmirror and firewall configurations). The data merging phase was quite bearable and reasonable (if a bit tedious) and all the databases got properly updated. Thanks to everyone involved! Eugene -Original Message- From: Mike Brown Sent: Wednesday, June 26, 2013 6:22 AM To: freebsd-questions@freebsd.org Subject: Re: Should I be able to use mergemaster with freebsd-update? On Tue, Jun 25, 2013, at 15:29, Eugene wrote: I do not quite understand. Is the freebsd-update upgrade process completely broken? IMHO it is partially broken; I'm not doing anything special. How broken it is depends on what's getting changed. Most of what the system is designed to do, it indeed does very well. It also overlaps some of the functionality of mergemaster in that it automatically merges as many files as it can, which is nice. Where it is under-designed and under-implemented is in its rudimentary handling of un-mergeable files, and in its total lack of support for the regeneration of /etc/*.db files (like the, uh, rather important password database) and sendmail aliases - things that you would handle via mergemaster in an ordinary, source-based upgrade, but which you must now figure out how to do by hand, without any guidance, and they really don't make it easy for you. ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
Hi all, I do not quite understand. Is the freebsd-update upgrade process completely broken? Or is it some special mode? Or was it broken recently? Because some time ago I have upgraded from 8.1 to 8.2 quite nicely, with editor-based merging of config files, and was planning to upgrade to 8.4 soon (especially as 8.2 is already not compatible with some ports). Best wishes Eugene -Original Message- From: Mike Brown Sent: Tuesday, June 25, 2013 12:14 PM To: freebsd-questions@freebsd.org Subject: Re: Should I be able to use mergemaster with freebsd-update? I'm using freebsd-update to upgrade my system to the latest minor version (from 8.3-RELEASE to 8.4-RELEASE). I'm surprised that the merge handling system isn't more robust. When upgrading the old way, from source, I was used to using mergemaster to handle any merges that couldn't be done automatically. But when using freebsd-update, it seems that any failed merges require that you get dumped into an empty text editor for each file. [...] As I continue with this process, doing all the mergemaster tasks manually, I'm finding that the situation is even worse than I first realized. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
real-time priority jackd
Hello there, i really want your help on this matter.So. i create a group audio and fix conf file at /etc/security/limit.d/limits.conf i can open jackd as root with real-time prio but not as regular user. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fsck problem FreeBSD 8.3
12.04.2012 00:05, Коньков Евгений пишет: Здравствуйте, Eugene. Вы писали 10 апреля 2012 г., 0:39:52: EG 10.04.2012 01:36, Коньков Евгений пишет: Hi. Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Apr 9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG Apr 9 20:09:22 kernel: running manually: # fsck -y /dev/ad8s1e ** /dev/ad8s1e (NO WRITE) EG You cannot run fsck on mounted filesystem, unmount it first. Why not? fsck can do its job at background, on mounted FS. It is run in special mode then, you run fsck not that way. So I also can run it on mounted FS. NO WRITE signals you that it will not be able to fix any problem it encounters. in this case (as I have showed) it do not find any errors. And if it finds any error on mounted live file system, that would not mean the error really exists. Do NOT run fsck on mounted file system, period. In any case I have run fsck on this FS when it was dismounted. There is no any errors. So, you need not bother, your file system has been already fixed. I think here is only one problem. problem to 'RUN FAST FSCK' No need to, already. Eugene Grosbein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fsck problem FreeBSD 8.3
10.04.2012 01:36, Коньков Евгений пишет: Hi. Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Apr 9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG Apr 9 20:09:22 kernel: running manually: # fsck -y /dev/ad8s1e ** /dev/ad8s1e (NO WRITE) You cannot run fsck on mounted filesystem, unmount it first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Xorg bug or better Xorg file problems
Hello first of all. This is my first post here.. a test.. i stream on line as i read todays post. So about xorg file cause i make 6 months with nvidia 9200fx let talk first for the card. second there is no xorg need it so u can back up and delete it, and test you X with xrandr -q man xrandr and more. The last think that comes in my mind cause doug speaks for flashing is the DFP screen maybe need and edid.bin file into you etx/X11 ofcaurce search forums data for xorg confg option. Thank you. and Hello there -- My webpages egelor http://egelor.tumblr.com : egepresshttp://egepress.wordpress.com : My Server Actapus http://egelor.dyndns.org Piece Love Unity_ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suggestion
Hi. On 09.03.2012 10:56, Bruno Comerci wrote: Instead of wasting your time and man power, why wont you join to the ReactOS project? It would be more beneficial to the internet community and to the users around the world who wants a free OS with similar looking and functions than Windows, if you just throw away your FreeBSD and join forces with the ReactOS team to accelerate their process. The only project that has even worser situation with development than ReactOS is actually OS/2 community kernel development project, known as OS/4. So why ReactOS. Who even needs EoL WinXP clone. Which is, by the way, still not production-ready. Win8 is on its way. It will bury you completely. Eugene. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
nsswitch and unavailable backends
Hi. I'm trying to set up LDAP user authentication. I use bet/nss_ldap and security/pam_ldap ports to do this. I'm doing this following the article from the documentation set. Though it's not that complete and misses some very important stuff, I've actually set up the LDAP installations and my users are able to successfully authenticate and log in on my servers. Then I ran into some serious issue. :) When the LDAP server if off/unavailable, users cannot log in - I mean, even the local users. nsswitch.conf: group: files ldap hosts: files dns networks: files passwd: files ldap shells: files services: files protocols: files rpc: files If I remove ldap - all is fine, of course, besides the fact that this breaks the LDAP authentication. I've read the nsswitch manual and saw that I can handle the unavailable LDAP server with some action flags, but the default action is 'continue' already. I also tried the [notfound=return unavail=return tryagain=return] mantra (it's harmless to try since it's the last backup) but this didn't work either. sshd crashes with signal 11, crond does the same. Sad. On a machine running LDAP server the situation is even funnier: the LDAP server, even having a local account to work under, still tries to query himself on start, making the startup impossible. Can this situation be solved ? Right now I remove 'ldap' backend, start the slapd, add ldap backends again and so on. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS v28 and aclmode
Thanks a lot On Tuesday 26 July 2011, Martin Matuska wrote: Dňa 22. 7. 2011 9:48, Eugene Mitrofanov wrote / napísal(a): Hi all, I just updated to 8.2S and zfs v28 and notice strange thing: in the manual i can read about aclmode but i can not use it in the real life: # zfs set aclmode=passthrough data/public cannot set property for 'data/public': invalid property 'aclmode' Obsolete manual? Good luck I imported reintroduction of aclmode from Illumos to 9-CURRENT in revsion 224174 MFC to 8-STABLE will be around Aug 1, 2011. More information: https://www.illumos.org/issues/742 http://svnweb.freebsd.org/base?view=revisionrevision=224174 -- Martin Matuska FreeBSD committer http://blog.vx.sk -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS v28 and aclmode
Hi all, I just updated to 8.2S and zfs v28 and notice strange thing: in the manual i can read about aclmode but i can not use it in the real life: # zfs set aclmode=passthrough data/public cannot set property for 'data/public': invalid property 'aclmode' Obsolete manual? Good luck -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.1-STABLE Unexpected XML: what does it mean?
Hi I observe the very strange message while run a lot of commands: r...@beaver:eugene# glabel status Unexpected XML: name=stripesize data=18432 Unexpected XML: name=stripeoffset data=0 Unexpected XML: name=stripesize data=18432 Unexpected XML: name=stripeoffset data=0 Name Status Components iso9660/CDROM N/A acd0 r...@beaver:eugene# mdconfig -l Unexpected XML: name=stripesize data=18432 Unexpected XML: name=stripeoffset data=0 r...@beaver:eugene# gmirror status Unexpected XML: name=stripesize data=18432 Unexpected XML: name=stripeoffset data=0 gmirror: Command 'status' not available. What subsystem prints them? How can I fix it? Good luck -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.1-STABLE Unexpected XML: what does it mean?
How can I locate this device? Also I dont understand why mdconfig complains? On Tuesday 14 December 2010, Ivan Voras wrote: On 14/12/2010 15:27, Eugene Mitrofanov wrote: Hi I observe the very strange message while run a lot of commands: r...@beaver:eugene# glabel status Unexpected XML: name=stripesize data=18432 Unexpected XML: name=stripeoffset data=0 Maybe you have a label or some other custom device name with non-ascii characters or with characters which break xml parsing? ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.1-STABLE Unexpected XML: what does it mean?
On Tuesday 14 December 2010, Ivan Voras wrote: On 14/12/2010 16:19, Eugene Mitrofanov wrote: How can I locate this device? Also I dont understand why mdconfig complains? Try examining the output of # sysctl -b kern.geom.confxml Here they are: mesh class id=0x807a5a20 nameFD/name geom id=0xff00029f6200 class ref=0x807a5a20/ namefd0/name rank1/rank provider id=0xff00029f6100 geom ref=0xff00029f6200/ moder0w0e0/mode namefd0/name mediasize1474560/mediasize sectorsize512/sectorsize stripesize18432/stripesize stripeoffset0/stripeoffset /provider /geom /class class id=0x807152e0 nameACD/name geom id=0xff0002ae7200 class ref=0x807152e0/ nameacd0/name rank1/rank provider id=0xff0002b27500 geom ref=0xff0002ae7200/ moder0w0e0/mode nameacd0t01/name mediasize550307840/mediasize sectorsize2048/sectorsize /provider provider id=0xff0002da1600 geom ref=0xff0002ae7200/ moder0w0e0/mode nameacd0/name mediasize550307840/mediasize sectorsize2048/sectorsize /provider /geom /class class id=0x80759f00 nameLABEL/name geom id=0xff0002d22400 class ref=0x80759f00/ nameacd0/name rank2/rank config /config consumer id=0xff0002a19780 geom ref=0xff0002d22400/ provider ref=0xff0002da1600/ moder0w0e0/mode config /config /consumer provider id=0xff0002d22500 geom ref=0xff0002d22400/ moder0w0e0/mode nameiso9660/CDROM/name mediasize550307840/mediasize sectorsize2048/sectorsize config index0/index length550307840/length seclength1074820/seclength offset0/offset secoffset0/secoffset /config /provider /geom /class class id=0x80759da0 nameVFS/name geom id=0xff008a7bbd00 class ref=0x80759da0/ nameffs.ipsd0s1g/name rank4/rank consumer id=0xff0182c39780 geom ref=0xff008a7bbd00/ provider ref=0xff0002c66900/ moder1w1e1/mode /consumer /geom geom id=0xff006f8e7000 class ref=0x80759da0/ nameffs.ipsd0s1f/name rank4/rank consumer id=0xff01825cda80 geom ref=0xff006f8e7000/ provider ref=0xff0002c66500/ moder1w1e1/mode /consumer /geom geom id=0xff0002be6800 class ref=0x80759da0/ nameffs.da0s1d/name rank4/rank consumer id=0xff014ada3900 geom ref=0xff0002be6800/ provider ref=0xff0002aa8a00/ moder1w1e1/mode /consumer /geom geom id=0xff0008205200 class ref=0x80759da0/ nameffs.da1s1d/name rank4/rank consumer id=0xff0182e9cc80 geom ref=0xff0008205200/ provider ref=0xff0002a6a100/ moder1w1e1/mode /consumer /geom geom id=0xff0002ae7a00 class ref=0x80759da0/ nameffs.da1s1e/name rank4/rank consumer id=0xff0005400c00 geom ref=0xff0002ae7a00/ provider ref=0xff0002a6a900/ moder1w1e1/mode /consumer /geom geom id=0xff0002ae7300 class ref=0x80759da0/ nameffs.ipsd0s1e/name rank4/rank consumer id=0xff0005400b00 geom ref=0xff0002ae7300/ provider ref=0xff0002ce5300/ moder1w1e1/mode /consumer /geom geom id=0xff0002c64900 class ref=0x80759da0/ nameffs.ipsd0s1d/name rank4/rank consumer id=0xff0002dc3980 geom ref=0xff0002c64900/ provider ref=0xff0002ce4e00/ moder1w1e1/mode /consumer /geom geom id=0xff0002ae7600 class ref=0x80759da0/ nameffs.ipsd0s1a/name rank4/rank consumer id=0xff0002d43880 geom ref=0xff0002ae7600/ provider ref=0xff0002ce4400/ moder1w1e1/mode /consumer /geom /class class id=0x8075acc0 namePART/name geom id=0xff0002a6a000 class ref=0x8075acc0/ nameda1s1/name rank3/rank config schemeBSD/scheme entries8/entries first0/first last1560072086/last fwsectors63/fwsectors fwheads255/fwheads stateOK/state /config consumer id=0xff0002ac8500 geom ref=0xff0002a6a000/ provider ref=0xff0002aa7b00
vlan + ng_ipfw + ng_netflow == no success
Hello I need the advise. Does anybody got the Subj working? I have FreeBSD 7.3-p2, Generic kernel. I try to set up the netflow traffic accounting using ng_ipfw from vlan interface. I created vlan interface, ipfw rule, set up ng hooks but the netflow export is not working. tcpdump does not catch any packets to the collector. Any suggestion? Should I create the bug report? - - - - - - - - # ifconfig vlan1 create vlan 1 vlandev fxp0 inet 192.168.1.1 netmask 255.255.255.0 # ipfw add 10 ngtee 1 via vlan1 # ngctl -f - ENDL mkpeer ipfw: netflow 1 iface0 name ipfw:1 netflow msg netflow: setdlt { iface=0 dlt=12 } msg netflow: setifindex { iface=0 index=7 } mkpeer netflow: ksocket export inet/dgram/udp msg netflow:export connect inet/10.167.1.252:2055 name netflow:export export msg netflow: settimeouts { inactive = 60 active = 60 } ENDL # ping -c 5 192.168.1.254 PING 192.168.1.254 (192.168.1.254): 56 data bytes 64 bytes from 192.168.1.254: icmp_seq=0 ttl=255 time=0.672 ms 64 bytes from 192.168.1.254: icmp_seq=1 ttl=255 time=0.617 ms 64 bytes from 192.168.1.254: icmp_seq=2 ttl=255 time=0.658 ms 64 bytes from 192.168.1.254: icmp_seq=3 ttl=255 time=0.663 ms 64 bytes from 192.168.1.254: icmp_seq=4 ttl=255 time=0.681 ms --- 192.168.1.254 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.617/0.658/0.681/0.022 ms # ipfw show 00010 10840 ngtee 1 ip from any to any via vlan1 # tcpdump -n host 10.167.1.252 and port 2055 nothing - - - - - - - Good luck -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied
On Saturday 22 May 2010, jhell wrote: On 05/21/2010 07:55, Eugene Mitrofanov wrote: Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs get jailed tank/s1 shows me that the property jailed is still exists: NAME PROPERTY VALUESOURCE tank/s1 jailedoff default How can I change its value? Thanks. Simply put, property 'jailed' not supported on FreeBSD. Some features that you may see in a zfs get all pool will not work because they are not implemented yet or are not planned to be implemented because they are too *Solaris dependent. But this feature was in 7S and in 8.0R: r...@donkey:samba33# uname -sr FreeBSD 7.3-RELEASE r...@donkey:samba33# zfs set jailed=on data/test r...@donkey:samba33# zfs get jailed data/test NAME PROPERTY VALUE SOURCE data/test jailedon local When I updated to 8.1PRE it stopped working. Are there any plans for the revival of jailed? Good luck -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied
On Monday 24 May 2010, jhell wrote: On 05/24/2010 02:13, Eugene Mitrofanov wrote: On Saturday 22 May 2010, jhell wrote: On 05/21/2010 07:55, Eugene Mitrofanov wrote: Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs get jailed tank/s1 shows me that the property jailed is still exists: NAME PROPERTY VALUESOURCE tank/s1 jailedoff default How can I change its value? Thanks. Simply put, property 'jailed' not supported on FreeBSD. Some features that you may see in a zfs get all pool will not work because they are not implemented yet or are not planned to be implemented because they are too *Solaris dependent. But this feature was in 7S and in 8.0R: r...@donkey:samba33# uname -sr FreeBSD 7.3-RELEASE r...@donkey:samba33# zfs set jailed=on data/test r...@donkey:samba33# zfs get jailed data/test NAME PROPERTY VALUE SOURCE data/test jailedon local When I updated to 8.1PRE it stopped working. Are there any plans for the revival of jailed? Good luck And what exactly did that property do for you... ?||? AFAIK it was a NOP. -- jhell I want to set up something like described in http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2009-12/msg00028.html -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied
Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs get jailed tank/s1 shows me that the property jailed is still exists: NAME PROPERTY VALUESOURCE tank/s1 jailedoff default How can I change its value? Thanks. -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why my Firefox doesn't display Cyrillic fonts well?
Yuri ?: Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. Boris, Thanks for the advice. I did what you suggested but there is no visible change. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Well, personally I used the apparently old, as I was informed, method, described in the handbook, e.g. I borrowed the fonts from the Windows system, mapped them with the appropriate tool (read the handbook) and edited xorg.conf . Worked nicely, the default font was revolting ^_^ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Disk cache tuning
Hello guys, I have an amd64 server with 8 cpu cores and 16Gb of memory, with FreeBSD 7.2. It is used as a corporate CVS server with several huge repositories (about 2Gb each), which consist of thousands of rather small files. I need to tune the system so that it caches as much files as possible and minimizes physical access to the disk. Of course, I did enable softupdates, but I have an impression that more things can be tuned. Specifically, I have read in many places that FreeBSD uses all available memory for disk cache, because disk buffers are integrated with vm pager. However, when I do cvs checkout to the same disk where the repository resides and watch memory usage (by top or systat), repeating that several times to activate the cache, I notice that for 2Gb repository system hardly uses more than 1Gb of memory (including inactive) even after 3-4 checkouts of the same repository, and disk is still used a lot. Why this happens ? How can I tell the system to use as much memory for caching as possible ? I also notice that the buffer cache expires pretty fast: the first checkout takes 2 minutes, if I do checkout again immediately, it takes 1.5 minutes, but if I do it again after waiting a minute, it takes 2 minutes again, even though the machine was completely inactive while I was waiting. Why the cache expires at all when there is a lot of free memory ? Can I somehow tell the system to keep everything cached until something is modified or some process needs memory ? Thank you in advance, please Cc: me as I'm not on this list. If there is more appropriate list for my questions, please point me to one. Regards, Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Splash screen color issues
Fbsd1 пишет: Eugene L. wrote: Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am trying to make splash screen feature work properly, so I followed the procedure described in handbook and the splash screen actually loads, except the black is now white, red is violet, etc. So all the colors of the bitmap are messed up, and I checked, they fit the requirements and I've tried other pics and pcx format. I tried gimp, photoshop. The issue isn't pic related What could possibly be the reason? I use Sapphire Radeon X1600 Pro AGP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Has to be your video card. If you have an X-desktop installed try displaying the splash screen and see how it looks there. The x-desktop should have auto loaded a driver for your video card. If the colors are ok them unplug your video card and try the motherboard default video. Well there are no colour issues on xorg (radeon driver), and I don't have internal video on motherboard, so I decided to mess with different modes, without vesa it flatout refused to work, with this messages im dmesg splash_bmp: No appropriate video mode found module_register_init: MOD_LOAD (splash_bmp, 0xc0d80b70, 0) error 19 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD Upgrade: Ports That Need Rebuilding
I am planning to update to CURRENT, been reading freebsd-current for some time, apparently some ports require rebuilding as they are kernel specific, like hal, so I wonder how to rebuild those ports automatically? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mouse stopped working in X
On Tue, 14 Apr 2009 13:22:34 -0500, Richard DeLaurell [1]richard.delaur...@gma il.com wrote: Could you tell me please where the changes to the xorg.conf file which are necessitated by 7.4 are documented? I think they are mentioned in /usr/ports/UPDATING - I haven't updated my X yet due to the trouble it seems to cause... :-) Actually I had this problem awhile ago and then it just went away. KDE4 seemed to freeze if there is no input, literally not doing anything untill I move the mouse. So I commented out that option (which I had to add to use mouse in the first place) and all started working all right. Another WTF moment. Thought there was a couple of xorg updates since the problem appeared, it might gave been fixed. References 1. mailto:richard.delaur...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Splash screen colour issues
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am trying to make splash screen feature work properly, so I followed the procedure described in handbook and the splash screen actually loads, except the black is now white, red is violet, etc. So all the colours of the bitmap are messed up, and I checked, they fit the requirements and I've tried other pics and pcx format. I tried gimp, photoshop. The issue isn't pic related What could possibly be the reason? I use Sapphire Radeon X1600 Pro AGP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD kernel Debugging tools for Virtual Memory Module
On Thu, Jan 01, 2009 at 06:27:44PM -0800, Kamlesh Patel wrote: I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever i modify little code of vmpage.c file i need to build the whole kernel to check the modification and i even am not able to debug the kernel code. Could anyone please inform me kernel Debugging tools for FreeBSD OS? First, you need to recompile source you change for sure :-) But you have not rebuild all other files all the time. You need to add to your /etc/src.conf (or /etc/make.conf for 6.x and earlier): MODULES_WITH_WORLD=yes This will skip rebuilding of all modules during 'make buildkernel' but you MUST to copy all modules from /boot/kernel to /boot/modules (all files other than /boot/kernel/kernel*) if you do this. Otherwise, you'll lose modules and system may not boot due to missing vital modules like acpi.ko Then, if you do not change kernel config file, recompile your changes with command (only second time and then): cd /usr/src; make NO_KERNELDEPEND=yes NO_KERNELCLEAN=yes buildkernel So, your rebuild time changes drastically: no modules rebuild, no other sources rebuild other that you touched last time. It will relink previously compiled object code with your changes only, that's way much quicker. Reinstall kernel and reboot. Second, you should use some kind of virtual machine (like qemu from ports) to speedup your development cycle even more: install the system into virtual machine and you'll need not another box to debug the kernel and need not rebuild your development box. Test your changes with the system installed into VM and reboot it only. Use ddb or kgdb already noted here. Eugene Grosbein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pasting via ssh causes data loss
01.12.2008, в 15:52, Mel написал(а): Can't check telnet... there's no telnet demon around. inetd: $ grep telnet /etc/inetd.conf #telnet stream tcp nowait root/usr/libexec/telnetd telnetd #telnet stream tcp6nowait root/usr/libexec/telnetd telnetd Quick setup: remove appropreate hashmark above /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. Where does it get lost? Meaning, does it get over the wire? Hard to check encrypted, but a 3k diff should show up in number of the IP packets sent. Is it possible to compare tcpdump linux - linux vs linux - freebsd on the receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
Didn't found on lists.freebsd.org, so I resend it On 1 дек, 05:03, Chris [EMAIL PROTECTED] wrote: I was curious about your situation and set up a couple of tests. Noting you mentioned iTerm, I thought I might be able to recreate it on a Mac (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. I copied a 23094 byte program I was working on locally in MacVIM. I first did a cat testfile then pasted through an ssh terminal.app connection over satellite (very bad connection) into a FreeBSD 7.0 box I built in the last month. At the far end it received 23094 bytes. sftp of the file to the remote and diff showed no differences. I then opened an ssh session to a FreeBSD server on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. The problem does not appear to be obvious or common so there must be something unique about how this situation if you have reproduced it on two different terminal programs using ssh that would work correctly to other servers using the same shell and collection method (e.g. cat blah). I tried zsh, sh, bash and my program on the freebsd box. Something missing here. Have you checked if you have errors shown on the interface of the server? Are there losses if you sftp the files from your machine to the remote (Try pushing a 1.5 MB file and see if that shows failures). Did you install something other than the default OpenSSH on the server? Do the text files have something other than text in them or even control sequences for the remote? Just taking potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bge0 1500 Link#1 00:a0:d1:e3:fd:9c 55134708 0 48858321 0 0 (no errors) Terminal sessions:http://pastie.org/327615.txt? key=opkxhrjptnh3lebyn8rjlqhttp://pastie.org/327617.txt? key=gaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. A somewhat side note here, I would personally never think to move files this way since it's quite possible that content of files can disrupt the stream. I tend to use sftp. I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat file is just quickier. BTW, thank you for your help, guys... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
On 1 дек, 05:03, Chris [EMAIL PROTECTED] wrote: I was curious about your situation and set up a couple of tests. Noting you mentioned iTerm, I thought I might be able to recreate it on a Mac (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. I copied a 23094 byte program I was working on locally in MacVIM. I first did a cat testfile then pasted through an ssh terminal.app connection over satellite (very bad connection) into a FreeBSD 7.0 box I built in the last month. At the far end it received 23094 bytes. sftp of the file to the remote and diff showed no differences. I then opened an ssh session to a FreeBSD server on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. The problem does not appear to be obvious or common so there must be something unique about how this situation if you have reproduced it on two different terminal programs using ssh that would work correctly to other servers using the same shell and collection method (e.g. cat blah). I tried zsh, sh, bash and my program on the freebsd box. Something missing here. Have you checked if you have errors shown on the interface of the server? Are there losses if you sftp the files from your machine to the remote (Try pushing a 1.5 MB file and see if that shows failures). Did you install something other than the default OpenSSH on the server? Do the text files have something other than text in them or even control sequences for the remote? Just taking potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll bge0 1500 Link#1 00:a0:d1:e3:fd:9c 55134708 0 48858321 0 0 (no errors) Terminal sessions: http://pastie.org/327615.txt?key=opkxhrjptnh3lebyn8rjlq http://pastie.org/327617.txt?key=gaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. A somewhat side note here, I would personally never think to move files this way since it's quite possible that content of files can disrupt the stream. I tend to use sftp. I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat file is just quickier. BTW, thank you for your help, guys... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
On 1 дек, 08:31, Mel [EMAIL PROTECTED] wrote: On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: 30.11.2008, в 19:36, Mel написал(а): On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: Not sure, but can you copy files via cat? As in: cat /tmp/foo | ssh machine cat - /tmp/foo If that isn't truncated, I can only think of clipboard limitations or tty issues. No, it's not truncated. All of 6060 bytes are copied. What kind of tty issues/clipboard limitations might it be? *If* it's a tty issue, should be reproducable with telnet. If it's not, then I suggest logging in with ssh -v and see if anything weird comes up. The oddball out of the box answer would be that some character gets translated as EOF from linux to bsd by the term settings, but it's a stretch. Can't check telnet... there's no telnet demon around. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
On 1 дек, 15:52, Mel [EMAIL PROTECTED] wrote: On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote: inetd: $ grep telnet /etc/inetd.conf #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd Quick setup: remove appropreate hashmark above /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. Where does it get lost? Meaning, does it get over the wire? Hard to check encrypted, but a 3k diff should show up in number of the IP packets sent. Is it possible to compare tcpdump linux - linux vs linux - freebsd on the receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
30.11.2008, в 19:36, Mel написал(а): On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: Not sure, but can you copy files via cat? As in: cat /tmp/foo | ssh machine cat - /tmp/foo If that isn't truncated, I can only think of clipboard limitations or tty issues. No, it's not truncated. All of 6060 bytes are copied. What kind of tty issues/clipboard limitations might it be? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pasting via ssh causes data loss
On 30 нояб, 23:20, Ivan Voras [EMAIL PROTECTED] wrote: I regularly do copy-pastes of textual data of that size (and larger) in interactive sessions (with text editors) without problems, between FreeBSD machines and from Linux to FreeBSD machines. Are you sure it's not a problem with your terminal application and not on the server side? (try a different terminal). Tried a different terminal. iTerm to be exact. The same problem, the same number of bytes. A friend of mine tried from gentoo linux on his laptop (he'is using yakukake (terminal)), and reproduced the same issue, but different amount of bytes (3221 for the server that receives 5181 from me). Is there some stupid sysctl setting? or something like that? I'm so tired of pasting into a linux box and wget from it into a freebsd box. signature.asc 1KбПросмотретьЗагрузить ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pasting via ssh causes data loss
Hello everyone, I'm not really sure weither it's related to freebsd or ssh. When I paste a lot of data (6060 bytes, 60 lines 100 bytes each + ‘\n’) via ssh into `cat test.txt` or the small program, one freebsd receives 5181, another receives 3221 bytes. The number of bytes freebsd receives are always the same. I can't reproduce this on linux (OpenSSH 4.3p2 on debian and OpenSSH 4.7p1 on 2 gentoo boxes). Also, I have one freebsd box without this problem (7.0-STABLE, openssh 4.5p1). Source of the small program: #include stdio.h int main() { char buf[1]; size_t readed = 0; while(!feof(stdin)) { readed+=fread(buf, 1, sizeof(buf), stdin); } printf(I've received %d bytes\n, readed); return 0; } Versions of sshd are “OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007”. FreeBSD versions are FreeBSD 7.0-BETA4 and FreeBSD 7.0- RELEASE. Why is it happening? What should I do to stop this? It's pretty annoying. ~ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0-RELEASE-amd64 install on MacBook Pro 4,1
Greetings, When trying to boot the MacBook Pro 4,1 (G4 with Intel Penryn) off the 7.0-RELEASE-amd64 installation CD, the kernel hangs after the CD-ROM probe, and the SATA drive probe never seems to complete (I don't see any adX entry). Booting without ACPI does not seem to make any difference either. Has anyone solved this? Any help would be appreciated. Cheers, Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
add/remove disks in gmirror
Hi all! I use FreeBSD 6.2 I want to try use gmirror to constract raid5, so I do following: # dd if=/dev/zero of=zero0 bs=1024 count=102400 # dd if=/dev/zero of=zero1 bs=1024 count=102400 # dd if=/dev/zero of=zero2 bs=1024 count=102400 # mdcontrol -a -t vnode zero0 # mdcontrol -a -t vnode zero1 # mdcontrol -a -t vnode zero2 # cat /boot/propeller drive b0 device /dev/md0 drive b1 device /dev/md1 drive b2 device /dev/md2 volume propeller plex org raid5 512k sd drive b0 sd drive b1 sd drive b2 # gvinum create /boot/propeller # newfs /dev/gvinum/propeller # mount /dev/gvinum/propeller mountpoint/ This working excellent, but I want to try what can I do if some of the disk crashed? So, I do following: # gvinum rm b2 # mdcontrol -d -u md2 # dd if=/dev/zero of=zero2 bs=1024 count=102400 # mdcontrol -a -t vnode zero2 So, I see files in mountpoint, but what should I do to attach new disk /dev/md2 into raid5? Perhaps I need to use rebuildparity, but I see following line in man gvinum: All subdisks in the plex must be up for a parity check So, how can I up subdisk? # gvinum l 3 drives: D b2State: down /dev/md2A: 99/99 MB (100%) D b0State: up /dev/md0A: 0/99 MB (0%) D b1State: up /dev/md1A: 0/99 MB (0%) 1 volume: V propeller State: up Plexes: 1 Size: 99 MB 1 plex: P propeller.p0 R5 State: up Subdisks: 2 Size: 99 MB 2 subdisks: S propeller.p0.s0 State: up D: b0 Size: 99 MB S propeller.p0.s1 State: up D: b1 Size: 99 MB -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
master-backup CARP issue
Hello freebsd, We have two FreeBSD boxes, each one has 4 CARP interfaces in preempt mode, without arp balancing. Backup without any reason preempts Master and after a while (an hour or two) it becomes Backup again. When Backup becomes Master on Master box net.inet.carp.suppress_preempt: 1, but all interfaces are up and seemed to work properly. Is there any ways to debug this issue? Additional info: #uname -v FreeBSD 6.1-RELEASE-p7 Master: # grep carp /var/log/messages Nov 14 01:50:59 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 01:52:30 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 02:43:55 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 02:59:12 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 03:26:13 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 03:26:32 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 04:58:39 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 05:53:27 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 06:01:12 atlas kernel: carp3: MASTER - BACKUP (more frequent advertisement received) Nov 14 06:03:36 atlas kernel: carp2: BACKUP - MASTER (preempting a slower master) Nov 14 06:03:36 atlas kernel: carp0: BACKUP - MASTER (preempting a slower master) Nov 14 06:03:36 atlas kernel: carp1: BACKUP - MASTER (preempting a slower master) Nov 14 06:03:38 atlas kernel: carp3: BACKUP - MASTER (preempting a slower master) Master Backup (in normal state) #sysctl -a | grep net.inet.carp. net.inet.carp.allow: 1 net.inet.carp.preempt: 1 net.inet.carp.log: 2 net.inet.carp.arpbalance: 0 net.inet.carp.suppress_preempt: 0 all NICs - 3Com 3c905C-TX Master: #ifconfig | grep -A2 carp carp0: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.1.3 netmask 0xff00 carp: MASTER vhid 1 advbase 1 advskew 10 carp1: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.2.3 netmask 0xff00 carp: MASTER vhid 2 advbase 1 advskew 10 carp2: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.3.3 netmask 0xff00 carp: MASTER vhid 3 advbase 1 advskew 10 carp3: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.4.3 netmask 0xfff8 carp: MASTER vhid 4 advbase 1 advskew 10 Backup #ifconfig |grep -A2 carp carp0: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.1.3 netmask 0xff00 carp: BACKUP vhid 1 advbase 1 advskew 20 carp1: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 1.1.2.3 netmask 0xff00 carp: BACKUP vhid 2 advbase 1 advskew 20 carp2: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.3.3 netmask 0xff00 carp: BACKUP vhid 3 advbase 1 advskew 20 carp3: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 10.1.4.3 netmask 0xfff8 carp: BACKUP vhid 4 advbase 1 advskew 20 Master: #netstat -ni |grep carp NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll carp0 1500 Link#12 311894 1 5926852 0 0 carp0 1500 10.1.110.1.1.3 42293866 - 263238 - - carp1 1500 Link#13 48653 1 5663615 0 0 carp1 1500 10.1.210.1.2.3 153785957 -0 - - carp2 1500 Link#14 48661 1 5663615 107 0 carp2 1500 10.1.3/24 10.1.3.3476782 -0 - - carp3 1500 Link#15 48974 1 5663634 1155 0 carp3 1500 10.1.4.3/ 10.1.4.3 6885622 -0 - - Backup: #netstat -ni |grep carp NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll carp0 1500 Link#12 35221 0 6437 0 0 carp0 1500 10.1.110.1.1.3 8699 -0 - - carp1 1500 Link#13 35220 0 6438 0 0 carp1 1500 10.1.210.1.2.3 86000 -0 - - carp2 1500 Link#14 35221 0 6437 0 0 carp2 1500 10.1.3/24 10.1.3.3 0 -0 - - carp3 1500 Link#15 35190 0 644323 0 carp3 1500 10.1.4.3/ 10.1.4.3 958 -0 - - Thanks in advance! -- Best regards, Eugene mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: master-backup CARP issue
Hello Girish, Wednesday, November 14, 2007, 1:25:41 PM, Girish Venkatachalam [EMAIL PROTECTED] wrote: GV On 09:50:51 Nov 14, Eugene wrote: Hello freebsd, We have two FreeBSD boxes, each one has 4 CARP interfaces in preempt mode, without arp balancing. Backup without any reason preempts Master and after a while (an hour or two) it becomes Backup again. When Backup becomes Master on Master box net.inet.carp.suppress_preempt: 1, but all interfaces are up and seemed to work properly. Is there any ways to debug this issue? Thanks in advance! GV I could be talking nonsense but still... GV Have you tried adjusting the advskew and advbase parameters? GV Another thing. Are the NICs reliable? GV Have you tried with a different NIC? GV Looks like you don't have a faulty NIC here. So it could be the GV other GV possibility. No, actually i haven't tried to play with advskew and advbase parameters, and I'll give it a try, thanks. I'll report results if it helps. Yes, NIC's seemed to be reliable. If I should try a different NIC then which one should I switch, all 4? -- Best regards, Eugenemailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
www browser
Hi! Does any modern web browser exist there, that is capable to run with Xlib only, e.g. without any client fonts (using remote font server instead), that does not require fontconfig, cairo, Render extention? Please CC: me when replying, I'm not in a list. Thank you. Eugene Grosbein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WiFi ipw howto?
On Sun, Nov 05, 2006 at 07:03:49PM +, Marwan Sultan wrote: Hi, 3945ABG is not supported yet, by any method. not NDIS not any option yet. Also donot try any of the options or drivers in http://damien.bergamini.free.fr/ipw/ it doesnot support 3945ABG even if it says (almost) it supported. Hope someone will showup some day very soon with this driver, as many new laptops specially HP are using it. By the way, is your soundcard driver working? Yes. It's working good with module snd_hda.ko (HP Compaq nc6320 ES479EA has sound card AC97 2.0 compatible) -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WiFi ipw howto?
Hello! I'm use FreeBSD CURRENT, ${OSVERSION} is 700024 So, I have laptop HP Compaq nc6320 whith WiFi adapter Intel 3945ABG. When I turning on my WiFi using button on the laptop, I see in dmesg following: | # dmesg tail: | ugen0: Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 3 on uhub5 Now, I find following site for configure my FreeBSD: http://damien.bergamini.free.fr/ipw/ipw-freebsd.html In this site I see that I should build the port net/ipw-firmware. But I read in /usr/ports/UPDATING: | 20060418: | AFFECTS: users of net/{ipw,iwi}-firmware | AUTHOR: [EMAIL PROTECTED] | | Some changes in the way ipw(4) and iwi(4) work lead to fundamental | changes in ipw-firmware and iwi-firmware ports. Since these drivers | are now using loadable kernel modules as firmware, two new ports have | been created: net/ipw-firmware-kmod and net/iwi-firmware-kmod. | | You should not be able to install the wrong one since detection is | based on your FreeBSD version. Trying to install the wrong port will | result in an error message (port marked as IGNORE). And when I trying to run make in this port, I get following error: | # cd /usr/ports/net/ipw-firmware/ | # make | | === ipw-firmware-1.3_8 is now obsolete, | install net/ipw-firmware-kmod instead. | | *** Error code 1 | | Stop in /usr/ports/net/ipw-firmware. Ok, now I trying to build ipw-firmware-kmod: | # cd /usr/ports/net/ipw-firmware-kmod/ | # make | === ipw-firmware-kmod-1.3_1 needs fresh ipw(4), | install net/ipw-firmware instead. | *** Error code 1 | | Stop in /usr/ports/net/ipw-firmware-kmod. This looks like a joke... So in the /usr/ports/net/ipw-firmware-kmod/Makefile I find folliwing lines: | .if !( ${OSVERSION} ${MIN7OSVERSION} || \ | ( ${OSVERSION} 70 ${OSVERSION} = ${MIN6OSVERSION} ) ) | IGNORE= needs fresh ${DRIVERNAME}(4), install net/${DRIVERNAME}-firmware instead | .endif My ${OSVERSION} is 700024, ${MIN6OSVERSION} and ${MIN7OSVERSION} are 99. It's seems to me this is a bug, and exclamation should be removed... Does anybody know whete I can find FRESH howto about installation of this drivers? Why I see USB messages about ugen, when I turning on WiFi adapter? What should I do to configure WiFi? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bug in tcpdump?
On Thu, Jun 01, 2006 at 09:15:52PM +0400, Andrew Pantyukhin wrote: On 6/1/06, Eugene M. Minkovskii [EMAIL PROTECTED] wrote: It seems to me that I see a bug in tcpdump(1): option -A working same as -x and don't produce ASCII output. Попробуй так: tcpdump -npx -i iface Thank you, but I don't need a solution. If this is a bug, I'll wrote a pr, If I mistaken, I don't wrote pr. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bug in tcpdump?
It seems to me that I see a bug in tcpdump(1): option -A working same as -x and don't produce ASCII output. (I use FreeBSD 6.1) -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loose locale after upgrade from 5.4 to 6.1RC2
On Tue, May 02, 2006 at 08:15:06AM +0400, Eugene M. Minkovskii wrote: Hello. I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian locale:( I can't type russian letters and many programs print some warnings about locale. But russian fonts are worked: When I go to other mashine through ssh, I see it. For example: svn report: svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is ru_RU.KOI8-R svn: error: please check that your locale name is correct So, this is my locale: $ locale LANG=ru_RU.KOI8-R LC_CTYPE=ru_RU.KOI8-R LC_COLLATE=ru_RU.KOI8-R LC_TIME=ru_RU.KOI8-R LC_NUMERIC=ru_RU.KOI8-R LC_MONETARY=ru_RU.KOI8-R LC_MESSAGES=ru_RU.KOI8-R LC_ALL= (Same I see on old worked mashine). This is fragment of my rc.conf: font8x14=cp866-8x14 font8x16=cp866b-8x16 font8x8=cp866-8x8 scrnmap=koi8-r2cp866 keymap=ru.koi8-r.win.winkey.kbd (Last line is my own keymap, when I set system keymap through sysinstall, I can't type in russian too --- same effect) environment I set by user class and /etc/login.conf. User has russian class, and in login conf we see: # # Russian Users Accounts. Setup proper environment variables. # russian|Russian Users Accounts:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:\ :tc=default: -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I solve the problem: after cvsup from 5.4 to 6.x and rebuild the world, we MUST recompile many ports including bash. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
loose locale after upgrade from 5.4 to 6.1RC2
Hello. I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian locale :( I can't type russian letters and many programs print some warnings about locale. But russian fonts are worked: When I go to other mashine through ssh, I see it. For example: svn report: svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is ru_RU.KOI8-R svn: error: please check that your locale name is correct So, this is my locale: $ locale LANG=ru_RU.KOI8-R LC_CTYPE=ru_RU.KOI8-R LC_COLLATE=ru_RU.KOI8-R LC_TIME=ru_RU.KOI8-R LC_NUMERIC=ru_RU.KOI8-R LC_MONETARY=ru_RU.KOI8-R LC_MESSAGES=ru_RU.KOI8-R LC_ALL= (Same I see on old worked mashine). This is fragment of my rc.conf: font8x14=cp866-8x14 font8x16=cp866b-8x16 font8x8=cp866-8x8 scrnmap=koi8-r2cp866 keymap=ru.koi8-r.win.winkey.kbd (Last line is my own keymap, when I set system keymap through sysinstall, I can't type in russian too --- same effect) environment I set by user class and /etc/login.conf. User has russian class, and in login conf we see: # # Russian Users Accounts. Setup proper environment variables. # russian|Russian Users Accounts:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:\ :tc=default: -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to locate file by inode?
Hello! Does anybody know how to locate file by inode? For example, using fstat(1) I see: USER CMD PID FD MOUNT INUM MODE SZ|DV R/W ... user some_program 84130 0 /dev 68 crw--w ttyp0 rw user some_program 84130 1 /usr 595890 -rw-r--r-- 0 w user some_program 84130 2 /dev 68 crw--w ttyp0 rw ... I see that some_program using file whith inode 595890 on mount point /usr like STDOUT. To find it I do following: $ find -x /usr -inum 595890 to find two files: $ find -x /usr \( -inum 595890 -o -inum $other_inum \) -ls but this is too slow. Does any body know other, more directly method? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange memory problems
Hi people, I have a strange problem with memory. System is FreeBSD 5.3, 4GB physical memory. Even in very quiet load, memory allocation statistics looks like this: last pid: 38330; load averages: 0.67, 1.05, 1.03 up 6+06:50:14 15:52:30 159 processes: 2 running, 156 sleeping, 1 zombie Mem: 757M Active, 2673M Inact, 220M Wired, 107M Cache, 112M Buf, 7000K Free Swap: 10G Total, 1884K Used, 10G Free That is, almost 3GB of memory is Inactive while free memory is almost used up. If I do 'ps axvf' and sum up the memory columns, I get RSS=1.5GB and VSZ=1.9GB (approximately). With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but Inactive Memory remains above 2.5GB. Is it a memory leak somewhere or what? Thanks in advance Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump/snapshot problems
Hi people, Sometimes I have strange problems with dump -- or, rather, with snapshot it makes. System is FreeBSD 5.3, default kernel configuration Two types of problems: 1) System hangs or at least not accessible over the network and has to be physically reset. Last message on console Collecting pv entries -- suggest increasing PMAP_SHPGPERPROС maxproc limit exceeded by id(0), please see tuning(7) and login.conf(5) Question: what exactly should I tune? 2) Dump process dies with message mksnap_ffs: Cannot create //.snap/dump_snapshot: Resource temporarily unavailable dump: Cannot create //.snap/dump_snapshot: No such file or directory dmesg message fsync: giving up on dirty: 0xc57b5d68: tag devfs, type VCHR, usecount 60263, writecount 0, refcount 960, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc610f7d0 (pid 87575) dev ad4s1a What is wrong? Thanks in advance Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange memory problems
With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but Inactive Memory remains above 2.5GB. Is it a memory leak somewhere or what? That looks quite normal to me, apart from the zombie process. FreeBSD always attempts to occupy most of the RAM, because it's a very fast way of saving information, and after all a lot of RAM is of no use if there's nothing in it. So long as no other program needs it for more important information, there's nothing wrong with keeping a lot of unimportant stuff around in case it is needed again quickly. Ok, that's nice. However, I was concerned not so much with low Free memory as with Act+Inact being 1.5-4 times greater than size of running processes. What data is there, exactly? I don't think it has more than 1GB of unsynced disk writes? Also, a more general question: how do I estimate 'real' memory load? Sum(RSS) + 0.5*DiskCache ? For example, I would like to know (in advance) e.g. how many Apache processes we can handle before memory becomes a problem. Do you think it would be nice if top(1) could give some consolidated measure -- probably taking into account usage statistics and/or response time? Or at least two measures -- e.g. How much memory can be allocated off-hand without any disk I/O and How much memory can be allocated so that swapped data would not have to be re-read again in reasonable time? Thanks a lot Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Free BSD Certification
Hi, I would like to know if there is a institution in South Africa, Gauteng, Pretoria that offers Certification on Free BSD? And what are there contact details. Yours truly, Eugêne Prenzler IT Divisional Manager Behaviour Systems Development (Pty) Ltd. (+27)12-309-6000 Switchboard (+27)86-675-3061 Direct Fax (+27)82-752-3713 Cellular Confidentiality Warning === The contents of this e-mail and any accompanying documentation are confidential and any use thereof, in what ever form, by anyone other than the addressee is strictly prohibited. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting UFS under Linux
Hello, please tell me, how can I (if I can) mount UFS2 partition under Linux (I install gentoo Linux 2005.1). -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mplayer broke FreeBSD console
Hello. I'm using mplayer to play audio mp3 files in console WITHOUT X. Console is in VESA_132x50 mode. My mplayer broke console. It seems like symbol \r does not catch properly. But in Rxvt or Xterm all correct. So, I forced to use -quiet option when I use mplayer in console. Versions: MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6) Detected cache-line size is 32 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 complied for i386 CPU with extensions MMX MMX2 SSE FreeBSD 5.4-RELEASE-p1 FreeBSD kernel: device sc options SC_HISTORY_SIZE=1000 options SC_PIXEL_MODE -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-newbie!
On Tue, Jul 26, 2005 at 04:38:01PM +0100, lars.lindblad wrote: Hi. My name is Lars and lives in Sweden. I have finally bought FreeBSD 5.2 and the handbook from the FreeBSD-mall. That's great! I've wanted to leave the Windows-world and I have been testing Linux for a few years. But I have some problems with my FreeBSD-installation, and I hope someone here can help me! Facts: FreeBSD5.2 (feb 2004 version), IBM Thinkpad (laptop with 300Mhz Intel II, 96Mb RAM and 20Gb HDD. It seems to me, more wise is to use FreeBSD 5.4 in laptop, because FreeBSD 5.2 was some problems in ACPI. thats problems was fixed in latest releases. 1. Since I have been used to KDE over the years, I have decided to continue with that, but it locks up the entire computer - sometimes when I start KDE, and mostly when I shut it down. Perhaps you should turn off ACPI. First of all try to boot witout ACPI (I don't remember, but it seems to me this is a second item in boot menu), if this bring good resalt to you, go to the /boot/device.hints and add to this file following line: hint.acpi.0.disable=1 2. In frustration over KDE-issues I tested Gnome. Quite pretty Window Manager, but I never got any working keyboard there. Ideas? And can I run KDE-applications in Gnome? I use Kstars a lot. 3. In Sweden we have some exciting extra wovels... but the keymaps never seem to find them. What do I do wrong? What kind of a keyboard do I have on a Thinkpad anyway?! At some configurations I've got the and , but no ~, and of course the opposite has also happened. I think you don't configure your X properly. Perhaps you may copy paste your language settings from Linux, which you tested for a few years. I use WindowMaker and run many KDE and GNOMEs progrums under it. Moreover, I'm a russian user. This is much more hard language for localization, then sweden. We have more then 3 different encodings, more then 2 different input-maps. Um... I think that's all for now. Hope someone can help! Thanks in advance! / Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Battlefield 2 Server won't start
Did you install the linux binaries? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk cache tuning
Hello. I have a box with FreeBSD 5.4, where disk subsystem is a bottleneck. It runs several applications which access huge number of files, usually small. They do not require a lot of memory, network I/O is also not very intensive. I have read tuning(7), enabled softupdates, noatime and such. But I have an impression that most of the memory (1Gb) is not really used, while it could be used for disk cache. top(1) reports about 800Mb as inactive, and reading 200-300Mb of information from disk still causes a lot of disk activity. How can I increase the amount of memory used for disk cache without touching other subsystems ? As far as I understand, simply increasing MAXUSERS is not a good idea, because it will also increase NMBCLUSTERS and such, which I do not really want. Please Cc: me as I'm not on this list. Regards, Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(fwd) sshd events
Hello. I need fixing in mysql database sshd events: some user try to loggin in from ip xxx.xxx.xxx.xxx and use account xxx. But my /var/log/auth.log has not nessesary information (for example: if I put some users into AllowGroups, in logs I can read something like this: User xxx not allowed because none of user's groups are listed in AllowGroups, and I can't see from what IP I got this request.) Moreover, I think parsing auth.log is not beautelul idea. Can sshd do some actions after he allow or deny connection? Can he run some script with some arguments? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x forgetting passwords.
On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote: Eugene M. Minkovskii wrote: On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote: Hi, I am running a FreeBSD 5.1 system and some time ago it startet to forget some user passwords. As the system is now running for over 2 years I cannot imagine any reason why this shound be. Any ideas. root# su user user$ passwd newpasswd newpasswd user$ exit Thanks in advance Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] And how do I do it from remote via ssh? you$ sudo su user or, if you in group wheel, perhaps possible following you$ su user if you are not sudoer and you have not other way to take a root privilegies, you can't be other user. And this is right. In other case anybody can be anybody. thx Christian PS: that was not quite an answer to my question I think, was it? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x forgetting passwords.
On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote: Hi, I am running a FreeBSD 5.1 system and some time ago it startet to forget some user passwords. As the system is now running for over 2 years I cannot imagine any reason why this shound be. Any ideas. root# su user user$ passwd newpasswd newpasswd user$ exit Thanks in advance Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD
If the group as a whole want to go with FreeBSD, then why are some of the members scared of the text. If you are indeed programmers, then you should not be scared of text. It sounds like you do not know a lot about FreeBSD so I would suggest to stick with what you know if all you are doing is compiling; you have a large enough task as it is with robotics. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
APC BX800-CN UPS or something similar
I'm considering purchasing an APC BX800-CN UPS for my home file server. What I don't understand, is what happens when the power comes back on? Does the UPS somehow turn the computer back on? Also, there are a number of deamons that could be run for APC UPS's but which one is most popular? Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Logout procedure: Where to call own script?
Hi, In order to log the logintime for a person on a certain PC running FreeBSD 5.3, I want to call a logout procedure when the person logs out (either out of Gnome or with a shutdown) as follow: last -y -t ttyv0 | awk '{print $1,$4,$5,$6,$9}' | loginperiod /home/user/name/Test.log where loginperiod is a tested Perl script which will give the required output. However, the total logintime is written in /var/log/wtmp during the logout process. Just after that moment, I want to call my script, using the command sequence above, and seperately log the time in /home of the user (or like: user_Timesheet.log instead of Test.log). I have tried to call this script in /etc/rc.shutdown, but it only creates Test.log as an empty file (the command above will give an output like: name date time today time this month total logins). Where, during the logout procedure, is /var/log/wtmp updated for the user time? Where and how should I call the above command sequence in order to seperately log the logintime for today using the last command?? Thank you in advance for any insights, Eugene Zegers -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downloading entire directories
I think I will just stick with wget, I like the way it works. Does anyone know why there is no recursive feature implemented into something as basic as ftp? DerDrache what do you mean by sounding redundantly redundant? I guess the Perl motto works in almost all situations, TIMTOWTDI. But I guess I'm looking for the 'better' way to do it. Thank you all once again. Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
downloading entire directories
I was wondering if ftp is able to download entire directories. I've read through the man page and didn't really find anything specific to downloading a selected directory. There was a note however, saying to use tar to tar a directory and then download that tar file. The problem is I do not have remote access to this particular ftp server. The only alternative that I could think of using is wget. Although I would prefer to use ftp. Thank you. This is for a perl script to basically check an ftp server every day, download what's new, and add the new items to a database to not download the same items again the next day. Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: highpoint rocketraid 454 - RAID 1
Well, I downloaded the boot floppies from the most current snapshot which was dated May 18. Anyway, I booted my system up, and still no luck in the dmesg =(. I even started the 'Standard' installation to see if it would give me the choice to configure ar0; unfortunately, ad4, and ad6 were the only options. Now I'm going to quickly swap my card for the adaptec and see what happens. I still find it very odd that my card isn't working properly with the OS. Maybe the card is faulty? Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: highpoint rocketraid 454 - RAID 1
Wohooo, it finally worked! I think I'm just going to leave the Adaptec card in there. Just by looking at the bios menu makes me feel more confident that it is a better product. The Highpoint bios was really mediocre in comparison. Anyway, I will e-mail Soren today regarding this issue. Thank you once again for your help. Eugene acd0: CDROM GCR-8523B/1.03 at ata1-slave PIO4 ad4: 190782MB WDC WD2000JB-00GVA0/08.02D08 [387621/16/63] at ata2-master UDMA100 ad6: 190782MB WDC WD2000JB-00GVA0/08.02D08 [387621/16/63] at ata3-master UDMA100 ar0: 190782MB ATA RAID1 array [24321/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master Mounting root from ufs:/dev/ar0s1a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
highpoint rocketraid 454 - RAID 1
OK, I'm seriously stuck. I have searched every resource exhaustively, found bits and pieces, but not what I'm after. This is *honestly* my last resort. I have a HighPoint RocketRAID 454 with two Western Digital 200GB disks (I was hoping to boot FBSD off of these). I've setup a RAID 1 array under the bios utility program, and ran the FreeBSD 5.4 installer. I remember seeing two different disks (ad4, ad6) when it came to formatting/partitionning but I thought nothing of it. Until of course, I wanted to see if there was a way, other than rebooting, to check the RAID 1 status. I started reading through atacontrol(8) and found that I could use 'atacontrol status ar0' which gave me: atacontrol: ioctl(ATARAIDSTATUS): Device not configured I do not see anything in my dmesg relating to ar0 being up and running, and displaying the sub-disks which would explain why atacontrol would be giving me that error message. However, I do see that the RAID card, and the two disks, ad4, ad6, have been detected properly. I will attach my dmesg output below. Thank you in advance. Eugene $ dmesg Copyright (c) 1992-2005 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.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: ASUS A7V8X-X Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2200+ (1791.22-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc040AMIE,DSP,3DNow! real memory = 536854528 (511 MB) avail memory = 515678208 (491 MB) ioapic0: Changing APIC ID to 2 ioapic0 Version 0.3 irqs 0-23 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: ASUS A7V8X-X on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pci1: display at device 0.1 (no driver attached) atapci0: HighPoint HPT374 (channel 0+1) UDMA133 controller port 0xa400-0xa4ff,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807 irq 17 at device 14.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: HighPoint HPT374 (channel 2+3) UDMA133 controller port 0x8800-0x88ff,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 irq 17 at device 14.1 on pci0 ata4: channel #0 on atapci1 ata5: channel #1 on atapci1 uhci0: VIA 83C572 USB controller port 0x8400-0x841f irq 21 at device 16.0 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x8000-0x801f irq 21 at device 16.1 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0x7800-0x781f irq 21 at device 16.2 on pci0 usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: serial bus, USB at device 16.3 (no driver attached) isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 atapci2: VIA 8235 UDMA133 controller port 0x7400-0x740f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 ata0: channel #0 on atapci2 ata1: channel #1 on atapci2 pci0: multimedia, audio at device 17.5 (no driver attached) vr0: VIA VT6102 Rhine II 10/100BaseTX port 0x7000-0x70ff mem 0xdd80-0xdd8000ff irq 23 at device 18.0 on pci0 miibus0: MII bus on vr0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0c:6e:22:7b:e2 fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold 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 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Re: highpoint rocketraid 454 - RAID 1
Thank you Ted, and Bjorn. I really appreciate your help. I will work on this tonight since I have a vector calculus midterm today. So what you're saying Ted is that there is something wrong with my card? For instance, it might be a different revision of some kind? I was actually thinking to swap my HighPoint card with an Adaptec 1200a which I'm using as an ide card on the other computer. If it works, I'll just leave the Adaptec in my FBSD and probably send off the HighPoint to Søren Schmidt. I'll keep you posted. Thank you once again. =) Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sound absent
Hello people! I'm using HP motherboard with integrated audio chipset, and I made statically kernel. So, I wrote in my kernel configuration: device sound device snd_ich and NO_MODULES=yes in /etc/make.conf. Then I make kernel and reboot. Now I see following: $ dmesg | grep pcm0 pcm0: Intel ICH5 (82801EB) port 0xd400-0xd43f,0xd800-0xd8ff mem 0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: Unknown AC97 Codec (id = 0x41445368) pcm0: Intel ICH5 (82801EB) port 0xd400-0xd43f,0xd800-0xd8ff mem 0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: Unknown AC97 Codec (id = 0x41445368) I have not idea about why this information present in dmesg two times... But it's not important, perhaps. $ pciconf -lv ... [EMAIL PROTECTED]:31:5: class=0x040100 card=0x218114a4 chip=0x24d58086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller' class= multimedia subclass = audio ... and finally: $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Intel ICH5 (82801EB) at io 0xfe77b800, 0xfe77b400 irq 17 bufsz 16384 (1p/1r/0v channels duplex default) Great! It seemes to all be okay! But there are silenice in my headphones :( Have you any idea? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IBM eServer 346 ServeRaid is too slow
Hi List I've got Subj and FreeBSD-5.4PRE on it. But RAID0 is too slow: [EMAIL PROTECTED]:eugene# dd if=/dev/zero of=/var/tmp/1 bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 31.949508 secs (3281979 bytes/sec) Also what does the following mean? Interrupt storm detected on irq16: bge0 bge1+; throttling interrupt Kernel boot messages: Copyright (c) 1992-2005 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.4-PRERELEASE #3: Wed Apr 6 17:46:08 MSD 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BETA Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.13-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf34 Stepping = 4 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE real memory = 3221016576 (3071 MB) avail memory = 3153862656 (3007 MB) ACPI APIC Table: IBMSERONYXP FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic2 Version 2.0 irqs 48-71 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: IBM SERONYXP on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x588-0x58b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pci0: ACPI PCI bus on pcib0 pci0: unknown at device 0.1 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci2: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 4.0 on pci0 pci3: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci3 pci4: ACPI PCI bus on pcib3 mpt0: LSILogic 1030 Ultra4 Adapter port 0x4000-0x40ff mem 0xcffe-0xcffe,0xcfff-0xcfff irq 28 at device 1.0 on pci4 pcib4: ACPI PCI-PCI bridge at device 0.2 on pci3 pci5: ACPI PCI bus on pcib4 pcib5: ACPI PCI-PCI bridge at device 6.0 on pci0 pci6: ACPI PCI bus on pcib5 bge0: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4001 mem 0xcdff-0xcdff irq 16 at device 0.0 on pci6 miibus0: MII bus on bge0 brgphy0: BCM5750 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0d:60:9a:8d:08 pcib6: ACPI PCI-PCI bridge at device 7.0 on pci0 pci7: ACPI PCI bus on pcib6 bge1: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4001 mem 0xcbff-0xcbff irq 16 at device 0.0 on pci7 miibus1: MII bus on bge1 brgphy1: BCM5750 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:0d:60:9a:8d:09 pci0: base peripheral at device 8.0 (no driver attached) uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0x2200-0x221f irq 16 at device 29.0 on pci0 usb0: Intel 82801EB (ICH5) USB controller USB-A 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 uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0x2600-0x261f irq 19 at device 29.1 on pci0 usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0xf000-0xf3ff irq 23 at device 29.7 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: EHCI (generic) USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: single transaction translator uhub2: 4 ports with 4 removable, self powered pcib7: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib7 drm0: ATI Radeon QY RV100 7000/VE port 0x3000-0x30ff mem 0xdfff-0xdfff,0xd000-0xd7ff irq 16 at device 1.0 on pci1 info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH5 SATA150 controller port 0x480-0x48f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.2 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ichsmb0: Intel 82801EB (ICH5) SMBus controller port 0x440-0x45f irq 17 at device 31.3 on pci0 smbus0: System Management Bus on ichsmb0 smb0: SMBus generic I/O on smbus0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 atkbd: unable to set the command byte. kbd0
supermicro 6014H-82
Hi list I've got the subj and tried to install FreeBSD. 5.3-R, 5.4-BETA1, 5.4-STABLE did not install at all. They timeouted on ATA and hang while probing asr0, but 5.2.1-R installed fine. Any suggestion? I would like to use 5.4-R. Does anybody use the subj with 5.3-R or later? Best Regards -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: supermicro 6014H-82
In safe mode 5.4-B1 and 5.3-R is booted fine from install CD without any hangs. On 29 2005 12:44, you wrote: Have you tried installing it in safe mode? Eugene Mitrofanov wrote: Hi list I've got the subj and tried to install FreeBSD. 5.3-R, 5.4-BETA1, 5.4-STABLE did not install at all. They timeouted on ATA and hang while probing asr0, but 5.2.1-R installed fine. Any suggestion? I would like to use 5.4-R. Does anybody use the subj with 5.3-R or later? Best Regards -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: supermicro 6014H-82
FYI: the problem is solved. I've installed 5.2.1-R and cvsup to 5.4-pre. All works fine for me. It seems that it is a feature of the GENERIC kernel from 5.3 / 5.4 boot cd. Thanks Hi list I've got the subj and tried to install FreeBSD. 5.3-R, 5.4-BETA1, 5.4-STABLE did not install at all. They timeouted on ATA and hang while probing asr0, but 5.2.1-R installed fine. Any suggestion? I would like to use 5.4-R. Does anybody use the subj with 5.3-R or later? Best Regards -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
Sorry, it's again I. So, I was trying to modify my OpenBSD pf brandmauer to collect me information about traffic. Now I has following rules: pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state So, where could I put label to mark inbound traffic? This traffic goes into my machine because I use state table. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
On Tue, Mar 22, 2005 at 01:18:27PM +0100, Peter N. M. Hansteen wrote: Eugene M. Minkovskii [EMAIL PROTECTED] writes: I'd say something along the lines of allowed_out = { ssh, domain, http, https, etc... } pass out on $ext_if proto tcp $allowed_out label allowed-out keep state you could differentiate among source addresses, for example by specifying client1 = { 192.68.n.1, 192.168.n.2 } client1 = { 192.68.n.3, 192.168.n.4 } client2_inports = { whatever they need } pass out on $ext_if from $client1 to any proto tcp $allowed_out \ label client1 keep state pass out on $ext_if from $client2 to any proto tcp $allowed_out \ label client2-out keep state pass from any to $client2 $client2_inports label client2-in keep state and so on. Hope this helps. Just a moment, does it mean that your last rule allow any incoming connections from world to clients if thay matched by client2_inports, ANY, not only connections opened by clients? Moreover, I read in documentation, that state table reads BEFORE rules, and connections that opened by clients in first rule: pass out on $ext_if from $client1 to any proto tcp $allowed_out \ label client2 keep state whill not marked by label client2-in because thay don't pass to this rule. Am I right? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
In a word, yes. The 'keep state' in these examples, would AFAIK mean that the counters would keep track of all traffic for a connection, so traffic initiated from the inside would match the pass out rule's counters, while connections opened from the outside would count on the pass in rules. Unfortunely, this mean, that OpenBSD's pf can not measure traffic, because we can not separate incoming and outgoing traffic in bidirectional rule. Or we must not use keep state feature. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
On Tue, Mar 22, 2005 at 02:28:09PM +0100, Peter N. M. Hansteen wrote: Eugene M. Minkovskii [EMAIL PROTECTED] writes: Unfortunely, this mean, that OpenBSD's pf can not measure traffic, because we can not separate incoming and outgoing traffic in bidirectional rule. Or we must not use keep state feature. I think I understand what you mean - you do not want per connection statistics, you want packets passed by direction, regardless of which side initiated the traffic, subdivided by pass rule. At the moment I'm not sure how to put that into pf.conf rules, but you may want to go where the real pf experts hang out - pf@benzedrine.cx - and see if there's an angle we haven't thought of. Yes, now you understand me right. Sorry my bad english :). pf@benzedrine.cx is it mail-list or private e-mail. Does I need to register anywhere before mail to it? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
On Mon, Mar 21, 2005 at 08:54:35AM +0100, Peter N. M. Hansteen wrote: Eugene M. Minkovskii [EMAIL PROTECTED] writes: block in log on $ext_ip inet from any to $ext_ip label $ext_ip pass in on $ext_ip inet from any to $ext_ip port 22 keep sate As you can see, ssh packets match to all rule and pass in because last rule win. Does it mean, that I can't see ssh's packet using command # pfctl -sl here you label the blocked packets but not the ones you pass, which means your ssh packets would count toward the packets passed counter only. And if I use block in log on $ext_ip inet from any to $ext_ip label $ext_ip pass in on $ext_ip inet from any to $ext_ip port 22 keep sate label $ext_ip ... I see label twice ? No. But both rules would increment the $ext_ip counter, which means that your $ext_ip counter would be essentially packet totals. Last matching rule wins (with state instead of sate it would work), so each packet increments the relevant counters only once. I was trying some experiments... It seems to me you are right in all except one: second line don't increase $ext_ip counter, but... add other counter with same name: # pfctl -sr | grep label block in log on $ext_if inet from any to $ext_if label $ext_if block in log quick on $ext_if inet from crackers to $ext_if label $ext_if pass in on $ext_if inet proto tcp from any to $ext_if port = ssh flags S/SA keep state label $ext_if pass in on $ext_if inet proto tcp from any to $ext_if port = smtp flags S/SA keep state label $ext_if pass in on $ext_if inet proto tcp from any to $ext_if port = auth flags S/SA keep state label $ext_if pass in on $ext_if inet proto tcp from any port = ftp-data to $ext_if user = 62 flags S/SA keep state label $ext_if # pfctl -vsl rl0 48703 10 936 rl0 26095 0 0 rl0 25845 776 81479 rl0 29 25 2952 rl0 29 0 0 rl0 29 0 0 But, of course, this output is scriptable. (I can sum this numbers in pyhon or bc) Perhaps you know where I can find workable example of this? Randal Schwartz has a nice article called Monitoring Net Traffic with OpenBSD's Packet Filter at http://www.samag.com/documents/s=9053/sam0403j/0403j.htm Thanks -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenBSD's pf and traffic
Hello! Does any body know, how can I use OpenBSD's pf (packet filter) for determine total traffic volume on network interface? If it's impossible, what facility you recommend me to do this? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
On Sun, Mar 20, 2005 at 05:51:58PM +0100, Peter N. M. Hansteen wrote: Eugene M. Minkovskii [EMAIL PROTECTED] writes: Does any body know, how can I use OpenBSD's pf (packet filter) for determine total traffic volume on network interface? If it's impossible, what facility you recommend me to do this? Various pfctl -s options (eg pfctl -s info) give you counters of bytes and packets passed or blocked. If you use labels in your pass rules, you'll get per label counters as well. Thank you, Peter. So, now I can define rule like block in log on $ext_ip inet from any to $ext_ip label $ext_ip pass in on $ext_ip inet from any to $ext_ip port 22 keep sate As you can see, ssh packets match to all rule and pass in because last rule win. Does it mean, that I can't see ssh's packet using command # pfctl -sl And if I use block in log on $ext_ip inet from any to $ext_ip label $ext_ip pass in on $ext_ip inet from any to $ext_ip port 22 keep sate label $ext_ip ... I see label twice ? Perhaps you know where I can find workable example of this? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd behaviour
On Wed, Mar 16, 2005 at 10:00:44AM -0600, Nathan Kinkade wrote: As another poster mentioned, the problem is likely related to DNS, and I have experienced it as well. If you are using Privilege Separation, then an sshd process will chroot itself into /var/empty before performing authentication. /var/empty is itself usually empty. One thing you can do is to make the dir /var/empty/etc and then drop a copy of your /etc/hosts file into the newly created /var/empty/etc/ directory. You might want to make sure that the hosts file contains a mapping to the LAN machines which you want to ssh from. Keep in mind that /var/empty has the schg flag set, so you won't be able to copy anything to it without disabling this first. See more at `man chflags`. Try something like this: # chflags -R noschg /var/empty # mkdir /var/empty/etc # cp /etc/hosts /var/empty/etc # chflags -R schg /var/empty This will likely clear up your problem. Nathan Thank you, Nathan. Can I put soft link into /var/empty/etc (this is crossdevice link, and I can't put hard link in it)? And does I realy need -R key in last command which you recomended? This mean that directory /var/empty/etc has schg flag too. Is it nessesery? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd behaviour
Hi. I see strange to me behaviour of sshd. Please tell me is it bug or feature? I use following network configuration: ######## # LAN # - # gateway # - # router # ######## Gateway machine has sshd. Normally I work from LAN on the gateway good. But when connection with provider's router broken: ###### ## # LAN # - # gateway # -X- # router # ###### ## I can't login from LAN to gateway. Moreover, I can't login from gateway to itself, using loop interface. But other Network servicec working good. For example, I can do # telnet gateway 25 from LAN. Provider's router is default router in /etc/rc.conf. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mutt working throu NFS only in read-only
Hello, I have some trouble in NFS configure. I need to read mail through NFS. So I say on the server: [EMAIL PROTECTED] cat /etc/exports: /var/mail 172.16.0.2 On client: [EMAIL PROTECTED] sudo mount_nfs 172.16.0.1:/var/mail ~user/mnt/nfs [EMAIL PROTECTED] ls -l ~user/mnt/nfs ... -rw--- 1 user user 28610895 8 10:06 user ... [EMAIL PROTECTED] mutt -f ~user/mnt/nfs/user All working good, except one: mutt open this mailbox only in read-only variant :( Can I change this? You can see in ls command above --- I can read and write my mailbox. For example, I try to change this file using vim, and have a success == [EMAIL PROTECTED] mutt -v Mutt 1.4.2.1i (2004-02-12) Copyright (C) 1996-2002 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: FreeBSD 5.3-RELEASE-p5 (i386) [using ncurses 5.2] Compile options: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE -USE_FCNTL +USE_FLOCK +USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +COMPRESSED +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO -ISPELL SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/mail PKGDATADIR=/usr/local/share/mutt SYSCONFDIR=/usr/local/etc EXECSHELL=/bin/sh -MIXMASTER To contact the developers, please mail to [EMAIL PROTECTED]. To report a bug, please use the flea(1) utility. vvv.initials 1.3.28.nr.threadcomplete rr.compressed -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB printing problem: /dev/ulpt0: device busy
Hello everybody, I'm experiencing certain problems with USB printing. I have a Minolta PagePro 1300W printer connected to USB port. FreeBSD 5.3 recognizes the printer just fine and creates /dev/ulpt0 and /dev/unlpt0 device nodes. But the simple test like echo test /dev/ulpt0 (or /dev/unlpt0) fails with the message /dev/ulpt0: device busy. And, respectively, if simple tests fail, then the complicated printing via ghostscript - filter - driver also doesn't work. I suppose some program uses the device already, but I don't know what it can be - I'm not running lpd (device is busy either with lpd running or not). There isn't really much regarding this problem on the net. Usually people have their USB printers working. Any suggestions are appreciated. Eugene Rogoza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd
On Wed, Mar 02, 2005 at 08:00:13AM +0100, Stevan Tiefert wrote: Hello list, when I am watching the /var/log/auth.log I see many missed logins from IP-addresses I never tried to login from. Am I right that they is a hacker trying to login on my mashine, because he was using loginnames I never created on my mashine like patrick, lydia, green, admin, and so on...? With regards Stevan Tiefert It seems to you are right. If you know that you go to you mashine only from one or two IP, you can write it in your firewall. For example, if you use ipfw: ext_if=rl0 trusted_ip=1.2.3.4,3.4.2.1 ipfw add allow tcp from $trusted_ip to me ssh in recv $ext_if ipfw add allow tcp from me ssh to $trusted_ip out xmit $ext_if Or something else. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
crontab synatx
Hello. I put in my crontab following string: # min hour mday month wday command 0 7*/3 * * echo Hello world So, I hope, this command will be workind every third day: 3,6,9,12 etc, because at man crontab we read: man 5 crontab For example, ``0-23/2'' can be used in the hours field to specify command execution every other hour (the alternative in the V7 standard is ``0,2,4,6,8,10,12,14,16,18,20,22''). /man 5 crontab But, my command worked at 28 feb, and 1 march. Other case I type # min hour mday month wday command 0 7*/14 * * echo Hello world And this is work at 15 febr. Is it bug or feature? Perhaps crontab count day of month from zero? If so, when should work command if I type directly number of day: # min hour mday month wday command 0 714 * * echo Hello world And how will be counted months? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cna't ssh localhost
Hi, I'm in trubble now, and don't know what to think about... I'm install FreeBDS 5.3. stable from DVD iso. This is fresh system: I'm not recompile the kernel and working with GENERIC kernel. This means that I don't use any firewall and ip filter. Now, I configure net interface in /etc/rc.conf: ... ifconfig_rl0=inet 172.16.0.2 netmask 255.255.255.252 defaultrouter=172.16.0.1 ... then I type following $ ssh 127.0.0.1 But connection hang up, of course, I can't do ssh from gateway (172.16.0.1) to localhost (172.16.0.2) too. # BUT! # If I comment line with defaultrouter in rc.conf: ... ifconfig_rl0=inet 172.16.0.2 netmask 255.255.255.252 #defaultrouter=172.16.0.1 ... and reboot, connecion working good: ssh 127.0.0.1 work, and ssh from gateway to local mashine work good. If I, after that type manually $ sudo route add 0.0.0.0 172.16.0.1 connection to loop interface hangs again. Have you any ideas? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freevrrpd bug or feature?
Hi Subj from CVS (with vlan support), FreeBSD 4.8-p16, 4.9-p3 and 5.3-Stable. I installed Subj on the two my routers and noticed that it does not work as should. I investigated the problem and discovered the following: vrrpd use the different destination MAC addresses for sending VRRPv2 Advertisement. tcpdump -eni fxp0 vrrp: 00:00:5e:00:01:16 01:00:5e:41:40:02, ethertype IPv4 (0x0800), length 60: IP x.x.x.254 224.0.0.18: VRRPv2, Advertisement, vrid 22, prio 255, authtype simple, intvl 1s, length 24 tcpdump -eni fxp1 vrrp: 00:00:5e:00:01:15 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 62: IP 172.17.0.254 224.0.0.18: VRRPv2, Advertisement, vrid 21, prio 255, authtype simple, intvl 1s, length 28 BTW, 01:00:5e:00:00:12 is determined as IETF-VRRP by ethereal, but 01:00:5e:41:40:02 does not known for it. It seems that freevrrpd daemon does not receive such broadcast packets and this is why fxp0 works in the master mode on both routers. I found how to fix this. I run 'ifconfig fxp0 promisc' I get one master and one backup. Does anybody meet the similar problem? Where I can find any information about processing MACs like above by kernel? Why 01:00:5e:41:40:02 does not delivered to freevrrpd and 01:00:5e:00:00:12 does? Regards -- EMIT-RIPN, EVM7-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netstat reset
Hi, all! Can anybody tell me how can I reset network statistic, which could be seen by command `netstat -i'? Thank you for advance Eugene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't remove directory
Hi! some months ago I'm install FreeBSD 5.2.1 on my PC. When I do it I set default partition size. For example /var has 256 Mb. After some time I found that It is too small for me. I move a lot of directory to /usr and make symlinks to it: mkdir /usr/var mv /var/tmp /var/mail /var/log /usr/var cd /var ln -s /usr/var/tmp ln -s /usr/var/mail ln -s /usr/var/log All of this working nice, except one: I cant remove /var/tmp. Only rename working. In this directory placed one dyeless directory /var/tmp/temproot/var/empty. How can I remove this directory? I try to fsck -y in single user momde, I trying rm -rf /var/tmp/temproot/var/empty in single user mode with only /var mounted. But All of this useful. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail and mbox permissions
On Thu, Jan 06, 2005 at 12:14:05AM +0100, J65nko BSD wrote: On Wed, 5 Jan 2005 23:23:29 +0300, Eugene M. Minkovskii [EMAIL PROTECTED] wrote: Hi. I use FreeBSD 5.3 and sendmail. When root rechieve the mail, mailbox's (/var/mail/root) permission bits has been setted to 600. Who and how it does? Can I change this behavior? -- For security reasons, the root account should not receice any mail. One of sendmail's alternatives qmail will even NEVER send any mail to the root account. Enter an alias for root in /etc/mail/aliases and run the newaliases command. Yes, I know this reasons, but I want to know what happens. Who change permissions on /var/mail/root. Why I see it in FreeBSD 5.3 and don't see in FreeBSD 5.2.1? What do you mean don't rechive any mail? mach daemond, mail to root they reports and I want easy way to reading it. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't remove directory
On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote: What is the error message when you: cd /var/tmp rm -r temproot as the root user? Ted Sorry Ted. System write Operation not permitted: rm: /var/old-tmp/temproot/var/empty: Operation not permitted rm: /var/old-tmp/temproot/var: Directory not empty rm: /var/old-tmp/temproot: Directory not empty rm: /var/old-tmp: Directory not empty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eugene M. Minkovskii Sent: Thursday, January 06, 2005 12:55 AM To: freebsd-questions@freebsd.org Subject: can't remove directory Hi! some months ago I'm install FreeBSD 5.2.1 on my PC. When I do it I set default partition size. For example /var has 256 Mb. After some time I found that It is too small for me. I move a lot of directory to /usr and make symlinks to it: mkdir /usr/var mv /var/tmp /var/mail /var/log /usr/var cd /var ln -s /usr/var/tmp ln -s /usr/var/mail ln -s /usr/var/log All of this working nice, except one: I cant remove /var/tmp. Only rename working. In this directory placed one dyeless directory /var/tmp/temproot/var/empty. How can I remove this directory? I try to fsck -y in single user momde, I trying rm -rf /var/tmp/temproot/var/empty in single user mode with only /var mounted. But All of this useful. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't remove directory
On Thu, Jan 06, 2005 at 05:20:55AM -0500, Chuck Swiger wrote: Eugene M. Minkovskii wrote: On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote: What is the error message when you: [ ...steps removed... ] Sorry Ted. System write Operation not permitted: rm: /var/old-tmp/temproot/var/empty: Operation not permitted rm: /var/old-tmp/temproot/var: Directory not empty rm: /var/old-tmp/temproot: Directory not empty rm: /var/old-tmp: Directory not empty Ah, what's happened is that the system immutable flag has been set on that directory. You'll need to do: chflags -R noschg /var/old-tmp rm -rf /var/old-tmp Thank you, Chuck. It's work. -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail and mbox permissions
Hi. I use FreeBSD 5.3 and sendmail. When root rechieve the mail, mailbox's (/var/mail/root) permission bits has been setted to 600. Who and how it does? Can I change this behavior? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something wrong in stable 5.3?
On Fri, Dec 31, 2004 at 05:44:51AM -0600, Nikolas Britton wrote: Peter Ulrich Kruppa wrote: On Thu, 30 Dec 2004, Tom Connolly wrote: Eugene M. Minkovskii wrote: Hi! I'm confusing now: about a month ago I have upgrated from FreeBSD 5.2.1 to stable 5.3. Since this moment strange things have been happens on my PC. Usually system works Ok, and can be run as long as I need without errors. But sometime, (after a little time after the boot) all begin crashed (core dump --- signal 11). Crashed base utility, like `cat', `sh' etc. Today I have cvsup'ed to stable 5.3 again, and build world again, but problem don't go away. I don't understand what I should do to detect source of problem... Have you any idea? Check the power supply. ... and your hard disk. You have some kind of hardware problem. Regards, Uli. What do you mean by stable 5.3 if you are tracking 5-STABLE (RELENG_5) then this could be the problem. If you are change cvsup to RELENG_5_3 and try again, if you are tracking RELENG_5_3 then yes I'd say it was a hardware problem too. Power supply, Ram, or something overheating are likely suspects for random problems. Thanks, may problem not in hard or fan. Because 5.2.1 I using whell. About stable 5.3 I mean tag=RELENG_5 So do you mean RELENG_5 and RELENG_5_3are different branches? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]