Re: Restarting exports disturbs clients
On Fri, May 03, 2013 at 02:08:26PM +0200, Bernt Hansson wrote: 2013-05-03 12:49, Daniel Feenberg skrev: When we change the exportfs file on our FreeBSD 9.1 fileserver: kill -HUP `cat /var/run/mountd.pid` That seems a bit harsh, try /etc/rc.d/nfsd restart or /etc/nfsserver restart. Sending SIGHUP to mountd has always been the right way to have it reread the exports file - should really be much less disruptive than restarting the service. Graham -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.3 hanging on boot, Dell 1950 with mfi and qlogic HBA
I feel sure I'm missing something pretty obvious here but I can't figure out what. I have a Dell 1950 which I just installed 8.3 (amd64) onto. It has an internal OS drive on mfi (Dell PERC) and a qlogic QLE2462 for external SAN connection. Problem is, the machine hangs on boot if the SAN fiber is connected. It boots up fine if disconnected, then I can reconnect the fiber and mount the SAN drives. When booting with fiber connected, it hangs after these messages: kbd3 at ukbd1 kbd3: ukbd1, generic (0), config:0x0, flags:0x3d ums1: EP2 Interrupt on usbus1 ums1: 3 buttons and [XYZ] coordinates ID=0 uhub5: 4 ports with 4 removable, self powered (which just look like normal device probes) then if I reboot with the fiber disconnected, the next lines are: Trying to mount root from ufs:/dev/mfid0s1a start_init: trying /sbin/init Verbose boot doesn't seem to give any additional clues. I feel convinced it's failing to find or mount the root filesystem - I've certainly seen this in the past where an add-in HBA like this usurps the internal OS drive, fixable by hard-wiring the bus order in /boot/device.hints. That's what I thought of first here, but mfi doesn't use CAM (I guess), and the OS drive /dev/mfid0 isn't changing its device name... and of course I'm not getting any root mount errors either. Is there part of the boot mechanism I'm missing? Graham -- - Graham Allan School of Physics and Astronomy - University of Minnesota - ___ 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 9
I finally got to install FreeBSD 9 onto my computer and noticed that the installer is now different. It seems to me that it forces you into doing extra steps that I was comfortable doing on my own. I really enjoyed the old installer because then I had complete control over how I tweaked my computer during and after the install. I am surprised that there is no gui present while installing FreeBSD because it feels more like Ubuntu or a windows install (somewhat). Please, please, please take this nightmare away and bring the beloved installer that was before FreeBSD 9. Thank you for listening. Allan ___ 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
Tracking for Multiple Machines
The section in the Handbook presents a solution for a scenario in which all machines in a build set are more less identical, or sufficiently generic enough that each machine's make.conf is the same, the exception being the build machine's own make.conf (which can specify that multiple kernels are built). Sounds reasonable, but I imagine a more likely (or at least common) scenario is one in which there's a variety of hardware and functions, and each system requires a customized make.conf, in addition to a custom kernel. With respect to the approach presented below, which of the following is most true: (a) It will work; (b) It won't work; (c) It might work, but I'd do it differently; (d) A build machine is a dumb idea; or (e) My name's not Dave you insensitive clod. --- #!/bin/sh # # Rudimentary build script. # /etc/make.conf.[hostname] sets KERNCONF BUILD_SET=host1 host2 host3 host4 host5 host6 host7 host8 host9 host10 echo This is really going to take some time, Dave. echo Maybe you want to come back tomorrow? for MACHINE in ${BUILD_SET} ; do MAKECONF=/etc/make.conf.${MACHINE} BUILD_DIR=/usr/obj/${MACHINE} WORLD_LOG=/var/log/buildworld.${MACHINE}.log KERNEL_LOG=/var/log/buildkernel.${MACHINE}.log echo Building world for ${MACHINE}. env MAKEOBJDIRPREFIX=${BUILD_DIR} __MAKE_CONF=${MAKECONF} \ make buildworld -j 4 | tee ${WORLD_LOG} echo Building kernel for ${MACHINE}. env MAKEOBJDIRPREFIX=${BUILD_DIR} __MAKE_CONF=${MAKECONF} \ make buildkernel -j 4 | tee ${KERNEL_LOG} done --- Comments, questions and complaints all welcomed. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best laptop for Freebsd
On Thu, Nov 16, 2006 at 08:58:53AM +0300, g wrote: Is there any one model or product that would be better for Freebsd 6 (as this is my day in day out operating system). http://lists.freebsd.org/mailman/listinfo/freebsd-mobile Any experiences and or advise would be much appreciated. My vote is for Thinkpads. A quick search of the archives will bear out the popularity of that opinion. Be prepared first to investigate the hardware on any prospective model, second, evaluate the support with respect to each and every device, and finally, spend time and effort configuring things so things work just right, for increasingly large values of right. I believe the investment in time and effort pays off in all sorts of ways, but chances are you'll end up with a system that you'll consider indispensible and one that you'll know better than your girlfriend, wife, or whatever. I'll leave it to you decide whether that's a good thing. ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automated installations
On Wed, Oct 18, 2006 at 01:15:58AM +, [EMAIL PROTECTED] wrote: Be considerate of others. Please don't top post. Quoting George Allan: [EMAIL PROTECTED] wrote: I am in search of an tool for automated installations. SOmething like Kickstart or Autoyast for Linux - just the BSD-able version ;-) Is anybody aware of such a tool that I perhaps overlooked or anybody perhaps currently developing one ? sysinstall(8) is your friend. pxeboot(8) will buy the drinks. Be sure to read through Section 2 of the fine Handbook. That basically means that I have to compile/burn my own CD with the config file install.cfg in it right ? Not at all. I'd advise against trying to compile/burn your own CD. I'd even advise against using CDs altogether, except perhaps in the case of emergencies. Once you're past the 1 system count, setting up a network infrastructure to handle your installations (along with just about everything else) is often more than just a good idea. The small investment in time will give you the opportunity to learn something, and will save you time and grief in the future. is there a version f.e. to start from the CD (with some parameters where the config file is located) and do that from a boot floppy - basically without PXEboot or can I point PXEboot to the CD image AND the install.cfg somehow ? Again, drop the CD idea. You want to be booting off the network, and installing from the network. The following link provides a newbie-friendly description of how you can use PXE to perform a simple network-based installation: http://gja.space4me.com/things/Using_pxeboot_Install53.html Once you're comfortable with the concepts, you can proceed to automating the installation (and customising install.cfg): http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Automated installations
On Tue, Oct 17, 2006 at 02:46:08AM +, [EMAIL PROTECTED] wrote: I am in search of an tool for automated installations. SOmething like Kickstart or Autoyast for Linux - just the BSD-able version ;-) Is anybody aware of such a tool that I perhaps overlooked or anybody perhaps currently developing one ? sysinstall(8) is your friend. pxeboot(8) will buy the drinks. Be sure to read through Section 2 of the fine Handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard Drive Issues
On Fri, Oct 13, 2006 at 03:03:31PM -0400, Richard McIntyre wrote: David Kelly wrote: On Thu, Oct 12, 2006 at 06:54:53PM +0100, Spiros Papadopoulos wrote: Since as you say everything is working, maybe it is a good idea to take a look and run the fsck command at least it may give you some more information, which you can post in order to get better answers That too, but first I'd start with sysutils/smartmontools and see what the drive and its built-in log says. I'm having a similar problem, Oct 13 03:01:31 tco1 kernel: ad2: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=181778119 Oct 13 07:11:15 tco1 kernel: ad2: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=181778119 I'm assuming that particular sector on the drive is dying, I have backed everything up on the drive, can anyone give me more information, should the drive simply be replaced or is it possible that this is simply a TOC error and could be corrected by newfs to the drive? I'm guessing it will need to be replaced, output of smartctl is below [...] I ran into similar issues with what I believe was an identical Seagate drive. The customer service folks at Seagate weren't too interested in discussing the output from smartmontools and insisted the only supported method of monitoring drive health was using their own DOS utility (available on their website). So before replacing the drive, I decided to give it a go. The results were hardly informative as the the utility is designed on a PASS/FAIL model. It failed, of course, but the REPLACE THIS DRIVE IMMEDIATELY warning message helped confirm things for me. Soon thereafter I needed to set up a Windows box and didn't have a drive I was willing to spare, so I used the defective one which I still had lying around. Oddly enough, the setup went fine and still works to this day. Go figure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running Name Server
On Tue, Oct 03, 2006 at 12:04:48AM +1000, Warren Liddell wrote: Im wanting to run a name server server locally around my network on FreeBSD 6.2-PRERELEASE ... Where abouts do i find the port to install so i can configure it ? /usr/ports/dns/bind9/ Read the Handbook for information on how to set things up. Additionally, I'd suggest checking out Greg Leahy's FreeBSD book, now available in downloadable PDF format from http://www.lemis.com/grog/Documentation/CFBSD/. Even better, buy it. If you don't have a registered domain name, note that the example.org domain is reserved for such uses; but any fantasy name should work, providing the name you choose doesn't conflict with a real (registered) domain. You'll also most likely want to add a DHCP server. cd /usr/ports make search name=dhcp The rest is left as an exercise for the reader. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pdf editor
On Wed, Sep 27, 2006 at 12:47:56PM +0200, Andreas Davour wrote: On Tue, 26 Sep 2006, Anthony Agelastos wrote: On Sep 26, 2006, at 11:46 AM, sean wrote: Can anyone recommend a pdf editor, hopefully one in ports? What you can do is use the command pdf2ps (should install with Ghostscript if memory serves) to convert the PDF into PostScript. PostScript is plain text, so you can edit it with any text editor (vim, emacs, ee, nedit, pico/nano, etc.) or just use sed to change your line (sed's/oldline/newline/g' file.ps newfile.ps). Then, when the new PostScript file has been created, just re-create the pdf with ps2pdf. I know this is not very elegant, but it works for small changes. It sure is a itch that I can't scratch that there's no tool that does this with a fancy GUI. It is something I've wanted many times. Maybe it's time to reconsider the nature of that itch? PDF was never meant to be edited (except peripherally), and most definitely not in the sense that you're thinking. Consider it a FINAL print format, like an image that's long since left the photographer, his studio and his camera and now exists only as a JPG on a hard drive. If you're looking for fancy GUI applications, then you're talking about the usual desktop publishing tools from Adobe (Framemaker, Pagemaker, etc.) that can (and typically do) generate a PDF as a final step after the work has been done using their native formats. If you're using *nix, then typically you'll be using LaTeX, etc. as the authoring tool, and similarly be generating the final postscript or PDF when you're done. The basic equation is TEXT + MARKUP - OUTPUT Most people who are in the habit of using or relying on word processing programs (where the editing part is mixed up with the final product) make the same mistake of pursuing mythical PDF editing or conversion tools that don't exist. It's an understandable mistake, but it's also worth pointing out that in the publishing world, no one takes word processors seriously or uses their output, except in some cases as an accomodation for people who didn't know any better, and similarly weren't aware of how bad the output quality really was. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New to FreeBSD/UNIX
On Mon, Sep 18, 2006 at 04:54:14PM -0400, Edward and Nancy Powers wrote: I am new to UNIX, and want to download a basic UNIX system, just to run commands and become familiar with the system. I wish to use this system as a companion piece to a UNIX tutorial which I have on DVD. I do not want to replace Windows at this time. My PC has: Pentium III Processor at 1GHz, 128MB RAM at 133 MHz, Windows ME operating system. What course of action do you recommend that I take? The ideal approach for someone in your situation would be to download and install http://www.vmware.com/products/server/ and then download a ready to use FreeBSD appliance http://www.vmware.com/vmtn/appliances/directory/ or, alternatively, go through the installation process yourself by installing FreeBSD from a CD using vmware. You can experiment to your hearts content without affecting your current system. Your PC is more than adequate to run FreeBSD (provided the hardware is supported), but would require an extra 128MB RAM for vmware. The problem is your version of Windows. Maybe you can buy a used copy of Windows 2000 from someone? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Calling setxkbmap when starting X
On Sun, Sep 17, 2006 at 12:30:37AM +0300, Ivan Rambius Ivanov wrote: I am from Bulgaria and I use Bulgarian language on my FreeBSD machine. I use the following command $ setxkbmap -model pc105 -layout us,bg -variant ,phonetic -option grp:alt_shift_toggle to enable both Bulgarian and English. However, I call this command every time I log in KDE. Is it possible to invoke it automatically when X is started? I think what you're looking for is xinit(1). My own: $ cat ~/.xinitrc #!/bin/sh xmodmap .xmodmaprc xsetroot -solid dimgray xgamma -gamma 0.8 exec /usr/X11R6/bin/gnome-session Note also you can also define keyboard settings in rc.conf: $ grep keymap /etc/rc.conf keymap=us.iso.kbd.custom My own custom keymap is a quick hack to swap the Caps_Lock key with Escape for non-X uses (something that only vi users would appreciate). Alternatively, KDE, like Gnome, etc. most likely offers a mechanism to execute scripts at startup, but I'd advise against that approach. Hope that helped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On Fri, Sep 15, 2006 at 10:34:01AM -0400, Jerry McAllister wrote: On Thu, Sep 14, 2006 at 03:54:38PM -0700, Chuck Swiger wrote: On Sep 14, 2006, at 3:23 PM, Peter wrote: Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. Why? Is there some reason that you or they want to watch ads? I can't think of a single site that I use that needs Flash; I don't install it even on a Windows or MacOS X box. I don't normally use it either, but there are sites that do videos programs that are all in flash and others that use it for graphic demonstrations. So, it is a feature that is desired by many. It pains me to have to reboot to Microsloth to see something on those sites. You can visit www.linuxcbt.com (cue the Linux jokes) for an illustrative example. All the videos are in swf format, most likely generated using vnc2swf (available in ports, FWIW) or something similar. As a side note, mplayer doesn't support the swf format either. I once subscribed to the notion that Flash was wholly unecessary and the domain of ad companies, all the while knowing that there are amazingly creative sites (targeted at creative types or folks with creative budgets) done entirely in Flash that most people, myself included, couldn't fault. It wasn't too long before I ended up installing the requisite browser plugin. Flash is now more popular than ever. And with Adobe's recent purchase of Macromedia, it would be naive to believe that Flash is going to fade away, or be relegated to a corner somewhere. Unwelcome ads of any sort can be blocked with little trouble -- it's the remaining content that's the problem, and there's more of it out there every day. That said, the linux-firefox approach does work surprisingly (or not so surprisingly) well, as does acroread (a must for those of us with notebooks or LCD screens). Doesn't mean I'm any less annoyed at the state of affairs. Or any more inclined to install Linux. ;-) Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling DBD::Oracle against Oracle 10g (Linux)?
Hi, I'm having the same trouble building dbd. Did you ever get it workign? Al Tingey [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
silencing the boot beep
Does anyone know how to turn off the annoying beep when BSD partition selector comes up? Also, has anyone got a decent setup for a synaptics touchpad attached to a Dell Inspiron 1150 laptop? 5.4-STABLE Thanks in advance! :) -- Allan Bowhill [EMAIL PROTECTED] c1afddf65d9d9811141cf67b033f5355 Nothing astonishes men so much as common sense and plain dealing. pgppYHvkq93Bf.pgp Description: PGP signature
Kernel panic on keyboard-interaction with rc.local and ACPI
My apologies in advance for the length of this email. I recently updated my 5.4 system after security notices, and I'm getting a kernel panic when I interact on the keyboard with a rc.local script. Disabling ACPI makes the problem go away, but I am on a laptop so I think I want ACPI on. The shell script is something I wrote/mooched/hacked that allows me to select a wifi station to login to during boot time. The machine is a laptop: Dell Inspiron 1150. It's probably bad form to have an interactive script on boot, but anyway... here is the rc.local script: == run_it () { case ${AUTO_RUN} in '') unset YES_OR_NO echo '' echo -n 'Connect to' echo '' echo -n '1.) Wifi 1' echo '' echo -n '2.) Wifi 2' echo '' echo -n '[Default: Wifi 2] ? 1, 2, [Enter]' echo '' read YES_OR_NO case ${YES_OR_NO} in 1) echo logging into Wifi 1 using card ${1} echo '' eval echo ifconfig Wifi 1 echo '' ;; ''|2) echo logging into Wifi 2 using card ${1} echo '' eval echo ifconfig Wifi 2 echo '' ;; *) echo '' echo Invalid selection for command ${1} echo '' echo Make sure to run ${1} yourself echo '' esac ;; *) ;; esac } run_it ath0 dhclient ath0 == The kernel boots fine, and gets to the point where rc.local runs: Connect to: 1) Wifi station 1 2) Wifi station 2 When I hit a key, I get the following message (entered by hand here): Fatal Trap 12 page fault while in kernel mode fault virtual address: 0x7408a85c fault code: supervisor read, page not present instruction pointer: 0x8: 0x7408a85c stack pointer: 0x10: 0xcbc60c94 frame pointer: 0x10: 0xcbc60c94 code segment: base 0x0 limit 0x type 0x16 DPL 0, pres 1, def32 1, gran 1 processor eflags: interrupt enabled, resume IOPL=0 current process: 13 (irq1: atkbd0) trap number: 12 panic: page fault Uptime: 36s Cannot dump. no demp device defined. (The above is the first attempt. I was able later to get a crashdump, and recompiled the kernel with debug on so the message above is in a slightly different environment than what the crash dump saw) In the crash dump, and it kind of looks like the kernel can't create a thread to handle a keyboard interrupt for some reason. atkbd_intr() in /usr/src/sys/dev/kbd/atkbd.c gets a null argument for kbd, which it tries to dereference: 453 atkbd_intr(keyboard_t *kbd, void *arg) 454 { (kgdb) 455 atkbd_state_t *state; 456 int delay[2]; 457 int c; 458 459 if (KBD_IS_ACTIVE(kbd) KBD_IS_BUSY(kbd)) { 460 /* let the callback function to process the input */ 461 (*kbd-kb_callback.kc_func)(kbd, KBDIO_KEYINPUT, 462 kbd-kb_callback.kc_arg); 463 } else { It gets this from atkbd_isa_intr() in /usr/src/sys/isa/atkbd_isa.c static void atkbd_isa_intr(void *arg) { keyboard_t *kbd; kbd = (keyboard_t *)arg; -- null void pointer cast as keyboard_t * (*kbdsw[kbd-kb_index]-intr)(kbd, NULL); } Which, in turn gets the null pointer from a critical section in an interrupt thread handler in kern_intr.c. But, there I am lost :) I can provide more info if needed, given that I can keep the machine running... --Allan Bowhill [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. #0 doadump () at pcpu.h:160 160 __asm __volatile(movl %%fs:0,%0 : =r (td)); (kgdb) where #0 doadump () at pcpu.h:160 #1 0xc0665172 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410 #2 0xc0665479 in panic (fmt=0xc08a0119 %s) at /usr/src/sys/kern/kern_shutdown.c:566 #3 0xc085566d in trap_fatal (frame=0xcbc60c34, eva=0) at /usr/src/sys/i386/i386/trap.c:817 #4 0xc0855390 in trap_pfault (frame=0xcbc60c34, usermode=0, eva=194672) at /usr/src/sys/i386/i386/trap.c:735 #5 0xc0854f5c in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = -1066991600, tf_edi = 13, tf_esi = -1063617632, tf_ebp = -876213100, tf_isp = -876213152, tf_ebx = -1050240512, tf_edx = -1066827385, tf_ecx = -1063864572, tf_eax = 13, tf_trapno = 12, tf_err = 0, tf_eip = 194672, tf_cs = 8, tf_eflags = 66050, tf_esp = -1065129891, tf_ss = 13}) at /usr/src/sys/i386/i386/trap.c:425 #6 0xc084317a in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #7 0x0018 in ?? () #8
sysinstall flakey after PXE booting 5.3 / AMD64
Hello, This message is directed toward PXE masochists. I'm heading straight to the gory details. I loopback mounted 5.3-RELEASE-amd64-bootonly.iso and copied the entire boot directory onto my OpenBSD DHCP server. I tweaked this by adding the directive boot_askname= to loader.conf. Then I PXE booted by Tyan S2882 to that weird askname loader prompt where it asks for a boot device. I entered by hand ufs:/dev/md0 and bingo I had sysinstall running. Under sysinstall I was able to run fdisk and disklabel successfully, configure bge0 via DHCP, and select ftp4.freebsd.org as my FTP server. I watched network traffic on the OpenBSD firewall and I see my server exchanging TCP/IP packets with freebsd.isc.org (an alias for ftp4). Then sysinstall complains that it can't talk to my FTP server and returns me to the screen to select a new FTP server. I select any server and then it asks me if I want to skip network config. No matter which path I choose, on the second pass it gets even more sick than the first pass. I end up answering no to about 50 dialogs before it returns me to a sysinstall menu screen. On the DEBUG console I see evidence that bge0 was switched to down status when I started the second attempt to connect to an FTP server, despite skipping (or not skipping) network reconfig. I wasn't able to discover much in the holographic console. That console has rm but not ls. It has ifconfig but not netstat. I can cd into /stand but hardly any other directory listed in the PATH variable. Next time I'll try typing xyzzy to see if more commands materialize. What seems clear is that sysinstall starts sick and becomes sicker. I've repeated this drill several times with consistently depressing results. Where I'm at now is wondering if I should give up, dig the server out of the network closet, and hang a CDROM off the side (hangs head in shame). Is sysinstall not yet quite up to the job, or have I missed a few specs of magic pixie dust in my loader.conf configuration? Allan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3/AMD64 fails to detect ARAID-99 PATA unit when booting Tyan S2882 from a SATA unit
Yesterday I received hardware to complete a Tyan S2882 based system. In just a few hours I had FreeBSD 5.3-STABLE/AMD64 running with all memory and processors accounted for. I have two hotswap IDE RAID devices installed. I have an old ARAID-99 from the previous 4.x system where it worked fine. I have added a new SOHORAID based on the same electronics, but with a SATA interface. Last night I installed a test copy of FreeBSD 5.3 on the new SATA unit using fresh drives. Because the Tyan BIOS is weak concerning boot devices I had to go into a screen and make the SATA controller the #1 IDE device and the PATA controller the #2 drive. Then I was able to boot off the SATA image with the PATA unit installed. The BIOS screen detects the ARAID as the IDE primary master prior to the SATA boot cycle. Then when FreeBSD boots, FreeBSD does not. There is no /dev/ad0 as I expected. I've booted with blank drives in the ARAID and with older FreeBSD 4.x drives installed. fdisk / diskinfo / disklabel won't show me ad0. They all complain that the device does not exist. I tried to fake it out with makenod but then I got device not configured. I'm not too strong on devfs yet and there is presently no man page for devfs.conf Is there some reason under 5.3 that booting off the SATA SOHORAID would prevent the PATA RAID drive detect? The ARAID-99/1000 appears to FreeBSD as a single PATA disk drive echoing the geometry of whatever primary drive is presently inserted. Is there a boot parameter to see additional diagnostics from the ATA drive probe? Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 03:50:01 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 242 (1593.61-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xf5a Stepping = 10 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 2147418112 (2047 MB) avail memory = 2061897728 (1966 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard ioapic1 Version 1.1 irqs 24-27 on motherboard ioapic2 Version 1.1 irqs 28-31 on motherboard acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0 pci3: ACPI PCI bus on pcib1 ohci0: OHCI (generic) USB controller mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: OHCI (generic) USB controller mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: OHCI (generic) USB controller on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: SiI 3114 SATA150 controller port 0xa800-0xa80f,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xbc00-0xbc07 mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ata4: channel #2 on atapci0 ata5: channel #3 on atapci0 pci3: display, VGA at device 6.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci1: AMD 8111 UDMA133 controller port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pci0: serial bus, SMBus at device 7.2 (no driver attached) pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 10.0 on pci0 pci2: ACPI PCI bus on pcib2 bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003 mem 0xfc8b-0xfc8b,0xfc8c-0xfc8c irq 24 at device 9.0 on pci2 miibus0: MII bus on bge0 brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:e0:81:2b:b6:86 bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003 mem 0xfc8e-0xfc8e,0xfc8f-0xfc8f irq 25 at device 9.1 on pci2 miibus1: MII bus on bge1 brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:e0:81:2b:b6:87 pci0: base
Question about backing up filesystem/boot disk
I have recently built a 1.7TB file storage server for our digital lab and I was wondering what the easiest way to backup the SCSI boot disk to the RAID5 array would be? I was thinking something along the lines of dd if=/dev/X of=/array/fbsd5disk or similar... if anyone can give me correct syntax and or options or a better options please let me know, thanks. Allan Bandaly Reedy Photoprocess IT, Digital Lab Dept. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Addition of user
Hi, Is it possible to add an email account in a mail server without a shell account? Regards, Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why userland , basesystem and Kernel are together?!
On 0, Stephane Bortzmeyer [EMAIL PROTECTED] wrote: :On Tue, Dec 09, 2003 at 01:37:48AM +0200, : Vahric MUHTARYAN [EMAIL PROTECTED] wrote : a message of 46 lines which said: : : Why some programs are in base system . What is the meaning of : Sendmail or SSH in base system . Programs are only executable things : What is the relation about those programs with base system ?! : :With the ideas you have about how an operating system should be :assembled, I suggest that you use Debian URL:http://www.debian.org/ :instead of FreeBSD. it is much closer to your philosophy. Don't send him away. This is a good question. FreeBSD has third-party software (like Sendmail, SSH, Gnats, CVS, Kerberos, ppp etc.) included as part of its source code base distribution, and this generally confuses people accustomed to other Unix- like distributions. I don't know what the underlying rationale was for each piece, but I guess this more integrated approach was meant to make it convenient for programmer/sysadmins to install the software, contribute changes, and communicate about the OS with other people in the FreeBSD community. In principle the integrated approach is attractive because it is simpler to treat an operating system as a single piece with a lot of features for convenience, rather than a bunch of unrelated components laying on the floor that you have to fetch-and-assemble yourself. I like the fact that the operating system comes with development tools built-in (C, C++, gdb, CVS, Gnats). It impresses me as a fair and correct choice in design that an open-source operating system should have these things. -- Allan Bowhill [EMAIL PROTECTED] Real software engineers don't like the idea of some inexplicable and greasy hardware several aisles away that may stop working at any moment. They have a great distrust of hardware people, and wish that systems could be virtual at *___all* levels. They would like personal computers (you know no one's going to trip over something and kill your DFA in mid-transit), except that they need 8 megabytes to run their Correctness Verification Aid packages. pgp0.pgp Description: PGP signature
Re: Way OT: SSH+VNC as quickndirty VPN
On 0, Goodleaf, John M [EMAIL PROTECTED] wrote: : :Here's the scenario: :I have a Windows machine at work. I have a VNC server on it. It is behind a :firewall over which I have no control, so I cannot make a direct connection :to this machine from outside. What I'd like to do is to initiate a SSH :connection (with compression) to my BSD machine at home (which I can do) and :forward the VNC server connection through that SSH tunnel. I'd like to then :lock my workstation and office, go home, and use vncviewer to have access to :my workstation at work. That way I can do work at odd hours and while :watching Buffy the Vampire Slayer. : :Is this possible? I have tried a few combinations of port forwarding, but :for whatever reason, find it unintuitive. Can't quite get it to work. Any :suggestions much appreciated. I agree, it is counter-intuitive, but I know it mostly works on a Unix-to- Unix connection, but I have forgotten how to set it up. There may be a problem with doing it with windows as the server, though. vnc can only grant access to a single session in windows, and that session's display is based on reading the video frame buffer. This generally would mean that you can't simultaneously lock your machine and do work on it at the same time from home. In other words, when you login from home, everything you do will be displayed on the windows machine in your office while you are doing it. -- Allan Bowhill [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: How to determine which distribution sets were installed
On 0, Paul van Berlo [EMAIL PROTECTED] wrote: :Hello, : :is there an easy way to determine which distribution sets were installed :during the FreeBSD installation and after that? I inherited a server and :want to make sure what is and is not installed. Of course I can do all of :this manually, but I was hoping FreeBSD keeps a log or something :somewhere. I am not %100 sure, but I think you might have to do it manually. I don't think FreeBSD keeps records of what was originally chosen in /stand/sysinstall for distribution sets on a first-time installation. If you are just talking about software installed using the ports/packages collection just do pkg_info -a. Generally, this reflects what exists on the system at the current moment. But there are no guarantees, since things can be erased manually. But really finding out what was installed would be a pretty involved thing, becuase you can't guarantee the person who owned it last had not added, removed or modified anything outside the record-keeping mechanisms since he/she first installed the OS. --Allan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to determine which distribution sets were installed
On 0, Melvyn Sopacua [EMAIL PROTECTED] wrote: :On Sunday 30 November 2003 08:52, Allan Bowhill wrote: : : On 0, Paul van Berlo [EMAIL PROTECTED] wrote: : :Hello, : : : :is there an easy way to determine which distribution sets were installed : :during the FreeBSD installation and after that? I inherited a server and : :want to make sure what is and is not installed. Of course I can do all of : :this manually, but I was hoping FreeBSD keeps a log or something : :somewhere. : : I am not %100 sure, but I think you might have to do it manually. I : don't think FreeBSD keeps records of what was originally chosen : in /stand/sysinstall for distribution sets on a first-time installation. : :Right - because it doesn't make sence to do so. :If you choose 'developer' during the 'standard installation' but later install :the XFree86 port, you essentially now have an 'X-Developer' distribution set. : :In a well-maintained system, /etc/make.conf should reflect any alterations to :the base installation and the rest can be found in /var/db/pkg/*. Well, there are definitely _options_ in /etc/make.conf that I would look at, since really the job of that file is to set defaults for make, and associated functions to build software. And don't forget to look for things that are actually activated when the system runs. /etc/rc.conf(.local), /usr/local/etc/rc.d, and /etc/crontab and cron files in user accounts, too. Those can be a problem. One thing I can't quite remember is if stuff that goes to console during /stand/sysinstall installation actually gets logged in /var/log/messages*. I don't think it does, but it wouldn't hurt to look at the logfiles to see what kind of installation activity went on recently. And then there may be some boot time options, like LKMs that get configured in one of the /boot files, I think /boot/defaults/loader.conf and /boot/loader.conf would be places to look. Obviously, if /usr/obj exists with craploads .o files, it is evidence an attempt has been made to rebuild the system from sources, and if cvsup records can be found, then the sources have been updated using that method. Then there are kernel modifications which can be found in /sys/i386/conf. There are other places to look. /usr/X11R6/bin is one place. Some people don't use ports or packages when they install X. They just get the sources outside the ports/packages system, and then build and install X on the box directly. It never gets recorded in /var/db/pkg. Same for other software. I suspect what you do depends on how paranoid you are about the system. Personally, I would back it all up, zap the filesystem, and rebuild from scratch with -stable. That would take less time and energy than checking all the nooks and crannies. -- Allan Bowhill [EMAIL PROTECTED] George Orwell was an optimist. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modem
On 0, Jud [EMAIL PROTECTED] wrote: :The best tutorial I've seen on this remains URL: :http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html. 3 years :ago as a newbie it was far easier for me to understand than the Handbook. :One thing has changed in those 3 years: The user wanting to access the Net :must be a member of the 'dialer' group. Actually, the group is network IMHO, the best resource for user ppp is still the manpage. Probably one of the best-written manpages there are. I just recently went through the ordeal of configuring modems for it, and I agree, the handbook doesn't have too much to offer there. -- Allan Bowhill [EMAIL PROTECTED] Spend extra time on hobby. Get plenty of rolling papers. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple Internet connection
I have a FreeBSD box that has 3 nic's. 2 of them are connected to separate internet connections, and the 3rd is a lan. When data is coming in over one of the connections, it comes over the nic to which that ip is assigned, but, outgoing traffic, even if bound to the second nic, always going out over the first nic. Is there a way to have the 2 links share the load of the outgoing traffic, as well as the incoming. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Procmail site-wide recipe's
This still requires a .forward in each home directory to pipe the mail through procmail. On Tuesday, February 11, 2003, at 11:01 AM, JacobRhoden wrote: On Tuesday 11 February 2003 10:52, BSD Freak wrote: I am running a 4.7-R/sendmail mail server. I currently use procmail on a few email accounts using a .forward in each home directory. Does anyone know how I can make a procmail recipe apply to all users on the mail server? I had no idea until I typed 'man procmail' and read the first two paragraphs (: Have fun. - jacob Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 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
Re: BSD on Tecra 8100 w/Docking Station
I hate to be a party pooper but I think you'll find that if Linux (which supports a larger range of hardware than FreeBSD) doesn't support your card then FreeBSD probably won't. In any case consult the freebsd hardware notes. Your best bet is just to buy a cheopo PCMCIA NIC... -Allan. On Sunday, February 9, 2003, at 09:50 PM, Colin J. Raven wrote: Greetings everyone!! I'd very much like to install FreeBSD on the above laptop. However, there is a problem in that it sits full time on a Toshiba Docking Station...in which sits the NIC. Although ('natch) there are PCMCIA slots, I've never bought a card, owing to the existence of the dock. I concede that may have been a mistake in hindsight, but now I have to (try and) work with what I've got. W2K recognizes the docking station NIC with nary a murmur and always has. BUT since buying this machine I have *never* got any Linux install to recognize the dock network card. I'm determined to install *a* 'nix on this machine, yet this seems to be *the* stumbling block no matter what. I've tried FreeBSD on a friend's machine and believe I just may be hooked! :-) I went on an orgy of reading to see if anyone solved this. To date I've read a whole lot of; try this, it might work (it didn't in every case!) and despite many weeks of trolling around I'm as stumped as when I began. Can anyone offer a definitive answer to this - *the* most important question of all?? I'd truly appreciate a solution to the issue.somewhere, somehow. Regards TIA, -Colin -- Colin J. Raven 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
Re: Monitoring the entire filesystem?
I use /usr/ports/security/tripwire-131 Works great... -Allan On Monday, February 10, 2003, at 06:44 AM, Kevin Fogleman wrote: Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I've read over the documentation for kqueue, but some things were left unclear. For example, it appears the man page has not been updated for 5.0 and thus doesn't specify whether or how extended attributes can be monitored for modifications. Also, it appears that kqueue needs a file descriptor for each file that one would want to monitor, making any large-scale file monitoring impractical. Is there any other way in FreeBSD to be notified of file modifications in a way that would allow one to monitor the whole file system or large portions of it? I don't really need to know whether a particular attribute changed, but rather just whether any of them changed. --Kevin Fogleman 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
RE: Bystander shot by a spam filter.
This is not all that surprising The behavior you are talking about, blocking entire isp's and blocks of ips, is the same as the other service you mentioned earlier, SPEWS. SPEWS has blocked 2 entire c-classes at my isp, preventing my company from sending mail to many large email sites, like mail.com and others. When I enquired about having the block removed, or made more specific to block the spammers, but not block my /28, I was told to go to hell. I think you are in the same situation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Harry Tabak Sent: Saturday, December 28, 2002 8:45 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Harry Tabak Subject: Bystander shot by a spam filter. [This is a resend. Ironically, the orignal was blocked by FreeBSD's spam filter, I've had to send this from another account] I am not sure which list is best for this issue, hence the cross posting. I believe spam and anti-spam measures are security issues -- the 'Availability' part of C-I-A. I apologize if I am wrong. A FreeBSD ported package is contributing to an internet service availability problem that has me stumped. I believe that an unknowable quantity of other internet denizens are also affected. I'm a long time fan of FreeBSD -- I run it on my small mail server and I've recommended it for many applications. I even bought a CD once. I write this missive with great reluctance. I've worked with a lot of strange software over the years, But this is a new first -- Software that slanders! Software that publicly called me a spammer!!! And not to my face, but to business associate. And then took action. I recently discovered, and quite by accident, that a FreeBSD ported package -- spambnc (aka Spambouncer or SB) -- was blocking mail from me to an unknown number of businesses and individuals on the internet. I'll probably never have to correspond with most of these people, but I'm a freelancer -- this may have already cost me a job. [Dear reader, don't be surprised if you or your clients are also blocked. I strongly suggest that you check it out.] Anti-spam products have a valuable place in the security arsenal. But, IMHO, this product is dangerous because it includes filters and rules that are overreaching, and inaccurate. Bad firewall rules and bad anti-spam rules may be OK for an individual site. However, spambnc's bad advice is being mass marketed through the good offices of FreeBSD, and it is putting potholes in the net for the rest of us. Until it is fixed, and proven harmless, FreeBSD should stop distributing this product. Basically, the default built-in policies for blocking mail aren't fully described, and there is no mechanism to universally correct the inevitable mistakes in a timely manner. Users (people who install this product) are mislead about the probably of filtering the wrong mail. I am sure that the software was developed with the very best intentions, but in its zeal to block lots and lots of spam, SB is hurting good people. The SB rule blocking my mail host has nothing to do with me. Even though, it can use dynamic anti-spam DNS services, SB hard codes its rules for filtering bad domains by name and by IP address. My nemisis is buried in a 1476 line file, sb-blockdomains.rc, which installs by default, and is not documented outside the code. Along with others, it blocks the entire 66.45.0.0/17 space because spammers might live there. This is sort of like a corporate mail room throwing away all NJ postmarked mail because of the bulk mail distribution centers in Secaucus. My mail host address gets a clean bill of health from every anti-spam site that I can find, such as SPEWS. I've checked at least 30 of them. My tiny x/29 block is sub-allocated from my DSL provider's x/23 block. The DSL provider's block is a sub-allocation from Inflow.com's 66.45.0.0/17 block. Spambouncer doesn't like Inflow. While they have a right to their opinions, they don't have a right to publicly tar me because of my neighbors. If I read sb-blockdomains # comments correctly, it is policy to not only block known spammers, but to ALSO block entire networks based on their handling of spam complaints. This is like as a business receptionist checking callerID and then ignoring incoming calls from Verizon subscribers because Verizon tolerates (and probably invented) telemarketing. I have written to both the Spambouncer contact address [EMAIL PROTECTED] and the FreeBSD maintainer, but without a response. Possibly they are on holiday, or spambouncer is eating my mail. Perhaps I'm just too impatient. I have also contacted my ISP's support. They don't know how to help me. They vouch for Inflow. They don't recommend it, but for a fee, my service could be switched to a different PVC, and I'd get an address from a different carrier. But of course, the new address could be
RE: rc.conf and adding a command
Hi, I use the following, it works for me.. natd_program=/sbin/natd natd_enable=YES natd_interface=xl0 # Public interface or IPaddress to use. natd_flags=-s -m -redirect_port tcp 10.0.1.60:http 8080 Regards Allan McDonald -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Grant Cooper Sent: Saturday, 6 July 2002 2:17 AM To: FreeBSD-questions Subject: rc.conf and adding a command I've been working on this for awhile. From the command line I can run /sbin/natd -n vr0 but I have read I can put this line into rc.conf. I've tried alot of combinations but can seem to get it to click. I currently have, natd_interface=vr0 I wrote a script to do this but I want to know what I'm doing wrong. 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