Re: Hacked - FreeBSD 7.1-Release
On Dec 29, 2009, at 10:10 , Brian W. wrote: On 12/29/2009 3:45 AM, Edwin Groothuis wrote: mpt to pass a Turing test or something. On all systems which need to be accessible from the public Internet: Run sshd on port 22 and port 8022. Block incoming traffic on port 22 on your firewall. Everybody coming from the outside world needs to know it is running on port 8022. Everybody coming from the inside world has access as normal. Edwin I seem to recall on one of the openbsd lists someone speaking of risks of running sshd or other services on high numbered ports, presumably because a non root user cannot bind ports up to 1024. On a multi-user machine, where you want to keep students or others from spoofing on machines on which they have logins but which you manage (i.e., they don't have root or sudo), this makes sense--ON THE SERVER SIDE. The connecting client's port is going to be above 1024 anyway, and the client doesn't really care on which port the server is running. In this day and age, when anyone, black hat or white, can stand up their own *ix box and run whatever they want on whatever port, the notion of only connecting to privileged ports as a way of protecting yourself (e.g., from password sniffing or whatever) is rather quaint and ineffective. -- Chris BeHanna ch...@behanna.org___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
mpd 3.11 problems?
Is anyone else seeing problems using mpd-3.11 to do PPTP to a Windows RAS box? I just had the frustrating experience of having my configuration work with 3.10, upgrade to 3.11 and the tunnel endpoints get the expected addresses, but cannot be pinged and no packets flow, downgrade back to 3.10, and everything works again. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] Turning coffee into software since 1990. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: when make installkernel doesn't
On Wednesday 29 January 2003 10:15, J.F. Noonan wrote: Hi, Yesterday I cvsup'd to -stable on an machine that had been running 4.5-stable (with 247 days of uptime). I started a make buildworld and a make buildkernel KERNCONF=MYKERNELNAME and went home. This morning, I dropped to single-user and did a make installworld followed by a make installkernel KERNCONF=MYKERNELNAME. I did a mergemaster, sync,sync,reboot. When the system came back up, I did a netstat -a to be sure that my network services were all running before leaving the machine room to go to my desk. Huh, that's weird, nothing running but syslog. tail -f /var/log/maillog and see mail is going out and in. uh, ok. ps ax|grep sendmail. ps: proc size mismatch (41184 total, 1060 chunks). OK, that means libkvm is out of sync so I go make that and remake ps. Same thing happens. Hrrm, uname -a: 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Mar 22 17:55:41 CSt 2002. Well that's not the kernel I installed and that isn't yesterday's date. date: Wed Jan 29 09:09:38 CST 2003 -- Clock's OK (better be or ntp is broken). Alright, surely something must have gone wrong with that installkernel let's just do another buildkernel and installkernel. Build goes w/o incident, drop to single and install. Reboot, same kernel. I have done this 100 times if I have done this once and I have never seen a kernel refuse to install. Can anybody point out what is wrong? This is one thing: This morning, I dropped to single-user and did a make installworld followed by a make installkernel KERNCONF=MYKERNELNAME. I did a You do a make installkernel *first*, *then* reboot and make sure it at least comes back to single user. Then and only then do you do an installworld. You might get yourself to goodness by copying your new kernel and new modules by hand from /usr/obj to their appropriate places. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: TV output turn on
On Sat, 9 Nov 2002, Wayne M Barnes wrote: Dear FreeBSD, My Dell laptop has a ATI M3 video card, with an S-video output. How do I turn on the S-video output with my FreeBSD 4.7-stable? On Windows98 I can turn on output to the TV thru the S-video by boring down to advanced settings/display, and setting some options, if the TV is connected to the S-video port. I need this on FreeBSD in order to run ogle to watch a European DVD which I can't seem to watch any other ways which I have tried, but won't go into here. Could this be an option in my X11/XF86Config file? Do you suppose 'XFree86 -configure' would probe the TV if it were connected at the time? This functionality is not yet supported in XFree86. *IF* you can hack v4l (video4linux) to work on FreeBSD, then the GATOS project's atitvout package might help you. You will need drm working as well. You could, of course, just watch the DVD on your laptop. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: backups of SUPERBLOCK
On Sun, 10 Nov 2002, Eugene Grosbein wrote: Phil Kernick wrote: Eugene Grosbein wrote: Is there an official way to get list of superblock backups for existing filesystem, other than backup/newfs/restore ? Yes. Use newfs -N which will print out the superblock locations. My experience also tells me to also put exactly the same parameters on the newfs line that you used when you originally created the volume. From the newfs(8) manpage: -N Cause the file system parameters to be printed out without really creating the file system. Thank you. But how do I known parameters of existing filesystem? disklabel ad0 shows, in partcular: [...snip...] Completely unrelated to newfs parameters. Phil meant that you should pass the same blocksize, fragsize, minfree, inode density, etc., to newfs -N that you passed to the original newfs that created the filesystem. If you didn't do any custom tuning with newfs, it's likely that newfs -N -b 8192 -f 1024 # pre 4.6 or newfs -N -b 16384 -f 2048 # 4.6 and up will be sufficient. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: freebsd test matrix
On Wed, 16 Oct 2002, David Kleiner wrote: On Wed, Oct 16, 2002 at 11:03:21PM +0200, Fischer, Oliver wrote: Mike Hoskins wrote: Hmm, I wonder if something similar is used or was developed for internal QA? Anyone? It seems like there should at least be a best practice for testing systems... How do we currently make a -RELEASE with confidence? Of course you can't verify a given release builds on every platform, but is there an automated means of verifying system compoents work and interoperate properly on a given test system or set of systems? http://martinfowler.com/articles/continuousIntegration.html In a commercial world, there is a lot of pre-integration QA testing going on - question is, where do you start? What test harness you want to use? Which test suites? Are you interested in standards (posix and such), ABI, stress testing, library testing, fs testing, interoperability and so on? All of the above, in bite-sized, doable chunks. I'm currently doing QA on a (very) large software project, and all of those things are important. Some of the testing uses existing industry test suites and benchmarking tools, and some of it (much of it) is custom. Being able to compile, install, and boot is just the tip of the iceberg. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Need instructions: build kernel on one machine; install onanother
On Tue, 13 Aug 2002, Chen Xu wrote: On Tuesday, August 13, 2002, at 10:20 AM, Dmitry Agafonov wrote: We have compiled kernels (make buildkernel KERNCONF=LALALA) on one machine, and then after nfs-mounting /usr/src and /usr/obj to target machine - make installkernel KERNCONF=LALALA This works fine and is very good for poor-cpu/ram machines :) The question still remains - can one build a number of kernels and then install them? This will save some time on updating a number of machines: 3 steps (cvsup'ing and world and kernel(s) building) may be fully automated. I don't see why you cann't do it for many machines. One can just make buildkernel KERNCONF=LALALA ... make buildkernel KERNCONF=ZAZAZA then nfs mount to each machine to installkernel. Only problem is that you have to do `installkernel KERNCONF=$cornel_config` on each target boxes, which makes fully auto a problem. \ Why? for i in mach1 mach2 mach3 mach4 do ssh $i /root/upgrade.sh done And upgrade.sh contains something like: mount -t nfs buildmachine:/usr/src /usr/src cd /usr/src make installkernel KERNCONF=MYKERNEL KODIR=/modules umount /usr/src Of course, it needs a little polish, but you get the idea. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Need instructions: build kernel on one machine; install onanother
On Tue, 13 Aug 2002, Greg Panula wrote: Chen Xu wrote: On Tuesday, August 13, 2002, at 10:37 AM, Michael Sierchio wrote: Beware the contents of /etc/make.conf if you have machines with different processors (Athlon versus Pentium versus i686) Are you saying the kernel compiled at one type of cpu will not work on the other type of cpu EVEN the config file it right? A generic kernel shipped with CD was certainly compiled with only one type of cpu? I might miss something here. I use an Althon CPU in my world-builder box and I haven't run into any problems with worldskernels built on that box for Intel based machines(P90-PIII450). The worldbuilder has an empty /etc/make.conf. I think Michael was just warning about CPU specific stuff in /etc/make.conf on the machine doing the actual building. Take a look at /etc/defaults/make.conf for various CPU specific variables that can be set. Right. IF you're going to set a CPUTYPE in /etc/make.conf, it has to be set to the lowest common denominator of all of the machines that are going to be installing from the build machine. Of course, if one has the disk space, one can do a few cross-builds using the MAKEOBJDIRPREFIX environment variable, then install from the appropriate cross-build. That's not terribly sensible until the base compiler is GCC-3.1, which has support for some of the newer CPUs. Example: env MAKEOBJDIRPREFIX=/usr/obj.p3 make buildworld CPUTYPE=p3 -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Better to make XFree86-4 when XFree86-3 isn't running?
On Sun, 7 Jul 2002, Dave Uhring wrote: On Sunday 07 July 2002 12:00 am, Jason Porter wrote: I'm running XFree86 version 3.3.6 I think (or whatever the 3 version is that 4.5 came with). Would it be better to make version 4.2.0 without X running? I also know I'll need to change XF86Config file, but that's not too much of a problem. Thanks for the help. If you are using an ATI Rage Pro video adapter you would be well advised to completely avoid the newest version of XFree86. Works great with the (three-year-old) ATI Rage Mobility in my HP 4150B. YMMV. I tar'd up all of /usr/X11R6 and all of /etc/X11 when I jumped from 3.3.6 to 4.0. You're advised to do the same. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: pkg_fetch broken on 4.6 stable?
On Tue, 2 Jul 2002, Stephen L. Palmer wrote: I sent this to the list about a week ago. The only response so far, was from someone else also having directory path issues with pkg_fetch. Is this someting documented somewhere? If so, would someone please send me a pointer on how to correct this behaviour? Stephen L. Palmer It seems that 'portupgrade -P' won't ever get a package, so it builds from source every time. On investigation, it seems that pkg_fetch is getting the directory path wrong. In the example below, the correct path would have included 'packages-4-stable', not 'packages-4.6-stable', at least that's how the directory structure on the ftp sites are. You can fix this by editing /usr/local/etc/pkgtools.conf and inserting the following environment variable setting: ENV['PACKAGES'] ||= '/export/freebsd/packages-4-stable' You'll notice that the default setting (shown in a comment) is messed up in precisely the way you mention. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] Turning coffee into software since 1990. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Samba problems, several machines
On Thu, 2 May 2002, Dave Uhring wrote: On Thursday 02 May 2002 10:23 pm, Chris BeHanna wrote: I don't know that I've ever tried it. I go through Control Panel-Printers-Add Printer, and browse the Network Neighborhood to find the Samba server sharing the printer, and select the printer that way. Here are the relevant portions of my smb.conf: [global] ; some stuff elided, like remote announce and remote browse sync load printers = yes printing = cups printcap name = cups ; some more stuff elided, like socket options, log params, and interface lists ; Authentication scheme security = share encrypt passwords = yes [printers] comment = All printers guest ok = yes printable = yes Note that the host in question is set up to be both the local and preferred master in my domain, if that makes any difference. That works well using Windows9X, but will not work with Win2k or WinXP. Really? My Win2K SP1 box prints just fine to my FreeBSD-hosted OfficeJet 350. If you use that procedure with either one the Add Printers Wizard will be invoked and no printer will be discovered. This is discussed in samba.org's documentation: http://us2.samba.org/samba/docs/Samba-HOWTO-Collection.html#PRINTING but only a bare-bones skeleton is shown and no example is given. The only way I have been able to get a W2k or WXP system to use the samba printer is to run the kludge of net use lpt1: \\server\printer, and that does not always work. NetBIOS name collision? NetBIOS is a naming system wrought in hell, and can easily cause you a lot of pounding the desk with your head. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Athlon XP with NVIDIA AGP problem
On Tue, 23 Apr 2002, User Tomdean wrote: I have been unable to get an ASUS A7N266-E (nForce) with integrated GeForce2 to work with XFree86-4.2.0. I have worked with developers on this for a couple of weeks. No joy. Something that may work for you, but, did not for me, ftp://ftp.jurai.net/users/winter/nvidia/freebsd_nvidia-1.0-2315_1_3.tar.gz I managed to get XFree86-4.2.0 to run on the machine by installing an ATI Radeon 7000 AGP Card in the AGP slot. You're better off that way anyway. The onboard GeForce2 uses one of the memory channels (and your RAM) for its buffering, having no onboard memory of its own. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Modules System (Was: Panic on 'kldunload snd')
On Thu, 4 Apr 2002, Andrew Boothman wrote: Chris BeHanna wrote: However, I was (slightly) less pleased to discover that a consequent 'kldunload snd' paniced the kernel. This is on a (cvsuped last night) -STABLE box. Do you, perchance, have sound compiled into your kernel? There was a bug with kldload and kldunload when loading and unloading a module that was already compiled into the kernel, that would manifest itself as a panic when you tried the kldunload (usually when you were rebooting, which is how I tripped over it). No actually. I was doing this using the stock GENERIC, which contains no sound support I think I'm a little confused as to the current state of the kernel modules system. I mean do people out there have systems will very small kernel files and loads of *_load=YES statements in their /boot/loader.conf? This would seem to be possible, but I've never heard of anybody actually doing it. I'm sure there's someone out there who does it that way. I usually build a custom kernel with support for the stuff that I need, although I think from time to time that I should try a stripped down kernel to see how well the automagically-load-what's-needed-when-it's-needed code works. Is it just the dependancies between modules that are a bit of a problem, or is the whole system not quite ready for the light of day in a production environment? (I say this because I notice that there is no documentation on the modules system anywhere in the doc tree other than the developer's handbook.) It may well be that you've just tickled a bug that's heretofore gone unnoticed. Not too many people kldload their sound modules (from what I've seen on -stable), and fewer still kldunload them on a lark, I'd imagine. I'm not saying what you did is wrong; it's just uncommon (and worthy of a PR). FWIW, I have compiled a custom kernel, but I've also kldloaded a few things: behanna@topperwein kldstat Id Refs AddressSize Name 19 0xc010 31e310 kernel 31 0xc0423000 550c vesa.ko 41 0xc1765000 7000 linprocfs.ko 51 0xc17e3000 4000 logo_saver.ko 61 0xc17e8000 15000linux.ko 81 0xc1831000 2000 rtc.ko 91 0xc1823000 9000 agp.ko 101 0xc18a9000 d000 gamma.ko 111 0xc18bc000 13000radeon.ko (Despite entries 9-11, no, I don't yet have DRI working. :-/ I still have to follow the instructions on the FreeBSD DRI webpage to apply all of the patches and give it a whirl.). -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
On Sun, 24 Mar 2002, Ryan Davis wrote: [...snip...] I've seen weird cases lately where the solution to some poor fool's port building problem is Take '.' out of your path. That's just NOT going to help us increase the usability of our favorite OS, is it? Having . in your PATH is a security risk. I don't have any problem making life difficult for people who have . in their PATH. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Crash Using ogle
I attempted to view a DVD with the ogle port (nice DVD menu support), and I crashed my machine (4.4-STABLE, cvsup'd at Fri Oct 19 01:08:36 EDT 2001). There was no crashdump, but the last messages logged before the crash were: Oct 28 17:35:38 topperwein /kernel: ata1-master: too many segments in DMA table Oct 28 17:36:37 topperwein /kernel: ata1-master: too many segments in DMA table What does this mean, and how do I fix it? This is on a system with the following hardware: AMD 1.333 GHz T-bird Gigabyte GA-7DX mobo (AMD 761 chipset) ATI Radeon QD (ViVo) video board WD Caviar IDE hard drive on ata0-master using UDMA Hitachi GD-2000 DVD-ROM on ata1-master using WDMA2 dmesg is attached. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. Copyright (c) 1992-2001 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 4.4-STABLE #1: Thu Oct 25 21:41:34 EDT 2001 [EMAIL PROTECTED]:/usr/obj.k7/usr/src/sys/TOPPERWEIN Timecounter i8254 frequency 1193182 Hz CPU: AMD Athlon(tm) Processor (1333.39-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x642 Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR AMD Features=0xc044b18,AMIE,DSP,3DNow! real memory = 268369920 (262080K bytes) config di sn0 config di lnc0 config di le0 config di ie0 config di cs0 config q avail memory = 256630784 (250616K bytes) Preloaded elf kernel kernel at 0xc0462000. Preloaded userconfig_script /boot/kernel.conf at 0xc046209c. Preloaded elf module splash_bmp.ko at 0xc04620ec. Preloaded elf module vesa.ko at 0xc0462190. Preloaded splash_image_data /boot/daemon_freebsd-1.bmp at 0xc046222c. VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc0414262 (122) VESA: ATI RADEON Pentium Pro MTRR support enabled md0: Malloc disk splash_bmp: No appropriate video mode found module_register_init: MOD_LOAD (splash_bmp, c040c7b8, 0) error 19 Using $PIR table, 10 entries at 0xc00fddb0 apm0: APM BIOS on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: PCI to PCI bridge (vendor=1022 device=700f) at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: ATI model 5144 graphics accelerator at 5.0 irq 10 isab0: VIA 82C686 PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686 ATA100 controller port 0xb400-0xb40f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: VIA 83C572 USB controller port 0xb800-0xb81f irq 11 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xbc00-0xbc1f irq 11 at device 7.3 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered chip1: VIA 82C686 ACPI interface at device 7.4 on pci0 dc0: 82c169 PNIC 10/100BaseTX port 0xd000-0xd0ff mem 0xdb00-0xdbff irq 10 at device 12.0 on pci0 dc0: Ethernet address: 00:a0:cc:d4:0a:6d miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xd400-0xd47f mem 0xdb002000-0xdb00207f irq 5 at device 13.0 on pci0 xl0: Ethernet address: 00:10:5a:00:a9:20 miibus1: MII bus on xl0 xlphy0: 3Com internal media interface on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: Creative CT5880-C port 0xd800-0xd83f irq 11 at device 14.0 on pci0 ahc0: Adaptec 3950B Ultra2 SCSI adapter port 0xdc00-0xdcff mem 0xdb003000-0xdb003fff irq 11 at device 15.0 on pci0 aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: Adaptec 3950B Ultra2 SCSI adapter port 0xe000-0xe0ff mem 0xdb004000-0xdb004fff irq 11 at device 15.1 on pci0 aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/255 SCBs orm0: Option ROMs at iomem 0xc-0xcbfff,0xcc000-0xcc7ff on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff
Re: How does FreeBSD performs in server tasks? [off-topic]
On Wed, 17 Oct 2001, Conrado Vardanega wrote: I would like to hear from Athlon-based server owners/admins how does it performs with server tasks. My aim is to find out how good is a Pentium III chip for a server instead a low-cost, high-performance Athlon CPU. I would consider, for evaluation purposes, a (FreeBSD) system running Apache/PHP/mod_ssl and MySQL mainly, because they're pretty sensitive to user-response. So, which are the pros and cons of having a Intel based server or a AMD based server? Support for Intel-based chipsets is likely to be more robust than for the AMD or VIA-based chipsets that exist on Athlon motherboards. As an example, it took awhile for XFree86 4.1.0 to be fixed to run on motherboards with the Irongate chipset (AMD 761 north bridge) when a Radeon QD video board is present. That said, my 1.333 GHz T-bird *flies*. I can build all of userland in around 40 minutes, a kernel in under 5 minutes, and all of XFree86 4.1.0 in about 20 minutes. For reference, I have 256MB of Crucial PC2100 ECC DDR on-board, and my disk is a WD Caviar ATA-66, 5400rpm. I have the write-caching sysctl enabled. Getting back to some more specific info you wanted, the only web app I run that has bearing is Kalendus, and it responds mighty quickly. Add-in topic: how DDR-memory instead SDRAM affects server performance? It *rocks*. For another benchmark, I pulled 110 MFLOPs from this machine with the LINPACK benchmarks. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: cable modem choices
On Wed, 17 Oct 2001, Dennis Mathiasen wrote: I haven't been able to locate information on how these things actually work. Apparently the ISP just uses DHCP, but what about any authentication? My ISP expects a certain MAC address. Are the modems themselves all functionally the same? Most manufacturers don't say that they work with UNIX. Is the situation the same as with phone modems v. win modems? No, not usually. You have RG-6 coming in from the pole to the cable modem, and CAT-5 coming out from the cable modem to your NIC. The cable modem doesn't care what OS is on the other end of the patch cable. I'd appreciate any suggestions which one to buy. Thanks. As Doug Barton mentioned, you're better off leasing one from the cable company. The cable modem sitting beside me, for example, is $1000 (so I was told). The lease rate is just built-in to my monthly access charge ($59.95 for 1500K down/500K up). Hook up with dyndns.org and you're good to go. Oh, to minimize bonehead issues with the installer, you might want to boot Winblows for when (s)he shows up, just to placate the cable company, and then boot back into FreeBSD later. Otherwise, just convince them that you know what you're doing, and promise to support yourself. You'll need something like this in /etc/rc.conf: ifconfig_dc0=DHCP (Replace dc0 with the appropriate device for your NIC, e.g., xl0 for 3Com 3C905, fxp0 for Intel Etherexpress, etc.) Now you'll get an address at boot-time. I'm not sure, but if your box is already up when the installer comes, ifconfig dc0 down ifconfig dc0 up (or the equivalent for your NIC) might also do the trick so that you don't have to reboot. I don't actually know, never having tried it. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: RAID5
On Mon, 3 Sep 2001, Ronan Lucio wrote: Hi Friends, Thanks a lot for your answers. Once more to confirm: So, If I have 3 HDs with 36 Gb each, I will have 72 Gb of avaliable space and I one of them breake, the computer will continues working in another one until I have replace it? Ok? Yes, but write performance will be absolutely horrible until you replace the broken drive and rebuild the volume. Note that if you lose one of those remaining two drives before you replace the broken drive and rebuild the volume, you're toast. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: CPUTYPE and ports
On Wed, 29 Aug 2001, Kris Kennaway wrote: On Thu, Aug 30, 2001 at 02:20:13AM +0200, clemensF wrote: Kris Kennaway: I understand gcc 3.x supports optimization for the newer AMD chips; it will be imported into 5.0-CURRENT at some point, but may not make it back into 4.x because of the disruption involved. on my machine `gcc -v' outputs `gcc version 2.95.3 [FreeBSD] 20010315 (release)'. i'd like to read a rundown about this compiler, about how well it's doing on different platforms, what the differences between it and egc are, if i can compile fortran with it, how this would be done, that kind of thing. GCC 2.95.3 == EGCS 2.95.3. Some time ago, the GCC folks decided to rename themselves EGCS, the Extended GNU Compiler Suite, and then they decided they liked GCC better. GCC now stands for GNU Compiler Collection, currently handling C, C++, Java, and FORTRAN. Chill support has been dropped because no one stepped forward to maintain it. Version 2.95.3 was the last stable version before 3.0 came out. There was an interim 2.96 release that contained experimental support for generating 64-bit code on SPARCs, but it was not blessed as a stable release, IIUC. i've never found a document of this type, a few sentences would suffice, because i am everything _but_ a compiler bauer. maybe the right url would do. http://gcc.gnu.org/ , which includes a doxygen run on the GNU STL. Note that STLport (a port of SGI's STL, see http://www.stlport.org ) compiles fine under GCC, and appears to be more stable when used with threads. What I'd like to know is if anyone has figured out a way to do a g++ equivalent to Microsoft's precompiled headers. If so, please clue me in: they really speed up a build on a big project. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Broken world -- ipnat
On Tue, 28 Aug 2001, Kris Kennaway wrote: [...reasons why cvsup might leave cruft...] And cvs update with the -Pd switches should keep your source tree clean. Not necessarily. It doesn't remove extra files like object files (but it does note them if you're paying attention). Not by default. .o is in the ignore by default list. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: How can I find the version? (date/time ?) of cvsup'd sources
On Wed, 22 Aug 2001 [EMAIL PROTECTED] wrote: Subject pretty much says it all. I cvsup'd sometime this weekend, and know I have problems. Knowing the exact version I cvsup'd seesm to matter to the solution. Knowing when you cvsup'd is probably sufficient. ls -lu supfile does the trick. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
RE: Silly crackers... NT is for kids...
On Sat, 18 Aug 2001, Matt Piechota wrote: On Fri, 17 Aug 2001, Nate Williams wrote: [...telnetd exploit allows anyone root access...] I must have misspoke. There's only 4 of us that have the root password on our machines, but we 4 telnet everywhere as root. And just horrify everyone, my lead actaully runs X as root, as did I for awhile. Having the users enable it by default makes them more aware of what's going on. (Although, one could argue that all the folks who are still infected with CodeRed initially enabled it, and have done nothing since...) I completely agree. I like the way RedHat 7.1 disables almost everything on install. One could argue that they shouldn't even install sshd, since they may well have a bug in it as well. Makes it awfully tough to manage a rack of boxen remotely... -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Current stable (fresh sup) broken for no opt
On Tue, 7 Aug 2001, GB Clark II wrote: When I compile a kernel with no optimiztion(sp) it will bomb in atomic with a problem in the asm. With -O it works fine. If atomic operations rely on having functions inlined, then this makes perfect sense. Without -O, no inlining takes place. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Updating RELENG_4_3
On Sat, 28 Jul 2001, ian j hart wrote: cd /usr/src;make update (CVS) pulls down RELENG_4 not RELENG_4_3. There should at least be a warning in UPDATING. Shouldn't this be a variable in make.conf? thinks out loud Hmm. The -r would mean BRANCH would have to be a numeric or symbolic tag. What if you could do: CVSUPDATEFLAGS= -D yesterday That would fix updating during a commit. Or maybe not. Must find a cvs wizard and ask them if the commit time stamps are atomic. It would not, if at this time yesterday, someone was doing a commit. If the suggestion, leave a small commit-free window around midnight UTC is adopted, then you could use -D 00:00:00 UTC and not have to worry (although you'd have to translate that to [cc]yy.mm.dd.00.00.00 format for cvsup to process it). -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: HDD Problem
On Wed, 27 Dec 2000, Louis A. Mamakos wrote: I've got two mobos with VIA MVP3 chipsets on-board. As these systems (until recently) had only SCSI peripherals, I didn't notice any problem. However, when I added an IDE CDRW drive, I got these very strange system lock-ups/hangs. Specifically, this was an FIC VA-503+ mobo, with a 450MHz K6-2 CPU. From earlier this year: - Begin included text From [EMAIL PROTECTED] Thu Aug 24 10:35:34 2000 Date: Wed, 23 Aug 2000 19:31:26 -0700 (PDT) From: Jeff Wyman [EMAIL PROTECTED] To: Janko van Roosmalen [EMAIL PROTECTED] Cc: Robert Augustine [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Random Reboots On Wed, 23 Aug 2000, Janko van Roosmalen wrote: Check your powersupply. If it is 250 Watt throw it out and get at least a 300 Watt. We import and export computer cases by container and sell a lot of separate 300 Watt PSU's to customers for ATHLON users. 250 Watt is just not enough for this cpu. If this is an FIC SD-11 board, it should be known that this board is a very picky one when it comes to voltages - FIC released this board in a hurry when it was still a prototype, leaving many things in error on this board. One thing was the voltage regulators. There are very few on this board compared to other Athlon boards (including other FIC models) and this can make for rather dirty voltages being supplied to your CPU when combined with a culprit PS. However, 2 days is kind of a long time for these problems to arise. There's just too much crap that happens these days to rule it out though. - End included text It could be that the UDMA controller is another "[thing] in error" on this motherboard. -- Chris BeHanna Software Engineer [EMAIL PROTECTED] Remove "bogus" before responding. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Updating XFree86-3.3.6-x -- XFree86-4
On Tue, 26 Dec 2000, Stephen Montgomery-Smith wrote: Kenneth W Cochran wrote: I think you can install 4.0.2 straight on top of 3.3.6. Use tar to make a copy of the old X11R6 directory just in case 4.0.2 does not work. Any gotchas like symlinks, etc.? OK, you got me there - I emailed with you with too little knowledge. I gotta admit that I never tried installing 4.0.2 on top of 3.3.6. I have had this symlink problem before, in a context that I don't recall, but this was when installing from the ports. The safe way to do this: tar -zcvf XFree3.3.6.tgz /usr/X11R6 rm -rf /usr/X11R6 install XFree 4.0.2 That's *not* ideal if you have a lot of ports installed into /usr/X11R6 (e.g., GIMP), but it *will* avoid symlink problems. That said, you can always untar 3.3.6 someplace else and diff the trees. You'll probably want to rebuild the dependant ports anyway, so that they're linked against the new XFree libraries (I admit, though, that this wasn't an issue when I went from 3.3.6 to 4.0.1_10). -- Chris BeHanna Software Engineer [EMAIL PROTECTED] Remove "bogus" before responding. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Roadmap for perl upgrades to STABLE?
On Tue, 26 Dec 2000, Bill Fumerola wrote: On Wed, Dec 27, 2000 at 12:08:53AM -0500, Chris BeHanna wrote: Not that I'm a fan of the GPL, but wouldn't importation of gmake into the toolchain that gets installed by default help this problem along enormously? What can it do that bmake can't? Build stuff that makes intimate use of gmake features (e.g., Perl), without forcing someone to convert that package to make bmake or the standard make happy. "which bmake" comes up empty on my box, and there's no such animal in /usr/ports/devel, either. Are you referring to Adam de Boor's Berkeley make code as "bmake"? -- Chris BeHanna Software Engineer [EMAIL PROTECTED] Remove "bogus" before responding. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Profiled Libs
On Sun, 24 Dec 2000, Kal Torak wrote: Hiyas, I am wondering if its still necessary to specify the -DNOPROFILE=true flag when building and installing a new world in 4.2 stable? In my experience, yes it is. I read somewhere that was default or something now... But I cant remember where and it doesn't seem right to me? And where dose the extra space get taken up when you do compile with profiled libs? Just in /usr/obj? If I upgraded before using profiled libs would making world again without profiles free up the space? The space is also taken up in /usr/lib, where the profiled libs get installed. Also on a side note, when upgrading with mergemaster what flags should be used with it? mergemaster -cv ? I omit the flags and just look at the diffs, as the author intended. -- Chris BeHanna Software Engineer [EMAIL PROTECTED] Remove "bogus" before responding. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Stability
On Sat, 4 Nov 2000, Marko Cuk wrote: Hello !! Can anyone explain me, why is FreeBSD known as powerful sistem with industrial strenghth and rock stability, but I manage to crash it several times. The bridge code in 4.1x is unstable in conjuction with ipfw, I had several problems with Vinum and Raid5 and maschine crashed every day if I used something od previously mentioned things. Perfectly valid question. My own datapoint is that I'm running bridging code and ipfw, but not vinum, and my machine stays up, modulo an mbuf leakage problem. (Note: I'm going to have a couple of weeks off from work for medical leave, but I just finished the 100Mbps backbone in my house, so maybe I can help track down the mbuf problem--and my lingering SB16 no sound problem.) -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: gnome 1.2 install
On Thu, 19 Oct 2000, Kirill Ponomarew wrote: Hi Ade, Chris BeHanna has advised me to add "#include stdio.h" before "#include malloc.h" and it did work. Deleting the libmalloc package is probably the better option. I had long since forgotten that package was installed on my system. I thought it was required for some special (different) version of malloc for some packages. I wish I'd known about this earlier--quite a few of my package builds may have been corrupted by this. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: procfs: out of memory!
On Sun, 15 Oct 2000, Wyness Casama wrote: I'm having a little trouble with my procfs... actually, it seems it's a little too small (4k) for what I'm doing. Is it possible to resize the procfs to say: 1mb+? procfs isn't an ordinary file system; it's a projection of system memory into the file system hierarchy. You never actually put files in it. Thanks for the info. :) I was thinking about the size of procfs (4k) I'm trying to increase that memory space cause the procfs is always full... I'm not too sure why, but it's preventimg me from even running 'top' or anything. the symptoms just seem to have started as soon as I installed a 3com 3905B 10/100 NIC. I also have a 3Com 3905B-TX, and I also have a "full" procfs (and a "full" linprocfs). AFAIK, they've always been full. I can run "top" just fine. I submit that your kernel and your userland may be out of synch. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Minor problem with new ports setup
On Fri, 13 Oct 2000, Andrew Tulloch wrote: I noticed a while ago that only the ports that were installed at originall install time actually have a README.html and news ones that appear during cvsup don't. This seems to inidcate that the .html files are not part of the cvs ports tree. Anyone else noticed this or know why? The ports tree has changed significantly. Go to /usr/ports and type "make readmes" and they'll all be generated (it will take awhile). -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: mbuf leakage on 4.1.1-STABLE
On Thu, 12 Oct 2000, Matt Heckaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I thought I would through this into the mix: Server, NOT in production yet: 4.1.1-RELEASE: matt[beta]:~ uptime;netstat -m 10:40AM up 16 days, 1:42, 2 users, load averages: 0.00, 0.00, 0.00 132/352/131072 mbufs in use (current/peak/max): 130 mbufs allocated to data 2 mbufs allocated to packet headers 128/316/32768 mbuf clusters in use (current/peak/max) 720 Kbytes allocated to network (40% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Heavy Use Workstation, 4.1.1-RELEASE: 10:42AM up 16 days, 49 mins, 9 users, load averages: 0.28, 0.20, 0.17 693/1712/131072 mbufs in use (current/peak/max): 132 mbufs allocated to data 561 mbufs allocated to packet headers 131/1410/32768 mbuf clusters in use (current/peak/max) 3248 Kbytes allocated to network (13% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines So what you're showing below looks pretty normal. Note: I KNOW that I have a small leak on epsilon. It's from wmbiff, which holds up descriptors like you would believe. Gotta shut it down every couple of weeks to clear it out, it's quite funny. Just to give a roug idea: root[epsilon]:~# lsof -p 98037 | wc -l 3225 behanna@topperwein netstat -m 211/272/8192 mbufs in use (current/peak/max): 181 mbufs allocated to data 30 mbufs allocated to packet headers 175/182/2048 mbuf clusters in use (current/peak/max) 432 Kbytes allocated to network (93% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines behanna@topperwein uptime 11:11AM up 4:42, 6 users, load averages: 0.06, 0.02, 0.00 This is a box sitting on the end of a cable modem in my basement office. it doesn't see a large network load, although I'm blocking about 900 spam attempts per day (the same two bozos with forged addresses keep retrying every five minutes, and I keep 550-ing them. Now, it could be that my ISP is retrying to send these messages, which wouldn't surprise me :-( ). By tonight, I expect to see around 500 mbuf clusters in use, and a comparable number of mbufs in use. By late tomorrow, it will be time to reboot. :-( -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: make world
On Wed, 11 Oct 2000 [EMAIL PROTECTED] wrote: "Nader Turki" [EMAIL PROTECTED] wrote: Sorry I didn't explain the problem. I'm doing make world remotely using telnet. I got disconnected from the Network, had to wait for a while till my cable modem work and i telnet again to my server and did make world again 'cause it was stoped. Is that going to be a problem? I mean should I do somethin' else them make world? 'cause the first time it was done almost half way. IIRC, "make world" first cleans /usr/obj unless -DNOCLEAN is set, right? In that case, you should be alright. Not forget to capture and examine the output from make. e.g. make buildworld world.out For sh, bash, and ksh users: nohup make buildworld buildworld.out 21 -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Machine Wedges
topperwein last message repeated 12 times Oct 6 09:07:41 topperwein dhclient: send_packet: No buffer space available Oct 6 09:07:41 topperwein /kernel: xl0: no memory for rx list -- packet dropped! Oct 6 09:08:12 topperwein last message repeated 66 times Oct 6 09:10:13 topperwein last message repeated 224 times Oct 6 09:12:49 topperwein last message repeated 270 times Oct 6 09:12:49 topperwein dhclient: send_packet: No buffer space available Oct 6 09:12:50 topperwein /kernel: xl0: no memory for rx list -- packet dropped! (and on and on ad nauseam) Does anyone have any ideas? If you need more information, let me know. Thanks, -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Machine Wedges
On Fri, 6 Oct 2000, Sean O'Connell wrote: Chris BeHanna stated: : Ever since upgrading to 4.1.1-STABLE, I've been having problems in : which the machine wedges every 2 or 3 days. It looks like something : in the xl driver code, from what I saw in /var/log/messages (I've : included a portion of this file below). As the system begins to slow : down, netstat -gin starts showing me Ierr errors on xl0 and lo0. : : [...snip...] : : Oct 6 09:07:41 topperwein /kernel: xl0: no memory for rx list -- packet dropped! : Oct 6 09:08:12 topperwein last message repeated 66 times : Oct 6 09:10:13 topperwein last message repeated 224 times : Oct 6 09:12:49 topperwein last message repeated 270 times : Oct 6 09:12:49 topperwein dhclient: send_packet: No buffer space available : Oct 6 09:12:50 topperwein /kernel: xl0: no memory for rx list -- packet dropped! : : (and on and on ad nauseam) : : Does anyone have any ideas? If you need more information, let me : know. Chris- This looks like an mbuf starvation issue. 'netstat -m' ought to let you know if you are running into problems. This is tied to NMBCLUSTERS value and to a lesser extent maxusers. From LINT: options NMBCLUSTERS=1024 OK, but why would this have become a problem in 4.1.1, when it worked fine in 4.1? -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: pcm driver
On Mon, 25 Sep 2000, Gary Kline wrote: On Tue, Sep 26, 2000 at 08:23:04AM +1000, Phil Homewood wrote: Dave Edmondson wrote: I finally got a Sound Blaster 16 non-PnP model working. Both pcm and sbc had to be in the old ISA: pcm0 at isa? ... sbc0 at isa? ... ...format. After remaking sbc0, it seemed to work fine. Can the `at isa' lines be identical: device pcmat isa? port 0x220 irq 5 drq 1 flags 0x15 device sbc0at isa? port 0x220 irq 5 drq 1 flags 0x15 Like so? I don't have a Vibra 16 (I do have an ISA AWE64, however), but, FWIW, I have the following in my config file: device pcm device sbc0at isa? port 0x220 irq 5 drq 1 flags 0x15 and it works great, except in vmware. In vmware, I get crackling, crappy sound *except* when playing CDs; however, vmware does not make use of my subwoofer. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: set -A Bourne script - a nogo on FreeBSD
On Thu, 14 Sep 2000, Randall Hopper wrote: I pulled this off "ASCII chart" script off UNIX Tip of the Day. It worked fine at work on IRIX, but no such luck here on FreeBSD at home. Seems FreeBSD's Bourne shell's "set" command doesn't support -A. You need to install ksh to use set -A. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] #! /bin/sh # Shell script to generate all characters from # \ to \0377 (octal format) # Created by [EMAIL PROTECTED] loop1='0 1 2 3' loop2='0 1 2 3 4 5 6 7' set -A array 0 1 2 3 4 5 6 7 echo " ${array[0]} ${array[1]} ${array[2]} ${array[3]} \ ${array[4]} ${array[5]} ${array[6]} ${array[7]} " echo for i in $loop1; do for j in $loop2; do echo "$i$j \0$i$j${array[0]} \0$i$j${array[1]} \ \0$i$j${array[2]} \0$i$j${array[3]} \0$i$j${array[4]} \ \0$i$j${array[5]} \0$i$j${array[6]} \0$i$j${array[7]}" done done echo echo " ${array[0]} ${array[1]} ${array[2]} ${array[3]} \ ${array[4]} ${array[5]} ${array[6]} ${array[7]} " echo
Re: making a RELEASE
On Wed, 2 Aug 2000, Dominic Mitchell wrote: On Wed, Aug 02, 2000 at 01:34:00PM +0100, [EMAIL PROTECTED] wrote: Hi, I cvsup-ed all src collections, including ports and doc (i.e. src-all, doc-all and ports-all). I went to /usr/src/release and tried to "make release". It asked me to provide CVSROOT variable. And oops.. I am confused ... :-) Wich path should I give to CVSROOT dir ? You need to download the the cvs collections, not the "checked-out" collections for make release to work. Any documentation regarding "make release" procedure ? % less /usr/src/release/Makefile SLOW DOWN! "make release" will make the iso images (right?) What he wants, I suspect, is to cd to /usr/src and follow the instructions in /usr/src/UPDATING. Regards, Chris BeHanna [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: General update methodology question
Gregory Bond wrote: 4) As time progresses, cvs up from my local mirror, build and install. BUT, prior to doing that, tag my local copy (e.g., "WORKS_7-26-2000"). The idea here is that if someone does a hasty commit, and I suffer for it, I can easily get back to where I was. Except that (IIUC) next time you cvsup-d the repository, your local tag would be deleted. I suppose I could tag -b "WORKS" the first time, cvs update -r "WORKS" to switch to my new branch, then tag the branch and merge out from my local repository's "mainline" whenever I resync it. Chris BeHanna [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: PPPoE
Ted Sikora wrote: Recently my cable service reduced the bandwidth. Now upstreams average 16k and downstream 400k. There has to be something better. Several users on my node (all BSD/Linux users) have been enjoying our own little private network with speeds up to 900k both ways.(600k average) Now it's terrible. They now limited the internal network to 33k between users. Compared to before it's like putting us on dialups. When you signed on, didn't you agree to pay per month for a given service level? If I understand you correctly, @home has now changed the terms of the agreement. We need competition for cable service in a big, big way. :-( I don't have the option for DSL where I live (yet), and my cable "ISP" (I have to put that in quotes, because they couldn't find their bungholes with both hands and a roadmap) guarantees 1500K down and 500K up for what I'm paying, BUT they block all the ports below 1024. :-( I can hack around that, given a friendly site outside their firewall who's willing to divert packets for me, but it's still a PITA. Regards, Chris BeHanna [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: make world fails
Doug Barton wrote: Signals 10 and 11 are almost always hardware. Not in my experience. Signal 11 is usually the result of attempting to dereference a NULL pointer. Signal 10 is usually the result of attempting to dereference a pointer that contains a garbage address. At least, that's been my experience. YMMV. Regards, Chris BeHanna [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: disk partition limits
"Sergey A. Ivanov" wrote: Hello Gregory, Tuesday, August 01, 2000, 11:25:28 AM, you wrote: Are there any limits for size/quantity of partitions at freebsd slice? GB 4 slices per disk, 8 partitions per slice (by convention, partition "c" covers GB the whole disk so usually only 7 usable partitions). GB AFAIK FreeBSD cannot use the so-called "extended partitions" (i.e. GB slices-within-slices). As I wrote to Gregory, the "AFAIK" part isn't true. You *can* create and use partitions in the "extended partition". I have two of them mounted right now. :-) I'm tried create new partition on slice with 5Gb free space and failed. Partition with 4096Mb was created successfully. Now i have 5 partitions on this slice and can't create new for rest 1+ Gb :( Slice (as i can remember) is more than 8Gb, HDD is IBM SCSI 18Gb. I don't know why this didn't work for you. Right now, My /usr is 17.7GB, and /export is 16.7GB. There are 5GB free on the disk in an unused FAT partition, just in case I need to install "another" OS. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
General update methodology question
I was out for a walk, and I thought that the following might be a good idea: 1) locally mirror the FreeBSD CVSROOT (how would I do this?), re-syncing as I felt like it. 2) Pull a working tree out from either a branch (e.g., RELENG_4) or a fixed tag (e.g., RELENG_4_1_0_RELEASE). 3) Build and install. 4) As time progresses, cvs up from my local mirror, build and install. BUT, prior to doing that, tag my local copy (e.g., "WORKS_7-26-2000"). The idea here is that if someone does a hasty commit, and I suffer for it, I can easily get back to where I was. Inter alia, this would allow me to set up my own CVSROOT and keep other stuff in there besides FreeBSD, and not have to worry about how my CVSROOT environment variable is set. I am not currently a FreeBSD developer. Were I to become one, would my local tagging cause a problem? If so, I could always separate out stable and current in my local CVSROOT, and be sure to only tag stuff in stable. -- Chris BeHanna Software Engineer (at yourfit.com) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message