Re: multiple ACEs with the same ACL qualifier
Wiadomość napisana przez Harald Schmalzbauer w dniu 8 lut 2013, o godz. 17:54: Hello, I'd like to duplicate the following ACL: # file: /data/shared/ # owner: harry # group: harry group:1stgroup:r-x---a-R-c--s:fd:allow group:2ndgroup:rwxp--a-R-c--s:-d:allow group:2ndgroup:D-:-d:deny group:2ndgroup:r-a-R-c--s:f-i---:allow owner@:rwxpDdaARWcCos:fd:allow group@:r-xp--a-R-c--s:fd:allow everyone@:--:fd:allow So there are two group:2ndgroup:::allow entries. While it's annoying that I can't modify one specific of these with -m (both get altered without warning/confirmation reques), I also can't use -M to apply it read from file. Are there any workarrounds? Please use -a and -x instead. The -m was fine for POSIX.1e ACLs, where you never have more than one entry per principal and the ordering doesn't matter. -- If you cut off my head, what would I say? Me and my head, or me and my body? ___ 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-discuss] How many disk in one pool
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Albert Shih I'm actually running ZFS under FreeBSD. I've a question about how many disks I can have in one pool. At this moment I'm running with one server (FreeBSD 9.0) with 4 MD1200 (Dell) meaning 48 disks. I've configure with 4 raidz2 in the pool (one on each MD1200) On what I understand I can add more more MD1200. But if I loose one MD1200 for any reason I lost the entire pool. In your experience what's the limit ? 100 disk ? How FreeBSD manage 100 disk ? /dev/da100 ? Correct about if you lose one storage tray you lose the pool. Ideally you would span your redundancy across trays as well as across disks - but in your situation, 12 disks in raidz2 - and 4 trays - it's just not realistic for you. You would have to significantly increase cost (not to mention rebuild pool) in order to keep the same available disk space and gain the redundancy. Go ahead and add more trays. I've never heard of any limit of number of disks you can have in ZFS. I'm sure there is a limit, but whatever it is, you're nowhere near it. ___ 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: NFSv4 ACL permissions setting
Wiadomość napisana przez Doug Sampson w dniu 6 wrz 2012, o godz. 01:13: Wiadomość napisana przez Doug Sampson w dniu 31 sie 2012, o godz. 01:42: [..] group:DSP-production:rwxpDdaARWcCos:fd:allow - group:DSP-production:rwxpDdaARWcCos:fd:allow - This itself looks like a bug in setfacl(1). I'll look into it. However... [..] #!/bin/sh # run this script where you wish to effect the changes # reset perms to default find . -type d -print0 | xargs -0 setfacl -b * Why the asterisk? Also, using -m with NFSv4 ACLs is not a very good idea - it's supposed to work, but with NFSv4 ACLs the ordering does matter, and -m simply modifies the ACL entry in place, while the effect of the entry might depend e.g. on deny entries before it. Use -a instead. Forgive me- I am not particularly strong when it comes to shell scripting. I will modify so that the -a parameter is used instead of -m when setting new entries. Ok. It's simply a matter of replacing '-m' with '-a0'. Btw, the bug in setfacl(1) command has been fixed in HEAD and will be merged into STABLE in a month from now. What would you use in place of the asterisk when you want to apply the setfacl -b command to either all files or all directories? The period? Directories: find . -type d -print0 | xargs -0 setfacl -b Files: find . -type f -print0 | xargs -0 setfacl -b The whole point of xargs here is to take the list of files it gets from find and turn it into a series of arguments for setfacl. So, in the example above, the actual invocation of setfacl would read setfacl -b first-file second-file etc. With the asterisk, it would be setfacl -b * first-file second-file; this means setfacl would modify not only the files passed by find, but also all the files in the current directory. -- If you cut off my head, what would I say? Me and my head, or me and my body? ___ 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: NFSv4 ACL permissions setting
Wiadomość napisana przez Doug Sampson w dniu 31 sie 2012, o godz. 01:42: [..] group:DSP-production:rwxpDdaARWcCos:fd:allow - group:DSP-production:rwxpDdaARWcCos:fd:allow - This itself looks like a bug in setfacl(1). I'll look into it. However... [..] #!/bin/sh # run this script where you wish to effect the changes # reset perms to default find . -type d -print0 | xargs -0 setfacl -b * Why the asterisk? Also, using -m with NFSv4 ACLs is not a very good idea - it's supposed to work, but with NFSv4 ACLs the ordering does matter, and -m simply modifies the ACL entry in place, while the effect of the entry might depend e.g. on deny entries before it. Use -a instead. -- If you cut off my head, what would I say? Me and my head, or me and my body? ___ 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: TRENDnet, which?
Gary Kline wrote: Well, it pays to check prices! the Avocent brand of KVM are an arm and *three* legs. I have abs no use for anything fancy. just want something to get me to boot status on different boxes... a number of you suggested a kvm switch with the brand trendnet. anybody know which model? Well i'm using Tk-801r model. have not had any problems in the couple of years i've owned it. it can be rack monted if needed. http://trendnet.com/products/proddetail.asp?status=viewprod=165_TK-801Rcat=110 ___ 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: Is ZFS production ready?
On 06/25/2012 08:00 AM, per...@pluto.rain.com wrote: Edward M eam1edw...@gmail.com wrote: That reply was not meant for you, so why do you care? If it wasn't meant for everyone on the list, why was it sent to the list? by accident. still learning how to use email client:-[ . once i noticed my email was also to this list. i was hoping subscribers would notice it was by mistake. ___ 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: Is ZFS production ready?
On 06/23/2012 10:38 PM, Wojciech Puchar wrote: last binary production ready, used version 14; i also found it to be stable Any opensource zfs pool verisons beyound that, i am not really sure about their stablity compared to UFS rock solid filesystem. No ZFS pool version can be as trusty as UFS because of ZFS on disk structure that is plain dangerous. ZFS use tree-like structure for everything. If upper part of tree is corrupted, everything below disappears and cannot be found. Having 2,3 or even 100 copies of metadata doesn't help if you would have (maybe transient) hardware problem and bad metadata would be writen 2,3 or even 100 times. with proper checksum of course. UFS uses flat structure - inodes in known places. superblocks are used to find info about placement, and there are many copies of which only first is updated under normal operation. In really unlikely case of all superblocks corrupted just use newfs on virtual device (may be md) of same size, with same block and fragment size, and byte per inode, and copy superblock from here. Dont email me privately. I like ZFS design however i was only questioning v28 stability for production compared to a mature production tested UFS. ___ 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: Is ZFS production ready?
On 06/24/2012 04:23 PM, Adam Vande More wrote: On Sun, Jun 24, 2012 at 5:43 PM, Edward M eam1edw...@gmail.com mailto:eam1edw...@gmail.com wrote: Dont email me privately. Don't be an ass. Standard list conventions allows for private email. If this is simply an individual case of not liking the person who emailed you, then it is your ethical responsibility to ask for privacy in privacy. **Even in the case of sender being a pompous ass. If it is your overall wish to not be emailed privately by members of this list, then you should set that option on your list membership page instead of attempting to force your responsibility onto others. -- Adam Vande More That reply was not meant for you, so why do you care? get lost. ___ 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: Is ZFS production ready?
On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? I like the ZFS theroy, However I would have to question ZFS Pool Version Number 28 stability, that is what freebsd 9.0 comes with. because it was never really used/marked as production ready by sun/oracle. in my opionion version 28 is consider as a development version. solaris 11 uses version 33 so that is consider as production ready but it is closed source. i think the last open zfs version pool marked as production ready,was pool version 14 and 15 zfs sounds great however i would actally trust more UFS2 for 24x7 servers. agian this is my opinion, could be wrong:-) ___ 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: Is ZFS production ready?
On 06/23/2012 04:19 PM, Edward M wrote: On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? I like the ZFS theroy, However I would have to question ZFS Pool Version Number 28 stability, that is what freebsd 9.0 comes with. because it was never really used/marked as production ready by sun/oracle. in my opionion version 28 is consider as a development version. solaris 11 uses version 33 so that is consider as production ready but it is closed source. i think the last open zfs version pool marked as production ready,was pool version 14 and 15 zfs sounds great however i would actally trust more UFS2 for 24x7 servers. agian this is my opinion, could be wrong:-) snafu on my part freebsd 8.3 also uses zfs pool version 28:-) so my opinion would also be the same. ___ 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: Is ZFS production ready?
On 06/23/2012 05:16 PM, John Levine wrote: Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. R's, John yeah, I remember version 15 was really stable. Opensolaris 2009.06 last binary production ready, used version 14; i also found it to be stable Any opensource zfs pool verisons beyound that, i am not really sure about their stablity compared to UFS rock solid filesystem. ___ 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: OT: Robotics or embedded or hardware programming... what is this called?
On 06/20/2012 06:54 PM, Modulok wrote: Even general pointers to books/websites would be great. Once I know what it's called I can google much more effectively Mars rover is robotic/embedded. I am using this site myself. http://www.societyofrobots.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
Re: No surround sound with Creative SB Live! card
On 06/15/2012 01:06 AM, David Demelier wrote: That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? A decorder is either a special plugin/codex that gets installed into the OS ( codex called a52dec) and decoding happens internally. or a hardware device like a stereo receiver that is able to understand Dolby Digital signals from the DVD through S/PDIF connector from the sound card to decorder. however, it only appears you are only missing a52dec? Have you installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ? ___ 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: No surround sound with Creative SB Live! card
On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. ___ 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: text format
On 06/12/2012 01:40 PM, pwnedomina wrote: to format an ascii text to be identical to that one, centered and aligned.. would not that require the use of HTML? ___ 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: text format
On 06/12/2012 02:01 PM, Edward M wrote: On 06/12/2012 01:40 PM, pwnedomina wrote: to format an ascii text to be identical to that one, centered and aligned.. would not that require the use of HTML? Oops... just dawn on me you may be trying to print an ascii file and may not be trying to ceate a website to look like that. so disregard HTML part. if that is the case:-[ ___ 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: Is this something we (as consumers of FreeBSD) need to be aware of?
On 06/10/2012 08:09 AM, Nomen Nescio wrote: This is really missing the point. The issue is not open source vs. proprietary although many people seem to try to steer everything into that meaningless conflict. The point is the WinTel Mafia's many years of collusion and screwing over the customer. Try to buy a commodity PC in any major store and it will come with Windows, and you have to pay for it. Now the WinTel Mafia got many companies onboard with their system to lock you out from the box you just bought. Bad enough it comes with Windows and you had to pay for it, and you don't even get an install disk. But the WinTel Mafia adds insult to injury and stops you from installing whatever software you want on it. What does this have to do with OSS v. proprietary source? Nothing! It is just about the WinTel Mafia's illegal, abuse trade practices. ___ 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 Need to have that congitiive distortion ckecked out because it makes it difficult to bring a logical conclusion, and creates an ill perspective on reality and keeps the person with a child like mentality; which makes the person to excerise worlds like wintel mafia,etc. ___ 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: Is this something we (as consumers of FreeBSD) need to be aware of?
On 06/06/2012 01:35 PM, Alejandro Imass wrote: But this is more to do with the BIOS than with Intel as such. Wasn't there a FreeBIOS, later LinuxBIOS, now coreboot I believe..? So replacing the BIOS entirely wouldn't suffice to override all this nonsense? ___ anybody will be free to disable secure boot in x86 systems and run any OS, so this is not really a big deal. ___ 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: buildworld problem
On 05/18/2012 09:17 PM, Andriy Babiy wrote: FreeBSD myhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 23 20:00:59 PDT 2012 root@myhost:/usr/obj/usr/src/sys/GENERIC amd64 root#cd /usr/obj root#chflags -R noschg * root#rm -rf * root#make buildworld ... cd /usr/src; MACHINE=i386 MACHINE_ARCH=i386 MACHINE_CPU=i686 mmx sse sse2 LD=ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 AS=as --32 MAKEOBJDIRPREFIX=/usr/obj/lib32 I may be going over my head on this one:-) However to my understanding it seems, it is trying to build 32 bit on a amd 64bit install? ___ 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: buildworld problem
On 05/18/2012 09:17 PM, Andriy Babiy wrote: Makefile.inc1, line 160: CPUTYPE global should be set with ?= I think the problem is the wrong cpu type define. . I took a glance at the code in the makefile.inc1 to see what would set that error off and i found this in the makefile.inc1 if cpu type does not equal target_cputype then throw that error. .if ${_CPUTYPE} != ${_TARGET_CPUTYPE} .error CPUTYPE global should be set with ?=. ___ 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: buildworld problem
On 05/19/2012 09:18 AM, CyberLeo Kitsana wrote: As it says, you need CPUTYPE?=nocona instead of CPUTYPE=nocona in /etc/make.conf or /etc/src.conf; otherwise the build process chokes while building the 32-bit compatibility stuff, since it cannot override your 64-bit CPU selection with a 32-bit one. Just learned something new:-) had a look in share/examples/etc/make.conf file and i noticed this # (?= allows to buildworld for a different CPUTYPE.) ___ 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: Wine for Diablo 3 on FreeBSD 9.0R amd64
On 05/19/2012 02:28 PM, lokada...@gmx.de wrote: On 05/17/12 07:54, Любомир Григоров wrote: We have to wait, unfortunately. I am using a Linux partition with Wine meanwhile. As long as it's not mainstream, it will be hard to do. Not to mention port is at 1.4. FreeBSD have 2 wine- ports. :) http://www.freebsd.org/cgi/ports.cgi?query=wine-1stype=allsektion=all wine for 1.4 and wine-devel for 1.5 But i can't help with Diablo 3. ___ 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 a user is trying but at the moment is plague with wine errors. http://forum.winehq.org/viewtopic.php?t=15659 ___ 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 X?
On 05/17/2012 05:36 PM, Vance Siemens wrote: http://www.trollaxor.com/2012/05/freebsd-x-berkeley-unix-apple-quality.html ___ 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 . Screw this, I'm going over to Ubuntu. ___ 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: UFS Crash and directories now missing
On 05/11/2012 10:47 AM, Chad Perrin wrote: Is there something else I should try to find in the index or table of contents that would be in the third edition but not the fourth? Can you give me some examples of the sorts of things you'd expect to find in the table of contents that is lacking in the fourth edition but present in the third? Hi,:-) So far I think I found a few that may make a difference. According to the table of contents in the 4th edition in the chapter called Booting and shuting down it only shows entries for: red hat, HP-UX, AIX, SUSE,Ubuntu. However in the third edition, show entries for FreeBSD's Booting and shuting down process. And another example is in the 4th edition the chapter called Adding new users, only mentions how to add users for: SUSE, Redhat Solaris HP-UX and AIX. However in the 3rd edition, explains how to add users on FreeBSD and how FreeBSD's master.passwd file, login.conf. work,etc The third edition's chapter called Drivers and the kernel shows how to build a freebsd kernel, create a BSD config file, tuning the freebsd kernel, add freebsd device drivers,etc. I was not able to find those entries in the the 4th editions Drivers and the kernel. chapter.the 3rd editions TCP/IP chapter shows network config for freebsd. However in the table of contents of the 4th edition does not. I'm searching for a website that contains the 3rd edition table of contents so one can compare between the two editions for better judgement. unfortunate, those were a few examples i have time to point out. I think may make a great difference. ___ 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: UFS Crash and directories now missing
On 05/11/2012 12:11 PM, Edward M wrote: So far I think I found a few that may make a difference. According to the table of contents in the 4th edition in the chapter called Booting and shuting down it only shows entries for: red hat, HP-UX, AIX, SUSE,Ubuntu. However in the third edition, show entries for FreeBSD's Booting and shuting down process. And another example is in the 4th edition the chapter called Adding new users, only mentions how to add users for: SUSE, Redhat Solaris HP-UX and AIX. However in the 3rd edition, explains how to add users on FreeBSD and how FreeBSD's master.passwd file, login.conf. work,etc The third edition's chapter called Drivers and the kernel shows how to build a freebsd kernel, create a BSD config file, tuning the freebsd kernel, add freebsd device drivers,etc. I was not able to find those entries in the the 4th editions Drivers and the kernel. chapter.the 3rd editions TCP/IP chapter shows network config for freebsd. However in the table of contents of the 4th edition does not. I'm searching for a website that contains the 3rd edition table of contents so one can compare between the two editions for better judgement. unfortunate, those were a few examples i have time to point out. I think may make a great difference. I apologized, if my email came out looking strange with chopped up/ uneven sentences,etc. I have to check into that:-( ___ 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: UFS Crash and directories now missing
On 05/11/2012 05:18 PM, Chad Perrin wrote: I appreciate the time you put into this. It was no problem at all:-) had fun comparing. Now that I'm free and have more time I went over the 3rd edition table of contents and found a few instances that mentions FreeBSD. In chapter Adding a Disk describes the FFS, shows a freebsd fstab example file and teaches how to add a disk in FreeBSD,etc. I Continued glancing at the contents and it appears the rest of the book is pretty much on subjects that apply to all UNIX OS. the fourth edition text has for some reason basically traded FreeBSD for AIX -- which makes little sense to me. I found a site that it kinda shows that this is was happened, AIX replaced FreeBSD:-( mid way through the site shows the 4th edition only focuses on redhat, opensuse, rhel, solaris, HPUX and IBM AIX. http://www.admin.com/ I ___ 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: UFS Crash and directories now missing
On 05/10/2012 03:45 PM, Alejandro Imass wrote: Regarding Nemeth's I am undecided between the 4th (Unix Linux) or the 3rd. Please advise. i purchased the third edition because I took a look in the 4th the table of contents and it appears anything FreeBSD related was remove and it only focuses on: Solaris Linux( red hat ubuntu) and AIX. However third edition mentions BSDs table of contents of 4th edition. http://www.amazon.com/Linux-System-Administration-Handbook-Edition/dp/0131480057/ref=sr_1_1?s=booksie=UTF8qid=1336698969; sr=1-1#reader_0131480057 ___ 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: UFS Crash and directories now missing
On 04/30/2012 10:58 PM, Robert Bonomi wrote: Reading_both_ of McKusick's Design of .. books, and the 'Unix System Admininstration Handbook', by Nemeth, et al. is a good_start_. Having a bunch of the books from O'Reilley Assoc. (http://www.ora.com), especially for 'standard' tools that you need to get the most out of, is also highly recommended. After realising I lack ton of knowledge, especially how the internals work. I'm using this advice:-) . ___ 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: which filesytems zfs needs to function
On 04/30/2012 05:52 PM, Adam Vande More wrote: The filesystems are mostly arbitrary. You really only need the rootfs with appropriate directories underneath. The list provided is simply a concise idealized layout. Thanks!. I will try creating different filesytems to further my learning of zfs. :-) ___ 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: UFS Crash and directories now missing
On 05/01/2012 06:43 AM, Polytropon wrote: Except buying (good) books, you can also search for articles on the web. For example, A Fast File System for UNIX by M. K. McKusick is very interesting (at least it was for me when I lost all my important data). Some fs-related articles here: http://www.mckusick.com/articles.html They help you to understand how things work or what maybe makes them stop working.:-) Also the documentation of tools like TSK (ports/sleuthkit), ex TCT, is very helpful in understanding all the low-level details that_really_ matter when you_need_ to get your hands dirty in order to perform a forensic analysis or to recover important data. Sadly, that documentation has moved from local storage in/usr/local/share/doc/sleuthkit/ (where I've seen it the last time) to some on-line place or Wiki, something_I_ consider a bad idea especially in worst case considerations (i. e. no internet connection); the only content in README.txt, The docs that used to live in this directory now exist on the wiki: http://wiki.sleuthkit.org/ doesn't make it any better, sorry. Thanks for the help...I will definitely check McKusick site and the docs I'm self learning UNIX/programming. so I need all the info and help I can get.:-) ___ 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: UFS Crash and directories now missing
On 04/30/2012 08:38 AM, Alejandro Imass wrote: just not very helpful or fun. This attitude will get He is helping,you need to learn how UFS, jails, nullfs, journaling, disk I/O and other stuff work. I have been following this thread and i must admit I also need to learn more on those subjects.:-) ___ 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: UFS Crash and directories now missing
On 04/30/2012 10:22 AM, Alejandro Imass wrote: Oh, please! He's not helping anyone. He's just being an obnoxious prick that thinks that by pointing out a lot of technical blabber and some cheap philosophical posé I guess i was going according to the fact that i have followed his suggestions on a problem i was having and i was able to find the cause and solved the problem. :-) ___ 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
which filesytems zfs needs to function
Hi, I was running FreeBSD 9.0 using ZFS with the following setup on one harddrive: *(5) Create appropriate filesystems (feel free to improvise!).* zfs create zroot/usr zfs create zroot/usr/home zfs create zroot/var zfs create-o compression=on-o exec=on-o setuid=off zroot/tmp zfs create-o compression=lzjb-o setuid=off zroot/usr/ports zfs create-o compression=off-o exec=off-o setuid=off zroot/usr/ports/distfiles zfs create-o compression=off-o exec=off-o setuid=off zroot/usr/ports/packages zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/usr/src zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/crash zfs create-o exec=off-o setuid=off zroot/var/db zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/db/pkg zfs create-o exec=off-o setuid=off zroot/var/empty zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/log zfs create-o compression=gzip -o exec=off-o setuid=off zroot/var/mail zfs create-o exec=off-o setuid=off zroot/var/run zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/tmp from: http://www.aisecure.net/2012/01/16/rootzfs/ However I decided to reinstall FreeBSD such for thisparticular reason:-) to see if is possible to create lessfilesystems, if so, which ones in order for zfs to work properly or are the ones mention up above required, even though it says feel free to improvise? Hope gave all needed info:-) ___ 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: UFS Crash and directories now missing
On 04/28/2012 11:16 AM, Alejandro Imass wrote: That is what worries me, is that it wasn't just some random bit or cosmic ray, but the potential of happening again. I am not so sure that it is*impossible* that a jail could affect other jails with EzJail. Sorry I'm late to the party. How about contacting EZjail and explaining what has happen:-) it may be a bug? http://erdgeist.org/arts/software/ezjail/#Author ___ 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's backwards webdesign / corporate identity
On 04/08/2012 05:40 AM, Tony wrote: Hello! As much as I love FreeBSD, I'm a bit alarmed by its webdesign / corporate identity. Since FreeBSD is the world's best OS, I believe it should have a design that reflects this. A design that is so neutral and stripped of any unnecessary details that the user's attention is directed straight on to the content as opposed to how the content looks. A design that you can look at over and over without getting annoyed. The current design is an uneven mix of various styles, and seems more forced than well thought out. First you have the shiny Satanic 3D-lookalike logo (yes, despite what y'all say, it's still Satanic) that might look cool the first few times one looks at it. Now though it's more like what the hell *is* that thing anyway? (ref: Tres Logoshttp://www.amazon.com/Tres-Logos-Robert-Klanten/dp/3899552679/ref=sr_1_1?ie=UTF8qid=1332777820sr=8-1 ) Then you have a surrounding layout trying to cater to that logo, but fails miserably as it was made by programmers as opposed to people with an actual education in designhttp://www.royalacademy.org.uk/. There is no natural flowhttp://en.wikipedia.org/wiki/Laminar_flow and the whole thing just comes off as cornyhttp://www.urbandictionary.com/define.php?term=corny - and this makes us all look bad. I also hear PostgreSQLhttp://www.postgresql.org/is planning to sue FreeBSD for stealing its design. I propose a new, supersimple look for FreeBSD based on Helveticahttp://www.youtube.com/watch?v=wkoX0pEwSCw. No devil logo, no bells and whistles, just straight forward FreeBSD - the world's best operating system. So simple that hardly anything it will go out of fashion and need to be replaced, so simple that it'll remain as current now as it will be a hundred years from now. Perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away. Tony http://siegelgale.com/http://www.designcouncil.org.uk/ http://www.designcouncil.org.uk/ ___ 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 Now your are starting to sound like a troll. get lost ___ 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: need help in freebsd
On 03/25/2012 04:36 PM, Stanley Aisi wrote: hi there, i need your help in freebsd regards, Stanley papua new guinea ___ 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 One is seeking the wrong kind of help... http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html#AEN114 ___ 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: Editor With NO Shell Access?
On 03/12/2012 03:10 PM, Polytropon wrote: /etc/shells to work, but a passwd entry like bob:*:1234:1234:Two-loop-Bob:/home/bob:/usr/local/bin/joe I think this would not let the user to login,etc ___ 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: Editor With NO Shell Access?
On 03/12/2012 03:23 PM, Polytropon wrote: On Mon, 12 Mar 2012 15:19:51 -0700, Edward M. wrote: On 03/12/2012 03:10 PM, Polytropon wrote: /etc/shells to work, but a passwd entry like bob:*:1234:1234:Two-loop-Bob:/home/bob:/usr/local/bin/joe I think this would not let the user to login,etc I'm not sure... I assume logging in is handled by /usr/bin/login, and control is then (i. e. after successful login) transferred to the login shell, which is the program specified in the shell field (see man 5 passwd) of /etc/passwd. How is login supposed to know if the program specified in this field is actually a dialog shell? From man 1 login I read that many shells have a built-in login command, but /usr/bin/login is the system's default binary for this purpose if the shell (quotes deserved if it is an editor as shown in my assumption) has no capability of performing a login. Now i gotta try this out. Off to hosed my system. ___ 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: Editor With NO Shell Access?
On 03/12/2012 03:47 PM, Edward M. wrote: On 03/12/2012 03:23 PM, Polytropon wrote: On Mon, 12 Mar 2012 15:19:51 -0700, Edward M. wrote: On 03/12/2012 03:10 PM, Polytropon wrote: /etc/shells to work, but a passwd entry like bob:*:1234:1234:Two-loop-Bob:/home/bob:/usr/local/bin/joe I think this would not let the user to login,etc I'm not sure... I assume logging in is handled by /usr/bin/login, and control is then (i. e. after successful login) transferred to the login shell, which is the program specified in the shell field (see man 5 passwd) of /etc/passwd. How is login supposed to know if the program specified in this field is actually a dialog shell? From man 1 login I read that many shells have a built-in login command, but /usr/bin/login is the system's default binary for this purpose if the shell (quotes deserved if it is an editor as shown in my assumption) has no capability of performing a login. Now i gotta try this out. Off to hosed my system. Does not work. Could not login, it shows Couldn't open *-joerc. ___ 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: Editor With NO Shell Access?
On 03/12/2012 05:33 PM, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Mon Mar 12 17:46:04 2012 Date: Mon, 12 Mar 2012 15:47:59 -0700 From: Edward M.eam1edw...@gmail.com To: Polytroponfree...@edvax.de Cc: freebsd-questions@freebsd.org Subject: Re: Editor With NO Shell Access? On 03/12/2012 03:23 PM, Polytropon wrote: On Mon, 12 Mar 2012 15:19:51 -0700, Edward M. wrote: On 03/12/2012 03:10 PM, Polytropon wrote: /etc/shells to work, but a passwd entry like bob:*:1234:1234:Two-loop-Bob:/home/bob:/usr/local/bin/joe I think this would not let the user to login,etc I'm not sure... I assume logging in is handled by /usr/bin/login, and control is then (i. e. after successful login) transferred to the login shell, which is the program specified in the shell field (see man 5 passwd) of /etc/passwd. How is login supposed to know if the program specified in this field is actually a dialog shell? From man 1 login I read that many shells have a built-in login command, but /usr/bin/login is the system's default binary for this purpose if the shell (quotes deserved if it is an editor as shown in my assumption) has no capability of performing a login. Now i gotta try this out. Off to hosed my system. If other configuration is set up right (e.g. /etc/shells), you can name *any* executable as the 'shell' field in /etc/passwd, and have it work. Long, long, ago, I used this for client 'on demand' system back-up. They just put the tape in the drive, and logged in as the 'backup' user. *HOWEVER* this is -not- a solution for the OP's problem, as a skilled, _malicious_, user can change, say, vi(1)'s idea of what executable it should invoke when a '!', or '!!' command is issued. I tried it out of curiosity to see if it was possible to login in joe, by the way the OS was configure. However my knowledge is not advance to continue, got stock on the message cannot not find *-joerc :-) Regards Ed ___ 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: port to package amd64 to i386
On 03/05/2012 12:42 AM, Bernt Hansson wrote: Build the port on amd64 and install it on i386 as a package. Is it possible? Pointers? Handholding? How-to? http://filipenf.wordpress.com/2011/10/18/cross-compiling-for-x86-in-freebsd-64-bit/ ___ 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: PC-BSD on top of FreeBSD - does it matter ?
On 03/04/2012 12:27 AM, jb wrote: But ..., the charm disappeared when I (intentionally ?) pulled ethernet plug and started update manager ... Classic example of fallacious reasoning. update manager needs the internet to access the updates ___ 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:[SOLVED] bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
On 01/31/12 12:22, Robert Bonomi wrote: ` Edward wrote: On 01/31/12 06:31, Robert Bonomi wrote: Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. *OF*COURSE* it doesn't. Unix is _case_sensitive_. You specified a lower- case only (in the C locale) pattern. Naturally, it doesn't match a file with an upper-case character in it. Note: in the 'C' locale, characters are sorted on the underlying byte value. Thus you will get all the upper-case matches before any lower-case match. To get upper-and-lower case files in the C locale, you will have to use: ls [A-CX-Ya-cx-y]* IF you speciy a different charset for collating, you _may_ get upper/lower case characters sorted adjacently. See the specifications for the charset in question. Thanks for reply! I meant LC_COLLATE being set to en_US.UTF-8 not C. AH. you lied (not necessarily maliciously, or intentionally) about the nature of the problem. disregard my rant. The short answer to the revised situation is 'it depends on how the charset collating sequence is deifined'. AND _which_ release of FreeBSD you are using, and thus which version of bash. I have been digging around and discovered linux's bash is not working correctly on this matter and numerous users have file bug reports about it. FreeBSD's bash is fine: https://bugs.archlinux.org/task/24553 https://bugs.launchpad.net/ubuntu/+source/bash/+bug/120687 http://teaching.idallen.com/net2003/06w/notes/character_sets.txt i will continue using either character classes and upper/lower case charsets when defining wildcards thanks for the help. ___ 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
bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. Am I leaving something out? ___ 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: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
On 01/31/12 06:31, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Jan 31 05:45:47 2012 Date: Tue, 31 Jan 2012 04:45:36 -0800 From: Edward Martinezeam1edw...@gmail.com To: FreeBSD Questionsfreebsd-questions@freebsd.org Subject: bash LC_COLLATE or LC_ALL set =?windows-1252?q?=93C=94_not__sort?= =?windows-1252?q?_in_dictionary_order=2E?= Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. *OF*COURSE* it doesn't. Unix is _case_sensitive_. You specified a lower- case only (in the C locale) pattern. Naturally, it doesn't match a file with an upper-case character in it. Note: in the 'C' locale, characters are sorted on the underlying byte value. Thus you will get all the upper-case matches before any lower-case match. To get upper-and-lower case files in the C locale, you will have to use: ls [A-CX-Ya-cx-y]* IF you speciy a different charset for collating, you _may_ get upper/lower case characters sorted adjacently. See the specifications for the charset in question. Thanks for reply! I meant LC_COLLATE being set to en_US.UTF-8 not C. linux and solaris shows both upper and lowercase when set characters like [a-cx-y] and others are used. when LC_COLLATE is set to en_US.UTF-8. I thought it could be also done in FreeBSD's bash when LC_COLLATE is set to en_US.UTF-8 in linux LC_COLLATE is set to en_US,UTF-8 eam@localhost ~/testdir $ locale LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX *LC_COLLATE=en_US.UTF-8* LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= And when i type the following it shows both: eam@localhost ~/testdir $ ls [a-cx-y]* bincar Bincar eam@localhost ~/testdir $ ls [a-z]* bincar Bincar file File zcar ___ 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
why newline scape sequence does not work in Freebsd's bash
Hello, Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? For instance, when i type something basic using the newline scape sequence in FreeBSD bash i get this: $ FRUIT_BASKET=apple oranges pears $ echo My fruit basket contains:\n$FRUIT_BASKET My fruit basket contains:\napple oranges pears the newline becomes part of stdout, but it works in linux and solaris; the output is shown in two separate lines. is there is setting i have to change in FreeBSD's shell init file so it will behave like linux and solaris bash shell or use just use printf? ___ 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 newline scape sequence does not work in Freebsd's bash
On 12/30/11 17:06, Любомир Григоров wrote: I used ' singe quotes, so double quotes is: $ FRUIT_BASKET=apples oranges pears $ echo -e My fruit basket contains: \n $FRUIT_BASKET My fruit basket contains: apples oranges pears Thanks for the help, it worked. I find it interesting that FreeBSD's echo man page does not mention the -e option is needed to enable backslash escapes. I remembered why it worked on linux is because i created an echo alias with the -e option. So i will do the same for FreeBSD. ___ 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: where to ask about problems with bsdinstall in 9.0RC2?
On 11/18/11 15:00, William Bulley wrote: I had some User Interface issues with the Manual disk partition screen, I got interested and downloaded it to try myself. I installed 9.0 in virtualbox using the guided option and it installed. just wondering if you tried installing with guided option instead of manual? Now I will try using manual and see what happens ___ 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: sendmail+saslauthd verify=FAIL
On 11/18/11 00:12, Matthias Apitz wrote: STARTTLS=client, relay=smtp.1blu.de., version=TLSv1/SSLv3, verify=FAIL se below; what does the FAIL means exactly? I have been reading on the subject and it appears you do not trust the certificate issuer for smtp.lblu.de. ___ 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: where to ask about problems with bsdinstall in 9.0RC2?
On 11/18/11 15:00, William Bulley wrote: According to Matthew Seamanm.sea...@infracaninophile.co.uk on Fri, 11/18/11 at 17:41: On 18/11/2011 21:27, William Bulley wrote: I tried to install 9.0RC2 from the DVD ISO today. This defaults to using bsdinstall instead of the 8.x sysinstall. This process gave me an error, but I'm not sure in which forum to discuss this problem/error. Thanks in advance. freesd-questions@ is fine to talk about this sort of problem. At least, initially. Give us more detail on exactly what you did, what then happened, (and maybe why you think that was wrong) and we can probably help you get your system installed. If it turns out to be a bug in the new installer rather than operator error, then freebsd-current@ is the place to take it. Okay, here goes. :-) I was loading a decent but somewhat older Dell laptop with FreeBSD for a friend who bailed since he didn't want to bother configuring Xorg. Since this is fairly trivial these days, I said, sure, I'd do that for you - silly me... :-( Anyway, do to the user requirements, I found it necessary to load a version 9.x system on this laptop. I burned this version to DVD: FreeBSD-9.0-RC2-i386-dvd1.iso The laptop had no trouble booting from this DVD. Unfortunately, I forgot about the new bsdinstall program. I was dubious but it seemed to start out okay. I had some User Interface issues with the Manual disk partition screen, but that is a matter of taste or a feature request, and not the bug. Everything progressed just fine as the various *.txz files were loaded, checked and installed. Or so it seemed... As the progress bar moved to the right toward 100% completion, a window popped up telling me that it (bsdinstall) could not handle the base.txz (BTW, what does the suffix .txz mean?) - it could not uncompress it and said something about unable to write and the string was something like: var/base.txz (note the lack of a leading slash in front of var). It asked me if I wanted to continue or restart and I said yes, but the bsdinstall started over from scratch and failed in the same manner. Unfortunately I had to bail on the attempt... :-( Prior to this, I had loaded and configured 8.2-RELEASE and had upgraded it to 8.2-STABLE. I csup'd the ports tree and built enough ports to run Xorg. And I got X11 running after a bit. But when I tried to upgrade again to 9.x (anything) I ran into problems there (slips my mind why at present) which led me to trying the FreeBSD-9.0-RC2-i386-dvd1.iso approach. What a mess... :-( Regards, web... Have you tried installing with ACPI disabled. http://www.freebsd.org/doc/handbook/bsdinstall-install-trouble.html#Q3.10.2.1. this also may be of some help: http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html ___ 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 problem on 8.2 stable
On 11/17/11 17:56, Xihong Yin wrote: The ip address can't be obtained. Have you tried rebooting FreeBSD and letting it obtain the IP itself? On some OSes that has actually worked. ___ 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 problem on 8.2 stable
On 11/17/11 18:41, Xihong Yin wrote: I did reboot. It is the same thing. On Thu, 17 Nov 2011, Edward Martinez wrote: On 11/17/11 17:56, Xihong Yin wrote: The ip address can't be obtained. Have you tried rebooting FreeBSD and letting it obtain the IP itself? On some OSes that has actually worked. Did you try configure the nic with sysinstall? I think FreeBSD 8.2 has a updated em driver. You may need to download the newest FreeBSD em driver from intel. http://downloadcenter.intel.com/Detail_Desc.aspx?agr=YDwnldID=17509keyword=%22em%22DownloadType=DriversOSFullname=FreeBSD*lang=eng ___ 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: apps to display cpu temp
On 11/14/11 17:23, Polytropon wrote: On Mon, 14 Nov 2011 15:16:49 -0800, Edward Martinez wrote: Thanks!, Even though mbmon is about 10 degrees off from what the BIOS is reporting. I'm still a happycamper. I had a similar observation with my P4 system: CPU temp would always flatline at 60 deg. C. I have a question, is it supposed to be device iichsmb or device iicsmb like you have listed? The example listed is from my kernel configuration of that particular P4 system, where it _worked_ properly. I had inserted device iicsmb as per kernel configuration notes. The OS in question was 7-STABLE. h Thanks again. mbmon is still staying somewhat parallel to what the BIOS reports. I was bit confused because i've only have read about ichsmb previously. However I've learned something new: iicsmb http://www.gsp.com/cgi-bin/man.cgi?section=4topic=ichsmb http://www.unix.com/man-page/FreeBSD/4/iicsmb/ ___ 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: apps to display cpu temp
On 11/12/11 18:02, Polytropon wrote: On Sat, 12 Nov 2011 18:19:57 -0800, Edward Martinez wrote: Hi, I have a Pentium 4 and i have been trying to get coretemp and sysctl hw.acpi.thermal.tz0.temperature to display my Cpu temperture , however i have not had any luck using them Are there any other apps perhaps from ports that reports CPU temp? I've been using the port xmbmon for that, in combination with device smbus device iicbus device iicsmb device iicbb device iic in the kernel configuration file - on a Pentium 4 system. I haven't tried the sysctl method, because xmbmon did work out of the box. :-) You can also use mbmon for text output. Here's an example from ~/.xinitrc calling xmbmon: xmbmon -g 150x100+0+897 \ -tmin 20.0 -tmax 70.0 \ -cmtmb CPU -cltmb blue \ -cmtcpu CS -cltcpu cyan \ -cmtcs SYS -cltcs green \ -vmin 2.0 -vmax 3.0 -cmvc V -clvc red Depending on the sensor installation of your particular system, check if the different values do match the hardware. Maybe check from within your CMOS setup for reference values. Thanks!, Even though mbmon is about 10 degrees off from what the BIOS is reporting. I'm still a happycamper. I have a question, is it supposed to be device iichsmb or device iicsmb like you have listed? ___ 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
apps to display cpu temp
Hi, I have a Pentium 4 and i have been trying to get coretemp and sysctl hw.acpi.thermal.tz0.temperature to display my Cpu temperture , however i have not had any luck using them Are there any other apps perhaps from ports that reports CPU temp? 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: Check Memory Usage, program like 'free' in Linux
On 11/3/11 9:18 PM, Jon Schipp wrote: Is there a program to check physical memory usage in FreeBSD(using 8.2 RELEASE)? Hi Jon, Check out the port /usr/ports/sysutils/sysinfo . HTH ___ 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: [0.5 OT] Looking for recommendation on Unix shell account
On 9/27/11 8:29 PM, Carlos A. M. dos Santos wrote: For reasons hard to explain I need to set-up a Unix (preferably FreeBSD) shell account that I can access from anywhere. I've tried Devio.us and it is great as a generic shell ... It even allow you to setup a personal webpage on it :) http://devio.us/ ___ 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: semi-OT: Looking for a hosting provider w/ FreeBSD root-servers
On 8/4/11 2:56 PM, Matthias Apitz wrote: Hello, I have to change my hosting provider, because the actual one does not want to fullfill my needs. I'm looking for a provider offering FreeBSD root-servers, best in Europe. Any pointers are wellcome. Thanks matthias Matthias, The ARP Network does a good job with FreeBSD. Have been a happy customer since moving here. :) http://arpnetworks.com/vps ___ 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: Need Help Installing and Configuring Xorg
On 6/11/11 7:26 AM, John or Judy Hixson wrote: I'm having trouble getting Xorg to run on my just recently installed FreeBSD [snip] Would appreciate anyone's suggestions. Thanks. John Hixson If you're trying to try FreeBSD as a Desktop, PC BSD (http://pcbsd.org/) would definitely make your life much easier. :) ___ 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: Sorry. Numpty alert! FreeBSD Jails... Help?
On 6/8/11 2:53 AM, Dave wrote: Hi All. [snip] What I have learnt so far, is that (for the most part) all the BSD's behave and work much the same. Unlike the hoards of different Linux's, all with their different ways of doing things. Spleen vented, anyone want a challenge? I promise not to shout at you... Dave, in my experience, I've always refer to the Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html) for setup of BSD applications. Only if there's non, then proceed to seek advice from Larry Sergey. You can find the following post to be helpful : - FreeBSD OS setup : http://scratching.psybermonkey.net/2009/08/freebsd-quick-install-guide-aka-how-to.html - Jail setup : http://scratching.psybermonkey.net/2010/06/freebsd-how-to-setup-configure-jail.html Disclosure : the links posted up there are from my blog, except the always trusted source, Handbook from 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: Massive portupgrade without being interrupted by configuration screens?
On 03/10/10 5:59, Thomas Mueller wrote: Idea is that I might want to configure some of the options, so I can't use --batch=YES unless I configure all options beforehand, meaning I have to find what ports are to be upgraded and which of those have user-selectable options. You might want to look at make config-recursive running inside the port directory. e.g. cd /usr/ports/x11/kde4; make config-recursive This will make port display the options menu of the current port and dependency's options menu. Additionally, make fetch-recursive would fetch all the needed files to compile the port into dist directory. Do take note that if you have set any options in the port directory, those options menu will NOT appear again. If you need to clear all the options, use make clean-recursive instead. These commands are taken from : http://scratching.psybermonkey.net/2010/01/freebsd-tips-to-prepare-large-ports.html ___ 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 on Compaq mini CQ10 anyone?
On 28/09/10 5:31, BernardL wrote: I have tried to install PC-BSD without success. In the process, the screen turned black and i had to turn the CQ10 off. I don't know whether there is an issue with PC-BSD or if I did something wrong. There's an option for display wizard to change display settings but I've never had a chance to use it because the machines I use (2 laptop with intel chipset 1 desktop with nvidia chipset) have no problem detecting the display settings. :) ___ 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 on Compaq mini CQ10 anyone?
I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. Try PCBSD (http://pcbsd.org), is a Desktop BSD variant based on FreeBSD. Personally, I've used FreeBSD in a laptop in a few occasions but after trying out PCBSD, this path requires the least effort to setup a Desktop. The installation setting up of hardware is too easy. The kernel that comes with it, does a good job in recognizing the wireless chip, sound card, NIC, display other stuff. Even though it uses the PBI format to install software on PCBSD, one can still use port to install additional softwares on it by using the portjail console. Both PBI port works together well. In short, it definitely worth a try! :) ___ 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: port upgrading
Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? portsnap fetch extract update for the first time after you've setup the FreeBSD for the very first time. As the parameters used, it fetch the ports tree, extract it to /usr/ports and update it. portsnap fetch update every now and then to update the ports tree. In addition, portmanager does a good job in managing ports in terms of install/update of ports. It doesn't required ports index to find out what is installed or needs to upgrade as it scans the ports tree for dependency, every time. This is good because I don't have to deal with the problem of ports index getting corrupted. Because of this, it does required more time to install/update ports compare to portmaster portupgrade. I've recorded some of my experience in using portmanager : http://scratching.psybermonkey.net/2010/01/freebsd-how-to-manage-ports-in-freebsd.html My 2 cents, Edward. ___ 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: migrate system disk
I have an old HDD which should be replaced soon, actually that HDD stands as my system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from the old disk to the new one? I've used to do this a lot for server hardware migration, moving from 1 server to another new server. This blog post recorded what I tried did : http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html Check it out, Edward. ___ 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: Compiling kernel with gcc43
Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: 2010/3/24 Mario Lobo l...@bsd.com.br Anyway,my question boils down to: Is there a way to build the kernel with gcc43, with minimal tweaking? Am i attempting something out of my league? This is what I use to compile kernel on 9.0-CURRENT/amd64: CC=/usr/local/bin/gcc44 CXX= /usr/local/bin/g++44 CWARNFLAGS=-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wno-pointer-sign -D__FreeBSD_cc_version=0 \ -Wno-unused-function -Wno-inline -Wno-format \ -Wno-uninitialized -Wno-array-bounds -Wno-missing-prototypes Note that this is GCC 4.4.4, installed from ports. Also, this will not compile the world - only the kernel. Also, they were a few fixes to make this work; they were not MFC-ed, iirc; removing -Werror altogether should work around these problems. -- If you cut off my head, what would I say? Me and my head, or me and my body? ___ 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
terminal setup issues on FreeBSD
All, I cannot believe that this is not a faq - yet a search of google didn't turn up any hits. How exactly do you set terminal settings for bsd? I've done a setenv TERM xterm where I'm ssh'ing into a local box in an rxvt (in a screen session), but there is no resize, and the variables COLUMNS and LINES don't work as they do on linux. In addition, the terminal that I've got doesn't handle newlines correctly; I get a 'looping' effect; where the prompt loops back onto itself onto the same line. Anyways, sorry if I missed any obvious FAQs, but this is exceedingly annoying, as a result of the above, it makes maintenance and work on the said machine impossible. The OS in question I'm using is unfortunately of necessity very old, ie: freebsd-4.4, so whatever solution to this will have to take that into account. Thanks much for any pointers, Ed ___ 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
fsck and dump freeze freebsd. any ideas?
The smartctl tests on the three drives came back saying they were checked 100% without error; bad sectors have always caused an error and an aborted scan at the point of trouble for me in the past. I 'thought' I recalled seeing a panic along the lines of ffs_free or something related to free blocks or something at one point; maybe that was an error with fsck on the live system when manually ran. I will try to reproduce. Otherwise I do not know that fsck crashes; the entire system locks. I will see if I can reproduce the problem as a panic. There were some errors fsck seems to think it cleaned. A couple still exist indicating wrong counts about '12 should be 4' or '4 should be 0' type stuff. One error had a ridiculously large seven digit or so number that fsck said should be reduced. I had made a many terabyte file with a dd write to the end of a file of the largest size it would let me create and have since deleted the file; maybe that was what the reference was to. After fixing some errors, the fsck still causes a freeze and at what seems to be about the same point. The filesystem was unmounted for the dump and fsck has been attempted both mounted and unmounted. The filesystem has (ufs, NFS exported, local, soft-updates) reported for features by mount under normal operation. The freeze with dump did occur during a snapshot creation, which I found I cannot kill with a -9 (kill attempted minutes before the crash which still would not stop the creation). The powerdown question is more for how to handle an unsafe powerdown/crash on an active system. If I need to read from a partition, would read only leave it completely clean? Is there a way to operate on a file system which is treated as more of a ramdisk of changes and keeps the real partition unmodified (giving results like Faronics deepfreeze software or qemu disks in snapshot mode)? Would a zfs mirror configuration handle the unexpected crash/powerdown? Would it just report and fix the corruption, mention what files/structures weror impacted, offer restore of that data from a recent snapshot, or just say it is time to restore from a backup? Thanks again for the feedback, Ed Sutton ___ 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
How to get SystemMemorySize?
Something like the following should use the power of sysctl. physmem and usermem in place of realmem may be of use too. Just wish I knew proper values nad logic to tweak kern.ipc.shmmax and similar paramaters. int realmem; char* realmem_mib_name = hw.realmem; return(sysctlbyname(usermem_mib_name, realmem, len, 0, 0)) ___ 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
SATA DVD issues
For the encrypted DVDs, have you set a region for the drive to match? How are you accessing them? Further hardware information may help (people better at this than I) identify issues; what SATA controller connects the drive. Last I checked, my promise controller cards seem to have incomplete drivers for what is needed to support optical drives unless I misunderstood the code. ___ 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
kernel panic on SATA drive
The FreeBSD Developers' Handbook describes how to get panic information (and dig out further details). http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN Was there any output before ad7: FAILURE - device detached? Losing the drive in the bios makes me think hardware, but I'd check for any firmware problems/updates if they exist. I have not tried yet, but FreeBSD8 is supposed to finally handle the anxiety of losing a drive. http://freebsdfoundation.org/press/2008Dec-newsletter.shtml#Project1 I would try smartctl from ports; run a long scan and read the full output to see if it passes or if you get a response like: # 1 Extended offlineCompleted: read failure 20% 32490 308342849 Also look above that output to see if there any metioned 'Error ## occured at disk power-on lifetime' type of messages. to scan, run: smartctl -t long /dev/ad7 after the scan, read output with: smartctl -a long /dev/ad7 What motherboard is it? GeForce 8200 sounds like a graphics chipset to me. For hardware analysis, try to isolate it to a particular drive (sounds like it is only the seagate), cable (data or power), motherboard sata port. When the drive is not recognized, does a coldboot redetect it? Does the drive start any audible clicking? What model of drive is it? Make sure the drive is dusted off, increase the cooling, and try again; I have a drive that flakes out if the three speed antec fan in front of it is only on low but stabilizes when kept cooler; its a great hint to me that the drive is near life's end. ___ 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
Xorg 7.4 issue
The keyboard works in some apps but not others? What video driver (and have you tried vesa if not using it to see if the problem can still be reproduced)? All x11 related drivers were rebuilt too? Output from the xorg logfile and your xorg.conf may be helpful. Maybe there is other relevant output to the console that X is launched from. Maybe a different problem, but I had trouble with keyboard input not appearing (and all of the X screen freezing; no blinking clock). It would come back with touching the mouse, and freezing was also caused by using the mouse. The trouble appeared back when AllowEmptyInput was discussed in the ports UPDATING file, but that no longer seems to work right (nor does DontZap) in my xorg.conf. I found things worked right by stopping hald before launching X. ___ 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
fsck and dump freeze freebsd. any ideas?
After one of the last crashes, the system would lock up a short time after rebooting. I found the problem caused by background fsck locking up the system. I took the partition out of the startup check for now. I 'think' I was installing a port during the last crash, but it has been a while. I performed a fsck and a dump (to /dev/null) confirming that both do crash the freebsd 7.2 and 6.2 (which I booted off of a separate drive). A tar to /dev/null did run successfully, but I recall reading that that is not a recommended way to backup/move a filesystem. The /usr partition where it causes trouble is in a raid5 geom_vinum three drive array. I did not yet have the array rebuild the parity nor do I know if there is any advantage/disadvantage in doing so (for this problem). I ran a long test on the drives using smartctl (which is a safer surface check than dd because 1 bad sector on my promise controller will cause a panic; I have an unrelated drive with a corrupted sector if the promise controller dirver has an interested maintainer.) When running fsck, it is somewhere within phase 1 when it crashes. I ran a truss run of fsck with -aedD and snapped a photo of my screen when it crashed which I can type up if it is of any use. At the time of freebsd freezing, the hard drive activity light goes from a faint flicker to on solid for about a second and then goes out. The system is completely unresponsive where it locks showing no sign of activity that I have been able to notice. I imagine the recommendation is start over, but before I do (and likely just try a tar backup/restore), are there any other suggestions and questions before I blow away the problem? It would be nice for freebsd users to not be able to run into such a problem. As a final question, is there any safe way to crash freebsd (or pull system power) without a risk of filesystem corruption? ___ 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
need help: crashing appears to be caused by/within console screen saver
I do not know where I should ask for help but I have core files from July 24, 23, 21 (x2), 19, 16 (x2) and May 17. All of the July crashes appear similar. The May crash was unrelated but shows that things were relatively stable until the first of these glitches. I am currently using the nvidia driver version 180.60 from ports on FreeBSD 7.2-RELEASE #0. The crashes typically take place when running through port rebuilds and upgrades, which I often do from the 3rd terminal. It usually occurs when I am away, but I just saw it where it looked like it was going to load the terminal screen saver and the screen just sat blank for maybe 10 seconds and then the system was restarting. I have since unloaded logo_saver.ko but would still like to resolve the source of the crashes if possible. Any suggestions where I should go from here and what other information would be helpful? At the end I copied a kgdb with a backtrace; It is what lead me to see that it crashed each time as the screen saver was activating (or so it now seems likely). Thanks again, Edward Sutton # kgdb kernel.debug /var/crash/vmcore.22 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd... Unread portion of the kernel message buffer: panic: pmap_mapdev: Couldn't alloc kernel virtual memory cpuid = 0 Uptime: 11h49m19s Physical memory: 2031 MB Dumping 233 MB: 218 202 186 170 154 138 122 106 90 74 58 42 26 10 Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from /boot/kernel/splash_bmp.ko.symbols...done. done. Loaded symbols for /boot/kernel/splash_bmp.ko Reading symbols from /boot/kernel/vesa.ko...Reading symbols from /boot/kernel/vesa.ko.symbols...done. done. Loaded symbols for /boot/kernel/vesa.ko Reading symbols from /boot/kernel/geom_vinum.ko...Reading symbols from /boot/kernel/geom_vinum.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_vinum.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols from /boot/kernel/snd_ich.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_ich.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/aio.ko...Reading symbols from /boot/kernel/aio.ko.symbols...done. done. Loaded symbols for /boot/kernel/aio.ko Reading symbols from /boot/kernel/sem.ko...Reading symbols from /boot/kernel/sem.ko.symbols...done. done. Loaded symbols for /boot/kernel/sem.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/modules/kqemu.ko...done. Loaded symbols for /boot/modules/kqemu.ko Reading symbols from /boot/modules/ltmdm.ko...done. Loaded symbols for /boot/modules/ltmdm.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/logo_saver.ko...Reading symbols from /boot/kernel/logo_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/logo_saver.ko Reading symbols from /usr/local/modules/rtc.ko...done. Loaded symbols for /usr/local/modules/rtc.ko #0 doadump () at pcpu.h:196 196 __asm __volatile(movl %%fs:0,%0 : =r (td)); (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc0590dbf in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0591084 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc07ffc54 in pmap_mapdev_attr (pa=3489660928, size=268435456, mode=0) at /usr/src/sys/i386/i386/pmap.c:4349 #4 0xc07ffcfe in pmap_mapdev (pa=3489660928, size=268435456) at /usr/src/sys/i386/i386/pmap.c:4366 #5 0xc09b51d5 in vesa_set_mode (adp=0xc08e5620, mode=259) at /usr/src/sys/modules/vesa/../../i386/isa/vesa.c:835 #6 0xc642ea58 in logo_saver (adp=0xc08e5620, blank=1) at /usr/src/sys/modules/syscons/logo/../../../dev/syscons/logo/logo_saver.c:117 #7 0xc04909f6 in splash (adp=0xc08e5620, on=1) at /usr/src/sys/dev/fb/splash.c:211 #8 0xc04da60c in scsplash_saver (sc=0xc08f2960, show=1) at /usr/src/sys/dev/syscons/syscons.c:1957 #9 0xc04dc72e in scrn_timer (arg=0xc08f2960) at /usr/src/sys/dev/syscons/syscons.c:1767 #10 0xc05a27af in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #11
Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9
Thanks very much! Will this actually change behavior of the Linux kernel module, or is it just supposed to trick new versions of linux_base to build? -- Ned Ruggeri On Sun, Mar 1, 2009 at 7:35 PM, Pieter de Goeje pie...@degoeje.nl wrote: On Monday 02 March 2009, Edward Ruggeri wrote: I am using FreeBSD 7.0 Stable. I want to run the Linguistica project Linux binary. However, after loading the Linux kernel module, when I try to run the binary the system replies: ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./lxa-ubuntu-325) ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) Besides asking the Linguistica developers whether they actually must require such recent versions of the GNU C, C++ libraries, I tried to install a more recent linux_base. However, everything beyond linux_base-fc4 does not support Linux kernel 2.4.2. Is there a module for a newer version of the linux kernel that I can build so as to install a newer linux_base? Or is there a way to use the same 2.4.2 module but use more recent GNU C libraries? I am not an expert in this area; is there something I haven't thought of? You can upgrade the linux compatibility layer by setting the sysctl: compat.linux.osrelease=2.6.18 For example in /etc/sysctl.conf. Then you should be able to install a newer version of linux_base. -- Pieter de Goeje ___ 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
Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9
I am using FreeBSD 7.0 Stable. I want to run the Linguistica project Linux binary. However, after loading the Linux kernel module, when I try to run the binary the system replies: ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./lxa-ubuntu-325) ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) Besides asking the Linguistica developers whether they actually must require such recent versions of the GNU C, C++ libraries, I tried to install a more recent linux_base. However, everything beyond linux_base-fc4 does not support Linux kernel 2.4.2. Is there a module for a newer version of the linux kernel that I can build so as to install a newer linux_base? Or is there a way to use the same 2.4.2 module but use more recent GNU C libraries? I am not an expert in this area; is there something I haven't thought of? Thanks! Sincerely, -- E Ruggeri ___ 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
why printf() don't work?
I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf(execute main()); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf(called dg_echo); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;iQSIZE;i++){ dg[i].dg_data=malloc(MAXDG); dg[i].dg_sa=malloc(clilen); dg[i].dg_salen=clilen; } iget=iput=nqueue=0; signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); fcntl(sockfd,F_SETOWN,getpid()); ioctl(sockfd,FIOASYNC,on); ioctl(sockfd,FIONBIO,on); sigemptyset(zeromask); sigemptyset(oldmask); sigemptyset(newmask); sigaddset(newmask,SIGIO); sigprocmask(SIG_BLOCK,newmask,oldmask); for(;;){ while(nqueue==0) sigsuspend(zeromask); sigprocmask(SIG_SETMASK,oldmask,NULL); sendto(sockfd,dg[iget].dg_data,dg[iget].dg_len,0,dg[iget].dg_sa,dg[iget].dg_salen); if(++iget=QSIZE) iget=0; sigprocmask(SIG_BLOCK,newmask,oldmask); nqueue--; } } static void sig_io(int signo){ printf(sig_io called); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue=QSIZE) err_quit(receive overflow); ptr=dg[iput]; ptr-dg_salen=clilen; len=recvfrom(sockfd,ptr-dg_data,MAXDG,0,ptr-dg_sa,ptr-dg_salen); if(len0){ if(errno==EWOULDBLOCK) break; else err_sys(recvfrom error); } ptr-dg_len=len; nread++; nqueue++; if(++iput=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf(sig_hup called); int i; for(i=0;i=QSIZE;i++) printf(cntread[%d]=%ld\n,i,cntread[i]); } --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. 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
Installation medium undetected / Initial network setup
I am working with the Disc 1 ISO of 7-RELEASE. I am having difficulty when selecting the installation medium. When I choose CD/DVD, it returns Error mounting /dev/acd0 on /dist. Input / Output error 5. I have already set up the partition, and used the auto mode to create slices. I also tried the FTP option, at which point it prompted me to setup my network interface, which I could not complete. I'm using built in nVidia ethernet that it recognizes. I enabled DHCP in the options menu. I know my default gateway IP, but am unsure what to provide as hostname or domain. I currently have a linux distro installed, so if there is a command i can run to retrieve the necessary info I can do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where is syslogd log?
I call syslog(),LOG_USER with Unix C language,it should write a message in /var/adm/messages in Solaris,such as connected from 10.1.1.2 ,I want to know which file in FreeBSD?I look for /var/log/messages,I don't find my message connected from 10.1.1.2 in this file. Why? My syslog.conf is follows: # $FreeBSD: src/etc/syslog.conf,v 1.28 2005/03/12 12:31:16 glebius Exp $ # # Spaces ARE valid field separators in this file. However, # other *nix-like systems still insist on using tabs as field # separators. If you are sharing this file between systems, you # may want to use only tabs as field separators here. # Consult the syslog.conf(5) manpage. *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages security.* /var/log/security auth.info;authpriv.info/var/log/auth.log mail.info /var/log/maillog lpr.info /var/log/lpd-errs ftp.info /var/log/xferlog cron.* /var/log/cron *.=debug /var/log/debug.log *.emerg * # uncomment this to log all writes to /dev/console to /var/log/console.log #console.info /var/log/console.log # uncomment this to enable logging of all log messages to /var/log/all.log # touch /var/log/all.log and chmod it to mode 600 before it will work #*.* /var/log/all.log # uncomment this to enable logging to a remote loghost named loghost #*.* @loghost # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: joining 2 files together ?
On Thu, Aug 7, 2008 at 10:38 AM, Bill Moran [EMAIL PROTECTED] wrote: But to answer your real question, you can't just mash two avi files together to make 1 big one. You'll need something like avidemux or one of the command line tools to actually get the avi headers correct. If I recall correctly, generally you can play the file, but it will stop at the end of the first part. However, I think you can seek past that point and avoid the premature termination. Which is to say that you are correct. -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up Wireless net Card
On Tue, Aug 5, 2008 at 2:48 AM, Warren Liddell [EMAIL PROTECTED] wrote: Im trying to setup//configure my Belkin Wireless Card, but since i have had it for a while in a windows machine, im no clue about using a wireless card in FreeBSD an not as yet able to find to many sources//articles that can give me a head start on where to go to begin finding the cards chipset etc etc .. Any assistance would be appreciated. Run ifconfig; if your card's driver is built into the GENERIC kernel (it likely is), then iconfig should list it. Alternatively, you can run pciconf -lv. If you can't find your card in either of these, please copy the output of those two to the list. (Hint: a goodway to save the output of a command to a file is: command | tee file). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorry - plaintext this time - Disk geometry and two OSes.
On Mon, Aug 4, 2008 at 8:02 PM, Slick Bo [EMAIL PROTECTED] wrote: I've seen a few people on this mailing list say that disk geometry really doesn't matter that much, and the OS usually works fine despite apparent errors. But I'd prefer to be able to keep my windows installation. If I let sysinstall change the disk geometry, will it create problems for the files on 0 and the WinXP installation? If so, do you know of an alternate way to find the disk geometry, and should I directly give these results to sysinstall? Will that fix my problem? This is something I've wondered about, but blithely ignored. What does the warning really mean? Why doesn't it matter? -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig query/dhclient
On Mon, Aug 4, 2008 at 4:54 AM, Warren Liddell [EMAIL PROTECTED] wrote: Im trying to find out how i can change my net card on re0 to be a 10BaseT full duplex instead of auto @ 100. I don't know, but someone else can probably help. Also trying to work out why when using dhclient fwe0 (presuming its my wireless card) it never gets a link .. is there more to getting a link with wireless? there is no encryption. Have you done 'ifconfig fwe0 up first? -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Atheros Wireless Card Causes Page Fault
Hi, This is a question about a hardware problem. I hope this is an appropriate place to ask. I have a recently purchased Lenovo ThinkPad, with a Atheros 5212 wireless card (well, dmesg says it's an Atheros 5212; I believe it). It also has a wired internet connector, which works perfectly fine. I wish I was writing you from that computer, but I am at work right now and don't have the ThinkPad at my fingertips. I can update later tonight, but perhaps you can spot my error with just the somewhat incomplete information I have right now. I have compiled the Atheros driver and wireless support into my kernel: device ath device ath_hal device ath_rate_sample device wlan device wlan_wep device wlan_ccmp device wlan_tkip The card is detected correctly upon system startup. If I write ifconfig_ath0=DHCP into /etc/rc.conf (or, alternatively, use dhclient ath0) the system connects to the wireless router and gets an IP address successfully. (My wireless at home is unsecured). I go to test the connection in Lynx. Google loads (yay!). I submit a google search, that may load. But I rarely get a third page transmitted before I get a page fault. The error is quite like this person's (http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065608.html), though his problem didn't seem to be resolved on the list. In particular, the system reports a fatal trap 12: page fault while in kernel mode. Fault virtual address is 0x0, not 0xc, if it makes a difference. The fault code is also supervisor read, page not present. The current process is ath0 taskq. To my (totally uneducated) eyes, this seems to be a driver problem. I am not certain of my wireless card's make/number, but I assume that it really is an Atheros 5212, not only because that's what FreeBSD says, but that's also what Lenovo ships as the basic ThinkPad card (I didn't go with Intel wireless). So if I'm using the right driver, I'm not sure what the issue might be. Thanks for any help you might have! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Atheros Wireless Card Causes Page Fault
Hi, This is a question about a hardware problem. I hope this is an appropriate place to ask. I have a recently purchased Lenovo ThinkPad, with a Atheros 5212 wireless card (well, dmesg says it's an Atheros 5212; I believe it). It also has a wired internet connector, which works perfectly fine. I wish I was writing you from that computer, but I am at work right now and don't have the ThinkPad at my fingertips. I can update later tonight, but perhaps you can spot my error with just the somewhat incomplete information I have right now. I have compiled the Atheros driver and wireless support into my kernel: device ath device ath_hal device ath_rate_sample device wlan device wlan_wep device wlan_ccmp device wlan_tkip The card is detected correctly upon system startup. If I write ifconfig_ath0=DHCP into /etc/rc.conf (or, alternatively, use dhclient ath0) the system connects to the wireless router and gets an IP address successfully. (My wireless at home is unsecured). I go to test the connection in Lynx. Google loads (yay!). I submit a google search, that may load. But I rarely get a third page transmitted before I get a page fault. The error is quite like this person's (http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065608.html), though his problem didn't seem to be resolved on the list. In particular, the system reports a fatal trap 12: page fault while in kernel mode. Fault virtual address is 0x0, not 0xc, if it makes a difference. The fault code is also supervisor read, page not present. The current process is ath0 taskq. To my (totally uneducated) eyes, this seems to be a driver problem. I am not certain of my wireless card's make/number, but I assume that it really is an Atheros 5212, not only because that's what FreeBSD says, but that's also what Lenovo ships as the basic ThinkPad card (I didn't go with Intel wireless). So if I'm using the right driver, I'm not sure what the issue might be. Thanks for any help you might have! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Atheros Wireless Card Causes Page Fault
On Thu, Jul 17, 2008 at 9:38 AM, Edward Ruggeri [EMAIL PROTECTED] wrote: Hi, This is a question about a hardware problem. I hope this is an appropriate place to ask. I have a recently purchased Lenovo ThinkPad, with a Atheros 5212 wireless card (well, dmesg says it's an Atheros 5212; I believe it). It also has a wired internet connector, which works perfectly fine. I wish I was writing you from that computer, but I am at work right now and don't have the ThinkPad at my fingertips. I can update later tonight, but perhaps you can spot my error with just the somewhat incomplete information I have right now. My Lenovo representative informs me it may be a Ar5006ex, if that helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any advice for learning debugging threading and stack corruption problems for c/c++?
I have had a very hard time trying to debug which has hindered my work on some projects. In particular I have had trouble properly grasping how to work with debugging multi threaded applications, memory errors, and stack corruption. I know that it is not a five minute learning process to absorb such knowledge, but I have not yet found helpful references. I have had best luck trying to logically guess a location close to the problem, then setting a break and walking through the code. Once I hit a segfault, I run through the code with a breakpoint bringing me to just before the problem, but do not always understand how to go further. Strange things I see look like bad pointer addresses or the problems being caused within another thread. Since moving to FreeBSD7, I have been unable to use valgrind (which did not seem to help much on multi threaded apps) and I have not found a way to test binaries in the work directories and have had to install it to test it. At present, either gdb alone or kdbg seem to be the only ways I have been able to get even partially reliable responses from gdb because other interfaces disregard breakpoints and interrupts to execution. Are such difficulties common? On another similar topic, is there a good place to start learning about limitations to system internals, such as kern.ipc.shmmax and why I may 'not' want to set it to excessively high values or how other values relate to changing it? How can I tell what cap is occurring, whether it be a system limit or something controlled within the app such as with pthread_attr_setstacksize() and how are 'proper' values determined? The books advanced programming in the unix environment and programming with posix threads help me learn the unix world a bit better, but without debugging knowledge I find it hard to get anywhere with writing more than my high school level of programs and very difficult to get anywhere on the projects of others once threads and/or dynamic memory is involved. Any suggested course for further study from here? Thanks again, Edward Sutton, III _ Keep your kids safer online with Windows Live Family Safety. http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_family_safety_072008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to reach hosts outside my subnet after initial installation
Thank you everyone for the assistance. The problem turned out to be with the gateway rather than a freeBSD problem. I did not have access to the gateway but was able to change the IP address, after which everything worked ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to reach hosts outside my subnet after initial installation
From: Derek Ragona [EMAIL PROTECTED] Check and/or create /etc/nsswitch.conf so you are looking in files and dns for hosts. Check or create /etc/resolv.conf make sure your upsteam DNS servers are listed in this file along with any local caching DNS servers. Thanks for the suggestion. Those files already exist with valid entries though. In any event, it doesn't seem like a hostname problem as I can nslookup arbitrary hosts and then try and then ping the IP numbers directly which fails for hosts beyond the local subnet. It seems more like a router/gateway network configuration type of problem. I've just discovered that when I ping the gateway's IP address, I get no answer. Now I know the gateway is functioning as every other host on the network can reach the rest of the internet and in fact, I've just successfully ping'd the gateway from the machine where I'm writing this message. So I'm wondering what could cause this or at least some way of approaching the problem. thanks ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to reach hosts outside my subnet after initial install
After a fresh installation of freeBSD 7.0, I am unable to communicate with any hosts beyond the local subnet. All important values (gateway, netmask,etc) were copied from other unix hosts on the same subnet. Presumably I've either failed to include something important or there is a conflict. Details follow... thanks for any assistance, ed %uname -a FreeBSD newdewey.soe.berkeley.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICi386 here's the current net config: newdewey# ifconfig xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=9RXCSUM,VLAN_MTU ether 00:01:02:c1:b6:fb inet 128.32.157.5 netmask 0xff00 broadcast 128.32.157.255 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 Here's the contents of /etc/rc.conf: newdewey# more rc.conf # -- sysinstall generated deltas -- # Thu May 22 21:45:55 2008 # Created: Thu May 22 21:45:55 2008 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=128.32.157.1 hostname=newdewey.soe.berkeley.edu ifconfig_xl0=inet 128.32.157.5 netmask 255.255.255.0 inetd_enable=YES linux_enable=YES # -- sysinstall generated deltas -- # Tue May 27 19:42:16 2008 router_flags=-q router=/sbin/routed router_enable=YES %netstat -r Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultfast2-2.inr-240-mu UGS 0 1088xl0 localhost localhost UH 0 905lo0 128.32.157.0 link#1 UC 00xl0 fast2-2.inr-240-mu 00:0c:86:7a:75:c0 UHLW20xl0 1197 dewey 08:00:2b:86:6e:ca UHLW1 77xl0 1144 tolman-18.LIPS.Ber 00:0a:95:b1:e7:fe UHLW10xl0 Finally, the current situation is that I can ping hosts on the 128.32.157.* subnet, but not anything beyond. newdewey# ping google.com PING google.com (64.233.187.99): 56 data bytes ^C --- google.com ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss newdewey# ping dewey.soe.berkeley.edu PING dewey.soe.berkeley.edu (128.32.157.3): 56 data bytes 64 bytes from 128.32.157.3: icmp_seq=0 ttl=64 time=0.360 ms 64 bytes from 128.32.157.3: icmp_seq=1 ttl=64 time=0.320 ms ^C --- dewey.soe.berkeley.edu ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.320/0.340/0.360/0.020 ms ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
On Sat, Jun 07, 2008, Yuri wrote: Hi Jyun-Yi, With these environment variables prompt window pops up from QT apps but editboxes don't get selected word. Also all GTK applications begin to speak Chinese. How about, unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
On Sun, Jun 08, 2008, Yuri wrote: Edward G.J. Lee wrote: unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Thank you Edward, Now gcin menu is shown from QT app and all apps still speak English. But the problem is that selected Chinese character doesn't appear in the editbox in QT applications. Your qt app and gcin must start via zh_TW.UTF-8 environment. We don't have qt immodule in gcin ports yet. Edward ps. You need XIM when you use qt app. In ~/.bash_profile, export QT_IM_MODULE=xim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Promise SATA300 TX2plus with LG GGW-H20L burner on 7.0 causes endless timeouts.
This is a collection of information to my troubles. I am hoping to find out what mailing list is most appropriate before I started posting kernel dump backtraces and asking what other details to post. What other details may be relevant to gather would also be helpful. Are there safe ways to crash a system to gather details without further filesystem corruption? My motherboard is about six years old so it has no SATA ports for the drive; My old Promise SATA150 TX4 was loaded with four hard drives; it appears to not support optical drives so I recently purchased the Promise SATA300 TX2plus to have a card giving what I need on this old computer and hopefully an IDE port on my next computer (if the board I buy in a year comes with a PCI slot for it). I thought Promise cards receive good FreeBSD support and was readily available at a local retailer. Upon booting, I get the following 2 errors after a long pause: acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command These errors are looped. The pause occurs just after acd0 and acd1 are identified. After a little over a page of errers there are cd2 entries for the SATA drive that appear. I was able to `atacontrol detach ata6` yesterday to put a hault to that traffic. The system periodically pauses while the errors are being generated. Inside X, pauses appeared to come every 8 seconds or so and last a second or two. I booted this morning to restore services while I was at work and accidentally detached ata5 (with a mounted but not in use partition) and started X (which loads the nvidia driver and takes the videocard fan down to an idle state). When I got home, the system was sluggish with the pauses (seemed to not give the full 8 seconds between I/O freezes). Attempting to detach ata6 never returned to a prompt, but the error loop appeared to have stopped. Trying to open programs or login to other virtual terminals just lead to freezing in the related program or terminal. ctrl + alt + delete left me with the gui on F9 and only F1 as a text terminal, but both were crippled beyond use before than with the freezing. Pressing power did not begin the usual shutdown sequence; ACPI(?) errors followed for each press with a message something along the lines of not being ready yet. After many minutes of no action, I forced a powerdown. Reboots lead to segfaults after I logged in and tried to detach ata6 (which appeared to succeed). I should have a crash dump, but do not recall the error; it lead me to conclude that file system corruption may be present. I had to reboot in single user mode to detach ata6 and run fsck which found errors (as usual of almost every time I have had improper shutdowns on FreeBSD machines). Booting normal after than and detaching ata6 was followed with another segfault so I have unplugged the drive in the meantime. The old and new controller cards are listed as the following on bootup: atapci0: port 0x9000-0x903f,0x9400-0x940f,0x9800-0x987f mem 0xe804-0xe8040fff,0xe800-0xe801 irq 22 at device 10.0 on pci2 atapci1: port 0x9c00-0x9c7f,0xa000-0xa0ff mem 0xe8041000-0xe8041fff,0xe802-0xe803 irq 19 at device 11.0 on pci2 Any suggestions where to go from here to get the system working? Thanks again, Edward Sutton, III _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Even more documentation?
On Fri, Apr 25, 2008 at 10:32 PM, Edward Ruggeri [EMAIL PROTECTED] wrote: Hi all, I've used FreeBSD for about two years now. Besides using Linux for projects on school computers, I never had much experience with Unix-like operating systems. While I get by nicely on FreeBSD, I recently felt that I didn't have a very solid understanding of it's organization or structure. I suppose one can't know everything about an operating system with as much functionality as FreeBSD, but I started to feel like my knowledge was really ad-hoc, and that I didn't completely understand what I was doing (as if I had learned only by example). To that end, I started reading the FreeBSD handbook front-to-back. I've gotten to Part III, and while it's been very valuable, I still feel like I'm learning by example, and not by understanding the operating system. I'm starting to think I'm expecting something out of the handbook it's not designed to do. It seems like the man pages would be a good place to go, but my trouble with using them is that they're difficult to put together the information on different pages. I suppose I want something like a textbook. I dream of a KR type text that is very comprehensive and well-organized. If anyone has advice, I'd very much appreciate it! Sincerely, -- Ned Ruggeri I have read the many replies from various people, and they have all been exceptionally helpful. Thanks very much everyone! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dynamic Memory Allocation Limit?
I have recently been writing an implementation of the sieve of Eratosthenes in C. To find all primes less than N, I dynamically create an array of chars (relatively small datatype) of length N+1 (I know I don't need to represent evens). Everything works great up until around 600 million, at which case memory allocation fails. At this point, I am asking for 600M chars, which is about 572MB (I might be failing to take account of offset?). My system has about 2GB of memory. Top says: Mem: 159M Active, 1113M Inact, 185M Wired, 56M Cache, 112M Buf, 481M Free. From the man page, I am not completely clear what these values mean. However, I have read elsewhere that memory labeled as inactive should be available for the heap Is there a limit to how much memory may be allocated to a process? Any other reasons someone might think of? I am using FreeBSD 6.3-prerelease, with SMP for a Athlon X2 4200+ (if it makes a difference). Sorry if this is a RTFM question ... Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Even more documentation?
Hi all, I've used FreeBSD for about two years now. Besides using Linux for projects on school computers, I never had much experience with Unix-like operating systems. While I get by nicely on FreeBSD, I recently felt that I didn't have a very solid understanding of it's organization or structure. I suppose one can't know everything about an operating system with as much functionality as FreeBSD, but I started to feel like my knowledge was really ad-hoc, and that I didn't completely understand what I was doing (as if I had learned only by example). To that end, I started reading the FreeBSD handbook front-to-back. I've gotten to Part III, and while it's been very valuable, I still feel like I'm learning by example, and not by understanding the operating system. I'm starting to think I'm expecting something out of the handbook it's not designed to do. It seems like the man pages would be a good place to go, but my trouble with using them is that they're difficult to put together the information on different pages. I suppose I want something like a textbook. I dream of a KR type text that is very comprehensive and well-organized. If anyone has advice, I'd very much appreciate it! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do I need to install xorg?
On Fri, Apr 25, 2008 at 10:15 PM, cuongvt [EMAIL PROTECTED] wrote: I bought nvidia geforce 8500GT graphic card and I want to install fresh Freebsd 7.0 (with X, gnome) So do I need to portinstall x11/xorg with x11/nvidia-driver? Or I only need to portinstall x11/nvidia-driver only in order to startx? Thanks and regards You will need to install the x11/xorg port -- this is not part of the base system. You can do this through packages or ports. You can even install it (as a package) through sysinstall by selecting a distribution containing x11. -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Handbook Question
Hi All! Still reading through the FreeBSD handbook. I'm at section 5.5.3; it discusses how to edit the /usr/local/etc/fonts/local.conf file to adjust how X11 handles the anti-aliasing of fonts. It ends (about) with this sentence: Anti-aliasing should be enabled the next time the X server is started. Perhaps I am splitting hairs: hasn't anti-aliasing been enabled all along, it's now just going to be handled differently the next time local.conf is read? I ask because I'm afraid I missed something. Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing Console Video Modes
On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote: On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote: I'm just reading through the manual for FreeBSD, and I am at section 3.2.6 Changing Console Video Modes. This discusses how to change the default console resolution. I would try this out, but as I can only access my FreeBSD box remotely at the moment, I am hesitant to recompile the kernel with the necessary options (I currently get an error when running #vidcontrol -i mode: getting active vty: Inappropriate ioctl for device. I assume this is because the current kernel is insufficient?). I'm afraid my computer might need to be booted by hand, which I wouldn't be able to do. In any case, lacking the ability to experiment, I am curious about different video modes. Will greater resolutions allow me to fit more text on the screen in the console? Of course I know (maybe less than I think) about resolution in terms of graphical environments (e.g., can see more of a high-resolution image w/ a greater resolution), but is it the same for text? Thanks! Sincerely, -- Ned Ruggeri Don't forget to use i386 instead of amd64, since those higher resolutions are vesa modes(I also don't think you can get any widescreen resolutions) and amd64 can't access the vesa instructions. You might be able to try hacking the loader and change resolutions there but I don't know if it would stay that way through boot or what effect X windows would have. You could just try a fullscreen xterm. Using evilwm it can give you the look of a console with a higher resolution. On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote: On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote: I'm just reading through the manual for FreeBSD, and I am at section 3.2.6 Changing Console Video Modes. This discusses how to change the default console resolution. I would try this out, but as I can only access my FreeBSD box remotely at the moment, I am hesitant to recompile the kernel with the necessary options (I currently get an error when running #vidcontrol -i mode: getting active vty: Inappropriate ioctl for device. I assume this is because the current kernel is insufficient?). I'm afraid my computer might need to be booted by hand, which I wouldn't be able to do. In any case, lacking the ability to experiment, I am curious about different video modes. Will greater resolutions allow me to fit more text on the screen in the console? Of course I know (maybe less than I think) about resolution in terms of graphical environments (e.g., can see more of a high-resolution image w/ a greater resolution), but is it the same for text? Thanks! Sincerely, -- Ned Ruggeri Don't forget to use i386 instead of amd64, since those higher resolutions are vesa modes(I also don't think you can get any widescreen resolutions) and amd64 can't access the vesa instructions. You might be able to try hacking the loader and change resolutions there but I don't know if it would stay that way through boot or what effect X windows would have. You could just try a fullscreen xterm. Using evilwm it can give you the look of a console with a higher resolution. Interesting; I'll have to try that. Thank you everyone for the information! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing Console Video Modes
I'm just reading through the manual for FreeBSD, and I am at section 3.2.6 Changing Console Video Modes. This discusses how to change the default console resolution. I would try this out, but as I can only access my FreeBSD box remotely at the moment, I am hesitant to recompile the kernel with the necessary options (I currently get an error when running #vidcontrol -i mode: getting active vty: Inappropriate ioctl for device. I assume this is because the current kernel is insufficient?). I'm afraid my computer might need to be booted by hand, which I wouldn't be able to do. In any case, lacking the ability to experiment, I am curious about different video modes. Will greater resolutions allow me to fit more text on the screen in the console? Of course I know (maybe less than I think) about resolution in terms of graphical environments (e.g., can see more of a high-resolution image w/ a greater resolution), but is it the same for text? Thanks! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]