Re: How many IP address aliases can practically be used on one physical Ethernet interface?
Chuck Swiger wrote: Use BPF or libnet to generate test traffic using spoofed IPs, rather than actually configuring a machine with thousands of IPs. There are also companies which make hardware IP traffic generators, if you want to buy a solution rather than building one. Have done a quick search on these and found the docs for libnet, can't seem to find much on BPF. I could really do with a solution for testing a server under heavy load, I'm aware of the mod for Apache (flood I think) but I don't have the option of using that right now. Would one of the above allow me to simulate multiple - hundreds or thousands - clients accessing a server? The main reason is that I've recompiled apache to up the hard limit of MaxClients, the machine has 2Gb or RAM so should be able to handle plenty of connections but I'd like to see at what point it would fall over. -- Cheers, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have been hacked (WAS: Have I been hacked or is nmap wrong?)
Also, I said smtp ports were open on the machines in question, I just verified that I can send emails via BOTH these systems even though no sendmail/exim/whatever was ever installed by me and sendmail_enable=None on both. For what it's worth, to disable senmail on 5.0 and later, you need: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO All those lines need to go in your /etc/rc.conf file, just the top line on it's own will only stop mail coming into your system and I think it has to be NO not None, but I'm not 100% on that. The above is from the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html -- Paul ___ 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 use ipod nano in freebsd 6.0
| hello all, i have ipod nano and im using freebsd 6.0. | DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2) message.The iPod nano is detected when | plugged in, but a daX device is not created. please help me I get that too with the 30GB iPod I just bought. I think there's an issue preventing new iPods from working with FreeBSD. I even formatted mine for windows since it's easier to read vfat rather than HFS. Still nothing. If you get your nano workin please let me know :) I'll ask my friend what he did to get his working, not sure which iPod he has exactly either, could well be a difference in the models or something like that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time Zone
Ian Lord wrote: What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? I am in eastern time zone so I need to deal with standard and daily saving time... We are UK based but our server (and most of our customers) are US based, so we keep the US time (EST) as it makes more sense when emails are sent out and orders made etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot with ACPI
Hi, When I boot my laptop running 6.0-RELEASE I need to boot with ACPI as otherwise it crashes. Was wondering how to make booting with ACPI the default? To be honest I'm not bothered about the boot menu at all as I'm quite happy with the system booting without any interaction. Sometimes I need to reboot remotely which isn't possible at the moment. I've read a bit about loader.conf and have used it for various things, is it as easy as putting a line in there to get this working? -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot with ACPI
When I boot my laptop running 6.0-RELEASE I need to boot with ACPI as otherwise it crashes. Was wondering how to make booting with ACPI the default? To be honest I'm not bothered about the boot menu at all as I'm quite happy with the system booting without any interaction. Sometimes I need to reboot remotely which isn't possible at the moment. I've read a bit about loader.conf and have used it for various things, is it as easy as putting a line in there to get this working? If ACPI isn't enabled on your system by default it means your system is blacklisted. To overwrite the blacklist you can set hint.acpi.0.disabled to 0 in /boot/loader.conf. See man acpi for more ACPI tunables. If your system works with ACPI, you probably should file an PR. This is kind of what I thought after reading the acpi man page. I entered the following into the /boot/loader.conf file: hint.acpi.0.disabled=0 Still no luck though, the default option on the loader menu boots without ACPI. When hitting the second option you see ACPI being enabled i.e. /boot/kernel/acpi.ko being loaded. This doesn't happen with option 1 even with the above in my loader.conf file. :-/ Somebody else on this list mentioned the i440BX chipset being a bit flakey with ACPI which is why it might not be enabled by default, but with ACPI it seems to work nice enough for everyday use, fans go on and off, system shuts down nicely etc. The only reference to my chipset I can find on the blacklist is this: INTEL - 440BX (Seattle 2) - 0x1000 (old) = Field beyond end of region It's listed as non-critical. ___ 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 use ipod nano in freebsd 6.0
david wrote: how can i compile freebsd GENERIC kernel with HFS+ support?sorry for stupid question.i am newbie in freebsd This site should help you install the utils and module that you need... http://people.freebsd.org/~yar/hfs/ ___ 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 use ipod nano in freebsd 6.0
david wrote: hello all, i have ipod nano and im using freebsd 6.0. DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2) message.The iPod nano is detected when plugged in, but a daX device is not created. please help me A friend of mine was/is having a similar problem, depending on the type of iPod you have (Mac or Windows formatted) you'll need to make sure you have the correct filesystem support...so if you have a Mac iPod you'll need to compile support into the kernel (HFS+) unless there's a module that can be loaded but I've always gone the kernel route. With that you should be able to mount the iPod in the normal way and make use of something like gtkPod. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5 and apache2?
I had the same problem before. I suppose you used portupgrade to install binary packages, right? The php5 package depends on apache13, this is why portupgrade installed apache13. You should deinstall php5 and apache13. Then refresh your ports tree. Finally, reinstall php5 from the ports: cd /usr/ports/lang/php5 make make install cd /usr/ports/lang/php5-extensions make make install Might also be a good idea to delete the php5 options file first too. It's located here: /var/db/ports/php5/options There's one for php5-extensions too. Normally the settings in these files are taken from doing a 'make config' so if you want to start totally from scratch you probably want to ditch those too. Hope this helps a little. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.6-RELEASE to 6.0-RELEASE...
There have been major changes in processes such as threads. You also have to boot the 5.3 update in single user mode to have a kernel that accepts the new arrangement and then install the userland. Before 5.1 or 5.2 it didn't matter much but there was an fs change that you update in single user mode or boot the fix disc to finish the botched update. You also have the problem that probably none of your ports from 4.x will work at 6.0. This could take quite a bit of time to upgrade. One advantage is that I didn't really bother with the ports on that server, I rolled my own apps as I wasn't totally up with the ports system at the time, just seemed easier until I go the hang of it, so I probably would go for a fresh install of ports and get the latest versions of software installed that way. The server is used for web hosting so I only really need to save out a few config files for virtual hosts etc. and the email directories. It's sounding as though it might be easier just to have an hour or two of downtime late one night and do a fresh install... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.6-RELEASE to 6.0-RELEASE...
fbsd_user wrote: There is a new and faster file system which is introduced in release-5.4. I highly recommend that you install 6.0 from scratch and build your old server services anew to a development box you have personal access to. Then remove the hard drive and ship it to you remote site and swap with your production drive. That way you get the new file system in production and have quick fall back if things don't work. There is a lot of maintenance benefits to be had from a new clean built from scratch server. Yeah, from what I've read now and the time involved it seems as though it's going to be easier to just get 6.0 installed from scratch, plus I guess there's not going to be the possibility of old files from the previous install messing up the upgrade. New install it is. Might see if the data centre has a spare box I could mirror on for a day or so. Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 port ?
Frank Bonnet wrote: Hello Trying to install it on a new machine I noticed this morning that the apache22 port is missing , any infos ? It should be there under '/usr/ports/www/apache22', I installed it a couple of days ago... Might be worth refreshing your ports with cvsup or something. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.6-RELEASE to 6.0-RELEASE...
Hi, I have a production server running 4.6-RELEASE and I would like to bring it upto date and get 6.0-RELEASE on there. I have a rough idea of what needs to be done to accomplish this from reading various docs but it would be nice to see how smoothly it has gone for any others. From what I can tell I first need to upgrade to a minimum of 5.3-RELEASE and then onto 6.0, so I guess doing a cvsup to the 5.3-RELEASE and then doing buildworld et all? Then from there to same to get to 6.0? My main concern is the filesystem, it's been updated since 4.x? Will this mess things up? The machine is remote so I really need to make sure this works without making it inaccessible. I have a box here to trial run the process on so I get the steps correct first time, but thought I'd ask here too. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: speccing an NFS server -- smp good or bad?
Chad Leigh -- Shire.Net LLC wrote: For a FBSD (or Solaris 10) based server that is only acting as an NFS server and nothing else, is there any advantage to using an SMP machine? Any disadvantage? Does CPU speed play any great factor (ie, use a 1.8ghz opteron instead of a 2.2ghz opteron for example)? I am planning for a Spring project to make an nfs server that serves to multiple web servers / application servers using an Areca 1130 SATA raid card. I assume lots of RAM for the OS to use to cache would be desirable and GB ethernet. Have recently built a machine for just this purpose too, although it runs Linux, the hardware requirements will be the same. We needed a huge amount of storage on the network so went for the cheapest Opteron available (still overpowered), we put most of the cash into a decent motherboard with gigabit ethernet ports and fast PCI-X 3Ware raid cards to run the hardrives (the machine has over 3Tb of storage as it's used for video work - 16x 300Gb SATA drives). Also 1Gb of RAM. The bottlenecks on a server like this are always the network and drives, so look at those for performance. ___ 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.0 and Shuttle AMD64
Jean-Baptiste Potonnier wrote: Ok, I think so, but it seems I can't load anything! Try typing 'autoload' and then hitting return to see what that does, it should start to load a kernel. Tried this yesterday an get a message such cannot find kernel Get the meny by typing beastie-start= each entry fails. I 'll try with NetBSD this evening... if it fails go back to slack In that case do an ls and see if you can see a kernel, might be called kernel.old or something and type 'boot kernel name', that should boot it up. You shouldn't really have to do this from the ISO you downloaded, maybe it's worth getting it down again and burning out a fresh copy? -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DBus, Hald and Gnome Volume Manager
Hi, Have recently set-up hald, dbus and gnome-volume-manager on my Linux box so that devices are automounted in fstab etc. Works great! Have had a look to see if I can have this running with Gnome on my 6.0-RELEASE laptop, found dbus in ports, but hald and gnome-volume-manager are nowhere to be seen. Did some more digging and found that hald doesn't seem to have been ported yet which is probably why I've hit a dead end. The site I found the info on was from 2004 so it could be out of date, any ideas if there's been any progress in this area? Cheers. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Still sounds like a hardware problem. Maybe the laptop is overheating, compiling software is always hard on a system. Also I don't think Memtest86 will show you anything even if your ram is bad. The best way to find out is to just change it out if you have extra somewhere or remove part of it and/or shuffle it around. Check for thermal issues, maybe build the kernel with the laptop in the refrigerator or something :-). If you do something like that make sure you don't get condensation buildup when you take it out of the cold and into the warm... but the humidity is always low in the winter so it shouldn't be to much of a problem. One more thing. You said this was an older laptop (400ish MHz) right? If so you better double check that ACPI is working and that the thermal trip points are set correctly. I had a major problem with an Armada 1750 ([EMAIL PROTECTED] i440BX) in that ACPI was totally broken. FreeBSD 5.x would never trip the fans on. The system hit would 100C (212F) and then FreeBSD would auto shutdown the system. I sold the laptop after I found that out and bought a better one, an Omnibook 6000 ([EMAIL PROTECTED] with 440BX). I still had major problems with ACPI so I decide to just install SuSE 9.3 Pro on it. SuSE worked perfect. 466MHz P2 Celeron with 128Mb RAM on an i440BX mobo. The system won't boot unless it's with ACPI enabled, just panics during start-up. FreeBSD's ACPI implementation and laptops with i440BX/MX or earlier chipsets don't mix well. sysctl will help you with the thermal settings and http://acpi.sourceforge.net/ will help if you need a new DSDT. this will help some too: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html Actually thinking about it now I've got this system running you could be right, since then I've had to get my PCMCIA network card running properly, whenever it gets plugged in the kernel panics, did some research and found that by putting debug.acpi.disabled=sysresource into the /boot/loader.conf file that it works just fine, so as you say there definitely seems to be some issues with ACPI. You can hear the CPU fan wind up and down while the system is running, that's something I don't remember from having Gentoo compiling...that always worked just fine, so it could well be a heat issue. The chipset on the laptop is an Intel i440BX jobbie. Will look into the thermal thing now, cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Robert Huff wrote: Nikolas Britton writes: Still sounds like a hardware problem. Maybe not. A couple of years back - in the early days of 4.x - I had a problem which I /think/ manifested in the manner originally described. It turned out to be the script I'd set up to automate this process - an unnecessary make depends IIRC. It was the same error every time, but the exact location changed. Drove me up the wall. Unless you (generic) really really really know what you're doing, follow the steps in the Handbook. They're tested, and they work. Including reading /ysr/src/UPDATING. I've not really done anything special with scripts, just altered make.conf the one time to include a few compiler options (-O2 -march=pentium2 -pipe). The kernel has now compiled a few times with and without the above options. ___ 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.0 and Shuttle AMD64
Jean-Baptiste Potonnier wrote: I'm a new FreeBSD user, just tested it on an old i386, and want to switch from Slackware linux to FreeBSD or NetBSD. I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # 1 boots, but a message tells me that no kernel can be loaded. I get a command line wit boot, ls, 'load', etc. I tried some command to load a kernel but it didn't work. I don't know if can install FreeBSD on this hardware with this CDROM. I would think you'll need to download the AMD64 ISO from here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/ -- Paul ___ 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.0 and Shuttle AMD64
Jean-Baptiste Potonnier wrote: Jean-Baptiste Potonnier wrote: / I'm a new FreeBSD user, just tested it on an old i386, and want to // switch from Slackware linux to FreeBSD or NetBSD. // I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # // 1 boots, but a message tells me that no kernel can be loaded. // I get a command line wit boot, ls, 'load', etc. I tried some command // to load a kernel but it didn't work. // // I don't know if can install FreeBSD on this hardware with this CDROM. / I would think you'll need to download the AMD64 ISO from here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/ -- Paul I Tried with these iso. I have the SN85G4 Shuttle as my main system here, it's currently running Linux , but I have the AMD64 CD here sonmewhere, will see if it can boot at all. -- Paul ___ 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.0 and Shuttle AMD64
Jean-Baptiste Potonnier wrote: Jean-Baptiste Potonnier wrote: / I'm a new FreeBSD user, just tested it on an old i386, and want to // switch from Slackware linux to FreeBSD or NetBSD. // I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # // 1 boots, but a message tells me that no kernel can be loaded. // I get a command line wit boot, ls, 'load', etc. I tried some command // to load a kernel but it didn't work. // // I don't know if can install FreeBSD on this hardware with this CDROM. / I would think you'll need to download the AMD64 ISO from here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/ -- Paul I Tried with these iso. Just booted my AMD64 system with the install CD from the link above and got into sysinstall no problem, booted the kernel (with ACPI) and could see all hardware being detected nicely. I remember when I first had the system that I had to flash the BIOS as the USB 2.0 stuff was causing issues with both Windows and Linux, maybe it's worth updating the BIOS, outside of that I don't really know what to suggest and will have to leave it for somebody with more FreeBSD experience to answer. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: Re: FreeBSD 6.0 and Shuttle AMD64]
Just booted my AMD64 system with the install CD from the link above and got into sysinstall no problem, booted the kernel (with ACPI) and could see all hardware being detected nicely. I remember when I first had the system that I had to flash the BIOS as the USB 2.0 stuff was causing issues with both Windows and Linux, maybe it's worth updating the BIOS, outside of that I don't really know what to suggest and will have to leave it for somebody with more FreeBSD experience to answer. Have you tried it with ACPI enabled? I think it's option 2 on the menu. You'll be needing that enabled for the system anyway. -- Paul ___ 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.0 and Shuttle AMD64
Just booted my AMD64 system with the install CD from the link above and got into sysinstall no problem, booted the kernel (with ACPI) and could see all hardware being detected nicely. I remember when I first had the system that I had to flash the BIOS as the USB 2.0 stuff was causing issues with both Windows and Linux, maybe it's worth updating the BIOS, outside of that I don't really know what to suggest and will have to leave it for somebody with more FreeBSD experience to answer. Have you tried it with ACPI enabled? I think it's option 2 on the menu. You'll be needing that enabled for the system anyway. -- Paul ___ 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.0 and Shuttle AMD64
Jean-Baptiste Potonnier wrote: Crispy Beef wrote: Just booted my AMD64 system with the install CD from the link above and got into sysinstall no problem, booted the kernel (with ACPI) and could see all hardware being detected nicely. I remember when I first had the system that I had to flash the BIOS as the USB 2.0 stuff was causing issues with both Windows and Linux, maybe it's worth updating the BIOS, outside of that I don't really know what to suggest and will have to leave it for somebody with more FreeBSD experience to answer. Have you tried it with ACPI enabled? I think it's option 2 on the menu. You'll be needing that enabled for the system anyway. Do you talk about the BIOS menu? because I have no menu in the installer (if fact I think I'm not in the installer but in a mini-shell for loading a kernel) When the install CD boots, you normally get presented with a menu (same on an installed FreeBSD system) which allows you to choose to boot the system with; 1) ACPI Disabled 2) ACPI Enabled...a safe mode etc. etc. If you are not getting to that then it sound like you might be at the loader console. ___ 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.0 and Shuttle AMD64
When the install CD boots, you normally get presented with a menu (same on an installed FreeBSD system) which allows you to choose to boot the system with; 1) ACPI Disabled 2) ACPI Enabled...a safe mode etc. etc. If you are not getting to that then it sound like you might be at the loader console . Ok, I think so, but it seems I can't load anything! Try typing 'autoload' and then hitting return to see what that does, it should start to load a kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling Ports...
Am trying to get my head around the ports system, specifically custom options when compiling. For example I would like to install apache 2.2 under it's own dir in /usr/local, say /usr/local/apache22. If I was rolling my own version using the configure script I would do: ./configure prefix=/usr/local/apache22 With that everything would go into that dir, bin files, confs etc. etc. I understand how to make use of the options stuff WITH_ WITHOUT etc. it's just the installation prefix that's bugging me. Have I messed something simple here? Cheers, -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling Ports...
Michael P. Soulier wrote: On 1/5/06, Crispy Beef [EMAIL PROTECTED] wrote: Am trying to get my head around the ports system, specifically custom options when compiling. For example I would like to install apache 2.2 under it's own dir in /usr/local, say /usr/local/apache22. If I was rolling my own version using the configure script I would do: ./configure prefix=/usr/local/apache22 I believe the default prefix can be changed, but I'm unclear as to why you would want to change it. The port installs a package that you can then remove easily with the pkg tools. Why would you want to do this? Mainly as having Apache in it's own directory with all of it's files together makes it nice and easy to administer, when I compile stuff from scratch I always like to keep things clean, for example: /usr/local/php-5.1.1 /usr/local/mysql-5 /usr/local/apache13 /usr/local/apache22 I'm not too bothered having it all put in the default locations specified by the port, my Gentoo system does this in the same way, just wondered if there was a clean way to do it. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Nikolas Britton wrote: On 1/3/06, Crispy Beef [EMAIL PROTECTED] wrote: Jonathan Chen wrote: On Mon, Jan 02, 2006 at 04:15:48PM +, Crispy Beef wrote: Hi All, Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so a while ago now. I have just installed 6.0-RELEASE on my old laptop and have been configuring the system, am onto the kernel at the moment, have followed the traditional method in the FreeBSD handbook. All works fine (make depends) until I do 'make' then I get a compilation error as follows: /usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. Internal compiler errors usually indicate faulty memory. If you rerun your compilation and it fails in the same spot, then it could be software. If the compilations fails in a different area, you've probably got faulty hardward. It's looking very much like faulty hardware at the moment...bit of a shame really. Have used Gentoo Linux on this machine before (compiling from source) and that's always worked just fine, I only ditched it a couple of weeks ago to have a play with FreeBSD again. Also tried the memtest86 util from a floppy, that doesn't even boot properly so looks like it might be a no go. :-/ To rule out hardware problems rebuild the generic kernel using the virgin GENERIC kernel config file: 0. If you've messed with /etc/make.conf change it back to the defaults! 1. su 2. cd /usr/src/sys/i386/conf 3. rm -r ../compile/GENERIC 4. config GENERIC 5. cd ../compile/GENERIC 6. make depend 7. make 8. make install 9. reboot If you can't get to step 8 you have a hardware problem (or FreeBSD wasn't installed correctly, see step 5 below): (Very Basic/Limited Flow chart) 1. Go into the BIOS and reset everything to their safety defaults etc., repeat generic kernel build and if it's successful... 2. Pull the Mem, Hard drive, etc. clean/dust/etc. Reinsert etc., repeat generic kernel build and if it's successful... 3. Sub Out/Replace Memory, repeat generic kernel build... 4. Wipe (zero out) Hard Drive and Reinstall a virgin copy of FreeBSD 6 from CD: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.0/6.0-RELEASE-i386-disc1.iso MD5 (6.0-RELEASE-i386-disc1.iso) = cfe3c1a2b4991edd6a294ca9b422b9d5 Check the MD5 hash before you burn the disc and verify the disc after it's burned. Hit A then Q for FDISK and Disklabel and Install only the Kern-Developer Distribution set, don't install the ports system. repeat generic kernel build... Oh... and run a defective sector scan of the hard drive using the diag disk that came with it, you can find the zero out and diag software on the UBCD CD link below. 5. If you've done steps 1 - 4 and still can't build the kernel your system is broke, I'll take it off your hands if you'd like. :-) Also... you may want to start with step 4 then do 1, 2, and 3. Thanks for all the tips, am trying to compile the GENERIC kernel as I type this so will see what happens there, I had tried my own kernel config with and without a few settings in make.conf but it's reset back to what it was at the moment. Have also located the final version of BIOS so will flash that too to see if it helps with anything. Will let you know how it goes. Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How long to compile...
I guess the 4.5 kernel was a lot less complex as that compiles quite quickly on my old P120 firewall box. Cheers for the info. Paul Rowdy wrote: Crispy Beef wrote: Hi, This is kind of related to my other post (Kernel Compilation), but thought I'd post it seperately as it would be interesting to know... Was wondering on average how long building userland and the kernel for 6.0-RELEASE should take on a 466MHz Celeron machine with 128Mb RAM? The only frame of reference I have is building 4.5-RELEASE on an ancient P120 system with next to nothing on it (gateway/firewall box). Cheers, Paul On a Celeron 466 with 256M RAM, I upgraded from 5.3 to 6.0. make buildworld took around 5 hours 37 minutes. make kernel took around 1 hour 25 minutes. Rowdy ___ 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: Kernel Compilation...
Nikolas Britton wrote: To rule out hardware problems rebuild the generic kernel using the virgin GENERIC kernel config file: 0. If you've messed with /etc/make.conf change it back to the defaults! 1. su 2. cd /usr/src/sys/i386/conf 3. rm -r ../compile/GENERIC 4. config GENERIC 5. cd ../compile/GENERIC 6. make depend 7. make 8. make install 9. reboot If you can't get to step 8 you have a hardware problem (or FreeBSD wasn't installed correctly, see step 5 below): First time I tried this I had another seg fault (error 11) so did a complete install from the CD again (kernel developer options). It failed once during that compile, then the second time it worked just fine. I then did my own config cutting out all the stuff I don't need and it's compiled just fine. Strange... Thinking about it, this is the only time I've got the sources from the CD. I always grabbed them from an ftpe server via sysinstall, maybe the newer sources were causing problems like the guys mentioned earlier? Got a version of MemTest86 running too and that went for a couple of hours without any errors showing up, will run it overnight to be sure. I guess the next thing is to have a go at make buildworld with options in make.conf and see if it barfs then. Thanks for the help. :-) Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Robert Huff wrote: Crispy Beef writes: I wasn't aware that I needed to do a buildworld too, am limited on the amount of disk space I have, the whole disk is 6Gb with a 1Gb /home and over 3Gb /usr. Is that going to be enough? 1) It is _very_ important to keep the kernel and userland in sync. 2) huff@ du -s /usr/src 442996 /usr/src As a ball-park estimate, figure 1Gb when you need to update. Assuming you have a high-speed connection, I would rebuild world and kernel per the handbook. After installing and testing the new system I would save the kernel config file elsewhere and delete /usr/src and /usr/obj. THe next time you need to rebuild you'll need to clear the disk and download the entire source tree, but you'll have the disk available until then. Basically I had just installed 6.0-RELEASE from the CD, got the kernel sources from an ftp server (using sysinstall) and then proceded to build the kernel as I mentioned in another post (traditional method). Basically you're saying I should grab the entire source tree and then build everything before the kernel? Just checking before I go ahead...having said that as it's a clean install there's nothing too vital on the system so won't matter to much if I trash it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Jonathan Chen wrote: On Mon, Jan 02, 2006 at 04:15:48PM +, Crispy Beef wrote: Hi All, Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so a while ago now. I have just installed 6.0-RELEASE on my old laptop and have been configuring the system, am onto the kernel at the moment, have followed the traditional method in the FreeBSD handbook. All works fine (make depends) until I do 'make' then I get a compilation error as follows: /usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. Internal compiler errors usually indicate faulty memory. If you rerun your compilation and it fails in the same spot, then it could be software. If the compilations fails in a different area, you've probably got faulty hardward. It's looking very much like faulty hardware at the moment...bit of a shame really. Have used Gentoo Linux on this machine before (compiling from source) and that's always worked just fine, I only ditched it a couple of weeks ago to have a play with FreeBSD again. Also tried the memtest86 util from a floppy, that doesn't even boot properly so looks like it might be a no go. :-/ Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How long to compile...
Hi, This is kind of related to my other post (Kernel Compilation), but thought I'd post it seperately as it would be interesting to know... Was wondering on average how long building userland and the kernel for 6.0-RELEASE should take on a 466MHz Celeron machine with 128Mb RAM? The only frame of reference I have is building 4.5-RELEASE on an ancient P120 system with next to nothing on it (gateway/firewall box). Cheers, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How long to compile...
Was wondering on average how long building userland and the kernel for 6.0-RELEASE should take on a 466MHz Celeron machine with 128Mb RAM? Many hours. :-( For comparison: it takes ~1h45 on a P4/2.25ghz with 512mb. I seem to remember the 500mhz Celeron being an overnight or all-day job. Oh well, at least it's a second machine and I can let it go. Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel Compilation...
Hi All, Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so a while ago now. I have just installed 6.0-RELEASE on my old laptop and have been configuring the system, am onto the kernel at the moment, have followed the traditional method in the FreeBSD handbook. All works fine (make depends) until I do 'make' then I get a compilation error as follows: /usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/sys/modules/ata/atapci. *** Error code 1 Stop in /usr/src/sys/modules/ata. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/LAPTOP. Last time I had an error with USB Mass Storage do I disabled it in my config hoping the kernel would compile, am starting to think this is something a bit more serious. Any thoughts? -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Robert Slade wrote: On Mon, 2006-01-02 at 16:15, Crispy Beef wrote: Hi All, Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so a while ago now. I have just installed 6.0-RELEASE on my old laptop and have been configuring the system, am onto the kernel at the moment, have followed the traditional method in the FreeBSD handbook. All works fine (make depends) until I do 'make' then I get a compilation error as follows: /usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/sys/modules/ata/atapci. *** Error code 1 Stop in /usr/src/sys/modules/ata. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/LAPTOP. Last time I had an error with USB Mass Storage do I disabled it in my config hoping the kernel would compile, am starting to think this is something a bit more serious. Any thoughts? -- Paul Paul, Welcome. If you will take some advise from a 'newbe' I suggest that you use the new method - I have done a kernel compile quite a few times with no problems using it. The only time I had problems with compiling was when I got the config file wrong. I did find that after a failed compile I needed to clear out the old obj libraries before trying again. Rob Will take advice from anybody. :-) Whenever I have a failed compile I generally do a 'make cleandepends' and make clean first just to make sure it's all going from scratch. Might try the new method later and see if that gives me better results. Cheers. Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Adam Nealis wrote: --- Crispy Beef [EMAIL PROTECTED] wrote: Hi All, Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so a while ago now. I have just installed 6.0-RELEASE on my old laptop and have been configuring the system, am onto the kernel at the moment, have followed the traditional method in the FreeBSD handbook. All works fine (make depends) Yesterday I installed 6.0-RELEASE from ISO, then used cvsup to upgrade to 6.0-STABLE. I followed the steps given in /usr/src/Makefile: 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 5. `reboot'(in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `mergemaster' 9. `reboot' Is this what you did? Can youprovide the precise steps you followed? Here's what I did: 1.Install from CD (6.0-RELEASE) 2.Got latest kernel src with sysinstall 3.cd /usr/src/sys/i386/conf 4.Created my own config file (LAPTOP) 5.Did a /usr/sbin/config LAPTOP 6.Moved into compile directory (/usr/src/sys/i386/compile/LAPTOP) 7.Did 'make depend' 8.make At this point it failed... This machine has run Linux for the past few months compiling various things. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compilation...
Adam Nealis wrote: *snip* Here's what I did: 1.Install from CD (6.0-RELEASE) 2.Got latest kernel src with sysinstall Hmm. cvsup might be better. Having said that, when I cvsup'd 6.0-RELEASE after installing from CD, there were only one or two files updated. But my version went from 6.0-RELEASE to 6.0-RELEASE-p1. The other thing is you don't appear to have run buildworld. This step uses the 6.0-RELEASE source in /usr/src to build userland and gcc and so on. I'm not sure, but I think you have to use the compilation tools from buildworld to create your new kernel. I wasn't aware that I needed to do a buildworld too, am limited on the amount of disk space I have, the whole disk is 6Gb with a 1Gb /home and over 3Gb /usr. Is that going to be enough? /tmp and /var are quite small. Will go through the Makefile and see what happens this time round. 3.cd /usr/src/sys/i386/conf 4.Created my own config file (LAPTOP) 5.Did a /usr/sbin/config LAPTOP 6.Moved into compile directory (/usr/src/sys/i386/compile/LAPTOP) 7.Did 'make depend' Did you do make cleandepend; make depend ? Yes, did that too. 8.make At this point it failed... I'd be inclined to start from the beginning, going through the steps given in usr/src/Makefile Will do, cheers. Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]