Support for Stallion Serial Controllers in FreeBSD 7
Hi From some reading I have been doing including here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/console-server/setting-up-server.html ...I have been given to understand that FreeBSD supports Stallion multiport serial cards, provided that I enable it in the kernel. However, the link in the document above to stl comes up with nothing, I can find no other references doing a site search and doing: grep -r -i stallion * ...in /usr/src/sys, nothing comes up. Admittedly, I did run this on a Sparc64 machine so maybe it's missing from there, but am puzzled as to why I can only find that one reference on the entire site, and that includes searching the general and hardware list archives. Is this support now incorporated into something else? I know that nothing comes up in dmesg, although as I said before, this is a Sparc64 machine which maybe lacks those kernel components. Cheers M -- Matthew Smith Smiffytech - Technology Consulting Web Application Development Business: http://www.smiffytech.com/ Personal: http://www.smiffysplace.com/ LinkedIn: http://www.linkedin.com/in/smiffy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Installation Issues
Hi Folks The problem hasn't gone away - no network card is identified. I have now tried the following: 1) Change network card (tested both Realtek and DLink) 2) Try both FreeBSD 6.0 and 5.4 (no difference) 3) Try boot without ACPI (same result on 6.0 and 5.4: can't find hard discs) 4) Reset BIOS to factory defaults (no difference) If nobody has any bright ideas, I'll just have to go back to struggle on with Linux for this project and try FreeBSD again when I've got other hardware I can play with. (My reason for moving from Linux for this project was the fact that the BSD kernel seems better suited to working with PPS timekeeping - trying to turn an aged Thinkpad into a stratum 1 time server.) I can only assume that FreeBSD has some problem with my MoBo or BIOS. Cheers M -- Matthew Smith South Australia http://www.kbc.net.au ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS Installation Issues
Hi Having used AIX for about twenty years and Linux for nearly ten, I have decided to start exploring the possibilities of FreeBSD and have just downloaded the ISOs for Version 6/i386. I have attempted to do an install from CD, but am getting failures on quite a few files - possibly because I only had yucky CDRWs to put my ISOs on and the CD drive in the machine is quite old. So, I decided to copy the CD to a directory on another machine, make an NFS share (which works - I checked it from yet another machine), and just use the CD to boot. My problem is that when I select the installation source, Ethernet is not amongst the options (just SLIP, PPP and something else weird). I assume that there's a kernel module not loaded, so after looking further through the documentation, I found that I should be able to put a line in /boot/defaults/loader.conf. Since the installation so far was actually bootable (that's one up on Linux!), I did this. All this did for me was to generate a warning that the module was already loaded. What am I missing? Nowhere, when booting from the first CD, do I get an opportunity to tell it about my network device, although it will ask for all the usual networking details. I'm sure that there must be something quite simple, but is not obvious from the documentation. Cheers M -- Matthew Smith Kadina Business Consultancy, South Australia Work: http://www.kbc.net.au Personal: http://www.mss.cx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Installation Issues
snip My problem is that when I select the installation source, Ethernet is not amongst the options (just SLIP, PPP and something else weird). That something weird could well be the ethernet card. unlike Linux, the ethernet devices are not all named ethX', but are named after the driver. So it could be e.g. sk0, xl0, dc0, de0, fxp0, vr0 etc. I assume that there's a kernel module not loaded, so after looking further through the documentation, I found that I should be able to put a line in /boot/defaults/loader.conf. Since the installation so far was actually bootable (that's one up on Linux!), I did this. All this did for me was to generate a warning that the module was already loaded. Then try to use the something weird as the ethernet device. Thanks for that Roland - I've had another look, but the something weird is PLIP, which I believe to be some parallel port communication system. So, my real question remains: how does one get a network card recognised? One piece of documentation refers to kernel configuration as part of the installation process - I don't know if that's for an older version, because this step certainly doesn't show up on mine. Cheers M -- Matthew Smith Kadina Business Consultancy, South Australia Work: http://www.kbc.net.au Personal: http://www.mss.cx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Installation Issues
So, my real question remains: how does one get a network card recognised? You don't have to. The GENERIC kernel comes with all network card drivers built as modules. If FreeBSD has a driver for your network chip/card, it should show up. It's a generic PCI card based on the Realtek 8139C - the hardware file on CD1 suggests that this is supported. Motherboard is an old Gigabyte GA71XE4 with an AMD Duron 850. If it doesn't, make sure that it's not disabled in the BIOS and that the cable is actually connected to the hub/router. The card and connection certainly work - this box is normally a Linux machine, but currently has a 2.5 hard disc in so that I can get FreeBSD installed and then transfer to an old ThinkPad. Light showing all OK on Ethernet switch. I can't see anything in the BIOS (AMIBIOS) that should be stopping it other than PnP OS Installed=No. (This doesn't affect operation under Linux.) If none of that works, try to give us some details about the chip/card. Make and model if possible. The big worry is that Ethernet doesn't even come up as an option. Think I'll try a card with a different chipset and see if that helps any. I've just had a look through /var/log/messages and have spotted some lines that may be relevant: {timestamp} kernel: re0: couldn't map ports/memory {timestamp} kernel: rl0: couldn't map ports/memory {timestamp} kernel: pci0: network, ethernet at device 8.0 (no driver attached) Cheers M -- Matthew Smith South Australia http://www.kbc.net.au ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Installation Issues
Eric F Crist wrote: On Nov 6, 2005, at 5:58 PM, Matthew Smith wrote: I've just had a look through /var/log/messages and have spotted some lines that may be relevant: {timestamp} kernel: re0: couldn't map ports/memory {timestamp} kernel: rl0: couldn't map ports/memory {timestamp} kernel: pci0: network, ethernet at device 8.0 (no driver attached) Well, the second line there, referencing rl0 is indeed the Realtek driver for the network card. The error, on the other hand, is something I'm not familiar with. Reading through the archives, I see the following link: http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 067477.html snip My card started working when i disabled ACPI. /snip Hmm - thanks for the suggestion, I should have tried this; every time I've had ACPI enabled under Linux, it has broken something. However, I have just tried booting with ACPI disabled with the FreeBSD boot disk and the minimal installation that managed to get on my hard disk - the result is that FreeBSD cannot find any drives! So, worth a try, but not the solution. Furthermore, I have now tried swapping the Realtek card for a D-Link (DFE530TX) one. The problem persists... Just a minor point - is 6 actually a stable version? I was wondering whether I've gone and picked up a development version when I should have been using 5.something. Cheers M -- Matthew Smith Kadina Business Consultancy, South Australia Work: http://www.kbc.net.au Personal: http://www.mss.cx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Installation Issues
Eric F Crist wrote: On Nov 6, 2005, at 7:17 PM, Matthew Smith wrote: Just a minor point - is 6 actually a stable version? I was wondering whether I've gone and picked up a development version when I should have been using 5.something. It's officially a RELEASE, but I won't trust it until 6.3 or later on a production machine. Unless you're using some really special/new hardware, I would recommend attempting to install 5.4. Thanks - I'm using extremely non-special and old hardware, so I'll grab the 5.4 release and start over. Hopefully I'll have more luck this time... I will report back. Cheers M -- Matthew Smith Kadina Business Consultancy, South Australia Work: http://www.kbc.net.au Personal: http://www.mss.cx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_upgrade ?
On Tue, 2003-03-18 at 12:56, Mike Meyer wrote: In [EMAIL PROTECTED], David Bear [EMAIL PROTECTED] typed: I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? Wrong. If you are installing a port a second time, make install will refuse to install the port because it's already installed. If you are installing an updated port, then the pkg-data will be in a different place because the port has a different name. The latter case may leave parts of the first port laying around unused, and deinstalling it will probably break the second port. So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. Try this: 1) cvsup ports collection 2) make 3) pkg_deinstall 4) make install If I cvsup ports and then make install, is there a fix to update the pkg data base? It's not needed. mike Of course, this method does not work if there are any packages/ports depending on the port you are upggrading. The pkg_deinstall will fail because of the dependencies. I believe a pkg_deinstall -f will forcibly remove the package anyway. Unfortunately, I still sometimes find the dependent ports need to be recompiled for the new version of the port you are installing. -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Daily Run Output error
Jon Reynolds wrote: I am getting this error in my daily run output: Mail in local queue: mailq: execing /usr/libexec/sendmail/sendmail: No such file or directory I have qmail installed and have done the 'make disable-sendmail' and the 'make enable-qmail' on the machine and it is working fine as a mail server. Anyone seen this before and have a fix for it? Thanks for any help, I think you will want to look at /etc/mail/mailer.conf man mailer.conf -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to write to console
Try redirecting to /dev/ttyv0, as in: echo My Message /dev/ttyv0 -Matt On Fri, 2003-04-04 at 09:29, Doug Poland wrote: Hello, I'd like to write to the default console of a -STABLE box. In this case, no one is logged in on that console/terminal. The commands write, talk, and wall mention writing to a terminal of a logged in user. Ideally, I'd like to clear the screen and display an 80x25 message. Does anyone know how I can accomplish this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_upgrade ?
On Tue, 2003-03-18 at 12:56, Mike Meyer wrote: In [EMAIL PROTECTED], David Bear [EMAIL PROTECTED] typed: I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? Wrong. If you are installing a port a second time, make install will refuse to install the port because it's already installed. If you are installing an updated port, then the pkg-data will be in a different place because the port has a different name. The latter case may leave parts of the first port laying around unused, and deinstalling it will probably break the second port. So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. Try this: 1) cvsup ports collection 2) make 3) pkg_deinstall 4) make install If I cvsup ports and then make install, is there a fix to update the pkg data base? It's not needed. mike Of course, this method does not work if there are any packages/ports depending on the port you are upggrading. The pkg_deinstall will fail because of the dependencies. I believe a pkg_deinstall -f will forcibly remove the package anyway. Unfortunately, I still sometimes find the dependent ports need to be recompiled for the new version of the port you are installing. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache13/suexec
or make -DWITH_APACHE_SUEXEC=yes install clean -Matt On Tue, 2003-03-18 at 13:56, Edmond Baroud wrote: edit the Makefile with ur favorite editor and add: WITH_APACHE_SUEXEC= yes right before: if defined(WITH_APACHE_SUEXEC) ${WITH_APACHE_SUEXEC} == yes Ed. On Tue, 18 Mar 2003 11:49:31 -0700 james g. [EMAIL PROTECTED] wrote: How does one compile apache, with suexec support, from ports? I need it on one of my client machines, but can't seem to find anything specific on the proper arguments to give during the: make install clean command. I'd rather not have to install it by hand, defeating the beauty of ports! Cheers, James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message