problem with dual disk/ dual boot installation
hi, below is my original question and the response I received (I'm not yet subscribed to the list, so I found this only in the archive. sorry for breaking the thread. If you care to respond, please CC me directly). ===CUT dear list, today I've tried a very first installation of 6.2 on the second disk of an i86 machine which runs windows xp professional 2002 service pack 2 on disk one. initially, I erroneously did _not_ select installation of the boot manager on the first disk (were windows resides), but only on the second (the BSD one). after the intallation was completed without any apparent problems I noted my mistake (well, the machine was booting windows ...) That setup sounds OK if you set the bios to boot the second drive, instead of the first. The FreeBSD boot-manager is very basic, it can only boot a local partition or chainload another drive, which is why you often need a copy on each disk. In your case Windows will chainload directly, since you have a standard MBR on the first drive. Your problem is that the bios is not booting into the drive with manager on it. ===CUT meanwhile I used the `freesbie' liveCD and booted the machine into FreeBSD this way. I then wrote the MBR with fdisk -B -b /boot/boot0 ad0 fdisk -B -b /boot/boot0 ad1 to both disks. as far as I understand the handbook this seems the only thing necessary to allow correct operation of the boot manager. on reboot (now, of course, without the liveCD...) I now see the boot manager (which previously did'nt show up at all), but the only available option is F1 DOS i.e. the bootmanager seems not to recognize the FreeBSD installed on the second disk. I tried the same (writing boot0 to the MBR) with `boot0cfg' but to no avail. I can mount both disks from within the `freesbie' booted FreeBSD. especially, the second disk (ad1) seems to contain the FreeBSD installation as it should: the whole file tree is there and 4 partitions (ad1s1a, ad1s1d, ad1s1e, ad1s1f) are recognized/mounted. what am I doing wrong? how can I get the bootmanager to recognize the second disk as FreeBSD-bootable? if I can't get the boot manager to allow selection of dos _and_ freebsd, is their a way to enforce exclusive boot from the second disk (not that this would be an ideal solution:-))? thanks in advance joerg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with dual disk/ dual boot installation
dear list, today I've tried a very first installation of 6.2 on the second disk of an i86 machine which runs windows xp professional 2002 service pack 2 on disk one. initially, I erroneously did _not_ select installation of the boot manager on the first disk (were windows resides), but only on the second (the BSD one). after the intallation was completed without any apparent problems I noted my mistake (well, the machine was booting windows ...) and tried to correct it first with sysinstall doing excactly how the manual said (select first disk, leave immediately with Q and procede etc.). this had no effect (windows booting without any boot manager appearing). second I tried to use bootinstall.exe boot.bin from disk 1. this led first to a message from windows (in german). approx. translation: application tries to access the disk directly. this is not supported. this can result in incorrect operation of the application. after 'ignore'ing this message I got Error 128 reading boot record from disk 0. in the dos shell. I've never used windows at all (rather MacOS X) up to now (but want to keep windows functional on the machine). so I don't know if I encounter a trivial windows permission problem here or what else. I tried to find the answer in the docs/faqs but to no avail. therefore, any help would be greatly appreciated. since I'm not (yet) supscribed to the list, mail/cc me directly, please. thanks in advance, joerg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Quoting Olaf Greve who wrote on Fri 2007-05-04 at 00:15: 2-How can I inspect exactly what each httpd instance is doing (i.e. which request it is serving)? Enable mod_status or compile it in and enable server-status in the config (usually commented-out in the httpd.conf file) and view the resulting status url. It will show you something quite like: Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request 0-17 18003 0/542/16066 _ 18.38 5 0 0.0 5.44 174.47 87.249.97.178 idefix.net GET /server-status HTTP/1.0 1-17 19911 0/492/16087 _ 18.95 193 0 0.0 4.38 182.34 137.242.1.50 www.camp-wireless.org GET /images/tile.jpg HTTP/1.1 which will help you correlate PID with vhost and url being visited. Koos -- Koos van den Hout Homepage: http://idefix.net/~koos/ Fax: +31-30-2817051 PGP keyid DSS/1024 0xF0D7C263 or RSA/1024 0xCA845CB5 Webprojects: Camp Wirelesshttp://www.camp-wireless.org/ The Virtual Bookcase http://www.virtualbookcase.com/ signature.asc Description: Digital signature
FreeBSD 6.2 + Subversion - cannot connect...
Hi All, I'm trying to set up a subversion server on a miniITX box running a freebsd server (no X) and vanilla subversion - no appache, either straight svn or svn+ssh. followed the basics from 2 howtos on the net - OnLamp and another (I can't recall off the top of my head) I can svn import, svn commit and svn checkout using the file method from either the svn user or other users using the file:/// method. I cannot svn to the repository using tortoise SVN from the windows XP box on the same network. any suggestions welcome for where to start looking - I'm all out. -- Dr Paul van den Bergen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)
2005/11/12, Miles Keaton [EMAIL PROTECTED]: Miles Keaton wrote: I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if anyone can explain (for dummies) how to use the new cpufreq + SpeedStep to throttle-down my CPU usage and extend battery life - the way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5? On 11/12/05, J. Martin Petersen [EMAIL PROTECTED] wrote: I'm using powerd, it's working great. Any advice on usage? I tried it and got this error: # powerd -a minimum powerd: lookup freq: No such file or directory You should load cpufreq in your loader.conf. I believe cpufreq is the backend that FreeBSD uses for (dynamic) CPU scaling. cpufreq_load=YES rc.conf: powerd_enable=YES powerd_flags=-a adaptive -b adaptive -n adaptive ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipw and 6.0-RELEASE
You should delete /var/db/ports/ipw-firmware/options and run make install clean again. This time, do not select the build with kernel modules option. (Or just set it to false in the options file and recompile). 2005/11/13, Omer Faruk Sen [EMAIL PROTECTED]: Hi, As stated I am trying to install ipw-firmware port on 6.0-RELEASE but port states that I ipw support is already included in source tree. But when I try to activate this interface (ipw0) I get ipw0: Pleas load firmware. and thus I can't associate againsy my AP. Which one is right? I am a bit confused here.. --- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc *** AcikAcademy published a Turkish TCP/IP Book Acik Akademi'nin yeni kitabini duydunuz mu? http://www.acikakademi.com/catalog/tcpip/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GTK interfaces in KDE
2005/11/13, Michał Masłowski [EMAIL PROTECTED]: Hi, I run 5.4 stable with xorg 6.8.2 and kde 3.4.0. I also use quite a few apps with a rather dull looking GTK interface. I know that GTK interfaces pick up the desktop themes under Gnome. Is there any way of applying a theme to GTK interfaces under kde, either the kde theme itself or a Gnome theme in any way ? Thanks, Edward Use x11-themes/gtk-qt-engine to use KDE theme with GTK. Yep, with gtk-qt engine you can select your current QT theme. With gtk2-theme-switch you can select a GTK2 theme that you want to apply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xfce4-desktop
That's not something specific to this port. It happened to me before. A quickfix is to hit alt+F2 and run xfdesktop. Remember to save the session when you logout. 2005/11/9, Blake Darche [EMAIL PROTECTED]: I think xfce4-desktop port is broken. I updated my ports tree earlier tonight and did a portupgrade tonight and it broke. It worked earlier today... It appears some xfce4 ports have gone to 4.3.2.1 and some have not: [EMAIL PROTECTED] pkg_info | grep xfce gtk-xfce-engine-2.2.8 An XFCE engine for GTK 2.0 libxfce4gui-4.2.3 XFce 4 widget library required by xfce4 and xfwm4 libxfce4mcs-4.2.3 XFce 4 settings management library used by most XFce 4 modu libxfce4util-4.2.3.1 XFce 4 library with non-graphical helper functions xfce-4.2.3.1The meta-port for the XFce 4 desktop environment xfce4-appfinder-4.2.3 Find application in the system supporting Desktop entry for xfce4-desktop-4.2.3 XFce 4 desktop background manager and root menu xfce4-fm-4.2.3 XFce 4 file manager xfce4-icon-theme-4.2.3 Icon themes for XFce 4 xfce4-iconbox-4.2.3 XFce 4 icon box, an alternative taskbar xfce4-mcs-manager-4.2.3 XFce 4 settings manager xfce4-mcs-plugins-4.2.3 XFce 4 settings manager plugins xfce4-mixer-4.2.3 XFce 4 volume mixer module for xfce4-panel xfce4-panel-4.2.3 XFce 4 panel module xfce4-print-4.2.3 XFce 4 graphical frontend for printing xfce4-session-4.2.3 Session manager for the Xfce 4 desktop environment xfce4-systray-4.2.3 XFce 4 system tray module for xfce4-panel xfce4-toys-4.2.3Toys for the XFce 4 panel xfce4-trigger-launcher-4.2.3 A command trigger plugin for xfce4-panel xfce4-utils-4.2.3 XFce 4 essential utilities and scripts xfce4-wm-4.2.3.1XFce 4 window manager Anyone got any ideas? xfce still works, just no desktop background, and no right clicking on the desktop. And of course the X11 standard screen of grey squares where the desktop picture used to be. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gtk2 themes in xfce4
Hello, Just a quick question: I've recently installed gtk2-switch-theme, in order to set a theme for firefox while working in e17. But when I got back to xfce4, I am unable to change the theme in the xfce4 control center. Only the colors change accordingly, but the widgets remain from the theme that I set in gtk2-theme-switch. Does anyone know how to give control back to xfce4? Btw if this is not the right list, please tell me. Luk van den Borne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS service with a SQL backend
Quoting Bruno Gallant who wrote on Wed, Jul 20, 2005 at 03:02:55PM -0400: We are redesigning our DNS infrastructure, which has been running on BIND with the regular flat files for years, and there would be a need for the data to be in a database. (postgresql or mysql, of course) I looked around the ports to find powerdns, but I don't know if it's good or not. It's different from bind (this can be good or bad depending on your perspective). It has a good track record in performance, especially for large setups where database use would make for easier administration. I know there are a lot of happy powerdns users and an active developer community. On a similar thread, does anyone know of any dns server software that would serve different IPs depending on where the query/request comes from? i.e., - resolve www.mydomain.com to the IP of my server in AU for all clients querying from AU,JP and HK. Everyone else should get the IP for my server in US. Powerdns can do that using the geo backend. Wikipedia uses powerdns with geo backend. Koos -- Koos van den Hout, PGP keyid DSS/1024 0xF0D7C263 via keyservers [EMAIL PROTECTED]or RSA/1024 0xCA845CB5-?) Fax +31-30-2817051 Visit the site about books with reviews/\\ http://idefix.net/~koos/http://www.virtualbookcase.com/ _\_V pgp8oHTX7xkEO.pgp Description: PGP signature
Re: difficulty installing 5.3-R i386 - how to check RAM
On Fri, 08 Apr 2005 21:02:27 -0500, Kevin Kinsey [EMAIL PROTECTED] wrote: Gabrielle Harrison Paul van den Bergen wrote: OK, thanks for the info... now for the solution... I have more than 16 MB of ram available but it does nto seem to play well together or there is a problem with some of the chips. How do I trouble shoot my RAM chips? for instance, if I swap the 2 SIMMs I have in there atm it does not want to do the POST. is POST success sufficient to conclude that the chips are OK? is there a BSD utility to check or diagnose RAM condition or errors? (ahhh the joys of old hardware...) *g*, Yeah. I've got piles of it. Some of them are my primary DNS/web machines, :-p As to the question -- Hmm, what should I say? yeah... which turned out to be my saviour... I dug out an old pile of MBs... which still had there mem chips intact, now have 98 MB in the machine, loading happily as I typo... (1st, a parenthetical observation --- the FBSD list doesn't like top posting much, and you forgot to cc: the list: many people request that you keep all this discussion _on_ the list for a couple of reasons. However, you're probably new to all this; consider forgiveness extended, but try to play nicer next time? Nothing personal, you understand ... just a heads up for the future) No problems, thanks for the headsup... Not intentional, just used to lists that do auto-reply-to as default... :-) but I guess this is flame war material here... personally I have found top posting more useable as I tend to scan the email top first to see if I want to read... I can see the point though, in-line or bottom post presumably being prefered for some reason ;-) guess it's a style thing, one that I'm not fussed by, so I'll tow the line... The standard answer for RAM issues is to download the program memtest86, which is available for most any computing platform. (e.g., it's OS independent once you create the floppy disk). Running this program will create a bootable floppy disk that you stick in the box, boot into, and it runs tests all day long until you shut it down. I believe you want http://www.memtest.org IIRC, you may be able to get a log/report from it, so you don't have to sit there through $n iterations of the test and watch the screen for errors, but YMMV. As for mixing chips, it's been a long, long time, and I was more like a hobbyist then (maybe still am), but I do seem to remember it was a no no to mix EDO and FP chips, or some such, blah blah HTH, Kevin Kinsey ta! that looks just what I want... Knowing the hardware is fine goes a long way to solving bugs ;-) -- ## Paul van den Bergen, # Gabrielle Harrison # # # Anja van den Bergen # # 848 High Street Rd ## Glen Waverley VIC 3150 Australia # ## [EMAIL PROTECTED] # # ph: +613 9886 3160 # mob: 042 886 3160 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
difficulty installing 5.3-R i386
Hi all, I have an old old pentium, scsi HDD + floppy + CDROM, 16 MB of somewhat dubious ram... I have 5.3R CDs 1 and 2 I have 3 seemingly working floppies (after writing to 6 disks... ofcourse!) boot goes like this... boot disk. kern1 kern2 boot boot screen with about 8 options, none of which seem to be the installation option... then reboots back to floppy... I do not seem to have a way of getting to sysinstall!!! -- ## Paul van den Bergen, # Gabrielle Harrison # # # Anja van den Bergen # # 848 High Street Rd ## Glen Waverley VIC 3150 Australia # ## [EMAIL PROTECTED] # # ph: +613 9886 3160 # mob: 042 886 3160 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3 buildworld fails
I guess I managed to get into a circular dependency problem ;) I have a machine, running at the moment FreeBSD master.idefix.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 9 22:49:23 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IDEFIX i386 I cvsupped the source to RELENG_5_3, and am trying to do a buildworld (after a buildkernel). But, it fails at a known place: cc -O -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=\5200408120\ -D__FBSDID=__RCSID -DDEFSHELL=1 -static -o make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o util.o var.o var_modify.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x64): undefined reference to `_init_tls' *** Error code 1 Searching for solutions using google, I found 'rebuild your libc using cd /usr/src/lib/libc make obj make depend make all make install' which gives the error: -O -pipe -mcpu=pentiumpro -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c nslexer.c /dev/stdout: In function `_nsyylex': /dev/stdout:711: warning: label `find_rule' defined but not used /usr/src/lib/libc/net/nslexer.l: At top level: /dev/stdout:1678: warning: `yy_flex_realloc' defined but not used *** Error code 1 Stop in /usr/src/lib/libc. The next suggestion I find is 'rebuild yacc' .. which fails with _init_tls or 'rebuild lex' which points back at '_init_tls'. A nice circulair dependency. Any way to get out of this? I already re-cvsupped from a clear /usr/src. Koos -- Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers [EMAIL PROTECTED]or DSS/1024 0xF0D7C263-?) Fax +31-30-2817051 Camp Wireless, wireless Internet access /\\ http://idefix.net/~koos/ at campsites http://www.camp-wireless.org/ _\_V pgprepQ38zalo.pgp Description: PGP signature
pginfo problem
In ifree there is index = ptr2index(ptr); //the index in the page_dir is calculated info = page_dir[index]; //the FIRST pginfo structure in the list for that specific chunksize free_bytes(ptr, index, info); in free_bytes there is /* Find the chunk number on the page */ i = ((u_long)ptr malloc_pagemask) info-shift; info-bits[i/MALLOC_BITS] |= 1(i%MALLOC_BITS);//ALWAYS the FIRST pginfo structure is updated info-free++; //ALWAYS the FIRST pginfo structure is updated I thought that page_dir was something like this: page_dir-- first 4 not used -- first pg_info for size 1 -- first pg_info for size 2 -- first pg_info for size 3 -- second pg_info for size 1 -- third pg_info for size -- first pg_info for size 4 -- first pg_info for size 5 -- first pg_info for size 6 -- second pg_info for size 6 -- ... --MALLOC_FIRST --MALLOC_FREE --... But in the algorithm always the first pginfo structure is chosen?? What is wrong with in thinking?? thx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Release
http://www.freebsd.org/releng/index.html Pavel A. Korshunov wrote: . , FreeBSD ? . Hello. Prompt please where it is possible to find the information about preparing to release of releases FreeBSD? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Symlinks chroot - Is it Possible?
I use mount_null and have no problem with it. You need create dir in each user home and use mount_null for mount your chrooted dir with created directories as mount points . So you need add many lines in your /etc/fstab file . I think that words in manual about beta concern writing in directory that uses mount_null. I don't use write and it seems that you don't need write too. So use this fs type ( set in fstab ro option for this mount point). And read man for mount_null. Drew Tomlinson wrote: I have a few users that I wish to allow FTP access on my 4.9-RELEASE-p4 system. I've setup their accounts and added them to /etc/ftpchroot to lock them into their login directories. They are in the standard /home/user dirs. However, I want all of them to have access to another directory (/ftp/share) that is setup read-only. I tried adding a symlink to /ftp/share but I've found this doesn't work when the user is chrooted. I've Googled on this issue. A FAQ for PureFTPd confirms this and suggests mount_null. But the man page for mount_null says that the code is beta and may wipe out a file system. What is the best way to achieve my objective? If mount_null is it, how do I use it? Do I include it in some sort of login script? I've set these users shells to nologin. How would that work? Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Keyboard enabling in 5.X
Hi, I have a question about keyboard driver in FreeBSD 5.X. I want to have a possibility to boot my box without keyboard and attach keyboard after system already started. In FreeBSD 4.X we may remove flags with values from kernel config line : device atkbd0 at atkbdc? irq 1 flags 0x1 and after recompiling keyboard driver is always load when system started. So there was possibility to attach keyboard to already loaded system. In FreeBSD 5.X we have device.hints with hint.atkbd.0.flags=0x1 but removing this hint or setting it to hint.atkbd.0.flags=0x0 has no affect for loading keyboard driver on startup. So after attach keyboard to box it is not work. How can I enable such possibility in 5.X ? I think that heart of the problem is devfs. Devfs is not recognize keyboard at startup and so it don't create device in /dev. And devfs is not recognize attached keyboard on already loaded system. If so - may somebody tell me how can I use devfs to enable keyboard driver ? Thanks, Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/src/sys/dev/aic7xxx errors when compiling
You are right - only COPTFLAGS used when you compiling the kernel. BUT YOU should note that when you compile the kernel you don't compile only it ! You also compile many modules . You have problem namely with module. So COPTFLAGS= -O2 -pipe -funroll-loops has affect only on kernel. But CFLAGS= -O3 -pipe -funroll-loops will be used for compiling your modules. In other words kernel will be optimized with -O2 , but modules will be optimized with -O3. Actually you don't have problem with compiling your KERNEL. You have problem with compiling some modules. My solution actually - compiling with option -O2 such modules that cannot be compiled with -O3 . All other modules I has compiled with -O3. Didier WIROTH wrote: Hi, thanks for answering I'm using this in make.conf COPTFLAGS= -O2 -pipe -funroll-loops CFLAGS= -O3 -pipe -funroll-loops Thx for answering. But... hmm..., I'm not using -O3 for the kernel, or at least I thought I wasn't!? When using COPTFLAGS in make.conf, isn't CFLAGS ignored when building the kernel? I build the kernel with: make -j2 buildkernel KERNCONF=MYKERNEL Does it mean that COPTFLAGS CFLAGS are actually merged?! This: COPTFLAGS= -O2 -pipe -funroll-loops CFLAGS= -O3 -pipe -funroll-loops Results in this: gcc -O2 -O3 -pipe -funroll-loops thx This is because using -O3 adds the option -finline-functions. You should only use -O when compiling the kernel and that's all that is actually supported. --roop ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/src/sys/dev/aic7xxx errors when compiling
This is your mistake :) I have had the same problem when I compile my kernel with such options. It is undesirable to use strong optimization in compiling kernel, although usually it does not lead to problem. But this is the case when problem is appeared. Optimization with CFLAGS = -O3 cause this warnings and compiler enter in infinit loop. My decision of this problem was : # make 1out 21 # tail -f out when you will see that compiler enter in loop - break off compiling. Open in editor file out and find string when compiler start compiling usr/src/sys/dev/aic7xxx. Cut all warnings to the end of file and stay only this line. change option in compiler from -O3 to -O2 Go to directory pointed in compiling string and place your file there. # chmod 0777 out #./out This will compile needed module with option -O2. Then come back into your kernel compile directory and type # make this will proceed compilation of your kernel. Actually it is will not be a single case when compiler enter to infinit loop. Such cases will be around of four. In each case you should repeat this steps with problem module. Another and simple sloution : change CFLAGS= -O3 -pipe to CFLAGS= -O2 -pipe Didier Wiroth wrote: Hi, thanks for answering I'm using this in make.conf COPTFLAGS= -O2 -pipe -funroll-loops CFLAGS= -O3 -pipe -funroll-loops Messages d´origine De: den [EMAIL PROTECTED] Date: mercredi, février 11, 2004 6:56 pm Objet: Re: /usr/src/sys/dev/aic7xxx errors when compiling What options you use for compiling your kernel ? In other words - post your /etc/make.conf Didier WIROTH wrote: Hi, (error on 5.2 and 5.2.1-rc) When compiling the kernel I get 100... of errors like this: /usr/src/sys/dev/aic7xxx/aic7xxx.c:147: warning: called from here @/dev/aic7xxx/aic7xxx_inline.h:141: warning: inlining failed in call to 'ahc_release_untagged_queues' /usr/src/sys/dev/aic7xxx/aic7xxx.c:5118: warning: called from here @/dev/aic7xxx/aic7xxx_inline.h:570: warning: inlining failed in call to 'ahc_release_untagged_queues'etc... I've removed every scsi device in my custom kernel file as I don't use scsi and usbmass devices. Are other users experiencing this problem? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware testing - e.g. memory - on old hardware
Like most geeks[1] I have a pile of roting hardware at home... Someone yesterday mentioned (vaguely) about utilities for testing hardware - especially RAM - but presumably this could be extended to other hardware - that would 1) tell you if it is OK. 2) isolate and by some mechanism make unusable sections of memory perminantly damaged. I figured this would be quite usefull for redundant hardware (where age and lack of replacement parts might tempt one to hold onto hardware as long as possible) anyone have any idea if there is such a beasty? [1] I have a theory about geeks there are geek-wannabes, geeks, ubergeeks and Gnurus... and the process is progressive and non-linear -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR
After all that angst, I couldn't get it to work anyway - on reboot the system reverted to a 4.8 kernel... Not sure why, but gave up at this point... On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote: On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote: Hi... snip... I stuffed up... # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp # mkdir /bootfloppy # mount_mfs /dev/vn1c /bootfloppy/ ^ does not work... try simply # mount /dev/vn1c /bootfloppy/ -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR
Yes, I am familiar with that upgrade path... Part of my motivation was ... well, lazyness :-) using someone elses worked out example, part a desire to blow away a rather mixed and heavily tweeked system (read I've been experimenting on it for so long I'm not sure what I've done anymore)... and a small part the thrill of tackling an interesting problem... (mode = evil willow Bored Now! /mode) In particular I wanted to completely remove a whole bunch of pkg_adds I'd done manually without doing pkg_delete or whatever... given there was nothing I needed to keep, I figured it was easier to reinstall from scratch (4.9-RELEASE), with or without cvsup'ing to 4.9 stable. On Tue, 16 Dec 2003 11:56 am, Minnesota Slinky wrote: There's actually a very simple process to use to upgrade, providing you have a broadband connection: 1) cvsup your sources to the newer sources. For more information read about cvsup or checkout the handbook! 2) once you have new sources, cd to /usr/src and type make world; this could take an hour or more 3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based processor systems) and type: # config GENERIC (or whatever your kernel config file is) 4) type: # cd ../../compile/GENERIC (or name of kernel config file) # make; make depend; make install 5) if this completes OK, type: # shutdown -r now 6) once rebooted, login, and check uname -a. You will see stats for a 4.9-x kernel! HTH Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of paul van den bergen Sent: Monday, December 15, 2003 6:42 PM To: FreeBSD-questions Cc: [EMAIL PROTECTED] Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR After all that angst, I couldn't get it to work anyway - on reboot the system reverted to a 4.8 kernel... Not sure why, but gave up at this point... On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote: On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote: Hi... snip... I stuffed up... # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp # mkdir /bootfloppy # mount_mfs /dev/vn1c /bootfloppy/ ^ does not work... try simply # mount /dev/vn1c /bootfloppy/ -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
howto upgrade 4.8 to 4.9 without cdrom or floppy?
Hi... on freebsd-hackers, Alfred Perlstein posted a method that allows boot-disk-less installation... but it requires mdconfig, a 5.1 utility... is there a method to do this under 4.8? it seems to me that the job performed by md0 could be done with vn0 e.g. do # ls /dev/vn* if empty do # cd /dev # ./MAKEDEV vn0 # ./MAKEDEV vn1 # vnconfig vn0 /path/to/freebsd/4.9.iso # mount_cd9660 /dev/vn0c /path/to/freebsd4.9 or however you access the freebsd install iso disk the point being to get access to the /floppies/boot.flp image on the cdrom # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp # mkdir /bootfloppy # mount_mfs /dev/vn1c /bootfloppy/ # cp /bootfloppy/kernel.gz /ikernel.gz # cp /bootfloppy/mfsroot.gz /mfsroot.gz then reboot as described... I am about to try this out... wish me luck! On Mon, 1 Dec 2003 07:18 pm, Alfred Perlstein wrote: I have a mini-HOWTO here that possibly be automated. Basically we're going to install FreeBSD over FreeBSD without a floppy, cdrom or pxe. This depends on a loader that's compatible with your kernel so if really weird lockups happen, you might not be compatible. Anyhow, here we go: Download the boot.flp from the release you want to install. Mount it like so: mdconfig -a -t vnode -f boot.flp # should output something like 'md0' mkdir -p /mnt mount /dev/md0 /mnt Copy the yummy bits from the install image to your root: cp /mnt/kernel.gz /ikernel.gz cp /mnt/mfsroot.gz /mfsroot.gz Now reboot and interrupt the loader when it counts down the boot. Then type these commands into the loader: unload kernel load /ikernel load -t mfs_root /mfsroot set vfs.root.mountfrom boot Now cross your fingers once you wipe the partitions out to reinstall... It would be cool if this could be automated[1], perhaps by setting the boot partition to the swap partition and setting it up temporarily as a ufs filesystem and then... oh... well... [1] http://www.jerkcity.com/jerkcity1426.html -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR
On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote: Hi... snip... I stuffed up... # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp # mkdir /bootfloppy # mount_mfs /dev/vn1c /bootfloppy/ ^ does not work... try simply # mount /dev/vn1c /bootfloppy/ -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek 8139 unstable?
horio shoichi wrote: On Fri, 05 Dec 2003 13:01:15 +0300 den [EMAIL PROTECTED] wrote: Greg 'groggy' Lehey wrote: On Friday, 5 December 2003 at 8:51:30 +0200, Chris Visser wrote: Hi, I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a Realtek 8139 network card. The Machine runs fine, most of the time, but every now and again my network card stops working for no reason. Rebooting the box fixes this for a while, but the it starts again. There have been reports of instabilities with the 8139. I don't know if it's really the hardware to blame or the driver, but the documentation for the hardware is apparently so terrible that it's difficult to say. I'm using an 8139 in a number of places, including (currently) my main server machine. The switch notes a large number of errors under load, and I'm thinking of changing to a different card the next time I have to reboot. Rather than reboot your machine, you'll probably find that the following sequence unwedges the card: ifconfig rl0 down ifconfig rl0 up I had this in a cron job at one point. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. I have had the problem with this card on FreeBSD 5.0. Problem was resolved by recompiling of kernel with new drivers from Realtec. It seems there is many modification of 8139 chipset that have a postfix ( D, C,...). When I choose driver that match my chipset all become ok. I don't know whether this driver was included in 5.1, so this is only assumption, and it doesn't help to you. -- Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I found ftp://152.104.125.40/cn/nic/rtl8139abcd8130810xseries/freebsd-8139(110).zip via www.realtek.com.tw, which is for FreeBSD. However, it is for 4.5. Could you give me (us) your reference to 5.0 (or 5.x) ? horio shoichi Unfortunately, I don't remember where I found the diver. Are you sure that dirver from link you pointed isn't serve for 5.0 ? I have had the problems with this card approximately in the same time as changing system from 4.x to 5.0 . Possibly , I fixed the problem in 4.x - not in 5.0 - I don't remeber precisely. But now I have this card working under 5.0 and there is no problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek 8139 unstable?
Greg 'groggy' Lehey wrote: On Friday, 5 December 2003 at 8:51:30 +0200, Chris Visser wrote: Hi, I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a Realtek 8139 network card. The Machine runs fine, most of the time, but every now and again my network card stops working for no reason. Rebooting the box fixes this for a while, but the it starts again. There have been reports of instabilities with the 8139. I don't know if it's really the hardware to blame or the driver, but the documentation for the hardware is apparently so terrible that it's difficult to say. I'm using an 8139 in a number of places, including (currently) my main server machine. The switch notes a large number of errors under load, and I'm thinking of changing to a different card the next time I have to reboot. Rather than reboot your machine, you'll probably find that the following sequence unwedges the card: ifconfig rl0 down ifconfig rl0 up I had this in a cron job at one point. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. I have had the problem with this card on FreeBSD 5.0. Problem was resolved by recompiling of kernel with new drivers from Realtec. It seems there is many modification of 8139 chipset that have a postfix ( D, C,...). When I choose driver that match my chipset all become ok. I don't know whether this driver was included in 5.1, so this is only assumption, and it doesn't help to you. -- Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SLIP connection to Cisco CONSOLE...
On Wed, 3 Dec 2003 11:33 pm, Olaf Hoyer wrote: Then use a standard terminal program like cu, tip, minicom or kermit to connect at 9600 8N1 to the cisco. we find we need to turn flow control to none also... *shrug* -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
general updating and staying current questions...
This is likely alredy answered elsewhere... but... what methods are there for keeping up to date with BSD-STABLE? OK, I get using cvsup for ports, how about for the source tree? same deal? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linksys WPC11 ver4 troubles
try changing the pccard memmory block. for more info see man pccardc e.g. pccardc pccardmem 0xd4000 default = 0xd choices are 0xd4000, 0xd8000, 0xdc000 don't ask me why... On Wed, 19 Nov 2003 11:07 am, Eric F Crist wrote: pccard: card inserted, slot 0 Nov 17 18:06:30 nomad pccardd[51]: No card in database for (null)((null)) Now, after reading the howto for this network card at http://lists.bawug.org/pipermail/wireless/2001-May/001083.html, I have to enter the (null)((null)) in the /etc/pccard.conf file with the appropriate settings. Tried this, it doesn't work. Someone please help me! Getting this to show up in my ifconfig would really make my day. Thanks, -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
while I have your attention... Names, copyright and IPv6
Hi all, given how clearly you-all answered my query about 'hostname' (thanks folks) I thought I'd chance my luck. so, let me get this straight... in the IPv4 world there is this thing called DNS and domain names... I can buy my self a name off a name vendor - eg. bergen.org... I then get to own that name... so, Question 1) where does the DNS record for that name reside? with my ISP? with the name vendor? lets say I have a network and wish to name the boxen depending on the OS running on them thus... microsoft.bergen.org SCO.bergen.org Sun.bergen.org Question 2) where do those DNSrecord reside? Question3) surely I'm breaking copyright or trademark laws here? whats to stop me being sued? for that matter, whats to stop vexatious litigation? and what about the name brokers? do they have legal responsibilities? and if I run DNS server on my network am I then a name provider for myself and have to worry about litigation? Question4) or to put it another way, what is the relationship between trademark control institutions and name brokers? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting windows FS questions
Hi all, I have a dual boot machine Win2k + BSD... obviously I can mount the windows partition under BSD. can I mount the BSD partition(s) under windows? I have been told that writing to the windows partition from BSD is kinda dubious. why is this? is it possible to work around this? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ooops - Re: while I have your attention... Names, copyright and IPv6
Ooops... I forgot the most important part of my question... IPv6 how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
as usual, there has been a bit of a misunderstanding... being a loosely typed language, Engliosh is difficult to communicate in :-0 Names, addresses and DNS are obviously different things. I understand where IPv6 addresses come from (sort of). I understand (sort of) how IPv6 works for DNS records relating names to IPv6 addresses what I was really asking is: in the IPv4 world, name brokers sell names that are then related to IPv4 addresses. Legality of the name choice etc. is generally owner onus... Is there a similar sort of (or coincident) naming authority for IPv6 based names? example. if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an IPv4 address space and a second coincident network, boxen1.example6.org, boxen2.example6.org, etc., as an IPv6 based address space, where does the authority to allocate the IPv6-network based names reside? the technical side of it is clear... someone somewhere needs to keep a track of the names... anyway, this is straying somewhat from the core subject matter of this list... On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote: how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? I don't know for sure here, so please take this with a grain of salt: IPv6 addresses are represented by instead of A records in DNS nameservers. Right now, I think that you can only point .org (and other [cc]TLD) nameservers to nameservers residing on an IPv4 address [anyone correct me if I'm wrong here]. But you could always configure your nameservers (let's say ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses to some names, by adding records to them. But since IPv6 names are not (yet) globally routed on the Internet, this will have local meaning only (e.g. on an intranet). Generally speaking: IPv4 and IPv6 addresses are _never_ allocated by name brokers or DNS systems. They reside at a much lower level, which has nothing to do with _names_. If you connect to the Internet, your upstream provider(s) will assign to you IPv4 address blocks automatically. You would normally not be able to influence this, because it is deeply intertwined with the routing protocols that all network operators use to transmit data on the Internet. You may ask how network operators get their IP address blocks. Check out IANA: http://www.iana.org/ especially: http://www.iana.org/ipaddress/ip-addresses.htm -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware ITX for firewalls etc.
email 1 On Fri, 21 Nov 2003 05:22 am, Francisco Reyes wrote: On Thu, 20 Nov 2003, paul van den bergen wrote: You can also get CF and similar solid stat memory chips to IDE connection adaptors for around AU$30... URL? Sounds like an interesting option for a Firewall I need to do myself very soon. and email 2 On Fri, 21 Nov 2003 05:30 am, Francisco Reyes wrote: On Thu, 20 Nov 2003, paul van den bergen wrote: I have a bunch of these (8000s actually) for a testbed network. work like a treat... go fanless if you can... Where did you get them from? How much? I did have some hassles with the onboard via network connection not coping with long vlan tagged packets. It seems most of these mini ITX network cards have issues with FreeBSD. As long as I can get two PCI slots I should be fine. reply to email 1: I'll have to dig up the specs from a friend... but it's probably cheaper to do the google thing... or one of the ITX mini board sites... miniitx.com??? there are some awesome casemods out there... we want to get some Commador 64s for our desktop machines... :-) reply to email 2: we got VIA EPIA mini ITX boards of a local supplier... (Melbourne Australia) I can give the details if helpful (i.e. of list and if you are local) but since we are a University, it is likely you will not get the same price we did :-( on the other hand, check out the swapmeets (see green guide or computertrader.com.au (URLspelling?) for details) they were around AU$220 each... the fanless is (was - this is 6 months ago or more) 600 MHz and the fan'd ones are 850 MHz or so... I expect they would be similar price for faster now... with more options... people on melbourne.wireless.org have been talking about the impending release of a board with on-board PCMCIA and etc... but not sure of the SotA... the vlan tag thing and some other bugs with the vr0 supported hardware have been around for a while... I suspect mostly they are fixed or well known for FreeBSD nowadays... the vlantag thing is a buffer size or otherwise a hardware support issue (i.e. not driver - as the man pages states, the vlan stuff can be done in software, but I have absolutely no idea what this involves anyone want to enlighten us? ditto the dual PCI splitter - no idea where to get it just know it exists... also rumour (one mention of suspicion... that counts as a rumour, right?) that there are issues with the dual pci thing... not sure what though... still, they're cheap... sub au$50?? maybe? I imagine a quick check of some of the mod-sites will show some interesting board configs... I suspect you can get dual PCI slot versions too. OK, here is my bookmark collection on hardware mods etc... pc104, review sites and itx sites... http://www.tri-m.com/ http://accpc.com/submicropc.htm http://www.littlepc.com/ http://www.viavpsd.com/product/index.jsp http://www.mini-itx.com/ http://www.tomshardware.com http://www.dansdata.com/ http://www.motherboards.org/ http://www.routerboard.com/ http://www.kontron.com/products/pdproductdetail.cfm?keyProduct=32980 http://www.frozencpu.com/cgi-bin/frozencpu/index.html http://www.freeswan.org/ http://leaf.sourceforge.net/ there are likely others, but that's what I have atm... :-) the last few are Open Source router/AP/firewall thingies... there are also sites around with FreeBSD (well, BSD) based implementations that are similarly compact cheap and reliable :-) good luck... and remember google is your friend... -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hostnames and interfaces
hey all, I first encountered networking in CISCO land... where IP addresses and host names seem to be associated... what is the freeBSD way? AFAICS, a machine has a defined name regardless of howmany interfaces it has. if one splits the world up into hosts (one interface) and routers (multiple interfaces) can one define multiple hostnames? to expand on this, there is a potential many to many relationship here between host names and IP addresses (strickly speaking that is what dns etc sees?) how dose BSD define this? how does one define this using BSD? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrading 4.8 to 4.9 question....
Hi All, I'm tempted to upgrade some machines in my test network to 4.9 from 4.8 (since the new KAME snap kits are configured to 4.9 over 4.8 now and if I want to be fashionable and bleedy, I'd better keep updated) and so I am wondering what the best way to do this is and anypitfalls... OK, here is what I think I should do... cvsup the source tree to 4.9 make world cvsup the ports tree um... and that's where I come unstuck... is there a method (other than de-installing all pkgs and reisntalling) to upgrade the ports or packages appropriately from 4.8 to 4.9? I guess there is a gap in my knowledge here about how the freebsd software state changes... e.g. how does one avoid clashes and incompatabilities in a large complex collection of software that is continually changing? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mini atx for firewall
I have a bunch of these (8000s actually) for a testbed network. work like a treat... go fanless if you can... I did have some hassles with the onboard via network connection not coping with long vlan tagged packets... Not sure if this is still an issue, but the vlan man page lists compatible devices if this is an issue for you. also you can get PCI doublers... no idea how well they work, but! anyone had experience of them? On Thu, 20 Nov 2003 01:24 am, Francisco Reyes wrote: Anyone used a mini ATX machine with FreeBSD? Have a client that has a space limitation and a mini atx machine like http://shentech.com/shutspacskvi.html Would be perfect for him. My primary concern is the network card. Since these small machines only have one PCI slot I will add one card for the internal network and then would need the onboard card to connect to the outside world. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I set up a firewall with minimal disk access?
On Thu, 20 Nov 2003 08:43 am, Jonathon McKitrick wrote: On Wed, Nov 19, 2003 at 03:04:54PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote: : Jonathon McKitrick wrote: : Hi all, : : I'm hoping to use an old laptop for a dialup firewall. I'd like to : leave it : always on as part of the network, but I don't want it to have the HD : running : all the time. If possible, I'd like it to work almost completely : without the drive. : : How could I do this? : : NOTE: Please CC me, as I am not currently subscribed. Thanks. : : jm : : #man picobsd Exactly what I needed! Thanks! You can also get CF and similar solid stat memory chips to IDE connection adaptors for around AU$30... so you could have the boot image etc. on a disk with no moving parts... also USB minidisk stuff too... quieter, no moving parts for use in conjunction with picobsd, etc -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading 4.8 to 4.9 question....
On Thu, 20 Nov 2003 11:24 am, Lewis Thompson wrote: On Thu, Nov 20, 2003 at 11:13:29AM +1100, paul van den bergen wrote: is there a method (other than de-installing all pkgs and reisntalling) to upgrade the ports or packages appropriately from 4.8 to 4.9? Not quite sure I fully understand, but you might want to take a look at portupgrade (portupgrade -a -f ;). It's in ports/sysutils. Best wishes, -lewiz. Ta... I'll give it ago... in clarification if I upgrade from 4.8 to 4.9, will I also have to upgrade (by whatever method) the applications running on the box? I.e. those that are not part of the src tree? for that matter, am I likely to encounter any issues with configuration files? /etc/... and /usr/local/etc/... ??? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mouse configuration + Xwindows + KDE
Hi all, I expect this is a kde question more than an xwindows or mouse question... how does one get autofocus configured on the mouse (e.g. so that hovering over a window for 'n' ms (~200 ms) brings it into focus /or the top... frustratingly I saw this option but a week ago while doing other stuff... -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mouse configuration + Xwindows + KDE
On Thu, 20 Nov 2003 01:26 pm, paul van den bergen wrote: Hi all, I expect this is a kde question more than an xwindows or mouse question... how does one get autofocus configured on the mouse (e.g. so that hovering over a window for 'n' ms (~200 ms) brings it into focus /or the top... frustratingly I saw this option but a week ago while doing other stuff... thanks all, fixed -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie: The C / C++ Issue
On Thu, 13 Nov 2003 02:24 pm, Louis LeBlanc wrote: On 11/12/03 09:36 PM, Lucas Holt sat at the `puter and typed: On Nov 12, 2003, at 8:37 PM, Marty Leisner wrote: BTW -- I've been doing object oriented stuff in C for years -- its harder, but its doable. You have a much simpler language to deal with. marty Am I missing something here? When does C have OO capability? Structs don't count. What about inheritance and polymorphism? That's in the implementation AND application. Just because you CAN access part of a lowly struct, doesn't mean you have to. It's object oriented if you OBSERVE the restricted accesses defined by OO. Whether or not they're there is completely irrelevant. Of course C has OO capability, it just doesn't have its restrictions :) don't confuse the language with the philosophy... programming styles - OO, procedural, functional, whatever, are methods or even rulesets. some languages suit one or the other better or worse. One could write functionally in C++ if one had to... but *ouch* ditto C wrt OO. the thing is that modular C programming is scalable in ways similar to OO. that's sort of part way to OO. the rest of it - inheretance, etc. when automated in C++ v's C make C++ more suitable to OO programming. IMHO, ofcourse. -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another Newbie Question: C or C++
On Wed, 12 Nov 2003 12:54 am, Louis LeBlanc wrote: Wow, that's a fairly complete list. Agree completely on the C/C++ application/philosophical differences. The book list missed one very useful C++ book by Josutis, The C++ Standard I think. Don't have it handy. I agree with all said so far but would add that IMHO, you can't really can't go past o'reilly for pretty much any topic on computing... to paraphrase, there are plenty of bad computer books but I would guess few of them are O'reilly books :-) except maybe UML in a nutshell *shudder* You know, everyone's been telling me to give up C and just start working with C++. I've been resisting pretty strongly, and now I realize why. C is a geeks language. It gives you more control than C++. I like C for one primary reason: I like to be in control. I know that many of the C++ constructs, member functions, etc. are slow in comparison to home grown vanilla construct in C that only do what they are needed for. The standard template classes use table lookups just to figure out what its contents look like. If you create the construct from scratch, it knows whether it's holding an int, char*, or struct. Like someone said, it depends what you want to do. IMHO, C is much better for small, embedded or system level programming and C++ of large 'enterprise level programming. It is no wonder that C is the basis for most OSOSs... and because someone mentioned Java, I thought i'd mention Forth... :-) -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C / C++
On Wed, 12 Nov 2003 02:15 pm, Alex Kelly wrote: Whoever mentioned the holy war may have been on to something. ;-) Except they are all violently agreeing with one another... I'd involke Godwin's Law if it wasn't for Quirk's Exception -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Question_Free BSD 4.2
Hi, I think it would be better , if you ask your question in English. Besides, please post your config file - rc.firewall . And why have so old version FreeBSD - 4.2 ? There is newer versions of FreeBSD. Den. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Malnoch Sent: Wednesday, October 15, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: Question_Free BSD 4.2 ! ftp inetd.conf ICMP rc.firewall : natd[92]: failed to write packet back (permission denied). -- Best regards, Alex Malnoch ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnuplot, libtool, pdflib install hassles under FreeBSD 4.8
Hi all, if you look at the end of my wits, you will see me... In a vain attempt to get further away from windows I decided to install gnuplot... running freebsd 4.8 compiled from the ports collection, can't find pdflib-4.0.3.tar.gz... OK, I go looking, no longer exists, now v5.0.1... cvsup the ports collection now looks for PDFlib-5.0.1 etc... still no luck, go looking there are various confusing varieties... download freebsd versions for regular, Lite and the Unix Lite src all to no avail. (the file ports wants does not seem to have any instrutcions about how to manually or otherwise construct a working library.) OK, finally locate the right file, get it all in place, run it compiles the pdf library... sort of, then I get libtool version clash... libtool: ltconfig version `1.3.4-freebsd-ports' does not match ltmain.sh version `1.3.5-freebsd-ports' Gah! OK, compile PDFlib-Lite from the source... following the readme instructions (the usual ./configure, make, make install), all seems fine... back to gnuplot still does not work... seems the pdflib has not registered... [EMAIL PROTECTED]:/usr/ports/math/gnuplot# make === gnuplot-3.7.3_2 depends on shared library: png.5 - found === gnuplot-3.7.3_2 depends on shared library: pdf.5 - not found ===Verifying install for pdf.5 in /usr/ports/print/pdflib === Building for pdflib-5.0.1 then it starts with the libtool message above again... (small voice) Help! -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind 9
On Sun, 30 Mar 2003 09:55:15 -0500 (EST) [EMAIL PROTECTED] wrote: This may be a silly question but I need some help so here it is. I installed bind 9 and I am unable to find it. I installed FreeBSD 4.4 upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9 for security reasons. I installed in from ports. I can't find it. I thought that it simply replaced the executable /usr/sbin/named. But the last change date it has is from the initial install. The named.conf file has not changed, and I can't find a directory specifying bind 9. Anybody able to help me out here? Programs installed via ports are always placed in /usr/local/ and configs to /usr/local/etc/ The same for binaries :) /usr/local/sbin/named Regards, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Chrooting to Linux in FreeBSD
Hello, A friend of mine started his own version of Knoppix. His version is modular based and looks quite nice. For me to help him mount an .iso and chroot to this pre-made filesystem (Debian by the way). For mounting i do the following: # vnconfig /dev/vn0c ./image.iso # mount_cd9660 /dev/vn0c ./tmp-iso-dir Then i copy the ./tmp-iso-dir to a normal dir in order to change files: # cp -Rp ./tmp-iso-dir/ ./remaster-dir After that i'm ready to chroot: # chroot ./remaster-dir /bin/sh sh-2.05b# Then the problem starts: every command i run when i'm in chroot will leave a .core file although most of them work. An example: sletje# chroot tmp-iso /bin/sh sh-2.05b# ls MorphixCD boot dev floppy initrd mnt opt root strip-apt usr bincdrom etc homelib morphix proc sbin tmpvar sh-2.05b# id uid=0(root) gid=0(root) groups=0(root),2(bin),3(sys),4(adm),5(tty),20(dialout),31 sh-2.05b# ls MorphixCD boot dev floppy id.core lib mnt opt root strip-apt usr bincdrom etc homeinitrd ls.core morphix proc sbin tmpvar sh-2.05b# exit exit Bad system call (core dumped) sletje# As you can see ls and id work, but both leave a .core file: ls.core and id.core. When debugging it with gdb all commands seem to exit on a signal 12 Bad system call, like bash did when it exited. I tried to google but i can't find no hint or solution to the problem. Hopefully somebody here has a clue of what's going on :-) Thanks in advance! Tim van den Elsen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make in ports versus pkg_add
Hi all, dumb q warning it seems to me that doing an install from /usr/ports/... is fine and all, but how do you do an uninstall? ok, with pkg_remove or pkg_delete, this is not a problem... but how does pkg know??? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 would somebody get this big walking carpet out of my way? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: X Remotely on a Win2k Box
Brian McCann wrote: No go. Tried host:0.0, host:0, nothing worked...still ran on the console. I am starting up X windows using startx...should I be using something different? startx is the startup script for the local X server which is not what you're looking for. What you are probably looking for is startkde, which will startup kde on the current $DISPLAY defined X server. $DISPLAY should of course be set to host:0.0 CJ van den Berg P.S. KDE runs great remote on a LAN, but it uses way too much bandwidth for a low bandwidth connection. If you're running over the net or dialup use TightVNC or Xvnc as others have suggested. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message