Re: mounted usb devices crash
On Wednesday 25 February 2009 15:58:53 Mel wrote: I looked for status on this project, can't seem to find it atm. Found it: http://forums.freebsd.org/showthread.php?t=306 Looks like it's even gonna be MFC'd \o/ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CONF DNS
The named.conf is used only if you need to set up your owm DNS server and you do not use someone other then the default. To resolve external hosts you need to enter the dns server IP in the /etc/resolv.conf file. It is not resolvE.conf. Hope this will help you. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD tel. +359 2 8135 890 fax +359 2 8135 110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. Fouz Azeem fouzaze...@yahoo.com Sent by: owner-freebsd-questi...@freebsd.org 27.02.2009 08:19 To questi...@freebsd.org cc Subject CONF DNS Dear FreeBSD I have install FreeBSD 7.1 from .iso I need to configure DNS I can find the named.conf but I did not find resolve.conf in /etc/ Can you please tell me where it is? Fouz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why Atheros WiFi card is so unstable?
I have Linux box sitting next to FreeBSD box that has a very cheap Airlink 101 card but has no problems connecting to my WiFi network. Every time when Linux box says that quality of connection drops below 10/100 FreeBSD box shows status: no carrier. Linux connections still function ok. I even bought a large WiFi antenna for FreeBSD box but still have this problem. Is there some sensitivity parameter that driver may be setting too low on the card? Why wouldn't the quality of connection with Atheros card be so unstable on FreeBSD? 7.1-STABLE ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: Atheros 5212 mem 0xcffe-0xcffe irq 16 at device 5.0 on pci0 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Updating 7.1 kernel using zfs root
Hey guys, I'm currently running on FreeBSD 7.1 AMD64 using a ZFS filesystem, but my /boot folder is linked to a UFS filesytem (/bootdir). I set it up following the instructions here: http://www.ish.com.au/solutions/articles/freebsdzfs In a nut shell: Install a minimal FreeBSd 7.1 from CDs onto a UFS partition, boot into single user mode, create your ZFS partitions, and copy stuff over onto ZFS, and link back to the UFS boot's folder for / boot. So: celebrian# ls -ld /boot lrwxr-xr-x 1 root wheel 12 Feb 25 19:52 /boot - bootdir/boot celebrian# df Filesystem 1K-blocks Used Avail Capacity Mounted on tonk/root 572796032817920 571978112 0%/ devfs 1 1 0 100%/dev /dev/ad10s1a 101297456007037186860%/bootdir tonk/home 699041408 127063296 57197811218%/home tonk/tmp 571979264 1152 571978112 0%/tmp tonk/usr 575095040 3116928 571978112 1%/usr tonk/usr/local 572981248 1003136 571978112 0%/usr/local tonk/var 572786432808320 571978112 0%/var celebrian# All is working now except when trying to recompile the kernel. I csup the latest 7.1 kernel (cvs tag RELENG_7), and I do the whole buildworld, buildkernel, installkernel, shutdown, installworld dance.. everything builds and installs fine. I do see it installs into /boot/ kernel (which is really /bootdir/boot/kernel) and moves aside the old kernel. When I reboot, it kernel panics pretty quickly (it spits out a whole bunch of weird stuff including strange symbols) shortly after the boot loader. Fortunately, I'm able to boot into the kernel.old kernel (the one from the CDs) just fine. Is there some extra step I need to do in this kind of setup to update the kernel that I'm missing? Any clues would be appreciated. --Andy ___ 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: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC
Date: Thu, 26 Feb 2009 14:19:14 -0500 From: st...@ibctech.ca To: faiz...@hotmail.com CC: li...@jnielsen.net; freebsd-questions@freebsd.org Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC Faizan ul haq Muhammad wrote: It depends. Are you doing any sort of firewalling? What is the IP addressing info on the two end hosts? well, in this configuration i havent enabled any firewalling. the Ips are: 192.168.0.4 and 192.168.0.5 for the other two hosts and to the bridge i assigned IP 192.168.0.1 Ok. On the box with the bridge, su to root and start a tcpdump session: # tcpdump -n -i bridge0 ...and then, on 192.168.0.4, ping 192.168.0.5 After the ping is done (whether it works or not), stop the tcpdump and email the output to the list if you can. If you can't email it, at least type out the IP addresses captured, and the direction the data is attempting to flow eg: 208.70.104.210.22 208.70.104.100.50885 208.70.104.100.50885 208.70.104.210.22 arp who-has 208.70.104.206 tell 208.70.104.193 etc. I have just checked this: it says nothing ... except: listening on bridge0, link-type EN10MB (Ethernet), capture size 96 bytes I think it is unable to receive any packet . DO i miss something in the configuration ? Steve _ Windows Live™ Hotmail®:…more than just e-mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_022009___ 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
pf route-to slowdown
Hello all. I`m using only one pf rule to fool routing table. All was good, but after upgrade from 6.3 to 7.1 i`ve discovered that it is not working anymore. I`ve added: no state flags any to get it working again. Now my list of rules is: scrub in all pass out on $if1 route-to ($if0 $if0gw) from $if0 to any no state flags any Now my main problem is: Using scp I can upload data from any host to server through $if0 but download is exetremly slow :-( Does anybody have any suggestions ? ___ 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: CONF DNS
or maybe since you installed from an image (not over a network) the resolv.conf was never created. heres how i create it, never tried this freebsd though: seq --format=nameserver 4.2.2.%g 1 5 /etc/resolv.conf alternatively just adding this line: nameserver 4.2.2.1 or whatever your dns server besides 4.2.2.1 if you'd rather should suffice. -Adele (sent from my gphone!) On Feb 27, 2009 12:35 AM, Ivailo Tanusheff i.tanush...@procreditbank.bg wrote: The named.conf is used only if you need to set up your owm DNS server and you do not use someone other then the default. To resolve external hosts you need to enter the dns server IP in the /etc/resolv.conf file. It is not resolvE.conf. Hope this will help you. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD tel. +359 2 8135 890 fax +359 2 8135 110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. Fouz Azeem fouzaze...@yahoo.com Sent by: owner-freebsd-questi...@freebsd.org 27.02.2009 08:19 To questi...@freebsd.org cc Subject CONF DNS Dear FreeBSD I have install FreeBSD 7.1 from .iso I need to configure DNS I can find the name... ___ 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: Ports on Macbook
Em Sex, 2009-02-27 às 14:45 +0300, z...@zaa.pp.ru escreveu: On Fri, Feb 27, 2009 at 03:04:09PM +0530, Nataraj S Narayan wrote: Hi I hear that Mac OS X and later ones are based on FreeBSD. My wife is planning to get a Macbook , which I don't quite approve. Mainly because we need to pay for any upgrade or new add ons. Hello... I use a free version of the Leopard based on darwin (freebsd6) named hackintosh it is the google, it is free, and just works... You can even buy a standard notebook, and install. I will transform the notebook in an apple leopard 10. It is a DVD of 4Gb.. Sergio ___ 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
poor performances with Intel Raid Controller (iir)
Hello, I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? Thanks, Julien -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ 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: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC
Faizan ul haq Muhammad wrote: After the ping is done (whether it works or not), stop the tcpdump and email the output to the list if you can. If you can't email it, at least type out the IP addresses captured, and the direction the data is attempting to flow eg: 208.70.104.210.22 208.70.104.100.50885 208.70.104.100.50885 208.70.104.210.22 arp who-has 208.70.104.206 tell 208.70.104.193 etc. I have just checked this: it says nothing ... except: listening on bridge0, link-type EN10MB (Ethernet), capture size 96 bytes I think it is unable to receive any packet . DO i miss something in the configuration ? Provide the output to ifconfig bridge0, and kldstat. Steve ___ 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
Emacs doesn't want to support 256 colors in terminal window
Hi, I hope someone will be able to help with this. I've already checked all resources I could google but still can't get it to work. Basically my terminal can show more than 16 colors but emacs doesn't want to use these colors. I run FreeBSD (7.1-RELEASE) as a virtual machine and use it without any X interface, only through ssh from a Windows machine (the host). I have set up both putty and ssh in cygwin to report term type as 'xterm-256color' (putty in the configuration window and xterm using -tn command line parameter). That part works fine because I can run scripts available on the internet (256colors2.pl, colortest), which surely show more than 8 colors in my terminal window. The problem is when I run emacs and type: M-x list-colors-display. Emacs shows only boring 8 colors (not even 16). A bit about my configuration. Emacs was compiled without X11 support (from ports emacs-nox11-22.3). I also don't have xterm installed. I tried to set env variable TERM=xterm-256color but it didn't help. There is a special note about using terms in emacs in /usr/local/share/emacs/22.3/lisp/term/README I unpacked xterm.el.gz from that folder and tried to supply it as term/xterm-256color.el or term/xterm.el to emacs, but that also didn't work. It is interesting to note, that when I type: tput color I get different values depending on the user and terminal: user grzesiu, putty, TERM=xterm-256color, tput colors: 114 the same user, putty and TERM value, but tput colors: 123, another trial and output is 80 user root, putty, TERM=xterm, tput colors: 184 the same user and putty, but TERM=xterm-256color, tput colors: 115 user grzesiu, ssh from cygwin, TERM=xterm-256color, tput colors: 139 I don't understand these values because when I run these scripts above I don't see any difference in colors shown (subjectively). In neither of these configurations emacs show more than 8 colors. Any ideas or suggestions greatly appreciated. Regards GregJ ___ 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: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC
Date: Fri, 27 Feb 2009 08:24:26 -0500 From: st...@ibctech.ca To: faiz...@hotmail.com CC: li...@jnielsen.net; freebsd-questions@freebsd.org Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC Faizan ul haq Muhammad wrote: After the ping is done (whether it works or not), stop the tcpdump and email the output to the list if you can. If you can't email it, at least type out the IP addresses captured, and the direction the data is attempting to flow eg: 208.70.104.210.22 208.70.104.100.50885 208.70.104.100.50885 208.70.104.210.22 arp who-has 208.70.104.206 tell 208.70.104.193 etc. I have just checked this: it says nothing ... except: listening on bridge0, link-type EN10MB (Ethernet), capture size 96 bytes I think it is unable to receive any packet . DO i miss something in the configuration ? Provide the output to ifconfig bridge0, and kldstat. ifconfig bridge0 bridge0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu 1500 ther 0e:04:7b:09:e7:b0 inet 192.168.0.1 network 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 kldstat: id REfs AddressSize Name 1 7 0xc040 9111ec kernel 2 1 0xc0d12000 6a32c acpi.ko 3. 1 0xc4628000 22000 lunux.ko ...One more thing: do i need to enable bridging through some SCTL command. somthing like sysctl net.link.ether.bridge.config=sk0:0, sk1:0 by the way this command generates this error: unknown oid net.link.ether.bridge.config Regards! Steve ___ 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 _ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009___ 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: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC
Faizan ul haq Muhammad wrote: Provide the output to ifconfig bridge0, and kldstat. ifconfig bridge0 bridge0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu 1500 ther 0e:04:7b:09:e7:b0 inet 192.168.0.1 network 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 kldstat: id REfs AddressSize Name 1 7 0xc040 9111ec kernel 2 1 0xc0d12000 6a32c acpi.ko 3. 1 0xc4628000 22000 lunux.ko That is what I kind of thought... ...One more thing: do i need to enable bridging through some SCTL command. somthing like sysctl net.link.ether.bridge.config=sk0:0, sk1:0 by the way this command generates this error: unknown oid net.link.ether.bridge.config Put: if_bridge_load=YES in /boot/loader.conf. You can also load the module with: kldload if_bridge IIRC, your settings in rc.conf should be enough to configure the bridge, so if you choose to load dynamically while running, try a /etc/netstart to configure the bridge. If that doesn't work, a reboot should. If you can't get it to work, supply the same output I asked for above, and then I'll set up a quick lab here to test it. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.1 OpenSSH_5.1p1 OpenLDAP 2.4.14
Hello! I've a very strange problem connecting via ssh to a maschine running 7.1-RELEASE-p3 with OpenSSH_5.1p1 from very different ssh clients including the client on the system itself. I tried a lot of things; the problem DOES *NOT* APPEAR when doing *ONE* of the following things: * using ssh protocol version 1 * setting UseLogin yes in /etc/ssh/sshd_config * using local accounts instead of using OpenLDAP accounts via pam_ldap and nss_ldap In any other case, the client hangs after asking for the password and has to be killed by SIGKILL. ssh -vvv gives the following output: (...) debug1: Next authentication method: keyboard-interactive debug2: userauth_kbdint debug2: we sent a keyboard-interactive packet, wait for reply debug2: input_userauth_info_req debug2: input_userauth_info_req: num_prompts 1 Password: debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64) debug2: input_userauth_info_req debug2: input_userauth_info_req: num_prompts 0 debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64) debug1: Authentication succeeded (keyboard-interactive). debug3: clear hostkey 0 debug3: clear hostkey 1 debug3: clear hostkey 2 debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug1: Entering interactive session. And now ^^^ nothing happens any more ... With LogLevel DEBUG3 set in sshd_config sshd writes to /var/log/debug.log: (...) Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_share_sync: Share sync Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_share_sync: Share sync end Feb 27 13:47:02 myhost sshd[62229]: debug1: PAM: establishing credentials Feb 27 13:47:02 myhost sshd[62229]: debug3: PAM: opening session Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_request_receive entering Feb 27 13:47:02 myhost sshd[62232]: debug1: PAM: establishing credentials ^^^ Here logging stops. In /var/log/auth.log you can read: Feb 27 13:47:02 myhost sshd[62550]: Accepted keyboard-interactive/pam for myuser from myip port 59070 ssh2 Does anyone have an idea what to do? Or did anybody see a similar problem? Thank you very much in advance and best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.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: poor performances with Intel Raid Controller (iir)
I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? are you sure it isn't NORMAL performance of this card. i think it is, the hardware RAID solutions are usually much slower than software, even more with RAID5. ___ 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: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC
Date: Fri, 27 Feb 2009 09:08:56 -0500 From: st...@ibctech.ca To: faiz...@hotmail.com CC: li...@jnielsen.net; freebsd-questions@freebsd.org Subject: Re: ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC Faizan ul haq Muhammad wrote: Provide the output to ifconfig bridge0, and kldstat. ifconfig bridge0 bridge0: flags=8843UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST metric 0 mtu 1500 ther 0e:04:7b:09:e7:b0 inet 192.168.0.1 network 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 kldstat: id REfs AddressSize Name 1 7 0xc040 9111ec kernel 2 1 0xc0d12000 6a32c acpi.ko 3. 1 0xc4628000 22000 lunux.ko That is what I kind of thought... ...One more thing: do i need to enable bridging through some SCTL command. somthing like sysctl net.link.ether.bridge.config=sk0:0, sk1:0 by the way this command generates this error: unknown oid net.link.ether.bridge.config Put: if_bridge_load=YES in /boot/loader.conf. You can also load the module with: kldload if_bridge this command gives the output: module if_bridge already exists.. ... failed to register... bla bla (I have device if_bridge in my kernel setting so that already exists) IIRC, your settings in rc.conf should be enough to configure the bridge, so if you choose to load dynamically while running, try a /etc/netstart to configure the bridge. If that doesn't work, a reboot should. If you can't get it to work, supply the same output I asked for above, THE out put is the same for the above said commands and then I'll set up a quick lab here to test it. Steve ___ 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 _ Windows Live™: Discover 10 secrets about the new Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009___ 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: poor performances with Intel Raid Controller (iir)
Not sure, I admit that the card is quite old (4 years), but 50 MB/s seems really slow to me (especially for U320 SCSI) .. U320 means interface speed, not disk speed. ___ 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: poor performances with Intel Raid Controller (iir)
On Fri, 2009-02-27 at 16:07 +0100, Wojciech Puchar wrote: Not sure, I admit that the card is quite old (4 years), but 50 MB/s seems really slow to me (especially for U320 SCSI) .. U320 means interface speed, not disk speed. yes, but the disks are 10k RPM U320 too .. for the price they cost (~500 € per unit I think) I expect to have a bit more than 50 MB/s .. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ 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: poor performances with Intel Raid Controller (iir)
On Fri, 2009-02-27 at 15:37 +0100, Wojciech Puchar wrote: I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? are you sure it isn't NORMAL performance of this card. Not sure, I admit that the card is quite old (4 years), but 50 MB/s seems really slow to me (especially for U320 SCSI) .. i think it is, the hardware RAID solutions are usually much slower than software, even more with RAID5. I tend to use software RAID too (at least on system with multiple processors)... when I have choice. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ 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
Disabling inbound email in a jail
I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? By default, sendmail_enable=NO in /etc/rc.conf still gives a running sendmail that accepts mail from other hosts: m...@realhost$ echo foo | mail m...@jail.example.com m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:43:37 jail.example.com sm-mta[86832]: n1RFhbBp086832: from=m...@realhost, size=735, class=0, nrcpts=1, msgid=20090227154335.877a442...@realhost, bodytype=7BIT, proto=ESMTP, daemon=Daemon0, relay=jail.example.com [10.0.5.70] Feb 27 09:43:37 jail.example.com sm-mta[86833]: n1RFhbBp086832: to=m...@jail.example.com, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30983, relay=local, dsn=2.0.0, stat=Sent However, if I set sendmail_enable=NONE, then I can't send outbound email either: m...@jail.example.com$ echo foo | mail m...@realhost m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: from=me, size=28, class=0, nrcpts=1, msgid=200902271537.n1rfbbg3086...@jail.example.com, relay...@localhost Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: to...@realhost, ctladdr=me (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30028, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] What's the happy medium between sendmail wide open (eg sendmail_enable=NO (WTF?)) and disabled mail system (eg sendmail_enable=NONE)? -- Kirk Strauser ___ 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: Emacs doesn't want to support 256 colors in terminal window
On 2/27/09, Grzegorz Junka c...@gjunka.com wrote: Hi, I hope someone will be able to help with this. I've already checked all resources I could google but still can't get it to work. Basically my terminal can show more than 16 colors but emacs doesn't want to use these colors. I run FreeBSD (7.1-RELEASE) as a virtual machine and use it without any X interface, only through ssh from a Windows machine (the host). I have set up both putty and ssh in cygwin to report term type as 'xterm-256color' (putty in the configuration window and xterm using -tn command line parameter). That part works fine because I can run scripts available on the internet (256colors2.pl, colortest), which surely show more than 8 colors in my terminal window. The problem is when I run emacs and type: M-x list-colors-display. Emacs shows only boring 8 colors (not even 16). A bit about my configuration. Emacs was compiled without X11 support (from ports emacs-nox11-22.3). I also don't have xterm installed. I tried to set env variable TERM=xterm-256color but it didn't help. There is a special note about using terms in emacs in /usr/local/share/emacs/22.3/lisp/term/README I unpacked xterm.el.gz from that folder and tried to supply it as term/xterm-256color.el or term/xterm.el to emacs, but that also didn't work. It is interesting to note, that when I type: tput color I get different values depending on the user and terminal: user grzesiu, putty, TERM=xterm-256color, tput colors: 114 the same user, putty and TERM value, but tput colors: 123, another trial and output is 80 user root, putty, TERM=xterm, tput colors: 184 the same user and putty, but TERM=xterm-256color, tput colors: 115 user grzesiu, ssh from cygwin, TERM=xterm-256color, tput colors: 139 I don't understand these values because when I run these scripts above I don't see any difference in colors shown (subjectively). In neither of these configurations emacs show more than 8 colors. Any ideas or suggestions greatly appreciated. This looks like emacs problem. Are you sure that emacs was compiled with 256 color support? (at least I know that elinks can be configured to support 88 and/or 256 and/or real colors) Also is there some kind of termcap option in emacs to be changed/read? I dont use emacs but in vim: :set t_Co=256 will show 256 colors if terminal supports it. Actually if t_Co termcap setting is N, vim will not try to show more than N colors even if terminal supports X(N) colors. -- Paul ___ 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: Disabling inbound email in a jail
On Friday 27 February 2009 10:49:22 am Kirk Strauser wrote: I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? By default, sendmail_enable=NO in /etc/rc.conf still gives a running sendmail that accepts mail from other hosts: m...@realhost$ echo foo | mail m...@jail.example.com m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:43:37 jail.example.com sm-mta[86832]: n1RFhbBp086832: from=m...@realhost, size=735, class=0, nrcpts=1, msgid=20090227154335.877a442...@realhost, bodytype=7BIT, proto=ESMTP, daemon=Daemon0, relay=jail.example.com [10.0.5.70] Feb 27 09:43:37 jail.example.com sm-mta[86833]: n1RFhbBp086832: to=m...@jail.example.com, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30983, relay=local, dsn=2.0.0, stat=Sent However, if I set sendmail_enable=NONE, then I can't send outbound email either: m...@jail.example.com$ echo foo | mail m...@realhost m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: from=me, size=28, class=0, nrcpts=1, msgid=200902271537.n1rfbbg3086...@jail.example.com, relay...@localhost Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: to...@realhost, ctladdr=me (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30028, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] What's the happy medium between sendmail wide open (eg sendmail_enable=NO (WTF?)) and disabled mail system (eg sendmail_enable=NONE)? You might want to disable sendmail and use mail/ssmtp - it's meant for scenarios just like yours. -- Janos Dohanics ___ 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: can't find an internal flash reader that doesn't crash 7.1
i just bought a store-brand one at Best Buy at the local shop, internal 3.5 USB dongle that plugs into the motherboard header. I think it's a 7-in-1 (or is it up to 14-in-1???) Works well, but the devfs has a little trick that if you slip in a USB drive after bootup, you have to write 0 bytes to the devname to have it recognize slices and partitions... might be easier to restart devfs or something.. Ok, check, I get it - be patient, and we're fixing the usb stack, already. I was just looking for a solution for *this* week. I've ran current before, but given all the traffic and arguing over usb2 lately, I'm sure not going to install it just to get the card reader going on my *work* desktop, I might as well take a couple days off. Again, not being critical, I just don't like the answers that say, well, obviously, everyone has 10 hours to tweak their system instead of spending $9 on a new reader that works with the old stack. Buying hardware that works has always been a legitimate option - just look at all the people asking about laptops, motherboards, and even NICs. I have personally found very few card readers that reliably detect a card, then allow you to mount and use it on 7.1 without a freeze, or a crash on mount or *after* or *during* unmount (I'm not a reformed ubuntu user, I don't just rip the card out and expect it to work). More typically, however, they just never show a card inserted. I'm going to have to try the write 0 bytes trick mentioned, maybe that looks like it will take me from 75% dead readers to 75% working readers. Several of my working readers under 6.3 quit under 7.x. The only brand that I've found to be a slam dunk is i-rocks and they don't make an internal. The guys working on usb2 should get a donation of about 50 cases of beer a piece when this is over - anyone want to start a pool? Steve ___ 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 can i open the CD-ROM with line command in 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
Can sysinstall be run interactively to install onto a second drive?
Can I run sysinstall on a live system, booted say from ad0 and use it to install a new OS onto a second drive, say ad1? I'm trying to do something like this: sysinstall configFile=install.cfg loadConfig where I have the target drive identified in the sysinstall script, but it doesn't seem to like what I'm trying to do. Basically what I need to do is given a FreeBSD distribution, I want an automated procedure I can run on a system to build a new system with a specific set of packages and other customizations we need. We have this setup now using a PXE boot server, but I'd like something I can run interactively that doesn't require a boot server. ___ 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: Can sysinstall be run interactively to install onto a second drive?
On Fri, Feb 27, 2009 at 09:43:54AM -0800, Peter Steele wrote: Can I run sysinstall on a live system, booted say from ad0 and use it to install a new OS onto a second drive, say ad1? I'm trying to do something like this: sysinstall configFile=install.cfg loadConfig where I have the target drive identified in the sysinstall script, but it doesn't seem to like what I'm trying to do. Basically what I need to do is given a FreeBSD distribution, I want an automated procedure I can run on a system to build a new system with a specific set of packages and other customizations we need. We have this setup now using a PXE boot server, but I'd like something I can run interactively that doesn't require a boot server. If I understand you, I think the answer is yes. You can certainly start sysinstall on a running system. The only thing you can't do is have it write to mounted disk space. I don't think that is your intent, so there should be no problem. Just be careful when you specifiy devices to write to. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can i open the CD-ROM with line command in FreeBSD
On Fri, Feb 27, 2009 at 02:06:04PM -0300, SERGIO RODRIGO DE CAMARGO PAULI wrote: man cdcontrol HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: poor performances with Intel Raid Controller (iir)
On Friday 27 February 2009 04:14:49 Julien Cigar wrote: Hello, I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? dmesg to see if there's any indication about speeds. camcontrol inquiry bus:lun to get capabilities, including transfer rate gstat to see I/O transactions. You might not be able to see past the RAID controller, to rule out the actual disks. Also, bs 2M usually degrades performance, start with 1M and go up. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can sysinstall be run interactively to install onto a second drive?
On Friday 27 February 2009 08:48:39 Jerry McAllister wrote: On Fri, Feb 27, 2009 at 09:43:54AM -0800, Peter Steele wrote: Can I run sysinstall on a live system, booted say from ad0 and use it to install a new OS onto a second drive, say ad1? I'm trying to do something like this: sysinstall configFile=install.cfg loadConfig where I have the target drive identified in the sysinstall script, but it doesn't seem to like what I'm trying to do. Basically what I need to do is given a FreeBSD distribution, I want an automated procedure I can run on a system to build a new system with a specific set of packages and other customizations we need. We have this setup now using a PXE boot server, but I'd like something I can run interactively that doesn't require a boot server. If I understand you, I think the answer is yes. You can certainly start sysinstall on a running system. Yes for sure. You can partition secondary drives on a running system as long as the drive isn't mounted and your kern.securelevel 2. You will need to define doesn't seem to like what I'm trying to do to get a more constructive answer. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can i open the CD-ROM with line command in FreeBSD
On Friday 27 February 2009 08:06:04 SERGIO RODRIGO DE CAMARGO PAULI wrote: How can i open the CD-ROM with line command in FreeBSD? cdcontrol eject if atapicd(4) camcontrol eject cd# if atapicam(4) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disabling inbound email in a jail
Kirk Strauser wrote: I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? By default, sendmail_enable=NO in /etc/rc.conf still gives a running sendmail that accepts mail from other hosts: m...@realhost$ echo foo | mail m...@jail.example.com m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:43:37 jail.example.com sm-mta[86832]: n1RFhbBp086832: from=m...@realhost, size=735, class=0, nrcpts=1, msgid=20090227154335.877a442...@realhost, bodytype=7BIT, proto=ESMTP, daemon=Daemon0, relay=jail.example.com [10.0.5.70] Feb 27 09:43:37 jail.example.com sm-mta[86833]: n1RFhbBp086832: to=m...@jail.example.com, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30983, relay=local, dsn=2.0.0, stat=Sent However, if I set sendmail_enable=NONE, then I can't send outbound email either: m...@jail.example.com$ echo foo | mail m...@realhost m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: from=me, size=28, class=0, nrcpts=1, msgid=200902271537.n1rfbbg3086...@jail.example.com, relay...@localhost Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: to...@realhost, ctladdr=me (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30028, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] What's the happy medium between sendmail wide open (eg sendmail_enable=NO (WTF?)) and disabled mail system (eg sendmail_enable=NONE)? Here's a possible solution: http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/145682.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Disabling inbound email in a jail
Kirk Strauser wrote: I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? Edit /etc/mail/aliases. All reports are pointed to root. But you can point it anywhere you want: root: someacco...@example.org After that execute: # newaliases and you're done. No sendmail_enable is required or whatsoever in the /etc/rc.conf. By default, sendmail_enable=NO in /etc/rc.conf still gives a running sendmail that accepts mail from other hosts: m...@realhost$ echo foo | mail m...@jail.example.com This shouldn't have worked. By default you should've received stat=Deferred: Connection refused by jail.example.com. This is the case if you're sending from a physically different machine to another machine's jail. By default sendmail listens only on localhost and doesn't accept outside connections. It is only used for internal submission, such as daily reports. If you're sending from a host to its jail, then this is another story. In most cases you'll get some unexpected results. m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:43:37 jail.example.com sm-mta[86832]: n1RFhbBp086832: from=m...@realhost, size=735, class=0, nrcpts=1, msgid=20090227154335.877a442...@realhost, bodytype=7BIT, proto=ESMTP, daemon=Daemon0, relay=jail.example.com [10.0.5.70] Feb 27 09:43:37 jail.example.com sm-mta[86833]: n1RFhbBp086832: to=m...@jail.example.com, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30983, relay=local, dsn=2.0.0, stat=Sent However, if I set sendmail_enable=NONE, then I can't send outbound email either: m...@jail.example.com$ echo foo | mail m...@realhost m...@jail.example.com$ tail -f /var/log/maillog Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: from=me, size=28, class=0, nrcpts=1, msgid=200902271537.n1rfbbg3086...@jail.example.com, relay...@localhost Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: to...@realhost, ctladdr=me (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30028, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] What's the happy medium between sendmail wide open (eg sendmail_enable=NO (WTF?)) and disabled mail system (eg sendmail_enable=NONE)? sendmail_enable=YES accepts outside and local connections sendmail_enable=NO (the default) accepts local connections only sendmail_enable=NONE doesn't start the daemon, sendmail is off Have a look at /etc/rc.d/sendmail for further hints. Regards, Mikhail ___ 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
ClamAV execusion died without error messages
My server is currently running on FreeBSD 5.4-RELEASE #0. I installed the port software, P5-Mail-ClamAV with sendmail along with others: Spamassassin and Milter etc. Everything was compiled fine, and sendmail is working with Spamassin too. However, when I execute clamav-clamd.sh, clamav-freshclam.sh, both software start for a very short momonet and died without any complaims. I could not see any clamav items running by executing 'ps -axw'. My last executed piece software, clamav-milter.sh is complaining missing and waiting for a socket, clam-milter.sorc. I did configuration for sendmail, but very littler on clamav. Can anyone familiar with Clamav helps to provide a clue on what is going wrong? Thank you! Ming Tang - Ming ___ 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: Emacs doesn't want to support 256 colors in terminal window
Paul B. Mahol wrote: On 2/27/09, Grzegorz Junka c...@gjunka.com wrote: Hi, I hope someone will be able to help with this. I've already checked all resources I could google but still can't get it to work. Basically my terminal can show more than 16 colors but emacs doesn't want to use these colors. I run FreeBSD (7.1-RELEASE) as a virtual machine and use it without any X interface, only through ssh from a Windows machine (the host). I have set up both putty and ssh in cygwin to report term type as 'xterm-256color' (putty in the configuration window and xterm using -tn command line parameter). That part works fine because I can run scripts available on the internet (256colors2.pl, colortest), which surely show more than 8 colors in my terminal window. The problem is when I run emacs and type: M-x list-colors-display. Emacs shows only boring 8 colors (not even 16). A bit about my configuration. Emacs was compiled without X11 support (from ports emacs-nox11-22.3). I also don't have xterm installed. I tried to set env variable TERM=xterm-256color but it didn't help. There is a special note about using terms in emacs in /usr/local/share/emacs/22.3/lisp/term/README I unpacked xterm.el.gz from that folder and tried to supply it as term/xterm-256color.el or term/xterm.el to emacs, but that also didn't work. It is interesting to note, that when I type: tput color I get different values depending on the user and terminal: user grzesiu, putty, TERM=xterm-256color, tput colors: 114 the same user, putty and TERM value, but tput colors: 123, another trial and output is 80 user root, putty, TERM=xterm, tput colors: 184 the same user and putty, but TERM=xterm-256color, tput colors: 115 user grzesiu, ssh from cygwin, TERM=xterm-256color, tput colors: 139 I don't understand these values because when I run these scripts above I don't see any difference in colors shown (subjectively). In neither of these configurations emacs show more than 8 colors. Any ideas or suggestions greatly appreciated. This looks like emacs problem. Are you sure that emacs was compiled with 256 color support? (at least I know that elinks can be configured to support 88 and/or 256 and/or real colors) Also is there some kind of termcap option in emacs to be changed/read? I dont use emacs but in vim: :set t_Co=256 will show 256 colors if terminal supports it. Actually if t_Co termcap setting is N, vim will not try to show more than N colors even if terminal supports X(N) colors. FreeBSD port doesn't allow to configure Emacs in any way, neither from the original port, nor from the nox11 version. I don't think there is any special option for emacs to show 256 colors. Wherever I could find some information about this, people were saying that Emacs version =22 supports 256 colors without any additional configuration. As I mentioned, Emacs not only doesn't show 256 colors, but not even 16, which I bet should be supported without any problems. No matter what I get only 8 colors, even if terminal is able to shows much much more. Another strange thing is that as far as I can see xterm-256color in FreeBSD termcap is simply an alias to xterm. Nevertheless, with these scripts mentioned above I can view more than 16 colors even if TERM is defined only as xterm. Do you think I should report it as a defect in emacs ports? Greg ___ 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: Can sysinstall be run interactively to install onto a second drive?
Yes for sure. You can partition secondary drives on a running system as long as the drive isn't mounted and your kern.securelevel 2. It's -1, so I assume that's okay. You will need to define doesn't seem to like what I'm trying to do to get a more constructive answer. Yeah, that wasn't very useful was it? Okay, I'm having a couple of problems, at least. One problem is I don't know how to tell sysinstall where my target root is located. I have something like this in my install.cfg: disk=da0 bootManager=standard partition=all diskPartitionEditor da0s1-1=ufs 0 /newroot diskLabelEditor diskLabelCommit This formats my target drive as I want it (a single full disk partition at this point), but when I do the actual install, there is no way to tell sysinstall where my target root is. So, when the commands dists=base kernels GENERIC manpages distSetCustom installCommit are executed, the files are extracted and installed on my active system, not the system I am building on da0. That's my problem in a nutshell ultimately--how do I tell sysinstall where my target root is? It impacts the whole session, including packageAdd commands. ___ 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
is there an OOo-3 package Anywhere?
Ihave the src for openoffice-3.0.1 but lack the space to build it. Before I d/loaded the tarballs I did check for a pre-built version-3 package. Couldn't find any. So, nutshell: is there any prefab package anywhere? I don't know much about the p2p distribution of large files; is this a possibility? thanks for some clues! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ 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: ClamAV execusion died without error messages
In response to mtan...@comcast.net: My server is currently running on FreeBSD 5.4-RELEASE #0. I installed the port software, P5-Mail-ClamAV with sendmail along with others: Spamassassin and Milter etc. Everything was compiled fine, and sendmail is working with Spamassin too. However, when I execute clamav-clamd.sh, clamav-freshclam.sh, both software start for a very short momonet and died without any complaims. I could not see any clamav items running by executing 'ps -axw'. My last executed piece software, clamav-milter.sh is complaining missing and waiting for a socket, clam-milter.sorc. I did configuration for sendmail, but very littler on clamav. Can anyone familiar with Clamav helps to provide a clue on what is going wrong? The rc script isn't going to tell you anything. Look at your clamd.conf to see where it's logging to, then look at the log files to see what's going wrong. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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 there an OOo-3 package Anywhere?
On Fri, Feb 27, 2009 at 10:23:33PM +0200, Ghirai wrote: On Fri, 27 Feb 2009 11:51:05 -0800 Gary Kline kl...@thought.org wrote: Ihave the src for openoffice-3.0.1 but lack the space to build it. Before I d/loaded the tarballs I did check for a pre-built version-3 package. Couldn't find any. So, nutshell: is there any prefab package anywhere? I don't know much about the p2p distribution of large files; is this a possibility? thanks for some clues! gary Only 3.0.0 and for i386/amd64. They work fine though. ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.0.0/ If anyone else know where to get 3.0.1 please post :) I'll wait a few more hours before I leap! see if anybody has 3.0.1 to share. Note that I just finally started using the torrent stuff. Haven't a *clue* how it works from one computer to another [peer]. Very swift idea for sharing large amounts of data otherwise. thanks up front to you and Doug Poland, gary -- Regards, Ghirai. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ 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 there an OOo-3 package Anywhere?
On Fri, 27 Feb 2009 11:51:05 -0800 Gary Kline kl...@thought.org wrote: Ihave the src for openoffice-3.0.1 but lack the space to build it. Before I d/loaded the tarballs I did check for a pre-built version-3 package. Couldn't find any. So, nutshell: is there any prefab package anywhere? I don't know much about the p2p distribution of large files; is this a possibility? thanks for some clues! gary Only 3.0.0 and for i386/amd64. They work fine though. ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.0.0/ If anyone else know where to get 3.0.1 please post :) -- Regards, Ghirai. ___ 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: How can i open the CD-ROM with line command in FreeBSD
On Friday 27 February 2009 08:06:04 SERGIO RODRIGO DE CAMARGO PAULI wrote: How can i open the CD-ROM with line command in FreeBSD? /usr/ports/sysutils/eject/ ? Chris ___ 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
multiple mount
Hi I would like to mount from same NFS server the same partition in many point for using jail. For example I would mount NFS_SERVER:/home /jail/smtp-server mount NFS_SERVER:/home /jail/apache_server I've just check it's working, but I would like to known if they are some problem with that ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen Téléphone : 01 45 07 76 26 Heure local/Local time: Ven 27 fév 2009 22:27:43 CET ___ 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: mounted usb devices crash
hej mel, thanx for the information. so it's fixed (ufs, msdosfs) on CURRENT. finally after years of pain, i cannot wait to test that :D best regards marco Mel wrote: On Wednesday 25 February 2009 15:58:53 Mel wrote: I looked for status on this project, can't seem to find it atm. Found it: http://forums.freebsd.org/showthread.php?t=306 Looks like it's even gonna be MFC'd \o/ ___ 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: can't find an internal flash reader that doesn't crash 7.1
On Fri, 27 Feb 2009, Steve Franks wrote: I have personally found very few card readers that reliably detect a card, then allow you to mount and use it on 7.1 without a freeze, or a crash on mount or *after* or *during* unmount (I'm not a reformed ubuntu user, I don't just rip the card out and expect it to work). More typically, however, they just never show a card inserted. My external Sandisk Extreme USB 2.0 reader is a little like that. I just leave it disconnected. Load a card and then plug the USB cable into the reader and it works fine. Recent hal and (xfce) Thunar seem a little confused, so now when it automounts the card and pops up a Thunar window, it also pops up windows for /, /var, /tmp, and /usr. Haven't had time to figure out what's going on there, yet. -Warren Block * Rapid City, South Dakota USA ___ 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: Can sysinstall be run interactively to install onto a second drive?
That's my problem in a nutshell ultimately--how do I tell sysinstall where my target root is? It impacts the whole session, including packageAdd commands. I did a bit of snooping around the distribution and I see that each directory has a simple install script to install base, the kernel, manpages, and do on, and they all use DESTDIR to point to the location where the system is being installed. So I don't need to use sysinstall at all, I'll just call these install scripts directly and that will do exactly what I want... ___ 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
Issue with drive or host adapter in Sun Netra
Hello, I've got a Netra t1 105 running 7.1-RELEASE/sparc64. The box has a pair of 9GB SCSI drives that I've configured into a geom mirror. Recently, I saw in my log: Feb 20 03:40:25 host kernel: sym0: unexpected disconnect Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): READ(10). CDB: 28 0 0 3b b2 2 0 0 20 0 Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): CAM Status: SCSI Status Error Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): SCSI Status: Check Condition Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): UNIT ATTENTION asc:29,1 Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): Power on occurred Feb 20 03:40:43 host kernel: (da1:sym0:0:1:0): Retrying Command (per Sense Data) Feb 20 03:44:26 host kernel: sym0: unexpected disconnect Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): READ(10). CDB: 28 0 0 3d 43 42 0 0 20 0 Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): CAM Status: SCSI Status Error Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): SCSI Status: Check Condition Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): UNIT ATTENTION asc:29,1 Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Power on occurred Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Retrying Command (per Sense Data) Feb 20 03:46:36 host kernel: sym0:1:control msgout: 80 20 3 d. Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): READ(10). CDB: 28 0 0 3d 43 42 0 0 20 0 Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): CAM Status: SCSI Status Error Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): SCSI Status: Check Condition Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): UNIT ATTENTION asc:29,1 Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Power on occurred Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Retrying Command (per Sense Data) Feb 20 03:46:36 host kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset detected. Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): lost device Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Invalidating pack Feb 20 03:46:36 host kernel: GEOM_MIRROR: Device gm0: provider da1 disconnected. Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): Synchronize cache failed, status == 0x4a, scsi status == 0x0 Feb 20 03:46:36 host kernel: (da1:sym0:0:1:0): removing device entry Feb 20 03:46:36 host kernel: g_vfs_done():mirror/gm0d[READ(offset=402800640, length=16384)]error = 6 Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): READ(06). CDB: 8 10 90 b2 10 0 Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): CAM Status: SCSI Status Error Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): SCSI Status: Check Condition Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): UNIT ATTENTION asc:29,2 Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): Scsi bus reset occurred Feb 20 03:46:36 host kernel: (da0:sym0:0:0:0): Retrying Command (per Sense Data) So I pull out the SCSI drive in question and replace it with a spare and the box doesn't recognize the new drive at all. No mention of da1 in dmesg whatsoever. I even did a camcontrol devlist and see only da0. Could I be dealing with a bad SCSI controller here? -- Regards, Doug ___ 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: multiple mount
Le 27/02/2009 à 20:13:44-0200, Rodrigo Gonzalez a écrit Not sure if there is any problem with that, but why not mounting in one place and using symbolic links? mount NFS_SERVER:/home/jail/mnt ln -s /jail/mnt /jail/smtp-server ln -s /jail/mnt /jail/apache_server Because in a jail we cannot go outside the jail So in the jail using /jail/smtp-server we cannot see /jail/apache-server and symbolic links don't work. Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Ven 27 fév 2009 23:15:10 CET ___ 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: multiple mount
Not sure if there is any problem with that, but why not mounting in one place and using symbolic links? mount NFS_SERVER:/home /jail/mnt ln -s /jail/mnt /jail/smtp-server ln -s /jail/mnt /jail/apache_server Albert Shih wrote: Hi I would like to mount from same NFS server the same partition in many point for using jail. For example I would mount NFS_SERVER:/home /jail/smtp-server mount NFS_SERVER:/home /jail/apache_server I've just check it's working, but I would like to known if they are some problem with that ? Regards. smime.p7s Description: S/MIME Cryptographic Signature
Re: multiple mount
Rodrigo Gonzalez rjgonz...@gmail.com wrote: Not sure if there is any problem with that, but why not mounting in one place and using symbolic links? Symlinks don't work consistently within jails. But we have several places where we do multiple mounts and have never seen any problems. mount NFS_SERVER:/home/jail/mnt ln -s /jail/mnt /jail/smtp-server ln -s /jail/mnt /jail/apache_server Albert Shih wrote: Hi I would like to mount from same NFS server the same partition in many point for using jail. For example I would mount NFS_SERVER:/home /jail/smtp-server mount NFS_SERVER:/home /jail/apache_server I've just check it's working, but I would like to known if they are some problem with that ? Regards. -- Bill Moran http://www.potentialtech.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: multiple mount
On Friday 27 February 2009 12:29:55 Albert Shih wrote: Hi I would like to mount from same NFS server the same partition in many point for using jail. For example I would mount NFS_SERVER:/home /jail/smtp-server mount NFS_SERVER:/home /jail/apache_server I've just check it's working, but I would like to known if they are some problem with that ? If this is a ports directory, set WRKDIRPREFIX in /etc/make.conf within the jails, so that ports don't see the other jail's garbage or 2 ports being compiled at the same time from 2 different jails. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs doesn't want to support 256 colors in terminal window
On 2/27/09, Grzegorz Junka x...@poczta.onet.pl wrote: Paul B. Mahol wrote: On 2/27/09, Grzegorz Junka c...@gjunka.com wrote: Hi, I hope someone will be able to help with this. I've already checked all resources I could google but still can't get it to work. Basically my terminal can show more than 16 colors but emacs doesn't want to use these colors. I run FreeBSD (7.1-RELEASE) as a virtual machine and use it without any X interface, only through ssh from a Windows machine (the host). I have set up both putty and ssh in cygwin to report term type as 'xterm-256color' (putty in the configuration window and xterm using -tn command line parameter). That part works fine because I can run scripts available on the internet (256colors2.pl, colortest), which surely show more than 8 colors in my terminal window. The problem is when I run emacs and type: M-x list-colors-display. Emacs shows only boring 8 colors (not even 16). A bit about my configuration. Emacs was compiled without X11 support (from ports emacs-nox11-22.3). I also don't have xterm installed. I tried to set env variable TERM=xterm-256color but it didn't help. There is a special note about using terms in emacs in /usr/local/share/emacs/22.3/lisp/term/README I unpacked xterm.el.gz from that folder and tried to supply it as term/xterm-256color.el or term/xterm.el to emacs, but that also didn't work. It is interesting to note, that when I type: tput color I get different values depending on the user and terminal: user grzesiu, putty, TERM=xterm-256color, tput colors: 114 the same user, putty and TERM value, but tput colors: 123, another trial and output is 80 user root, putty, TERM=xterm, tput colors: 184 the same user and putty, but TERM=xterm-256color, tput colors: 115 user grzesiu, ssh from cygwin, TERM=xterm-256color, tput colors: 139 I don't understand these values because when I run these scripts above I don't see any difference in colors shown (subjectively). In neither of these configurations emacs show more than 8 colors. Any ideas or suggestions greatly appreciated. This looks like emacs problem. Are you sure that emacs was compiled with 256 color support? (at least I know that elinks can be configured to support 88 and/or 256 and/or real colors) Also is there some kind of termcap option in emacs to be changed/read? I dont use emacs but in vim: :set t_Co=256 will show 256 colors if terminal supports it. Actually if t_Co termcap setting is N, vim will not try to show more than N colors even if terminal supports X(N) colors. FreeBSD port doesn't allow to configure Emacs in any way, neither from the original port, nor from the nox11 version. I don't think there is any special option for emacs to show 256 colors. Wherever I could find some information about this, people were saying that Emacs version =22 supports 256 colors without any additional configuration. As I mentioned, Emacs not only doesn't show 256 colors, but not even 16, which I bet should be supported without any problems. No matter what I get only 8 colors, even if terminal is able to shows much much more. Another strange thing is that as far as I can see xterm-256color in FreeBSD termcap is simply an alias to xterm. Nevertheless, with these scripts mentioned above I can view more than 16 colors even if TERM is defined only as xterm. Do you think I should report it as a defect in emacs ports? Not really. You can try changing Co cap from 8 to 256 inside termcap file, dont forget to use cap_mkdb after that, and dont make stupid mistakes. Perhaps emacs should like vim enable changing Co cap inside itself. Related to tput command, you should use tput Co tput colors tends to report number of columns. Also it is very hard to follow you: putty vs xterm vs cygwin; dont forget that your terminal may use terminfo instead of termcap . -- Paul ___ 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: To meke Desktop FreeBSD setting up by Xorg -- under VMWare?
On Thu, 26 Feb 2009, ?? ?? wrote: Nice to meet you. I'm japanese ,Katsurou Takahash. I started to use FreeBSD to constitute my file server and I want to use FreeBSD as Desktop OS. I would like to know how to setting FreeBSD as Desktop OS by Xorg on VMware Fusion act 2. Or I want to know how to setting command by GUI. I use MacBookPro 15inch USkeyboard. If you know the way ,please tell me that. pcbsd.org has a downloadable VMWare image. Even if you don't use their whole setup, you can use their xorg.conf as a starting point. -Warren Block * Rapid City, South Dakota USA ___ 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: Emacs doesn't want to support 256 colors in terminal window
On Fri, 27 Feb 2009 19:31:55 +, Grzegorz Junka c...@gjunka.com wrote: FreeBSD port doesn't allow to configure Emacs in any way, neither from the original port, nor from the nox11 version. I don't think there is any special option for emacs to show 256 colors. Wherever I could find some information about this, people were saying that Emacs version = 22 supports 256 colors without any additional configuration. As I mentioned, Emacs not only doesn't show 256 colors, but not even 16, which I bet should be supported without any problems. No matter what I get only 8 colors, even if terminal is able to shows much much more. Another strange thing is that as far as I can see xterm-256color in FreeBSD termcap is simply an alias to xterm. Nevertheless, with these scripts mentioned above I can view more than 16 colors even if TERM is defined only as xterm. Do you think I should report it as a defect in emacs ports? It might be. I'll try to see if I can get Emacs to display 256 colors in an xterm, but in the mean time can you please collect all your recent findings in a problem report? It will be auto-assigned to me :) ___ 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: Emacs doesn't want to support 256 colors in terminal window - a slight progress
Paul B. Mahol wrote: On 2/27/09, Grzegorz Junka x...@poczta.onet.pl wrote: Paul B. Mahol wrote: On 2/27/09, Grzegorz Junka c...@gjunka.com wrote: Hi, I hope someone will be able to help with this. I've already checked all resources I could google but still can't get it to work. Basically my terminal can show more than 16 colors but emacs doesn't want to use these colors. I run FreeBSD (7.1-RELEASE) as a virtual machine and use it without any X interface, only through ssh from a Windows machine (the host). I have set up both putty and ssh in cygwin to report term type as 'xterm-256color' (putty in the configuration window and xterm using -tn command line parameter). That part works fine because I can run scripts available on the internet (256colors2.pl, colortest), which surely show more than 8 colors in my terminal window. The problem is when I run emacs and type: M-x list-colors-display. Emacs shows only boring 8 colors (not even 16). A bit about my configuration. Emacs was compiled without X11 support (from ports emacs-nox11-22.3). I also don't have xterm installed. I tried to set env variable TERM=xterm-256color but it didn't help. There is a special note about using terms in emacs in /usr/local/share/emacs/22.3/lisp/term/README I unpacked xterm.el.gz from that folder and tried to supply it as term/xterm-256color.el or term/xterm.el to emacs, but that also didn't work. It is interesting to note, that when I type: tput color I get different values depending on the user and terminal: user grzesiu, putty, TERM=xterm-256color, tput colors: 114 the same user, putty and TERM value, but tput colors: 123, another trial and output is 80 user root, putty, TERM=xterm, tput colors: 184 the same user and putty, but TERM=xterm-256color, tput colors: 115 user grzesiu, ssh from cygwin, TERM=xterm-256color, tput colors: 139 I don't understand these values because when I run these scripts above I don't see any difference in colors shown (subjectively). In neither of these configurations emacs show more than 8 colors. Any ideas or suggestions greatly appreciated. This looks like emacs problem. Are you sure that emacs was compiled with 256 color support? (at least I know that elinks can be configured to support 88 and/or 256 and/or real colors) Also is there some kind of termcap option in emacs to be changed/read? I dont use emacs but in vim: :set t_Co=256 will show 256 colors if terminal supports it. Actually if t_Co termcap setting is N, vim will not try to show more than N colors even if terminal supports X(N) colors. FreeBSD port doesn't allow to configure Emacs in any way, neither from the original port, nor from the nox11 version. I don't think there is any special option for emacs to show 256 colors. Wherever I could find some information about this, people were saying that Emacs version =22 supports 256 colors without any additional configuration. As I mentioned, Emacs not only doesn't show 256 colors, but not even 16, which I bet should be supported without any problems. No matter what I get only 8 colors, even if terminal is able to shows much much more. Another strange thing is that as far as I can see xterm-256color in FreeBSD termcap is simply an alias to xterm. Nevertheless, with these scripts mentioned above I can view more than 16 colors even if TERM is defined only as xterm. Do you think I should report it as a defect in emacs ports? Not really. You can try changing Co cap from 8 to 256 inside termcap file, dont forget to use cap_mkdb after that, and dont make stupid mistakes. Perhaps emacs should like vim enable changing Co cap inside itself. Related to tput command, you should use tput Co tput colors tends to report number of columns. Also it is very hard to follow you: putty vs xterm vs cygwin; dont forget that your terminal may use terminfo instead of termcap . Have you seen the termcap file in FreeBSD? It is a quite complicated mess with aliases everywhere, xterm defined a dozen of times in different places and various Co values for each of them. I wouldn't know where to change it without screwing everything up. Besides that, why normal scripts can show all these colors and emacs has a problem with it? But you was right, tput Co shows only 8 colors, regardless of what tput colors shows. Many thanks for that hint! Regarding putty vs xterm vs cygwin: xterm(-color/-256color) is just the logical definition of the terminal and is independent on on the program used as the physical terminal. For instance both putty and xterm (under cygwin) can be configured to report the terminal type as xterm-256color or any other terminal available (and if not, the TERM env variable can be redefined). But I am sure you already know that. Because I am logging from Windows I can't use xterm natively, so I tried it under cygwin. But it shouldn't matter as long as I know that they support 256 colors (and I know that because I run these
Re: Emacs doesn't want to support 256 colors in terminal window
Giorgos Keramidas wrote: On Fri, 27 Feb 2009 19:31:55 +, Grzegorz Junka c...@gjunka.com wrote: FreeBSD port doesn't allow to configure Emacs in any way, neither from the original port, nor from the nox11 version. I don't think there is any special option for emacs to show 256 colors. Wherever I could find some information about this, people were saying that Emacs version = 22 supports 256 colors without any additional configuration. As I mentioned, Emacs not only doesn't show 256 colors, but not even 16, which I bet should be supported without any problems. No matter what I get only 8 colors, even if terminal is able to shows much much more. Another strange thing is that as far as I can see xterm-256color in FreeBSD termcap is simply an alias to xterm. Nevertheless, with these scripts mentioned above I can view more than 16 colors even if TERM is defined only as xterm. Do you think I should report it as a defect in emacs ports? It might be. I'll try to see if I can get Emacs to display 256 colors in an xterm, but in the mean time can you please collect all your recent findings in a problem report? It will be auto-assigned to me :) If you haven't seen my response to the other email in the thread, then the progress is that I should be using tput Co, not tput colors. I tried all these configurations mentioned in my email and I see that tput Co always reports 8, regardless of what tput colors reports. That might be explaining the problem with emacs. Now, why tput reports 8 even if the (logical) terminal is defined as xterm-color or xterm-256color? Well, maybe the problem is not in emacs but in termcap/terminfo? ___ 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: Emacs doesn't want to support 256 colors in terminal window
Paul B. Mahol wrote: Not really. You can try changing Co cap from 8 to 256 inside termcap file, dont forget to use cap_mkdb after that, and dont make stupid mistakes. Perhaps emacs should like vim enable changing Co cap inside itself. Related to tput command, you should use tput Co tput colors tends to report number of columns. Also it is very hard to follow you: putty vs xterm vs cygwin; dont forget that your terminal may use terminfo instead of termcap . Further to my previous email, I've spotted my mistake and wanted to clarify it. I am not using xterm under cygwin but rxvt. Sorry about that. So basically I connect to my remote FreeBSD server using a physical terminal from Windows (either putty or rxvt on cygwin), and then I run emacs on that server and expect it to be able to show 256 colors on the Windows terminal. For that I reconfigured putty/rxvt to report the (logical) terminal type as xterm-256color. That didn't work so I tried to redefine the TERM environment variable on my account, but that didn't work either. The problem seems to be with the Co value defined for the xterm terminal type, because 'tput Co' shows 8 instead of 256 for all physical/logical terminal configurations. I hope now it is clear what I am running where. ___ 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: ALT key kills window/application
On Thu, 26 Feb 2009 22:53:01 -0800 (PST), devindg dgarcia.t...@gmail.com wrote: I went ahead and tried your suggestion, but the problem persists. However -- and I should have given this more thought earlier -- I looked at the Xorg log, and it may provide more useful information. This is obvious: (II) config/hal: Adding input device Logitech USB Keyboard (II) LoadModule: kbd (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor=X.Org Foundation compiled for 1.5.3, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (**) Logitech USB Keyboard: always reports core events (**) Option Protocol standard (**) Logitech USB Keyboard: Protocol: standard (**) Option Device /dev/ukbd0 (EE) Logitech USB Keyboard: cannot open /dev/ukbd0 (EE) PreInit failed for input device Logitech USB Keyboard (II) UnloadModule: kbd (EE) config/hal: NewInputDeviceRequest failed It seems to indicate a major problem with the keyboard, which is an USB Logitech one. Do you have the (testing) option to attach a standard keyboard, a PS/2 102 key keyboard or at least a normal USB keyboard (Sun, Apple)? Because of the message (EE) Logitech USB Keyboard: cannot open /dev/ukbd0 it seems that X (or at least HAL) cannot open the keyboard's device file /dev/ukbd0. Can you ll this file to check the existance and correct permission? % ll /dev/ukbd0 crw--- 1 root wheel0, 121 Feb 28 02:34 /dev/ukbd Is the USB keyboard detected correctly by the system for outside X operations? % dmesg | grep ^ukbd ukbd0: vendor 0x0430 product 0x0005, class 0/0, rev 1.00/1.02, addr 3 on uhub1 For my keyboard ONLY: Reporting defective since FreeBSD 7; should be: % dmesg | grep ^ukbd ukbd0: Sun Microsystems Type 6 USB keyboard, rev 1.00/1.02, addr 3, iclass 3/1 Check usbdevs -v as well. My idea would be now that X (or HAL) misdetects your keyboard and starts to do strange stuff when the Alt key is pressed because it thinks that it isn't the Alt key, but something else. Again, try to check with a standard keyboard, just to be sure. Final idea: Maybe the keyboard is so non-standard that it is to be considered crap (as it is for most modern stuff, especially from today's Logitech) and should be exchanged in favour of a regular and standard-compliant keyboard. Since the happy X upgrades, consider the HAL and DBUS stuff to be crap, too, especially when the keyboard worked as intended before the upgrade. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Heimdal vs MIT KerberosV
Mel wrote: On Thursday 26 February 2009 08:48:35 Tim Judd wrote: Building WITHOUT_KERBEROS and installing MIT-port, is best option to use that implementation. You may need to remove libraries by hand, not sure if make delete-old-libs covers it. Using WITHOUT_KERBEROS to build world IIRC will cause you to lose pam_{krb5,ksu} and GSSAPI support in ssh. Depending on your environment, those might be useful. Other than the kadmin protocol differences why change from Heimdal to MIT? tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.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
Flash 9 crash problems
I have upgraded my 7.0-RELEASE system to RELENG_7 as of 02/19/2009. I had Firefox 2.0.0.12 installed before the upgrade. Then, I installed Adobe Flash 9 following the instructions here http://docs.freebsd.org/cgi/getmsg.cgi?fetch=51075+0+archive/2008/freebsd-emulation/20081102.freebsd-emulation So I have linux_enable=YES in /etc/rc.conf, compat.linux.osrelease=2.6.16 in /etc/sysctl.conf, and OVERRIDE_LINUX_BASE_PORT=f8 in /etc/make.conf, and the following line in /etc/fstab: linproc /compat/linux/proc linprocfs rw 0 0 I then installed www/nspluginwrapper and www/linux-flashplugin9. The plugins showed up in Firefox when I type about:pugins as -- Shockwave Flash File name: npwrapper.libflashplayer.so Shockwave Flash 9.0 r152 MIME Type Description SuffixesEnabled application/x-shockwave-flash Shockwave Flash swf Yes application/futuresplashFutureSplash Player spl Yes -- After that, I can see flash videos on youtube and other websites. The problem is that when I close the tabs containing a flash video (most of the times when it is playing, but sometimes even when it is paused), npviewer.bin crashes with a core dump (npviewer.bin.core) in my home directory and it leaves a lot of zombie npviewer.bin processes running. Note that Firefox does not crash and is stable. At this stage, if I want to view another video, a gray box appears and nothing plays. If I kill all the zombie processes, the videos load and play just fine. Does anybody know what I should do to fix this? Thanks a lot :) ___ 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: ALT key kills window/application
At this present time, I don't have the option of using a different keyboard. I did, however, run the various commands that you suggested. Here are the results: ls -l /dev/ukbd0 - crw--- 1 root wheel0, 95 Feb 18 23:57 /dev/ukbd0 dmesg | grep ^ukbd - ukbd0: Logitech Logitech USB Keyboard, class 0/0, rev 1.10/15.00, addr 3 on uhub0 usbdevs -v - http://www.nabble.com/file/p22258756/usbdevs.txt usbdevs.txt I will do some Googling around to see if this is a HAL/DBUS problem. Thanks again. Polytropon wrote: On Thu, 26 Feb 2009 22:53:01 -0800 (PST), devindg dgarcia.t...@gmail.com wrote: I went ahead and tried your suggestion, but the problem persists. However -- and I should have given this more thought earlier -- I looked at the Xorg log, and it may provide more useful information. This is obvious: (II) config/hal: Adding input device Logitech USB Keyboard (II) LoadModule: kbd (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor=X.Org Foundation compiled for 1.5.3, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (**) Logitech USB Keyboard: always reports core events (**) Option Protocol standard (**) Logitech USB Keyboard: Protocol: standard (**) Option Device /dev/ukbd0 (EE) Logitech USB Keyboard: cannot open /dev/ukbd0 (EE) PreInit failed for input device Logitech USB Keyboard (II) UnloadModule: kbd (EE) config/hal: NewInputDeviceRequest failed It seems to indicate a major problem with the keyboard, which is an USB Logitech one. Do you have the (testing) option to attach a standard keyboard, a PS/2 102 key keyboard or at least a normal USB keyboard (Sun, Apple)? Because of the message (EE) Logitech USB Keyboard: cannot open /dev/ukbd0 it seems that X (or at least HAL) cannot open the keyboard's device file /dev/ukbd0. Can you ll this file to check the existance and correct permission? % ll /dev/ukbd0 crw--- 1 root wheel0, 121 Feb 28 02:34 /dev/ukbd Is the USB keyboard detected correctly by the system for outside X operations? % dmesg | grep ^ukbd ukbd0: vendor 0x0430 product 0x0005, class 0/0, rev 1.00/1.02, addr 3 on uhub1 For my keyboard ONLY: Reporting defective since FreeBSD 7; should be: % dmesg | grep ^ukbd ukbd0: Sun Microsystems Type 6 USB keyboard, rev 1.00/1.02, addr 3, iclass 3/1 Check usbdevs -v as well. My idea would be now that X (or HAL) misdetects your keyboard and starts to do strange stuff when the Alt key is pressed because it thinks that it isn't the Alt key, but something else. Again, try to check with a standard keyboard, just to be sure. Final idea: Maybe the keyboard is so non-standard that it is to be considered crap (as it is for most modern stuff, especially from today's Logitech) and should be exchanged in favour of a regular and standard-compliant keyboard. Since the happy X upgrades, consider the HAL and DBUS stuff to be crap, too, especially when the keyboard worked as intended before the upgrade. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- View this message in context: http://www.nabble.com/ALT-key-kills-window-application-tp22238102p22258756.html Sent from the freebsd-questions mailing list archive at Nabble.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
Odd DNS requests
Hi, recently we've had a Mac notebook of some sort on our LAN, that likes to make these DNS queries from time to time, to no avail, as noticed on a filtering bridge between the LAN and the router+DNS at 192.168.0.1: 16:13:05.020397 192.168.0.59.53207 192.168.0.1.53: 63162+ PTR? b._dns-sd._udp.0.0.168.192.in-addr.arpa. (57) [tos 0x18] 16:13:05.021093 192.168.0.1.53 192.168.0.59.53207: 63162 NXDomain* 0/1/0 (128) (DF) 16:13:05.215790 192.168.0.59.64633 192.168.0.1.53: 61059+ PTR? db._dns-sd._udp.0.0.168.192.in-addr.arpa. (58) [tos 0x18] 16:13:05.216469 192.168.0.1.53 192.168.0.59.64633: 61059 NXDomain* 0/1/0 (129) (DF) 16:13:05.226242 192.168.0.59.61635 192.168.0.1.53: 6749+ PTR? r._dns-sd._udp.0.0.168.192.in-addr.arpa. (57) [tos 0x18] 16:13:05.226789 192.168.0.1.53 192.168.0.59.61635: 6749 NXDomain* 0/1/0 (128) (DF) 16:13:05.237319 192.168.0.59.56300 192.168.0.1.53: 21450+ PTR? dr._dns-sd._udp.0.0.168.192.in-addr.arpa. (58) [tos 0x18] 16:13:05.237842 192.168.0.1.53 192.168.0.59.56300: 21450 NXDomain* 0/1/0 (129) (DF) 16:13:05.248440 192.168.0.59.60806 192.168.0.1.53: 10032+ PTR? lb._dns-sd._udp.0.0.168.192.in-addr.arpa. (58) [tos 0x18] 16:13:05.249252 192.168.0.1.53 192.168.0.59.60806: 10032 NXDomain* 0/1/0 (129) (DF) What exactly are these hoping to discover, and what needs turning off in the Mac's setup (OSX, most likely a recent version) to quell them? cheers, Ian (please cc me, I'm subscribed to the -digest) ___ 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 package update
When is the the X-Org mega package going to be recreated so it contains all the fixes caused by 7.1 release as detailed in /usr/ports/UPDATEING? ___ 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