RE: showing hidden files by default
Just setup an alias in your shell login file for whatever options you want ls to use and be done with it. Keith > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Davison > Sent: Thursday, May 11, 2006 12:21 PM > To: freebsd-questions@freebsd.org > Subject: showing hidden files by default > > I've been running 6.1 RC-1 for a couple of weeks with no > problem. I've just installed a fresh copy of 6.1 roduction > and when logging in as root am able to see (.)hidden files > when running the 'ls' command. Is this normal, or is there > something that I need to change to ensuer that the (.) files > stay hidden unless i use ls -a > > > > ___ > Yahoo! For Good - Sponsor a London Marathon runner - > http://uk.promotions.yahoo.com/charity/london-marathon > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SIGCHLD and sockets HELP!
I am having a problem with SIGCHLD signals and their interaction with sockets. I have an application that forks modules in separate processes and use UNIX domain sockets for communication. The main application handles the SIGCHLD signal so that it can detect when/if a module crashes and if so restart that specific module. The problem arises when the module crashes and before the main application is notified with the SIGCHLD signal the socket will continue to allow writes. I expected that there would be occasions when the SIGCHLD signal would occur after my attempt to write into the socket, but I also expected the socket to return an error at which point I could then mark the module for restart as well. My question is, has anybody else had this problem? Does anybody know exactly what is going on an why? And most importantly, does anybody have a solution? Thanks in advance for your time, it is quite an interesting problem so I am hoping to get some insightful answers. Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SIGCHLD and sockets
I am having a problem with SIGCHLD signals and their interaction with sockets. I have an application that forks modules in separate processes and use UNIX domain sockets for communication. The main application handles the SIGCHLD signal so that it can detect when/if a module crashes and if so restart that specific module. The problem arises when the module crashes and before the main application is notified with the SIGCHLD signal the socket will continue to allow writes. I expected that there would be occasions when the SIGCHLD signal would occur after my attempt to write into the socket, but I also expected the socket to return an error at which point I could then mark the module for restart as well. My question is, has anybody else had this problem? Does anybody know exactly what is going on an why? And most importantly, does anybody have a solution? Thanks in advance for your time, it is quite an interesting problem so I am hoping to get some insightful answers. Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SCTP Kernel resource overhead
I am trying to find some information on what kernel resources are expended when creating an SCTP association. In particular I wanted to be able to compare a TCP connection to an SCTP association and see how the use of kernel resources between the two different protocols differ. Does anybody have an idea on where I can find such information? I am quite familiar with TCP and UDP and am interested to see if SCTP can replace a UDP implementation that has "reliability" added into the application level. The reason UDP is being used is due to the interconnectedness of the network of servers. If SCTP could be used instead then that would definately be the better solution. Any ideas? Thanks in advance, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
-Original Message- From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 4:55 AM To: Keith Bottner Cc: freebsd-questions@freebsd.org Subject: Re: Detect hardware changes Keith Bottner wrote: >I have not compiled a kernel. This is a standard FreeBSD 5.4-Release >installation. How can I check to see if the loadable module is installed? > > > > Have a look in /var/run/dmesg.boot and see if you have a line like > > sk0: unknown media type 0xff > > If so, plug your card into the network and try again. Even if you don't see such a line, try it if you haven't already. If that doesn't work then what does /var/run/dmesg.boot show for sk0 and skc0? > > I have an SMC card based which fails to attach without a cable -- not sure if it needs to be plugged in to a > router or not. The onboard chipset on a different PC has no such failing. > >--Alex Ok I find the lines that related to skc in the /var/run/dmesg.boot and they are included below: skc0: port 0xe800-0xe8ff mem 0xfbfffc00-0xfbfffcff irq 11 at device 9.0 on pci2 skc0: failed: rid 0x10 is ioport, requested 3 device_attach: skc0 attach returned 6 The second line says failed but I don't where it says anything regarding why. Any ideas? Thanks, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
> > -Original Message- > From: Loren M. Lang [mailto:[EMAIL PROTECTED] > Sent: Friday, December 09, 2005 9:06 AM > To: Peter Giessel > Cc: Keith Bottner; 'FreeBSD Questions' > Subject: Re: Detect hardware changes > > On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote: > > On 12/8/2005 11:51, Keith Bottner seems to have typed: > > > [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 > > > rev=0x10 hdr=0x00 > > > vendor = 'Linksys' > > > device = 'EG1032 Gigabit Ethernet' > > > class= network > > > subclass = ethernet > > > > Looks like this should be supported using the nge driver. > > No, actually the sk driver, look at the first line of pciconfig > output. ifconfig -a should list a network card called skc0 which you > just need to configure. If all you need is dhcp then just run > dhclient skc0. Add the device to rc.conf for it to work on boot. > Use man rc.conf for help or copy the line for the xl0 network card you > already have. > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > > > ipconfig -a doesn't show the skc0 device which I believe is my > ultimate problem. Can I infer from your earlier message that this > means the sk module is not being loaded or is not available? How can I > check to see if the loadable module is installed? > > Thanks, > > Keith > > Hello Keith > > skc0 is the controller. You should see sk0 in ifconfig -a. > > Can you please show us the output of ifconfig -a and rc.conf. > > Thank you > Robert Ifconfig does not show skc0 but here is the output for completeness: xl0: flags=8843 mtu 1500 options=9 inet 192.168.1.217 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 ether 00:b0:d0:16:3d:30 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 And rc.conf is: defaultrouter="192.168.1.1" hostname="gsdev.bltmobile.com" ifconfig_xl0="inet 192.168.1.217 netmask 255.255.255.0" ifconfig_skc0="inet 10.0.130.204 netmask 255.255.255.0" linux_enable="YES" moused_enable="YES" sshd_enable="YES" usbd_enable="YES" postgresql_enable="YES" Anything else that I can send that will help? Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
ipconfig -a doesn't show the skc0 device which I believe is my ultimate problem. Can I infer from your earlier message that this means the sk module is not being loaded or is not available? How can I check to see if the loadable module is installed? Thanks, Keith -Original Message- From: Loren M. Lang [mailto:[EMAIL PROTECTED] Sent: Friday, December 09, 2005 9:06 AM To: Peter Giessel Cc: Keith Bottner; 'FreeBSD Questions' Subject: Re: Detect hardware changes On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote: > On 12/8/2005 11:51, Keith Bottner seems to have typed: > > [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 > > rev=0x10 hdr=0x00 > > vendor = 'Linksys' > > device = 'EG1032 Gigabit Ethernet' > > class= network > > subclass = ethernet > > Looks like this should be supported using the nge driver. No, actually the sk driver, look at the first line of pciconfig output. ifconfig -a should list a network card called skc0 which you just need to configure. If all you need is dhcp then just run dhclient skc0. Add the device to rc.conf for it to work on boot. Use man rc.conf for help or copy the line for the xl0 network card you already have. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
I have not compiled a kernel. This is a standard FreeBSD 5.4-Release installation. How can I check to see if the loadable module is installed? Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Odhiambo Washington Sent: Friday, December 09, 2005 12:35 AM To: freebsd-questions@freebsd.org Subject: Re: Detect hardware changes Have you compiled a custom kernel? Do you have the nge driver included in that kernel? * On 08/12/05 15:14 -0600, Keith Bottner wrote: > I believe so but for some reason it is still not showing up in > ifconfig or as a dev node. Do I need to do something special for > FreeBSD to start recognizing it at boot? > > -Original Message- > From: Peter Giessel [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 3:02 PM > To: Keith Bottner > Cc: 'FreeBSD Questions' > Subject: RE: Detect hardware changes > > On 12/8/2005 11:51, Keith Bottner seems to have typed: > > [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 > > rev=0x10 hdr=0x00 > > vendor = 'Linksys' > > device = 'EG1032 Gigabit Ethernet' > > class= network > > subclass = ethernet -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ One monk said to the other, "The fish has flopped out of the net! How will it live?" The other said, "When you have gotten out of the net, I'll tell you." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
I believe so but for some reason it is still not showing up in ifconfig or as a dev node. Do I need to do something special for FreeBSD to start recognizing it at boot? -Original Message- From: Peter Giessel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 3:02 PM To: Keith Bottner Cc: 'FreeBSD Questions' Subject: RE: Detect hardware changes On 12/8/2005 11:51, Keith Bottner seems to have typed: > [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 > rev=0x10 hdr=0x00 > vendor = 'Linksys' > device = 'EG1032 Gigabit Ethernet' > class= network > subclass = ethernet Looks like this should be supported using the nge driver. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Detect hardware changes
I realized I had the problem when ifconfig did not pickup the network card after a reboot. I went ahead and ran "pciconf -lv" like you suggested and the relevant output looks like this: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet [EMAIL PROTECTED]:12:0: class=0x02 card=0x00c71028 chip=0x920010b7 rev=0x78 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class= network subclass = ethernet The new NIC that I added is the first one and the old NIC is the second. It seems that the system is detecting it fine but ifconfig still does not display it and there does not appear to be a dev node for it as well. I added the appropriate line in rc.conf and rebooted the system hoping that would cause something to update properly but there was no change. Are there additional steps that have to be taken? Thanks for your help so far, Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Svein Halvor Halvorsen Sent: Thursday, December 08, 2005 12:48 PM To: Keith Bottner Cc: FreeBSD Questions Subject: Re: Detect hardware changes On 12/8/05, Keith Bottner <[EMAIL PROTECTED]> wrote: > Does anyone know of a utility that can run on FreeBSD and detect the > addition of new hardware? Specifically network cards? When I > originally installed FreeBSD I only had a single NIC and since I > installed a second but FreeBSD does not recognize it. Any ideas on how > I can get FreeBSD to be aware of the new NIC? I think someone replied to you (or someone with a similar problem) just the other day. Use "pciconf -lv" to list all hardvare. If you see none@ lines, this means that no drivers did attach to the hardware. Then you either need to recompile you kernel og load the correct kernel module or, if the hardware is not supported, either write a new driver yourself or replace the hardware (or the os). You can use the ifconfig utility to list all recognized NICs installed. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Detect hardware changes
Does anyone know of a utility that can run on FreeBSD and detect the addition of new hardware? Specifically network cards? When I originally installed FreeBSD I only had a single NIC and since I installed a second but FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be aware of the new NIC? Thanks in advance, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Detecting new hardware
Is there any kind of a utility that I can run to detect a new network card that I just installed into an existing FreeBSD 5.4 box? Thanks, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SATA RAID Controllers anyone have experience with any of these?
If anyone has had any experience with any of the SATA RAID controllers below I would be interested. Not just whether you got them working but also if the performance is what you expected and how feature rich they are. Anybody out there dual booting FreeBSD with Windows or Linux and using any of these controllers? What RAID level are you using? Thanks for everyone's input as hardware feedback tends to be the hardest thing to find for FreeBSD, any hey if there is an SATA RAID controller that you absolutely swear by then by all means please let me know. Here's the immediate list I am considering but as I mentioned above please feel free to add your favorite. MegaRAID SATA-6 (0,1,5,10,50) AMCC 3Ware 8506-4LP (0,1,10,5,JBOD) RocketRAID 1640 (0,1,10,5,JBOD) - had downloadable drivers and utilities for FreeBSD on their site LSI Logic 150-6 RAID (0,1,5,10,50) Thanks in advance for your input, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Merging a directory to the search path of includes and libspermanently(ldconfig -m....)
One way is to set ldconfig_paths in rc.conf. Does anybody know of a better way? Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Jayson Alvarez Sent: Tuesday, May 24, 2005 2:15 AM To: freebsd-questions@freebsd.org Subject: Merging a directory to the search path of includes and libspermanently(ldconfig -m) Hi, Is there a way to merge a certain directory to the library search path or include search path permanently? "ldconfig -m" works only while the computer have not yet been rebooted. I have an experienced that I was able to install a certain application that depends on a library not found in the standard search path, so I used ldconfig -m... but after rebooting, the application can't run anymore because of the library not found. __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: automake, autoconf compiling
All of the information both of your provided is helpful. I will have to investigate further. Some of the information that Tom specified helped me to track down the problem. Basically I have multiple versions of the tools installed and there are two different directories with aclocal m4 files. If I explicitly change the shell script to also include the other directory then everything seems to continue on until compile time when there is a header that cannot be found. It appears this header alloca.h is located in /usr/src/gnu/usr.bin/sort/alloca.h. I was just wondering if Giorgos method would also alleviate these problems or if this is just par for the course when using projects that people have not moved into the ports collection? Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giorgos Keramidas Sent: Thursday, January 13, 2005 3:48 PM To: Tom Huppi Cc: Keith Bottner; freebsd-questions@freebsd.org; [EMAIL PROTECTED] Org Subject: Re: automake, autoconf compiling PLEASE DON'T TOP-POST. THANK YOU :-) On 2005-01-13 16:24, Tom Huppi <[EMAIL PROTECTED]> wrote: >On Thu, 13 Jan 2005, Keith Bottner wrote: >> I am trying to get a development system setup and am having trouble >> identifying how FreeBSD handles automake, autoconf and the like. >> [...] I did chase them down in the /usr/local/libexec/automake18 and >> similar directories but placing them in the path still generates >> errors (i.e. there continues to be things that are missing at various >> stages). >> >> I guess my general question is: What is the standard way for setting >> up FreeBSD to use these (GNU tools) with the least trouble across >> disparate projects? > > I've recently been struggling with similar issues, and would be > interested to know what others might have found effective. I use autoconf/automake and libtool daily at work[1]. The programs I write have to run on at least 3 different operating systems (FreeBSD, Linux and Solaris) without the need for constant manual tweaking of the source. The best way to do that is to use the same version of autotools on all those platforms. So, I install the latest possible versions of these tools with --prefix=/opt/autotools on all the machines I have to use, and stop worrying about all the details. When I have to use the tools, I add /opt/autotools/bin at the beginning of my PATH. When I don't need them, I remove /opt/autotools/bin from my path. This has worked wonders so far. - Giorgos [1] The operative keyword here is "at work". I don't use autoconf and friends for programs I write on my own. I prefer bsd.*.mk for that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"