Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
-- Excuse me... you're joking, right? I assume you have a plentycore -- processor with Gigs of RAM, and already two shells show a problem? -- That sounds totally wrong. Is that sarcasm or irony? Von: Polytropon free...@edvax.de An: Georg Reilinger georgreilin...@yahoo.de CC: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Gesendet: 5:24 Freitag, 18.Januar 2013 Betreff: Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD On Fri, 18 Jan 2013 01:25:03 + (GMT), Georg Reilinger wrote: As far as I know, FreeBSD has completely dropped support for KDE 3.5. As for other desktop environments, yes. Whether it's the ports, or the pkg_add precompiled binaries. Am I right in assuming this? I think KDE 3 is still in ports, but will be scheduled for removal, as KDE 4 is the place where development takes place, and there seems to be no active development on KDE 3 that can be built (!) on FreeBSD due to lack of contribution. I am currently running a live version of FreeBSD 8.2 with KDE 4.8. May I ask which live system this is? The thing here is, that KDE 4 is simply too heavy for my system. For example: it is impossible for me to have two open shells at the same time. Once I exit a given shell, I can't open another one due to a lack of resources, even after having turned off all the extra stuff - plasma desktop, nepomuk... Excuse me... you're joking, right? I assume you have a plentycore processor with Gigs of RAM, and already two shells show a problem? That sounds totally wrong. When you play a music file and move the window, do you get skipping audio, too? Just scary... As a consequence, I can see myself do two possible things, to have a system running with KDE 3.5 once again: 1. Go back to an older release of FreeBSD and install KDE 3.5 from the precompiled binaries that are on the DVD donwload version. Judging by the release announcements, this should be 7.1. Yes, this will work. But note that you are running an OS that has been gone out of support, so you probably won't be able to install newer software using ports or packages. However, you can use the system as is, and even use ports as long as the distfiles are still kept available online. 2. To be honest, I am quite happy with 8.2 and I would like to keep it for some time to come. In other words, is there a way to keep 8.2 and still have KDE 3.5 along with it? For example has anyone ever tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? Is that be possible? That should be possible if you install the required compat7x port on the system. Keep an eye on dependencies and make sure you won't be shooting your feet. A good start would be to install the KDE stuff on a clean system (right after compat7x) so there won't be much confusion. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
On Fri, 18 Jan 2013 01:25:03 + (GMT) Georg Reilinger wrote: As a consequence, I can see myself do two possible things, to have a system running with KDE 3.5 once again: 1. Go back to an older release of FreeBSD and install KDE 3.5 from the that's pointless 2. To be honest, I am quite happy with 8.2 and I would like to keep it for some time to come. In other words, is there a way to keep 8.2 and still have KDE 3.5 along with it? For example has anyone ever tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? Is that be possible? You can carry on using 3.5 on any current release. The problem is when it's eventually removed from ports, updating other ports may result in dependency problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
On Friday 18 January 2013 16:58:11 RW wrote: You can carry on using 3.5 on any current release. The problem is when it's eventually removed from ports, updating other ports may result in dependency problems. I'm already starting to experience some problems which I assume are due to incompatibility with some recently upgraded dependencies and I've finally, and somewhat reluctantly, switched to KDE 4.8. It's certainly more bloated than 3.5 but after getting rid of some unwanted eye candy it's not as bad as I expected, certainly better than last time I tried it out about a year ago. The most noticeable deterioration in performance is that it's much slower to start up than 3.5 was and kmail takes much longer to open a mail folder than it used to. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
Hi everybody, My issue is the following: As far as I know, FreeBSD has completely dropped support for KDE 3.5. Whether it's the ports, or the pkg_add precompiled binaries. Am I right in assuming this? I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing here is, that KDE 4 is simply too heavy for my system. For example: it is impossible for me to have two open shells at the same time. Once I exit a given shell, I can't open another one due to a lack of resources, even after having turned off all the extra stuff - plasma desktop, nepomuk... As a consequence, I can see myself do two possible things, to have a system running with KDE 3.5 once again: 1. Go back to an older release of FreeBSD and install KDE 3.5 from the precompiled binaries that are on the DVD donwload version. Judging by the release announcements, this should be 7.1. http://www.freebsd.org/releases/7.1R/announce.html This is something that I don't really feel like doing. 2. To be honest, I am quite happy with 8.2 and I would like to keep it for some time to come. In other words, is there a way to keep 8.2 and still have KDE 3.5 along with it? For example has anyone ever tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? Is that be possible? Any other solutions? Many thanks Georg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
Some decisions from upstream are a PITA. I'm from Linux, it's more up-to-date than FreeBSD. On Linux I switched from KDE 3 to GNOME 2, when KDE 4 was introduced and from GNOME 2 to Xfce, when GNOME 3 was introduced. There are forks of GNOME 2, but I guess there's no fork of KDE 3. Some users claim that it should be possible to set up KDE 4, that it become equal to KDE 3. I doubt that. Another issue are hard dependencies, such as the dependency to the buggy pulseaudio. You better get rid of KDE and start to accustom to another DE. 2 Cents, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
Von: Ralf Mardorf ralf.mard...@rocketmail.com An: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Gesendet: 2:37 Freitag, 18.Januar 2013 Betreff: Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD -- Some decisions from upstream are a PITA. I'm from Linux, it's more up-to-date than FreeBSD. On Linux I switched from KDE 3 to GNOME 2, when KDE 4 was introduced and from GNOME 2 to Xfce, when GNOME 3 was introduced. I have tried both, GNOME and Xfce. Found both to be kinda yuckie. Not really feeling at home here. -- There are forks of GNOME 2, but I guess there's no fork of KDE 3. Actually there is. It is called Trinity: http://www.trinitydesktop.org/ , but I don't know, if it is currently supported on FreeBSD. If not, may be a reason, to become a porter! -- Some users claim that it should be possible to set up KDE 4, that it become equal to KDE 3. I doubt that. I highly and holily second that. I have heard quite a few people complain about KDE 4's heavy hunger for resources. -- Another issue are hard dependencies, such as the dependency to the buggy pulseaudio. You better get rid of KDE and start to accustom to another DE. This would be my very last option. As you can see, I am still working on a go around here. 2 Cents, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [Bulk] FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
On Fri, 18 Jan 2013 01:25:03 + (GMT) Georg Reilinger georgreilin...@yahoo.de wrote: Hi everybody, My issue is the following: As far as I know, FreeBSD has completely dropped support for KDE 3.5. Whether it's the ports, or the pkg_add precompiled binaries. Am I right in assuming this? I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing here is, that KDE 4 is simply too heavy for my system. For example: it is impossible for me to have two open shells at the same time. Once I exit a given shell, I can't open another one due to a lack of resources, even after having turned off all the extra stuff - plasma desktop, nepomuk... As a consequence, I can see myself do two possible things, to have a system running with KDE 3.5 once again: 1. Go back to an older release of FreeBSD and install KDE 3.5 from the precompiled binaries that are on the DVD donwload version. Judging by the release announcements, this should be 7.1. http://www.freebsd.org/releases/7.1R/announce.html This is something that I don't really feel like doing. 2. To be honest, I am quite happy with 8.2 and I would like to keep it for some time to come. In other words, is there a way to keep 8.2 and still have KDE 3.5 along with it? For example has anyone ever tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? Is that be possible? Any other solutions? Many thanks Georg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I run xfce4 with FreeBSD 9.0 on an old Pentium 4 with 1.5 GB, and it works well. Resource requirements are much less than the latest KDE, and Unity is even more unworkable. KDE and Gnome have got very bloated in the last few years, IMHO and less intuitive. They seem to be going backwards. The multiple desktop feature is one of the main things that set Unix-style desktops way ahead of Windows, and now they have become harder to use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
On Fri, 18 Jan 2013 03:06:15 +0100, Georg Reilinger georgreilin...@yahoo.de wrote: http://www.trinitydesktop.org/ Oops, I've forgotten that there is that fork. However, I suspect that KDE and GNOME forks will suffer from Qt and GTK dependencies, resp. the manpower (coders and user base, aka testers) to maintain the forks. A lot of people don't like that DEs do look like and behave similar as DEs for tablet PCs do, so in the near future, those forks might become more important. OTOH KDE 4 still is a classic DE and not one of those tablet PC like DEs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD
On Fri, 18 Jan 2013 01:25:03 + (GMT), Georg Reilinger wrote: As far as I know, FreeBSD has completely dropped support for KDE 3.5. As for other desktop environments, yes. Whether it's the ports, or the pkg_add precompiled binaries. Am I right in assuming this? I think KDE 3 is still in ports, but will be scheduled for removal, as KDE 4 is the place where development takes place, and there seems to be no active development on KDE 3 that can be built (!) on FreeBSD due to lack of contribution. I am currently running a live version of FreeBSD 8.2 with KDE 4.8. May I ask which live system this is? The thing here is, that KDE 4 is simply too heavy for my system. For example: it is impossible for me to have two open shells at the same time. Once I exit a given shell, I can't open another one due to a lack of resources, even after having turned off all the extra stuff - plasma desktop, nepomuk... Excuse me... you're joking, right? I assume you have a plentycore processor with Gigs of RAM, and already two shells show a problem? That sounds totally wrong. When you play a music file and move the window, do you get skipping audio, too? Just scary... As a consequence, I can see myself do two possible things, to have a system running with KDE 3.5 once again: 1. Go back to an older release of FreeBSD and install KDE 3.5 from the precompiled binaries that are on the DVD donwload version. Judging by the release announcements, this should be 7.1. Yes, this will work. But note that you are running an OS that has been gone out of support, so you probably won't be able to install newer software using ports or packages. However, you can use the system as is, and even use ports as long as the distfiles are still kept available online. 2. To be honest, I am quite happy with 8.2 and I would like to keep it for some time to come. In other words, is there a way to keep 8.2 and still have KDE 3.5 along with it? For example has anyone ever tried to install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? Is that be possible? That should be possible if you install the required compat7x port on the system. Keep an eye on dependencies and make sure you won't be shooting your feet. A good start would be to install the KDE stuff on a clean system (right after compat7x) so there won't be much confusion. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[dvd+rw-tools-7.1] Failure to burn disks: SK=5h/INVALID ADDRESS FOR WRITE
While burning the DVD+R DL with the command 'growisofs -dvd-compat -speed=4 -Z /dev/cd0=$1' on 9.0-STABLE I am getting this error: 8333492224/8407351452 (99.1%) @4.0x, remaining 0:14 RBU 100.0% UBU 57.1% 8352301056/8407351452 (99.3%) @4.1x, remaining 0:10 RBU 100.0% UBU 53.1% 8371240960/8407351452 (99.6%) @4.1x, remaining 0:06 RBU 100.0% UBU 55.1% 8387395584/8407351452 (99.8%) @3.5x, remaining 0:03 RBU 59.6% UBU 53.1% 8406237184/8407351452 (100.0%) @4.1x, remaining 0:00 RBU 3.4% UBU 61.2% :-[ WRITE@LBA=3ea3c0h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid argument :-( write failed: Invalid argument It failed 3 times. Size of the iso image is 8407351452. Device is: cd0: PIONEER DVD-RW DVR-112D 1.21 Removable CD-ROM SCSI-0 device I did burn DVDs successfully using the same drive, the same batch of empty writable DVDs and the same command on 8.X. I am not sure if this is because of 9.0 or because of this specific disk image. Do you know what may be a problem? Do you burn DVDs successfully? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step?
My upgrades were a success. I upgraded 3 machines: 1. 7.1 - 7.4 2. 8.0 - 8.1 3. 7.1 - 7.3 - 7.4 I don't use STABLE, but rather e.g. RELENG_7_4 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading 7.1 to 7.3, use 7.2 as a safe step?
For me, time can be spared, but errors should be avoided at all costs. I have upgraded FreeBSD before, for example 7.0 - 7.1. I use the buildworld/buildkernel procedure. I now have a 7.1 system. Should I upgrade to 7.2 and then to 7.3, or is it safe to go directly from 7.1 to 7.3? - Nerius P.S. I will also be upgrading 8.0 to 8.2 on another system, and assume the answer you give can be applied there as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step?
On Feb 25, 2011, at 1:39 PM, Nerius Landys wrote: For me, time can be spared, but errors should be avoided at all costs. I have upgraded FreeBSD before, for example 7.0 - 7.1. I use the buildworld/buildkernel procedure. I now have a 7.1 system. Should I upgrade to 7.2 and then to 7.3, or is it safe to go directly from 7.1 to 7.3? You shouldn't run into any unusual issues. Note that more care is needed if you are doing a major version bump-- ie, you should go to 7.4 - 8.0 - 8.2. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step?
--On February 25, 2011 1:39:47 PM -0800 Nerius Landys nlan...@gmail.com wrote: For me, time can be spared, but errors should be avoided at all costs. I have upgraded FreeBSD before, for example 7.0 - 7.1. I use the buildworld/buildkernel procedure. I now have a 7.1 system. Should I upgrade to 7.2 and then to 7.3, or is it safe to go directly from 7.1 to 7.3? I have upgraded several times across major versions without any problems. (5.x to 6.x, 6.x to 7.x). Each time I simply changed the supfile to the version I wanted to upgrade to, fetched the files and rebuilt world and kernel. After those are complete, I run a portupgrade -a to sync all the ports with the new sources. Note that this is *not* the way to do it if you absolutely must avoid problems, however slight the risk. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson There are some ideas so wrong that only a very intelligent person could believe in them. George Orwell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
snd_hda 7.1 surround sound
Hello list, I need help configuring snd_hda to produce 7.1 surround sound via the spdif optical output My goal is to play a DVD and have 7.1 surround sound passed through to my stereo (via the optical output on the motherboard) in a perfect world the optical output would be the default, as I have no other need to audio output on this system I am hoping someone has a recipe for this. below is some basic info: uname -a FreeBSD HTPC.PuffyBSD.Com 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216047: Mon Nov 29 09:40:47 UTC 2010 r...@sam.puffybsd.com:/usr/obj/usr/src/sys/GENERIC amd64 HTPC# HTPC# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDA Realtek ALC885 PCM #0 Analog (play/rec) default pcm1: HDA Realtek ALC885 PCM #1 Analog (play/rec) pcm2: HDA Realtek ALC885 PCM #2 Digital (play/rec) pcm3: HDA NVidia MCP73 HDMI PCM #0 Digital (play) pcm4: HDA ATI R6xx HDMI PCM #0 HDMI (play) sysctl dev.hdac.0.pindump=1 hdac0: Dumping AFG cad=0 nid=1 pins: hdac0: nid 20 0x01014410 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 4 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 21 0x01011412 as 1 seq 2 Line-out Jack jack 1 loc 1 color Black misc 4 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 22 0x01016411 as 1 seq 1 Line-out Jack jack 1 loc 1 color Orange misc 4 hdac0:Caps: IN OUT HP Sense: 0x hdac0: nid 23 0x01012414 as 1 seq 4 Line-out Jack jack 1 loc 1 colorGrey misc 4 hdac0:Caps: IN OUT HP Sense: 0x hdac0: nid 24 0x01a19c40 as 4 seq 0 Mic Jack jack 1 loc 1 colorPink misc 12 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 25 0x02a19c50 as 5 seq 0 Mic Jack jack 1 loc 2 colorPink misc 12 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 26 0x0181344f as 4 seq 15 Line-in Jack jack 1 loc 1 colorBlue misc 4 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 27 0x02214c20 as 2 seq 0Headphones Jack jack 1 loc 2 color Green misc 12 hdac0:Caps: IN OUT HP VREF Sense: 0x hdac0: nid 28 0x593301f0 as 15 seq 0CD None jack 3 loc 25 color Unknown misc 1 [DISABLED] hdac0:Caps: IN hdac0: nid 30 0x014b6130 as 3 seq 0 SPDIF-out Jack jack 11 loc 1 color Orange misc 1 hdac0:Caps:OUT hdac0: nid 31 0x01cb7160 as 6 seq 0 SPDIF-in Jack jack 11 loc 1 color Yellow misc 1 hdac0:Caps: IN hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdac0: GPIO: data=0x enable=0x direction=0x hdac0: wake=0x unsol=0xsticky=0x hdac0: Dumping AFG cad=3 nid=1 pins: hdac0: nid 5 0x185601f0 as 15 seq 0 Digital-out Jack jack 6 loc 24 color Unknown misc 1 hdac0:Caps:OUT Sense: 0x hdac0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 HTPC# -- Sam Fourman Jr. Fourman Networks http://www.fourmannetworks.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?
All watchpoints are software. How can I troubleshoot? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange behaviour on FreeBSD 7.1
2010/11/18 Коньков Евгений kes-...@yandex.ru: Hi. Sometimes system goes to this situation: 0% idle and no processes take CPU time #top -SIHP last pid: 62813; load averages: 4.17, 3.64, 2.16 up 28+06:44:02 20:41:41 155 processes: 7 running, 129 sleeping, 19 waiting CPU: 99.3% user, 0.0% nice, 0.7% system, 0.0% interrupt, 0.0% idle Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND #top last pid: 62852; load averages: 4.10, 3.67, 2.22 up 28+06:44:36 20:42:15 172 processes: 4 running, 168 sleeping CPU: 99.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 0.0% idle Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 62817 root 36 -8 0 29696K 23276K piperd 0:00 7.62% perl5.8.8 If you look at the last pid between the 2 top-output snippets, you can see that approx 40 processes came and went in-between. This indiciates that you probably have some script running that's spawning a large number of short-lived processes. -- Jonathan Chen j...@chen.org.nz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
strange behaviour on FreeBSD 7.1
Hi. Sometimes system goes to this situation: 0% idle and no processes take CPU time #top -SIHP last pid: 62813; load averages: 4.17, 3.64, 2.16 up 28+06:44:02 20:41:41 155 processes: 7 running, 129 sleeping, 19 waiting CPU: 99.3% user, 0.0% nice, 0.7% system, 0.0% interrupt, 0.0% idle Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPU COMMAND #top last pid: 62852; load averages: 4.10, 3.67, 2.22 up 28+06:44:36 20:42:15 172 processes: 4 running, 168 sleeping CPU: 99.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 0.0% idle Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 62817 root 36 -80 29696K 23276K piperd 0:00 7.62% perl5.8.8 64644 root 1 440 3532K 1048K select 22:20 0.00% screen 8862 root 1 80 9192K 2460K nanslp 17:18 0.00% verlihub 8450 icecast 6 80 8812K 1116K nanslp 5:38 0.00% icecast 698 root 1 440 3180K 872K select 4:21 0.00% syslogd 61307 root 1 960 6992K 2724K RUN 4:20 0.00% proftpd 61902 root 1 960 6992K 2608K RUN 3:51 0.00% proftpd 8435 postfix 1 40 6192K 800K kqread 2:40 0.00% qmgr 8464 root 1 40 3124K 960K kqread 1:34 0.00% dovecot 8424 root 1 40 5168K 596K kqread 1:26 0.00% master 8521 root 1 440 18808K 3164K select 1:17 0.00% httpd 8467 vmail 1 40 4276K 796K kqread 0:48 0.00% dovecot-auth 8541 root 1 450 5752K 448K select 0:34 0.00% sshd 8595 root 1 440 3236K 300K select 0:27 0.00% inetd 51383 freeradius1 960 28568K 11408K RUN 0:27 0.00% radiusd 8314 mysql10 40 47292K 6344K sbwait 0:25 0.00% mysqld 8216 root 1 440 6992K 612K select 0:23 0.00% proftpd 1 usersLoad 4.07 3.69 2.26 17 ноя 20:42 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 205392 12432 63191640980 137912 count All 278608 16052 278745257020 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt 95 cow2071 total 4 39 128 5733 306 2386 65 31k 255 76 zfodsio1 irq3 ozfod sio0 irq4 1.2%Sys 0.6%Intr 98.2%User 0.0%Nice 0.0%Idle%ozfod 7 ata0 irq14 ||||||||||| daefr58 rl0 rl4 17 =132 prcfr 2006 cpu0: time 87 dtbuf 186 totfr Namei Name-cache Dir-cache 35373 desvn2 react Callshits %hits % 10855 numvn pdwak 11231009 90 8152 frevn pdpgs intrn Disks ad1127712 wire KB/t 11.33207692 act tps 7 27820 inact MB/s 0.08 13612 cache %busy 0124300 free uname -a FreeBSD i.net.ua 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 3 01:15:39 EET 2009 k...@i.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?
On 6/16/10 1:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 16/06/2010 17:48:03, Tom Worster wrote: as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) Yes, this upgrade should work in one step. Make sure to install the compat7x port, and all the software you installed under 7.1 will be able to keep running. Note however that the compat7x stuff is merely a measure to give yourself a breathing space between upgrading the OS and rebuilding all your ports. excellent. i wasn't aware of the port. would the order to do things be: update ports with portsnap, install misc/compat7x, upgrade with freebsd-update and reboot? You really do have to reinstall all the ports on a major version upgrade: while installed ports will still run if you don't touch them, as soon as you start updating anything, or installing anything new, it will start to go horribly poo unless you haved reinstalled everything. yes. i plan to upgrade all the apps to the current ports shortly after the base upgrade. I note that the software you're running is all a few versions behind what's current, and some of those updates involve pretty significant changes (eg. php 5.2 to 5.3; changes to the way apache ports work; i've already ported the code for 5.3. Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and planning is advised, but there's no real deal-breaker there. this has been a vexing concern for some considerable time now. but it's perhaps out of scope here. if we had better insight into where oracle is taking it... Also, if you wait for a few weeks you could go directly to 8.1-RELEASE, which might be a better choice. There have been some pretty significant bugfixes between 8.0-RELEASE and 8.1-RELEASE. bug fixes sound nice. a few weeks you say? thank you for the input, matthew -- much appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/06/2010 13:41:43, Tom Worster wrote: On 6/16/10 1:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk would the order to do things be: update ports with portsnap, install misc/compat7x, upgrade with freebsd-update and reboot? You need to be running 8.0 or above before you can install compat7x, so it's upgrade with freebsd-update, reboot, install compat7x, either reboot again, or restart any daemons that didn't start first time. I think. I'm assuming freebsd-update zaps the 7.x shlibs when you do a 7.x - 8.0 upgrade, BICBW. Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and planning is advised, but there's no real deal-breaker there. this has been a vexing concern for some considerable time now. but it's perhaps out of scope here. if we had better insight into where oracle is taking it... I think it's pretty clear that Oracle are going to maintain MySQL as a freely available database product for the foreseeable future. They are keen to get as many people as possible onto the current release though, so 5.0 is being deprecated in favour of 5.1, and 5.5 is rapidly approaching. 5.1 is pretty much a super-set of 5.0 so you're not likely to have to do any more than run some regression tests to show your schema and SQL still works correctly. Also, if you wait for a few weeks you could go directly to 8.1-RELEASE, which might be a better choice. There have been some pretty significant bugfixes between 8.0-RELEASE and 8.1-RELEASE. bug fixes sound nice. a few weeks you say? Probably more like a month, actually. The schedule is here: http://www.freebsd.org/releases/8.1R/schedule.html but it's not unusual for the release to be delayed as RE team work on ensuring it is of the required quality. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwaJcUACgkQ8Mjk52CukIxNigCeNis4YIVeOSk21wizLxNSs+g+ LVQAn0xKxdN/G0Fpjewk4+UJvEznPm30 =4FQM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
upgrading form 7.1-RELEASE to 8.0-RELEASE?
as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?
On Wed, Jun 16, 2010 at 12:48:03PM -0400, Tom Worster thus spake: as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) http://www.freebsd.org/releases/8.0R/announce.html Instructions for using freebsd-update are found in the announcement, and what more needs to be done in moving from one release to another major branch. -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrading form 7.1-RELEASE to 8.0-RELEASE?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/06/2010 17:48:03, Tom Worster wrote: as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) Yes, this upgrade should work in one step. Make sure to install the compat7x port, and all the software you installed under 7.1 will be able to keep running. Note however that the compat7x stuff is merely a measure to give yourself a breathing space between upgrading the OS and rebuilding all your ports. You really do have to reinstall all the ports on a major version upgrade: while installed ports will still run if you don't touch them, as soon as you start updating anything, or installing anything new, it will start to go horribly poo unless you haved reinstalled everything. I note that the software you're running is all a few versions behind what's current, and some of those updates involve pretty significant changes (eg. php 5.2 to 5.3; changes to the way apache ports work; Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and planning is advised, but there's no real deal-breaker there. Also, if you wait for a few weeks you could go directly to 8.1-RELEASE, which might be a better choice. There have been some pretty significant bugfixes between 8.0-RELEASE and 8.1-RELEASE. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwZBKEACgkQ8Mjk52CukIwp/QCfRyRsbjlb1QkyLuMcmat9DTAL mPMAn1ad7v6cHKVNJLSiwBfW5qJtss+B =HMSM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 and wireless with ural
And in my rc.conf I have this defined: ifconfig_ural0=wpa DHCP hostname=my.home.server You must create a virtual interface (i.e. wlan0) and then configure it. # ifconfig wlan0 create wlandev ural0 Read man(5) rc.conf and the handbook for more information. You are using FreeBSD 8, don't you? Regards Alberto Mijares ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 and wireless with ural
On Mon, Apr 19, 2010 at 08:43:18PM -0400, Bobby Walker wrote: Hey list, I've searched and searched for a solution to this problem and I can't find one. I've got the wireless nic setup, its a Linksys WUSB54G v2. I have a Linksys WUSB54GC, and use the rum driver, check out the man page, man rum..., the WUSB54G is mentioned here as well.. ..it works like a dream on my 8.0-STABLE system -- Mvh/Brgds Harry FreeBSD 8.0-STABLE #23: Compiled at Mon Apr 19 18:55:29 CEST 2010 i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 and wireless with ural
No I only had 7.1 on CD, but I've burned 8 onto disc and will upgrade when I get home tonight. Thanks Sent from my iPhone On Apr 20, 2010, at 7:27 AM, Alberto Mijares amijar...@gmail.com wrote: And in my rc.conf I have this defined: ifconfig_ural0=wpa DHCP hostname=my.home.server You must create a virtual interface (i.e. wlan0) and then configure it. # ifconfig wlan0 create wlandev ural0 Read man(5) rc.conf and the handbook for more information. You are using FreeBSD 8, don't you? Regards Alberto Mijares ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: 7.1 and wireless with ural
FYI, I upgraded to 8.0 and built the virtual interface, but still had the same problems. I finally stumbled upon the solution to my problem. I added to rc.conf wpa_supplicant_flags=-s -Dbsd It will now get online, I'm rebuilding my kernel before cvsup'ing. Thanks! From: bobbyjwal...@live.com To: freebsd-questions@freebsd.org Date: Tue, 20 Apr 2010 17:06:02 -0500 Subject: Re: 7.1 and wireless with ural No I only had 7.1 on CD, but I've burned 8 onto disc and will upgrade when I get home tonight. Thanks Sent from my iPhone On Apr 20, 2010, at 7:27 AM, Alberto Mijares amijar...@gmail.com wrote: And in my rc.conf I have this defined: ifconfig_ural0=wpa DHCP hostname=my.home.server You must create a virtual interface (i.e. wlan0) and then configure it. # ifconfig wlan0 create wlandev ural0 Read man(5) rc.conf and the handbook for more information. You are using FreeBSD 8, don't you? Regards Alberto Mijares ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.1 and wireless with ural
Hey list, I've searched and searched for a solution to this problem and I can't find one. I've got the wireless nic setup, its a Linksys WUSB54G v2. Its picked up by the ural driver, but as far as I can tell that driver doesn't work for it. dmesg gives me: ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 ural0: WARNING: using obsoleted IFF_NEEDSGIANT flag ural0: Ethernet address: 00:18:39:03:35:3b Then I get a series of messages that repeat: ural0: link state changed to UP ural0: link state changed to DOWN ural0: link state changed to UP ural0: link state changed to DOWN Here's ifconfig when the device is UP: ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 ether 00:18:39:03:35:3b inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid MYNETWORK channel 6 (2437 Mgz 11g) bssid 00:25:9c:9e:e0:00 authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 50 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL And in my rc.conf I have this defined: ifconfig_ural0=wpa DHCP hostname=my.home.server And lastly this is my wpa_supplicant.conf network={ ssid=MYNETWORK key_mgmt=WPA-PSK psk=mysecretpass } Anyone have any ideas on how I can pull down a stable connection with this so that I can upgrade to 8.0? Thanks in advance, Bobby _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
hplip 3.9.8 on fbsd 7.1 with HP LJ P2035
Hi, I can't seem to get it to probe the printer. hp-setup says: error: No devices found. error: Error occured during interactive mode. Exiting. dmesg|grep HP says: ugen0: Hewlett-Packard HP LaserJet P2035, class 0/0, rev 2.00/1.00, addr 2 on uhub0 The http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p2035.html page says a plugin is required, but no info on how to get that plugin. Help!! Thanks, Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: hplip 3.9.8 on fbsd 7.1 with HP LJ P2035
On Wed, 9 Dec 2009, Rich Winkel wrote: Hi, I can't seem to get it to probe the printer. hp-setup says: error: No devices found. error: Error occured during interactive mode. Exiting. Did you run hp-setup from the command line? The GUI has been broken for a long time. Can you find the printer from the CUPS control panel? Is it set as the default printer in CUPS? dmesg|grep HP says: ugen0: Hewlett-Packard HP LaserJet P2035, class 0/0, rev 2.00/1.00, addr 2 on uhub0 The http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p2035.html page says a plugin is required, but no info on how to get that plugin. Help!! Thanks, Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.1 as a router - poor download speed, but normal upload
Hello everybody! Please help me if you can. I have a home server built on Gigabyte MiniITX motherboard with VIA C3 800MHz CPU and 512M RAM aboard. The server acts as a file server, torrent downloader, router and mail and HTTP server. I have a PPTP connection to my ISP through the integrated network card. The network configuration is: [0:04] kkur...@dot.kkursor.ru ~ # ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:19:cb:54:c6:15 inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0f:ea:e2:cd:e0 inet 192.168.158.102 netmask 0xff00 broadcast 192.168.158.255 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff00 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500 inet 195.98.183.20 -- 172.30.96.1 netmask 0x Opened by PID 73795 tun1: flags=8010POINTOPOINT,MULTICAST metric 0 mtu 1500 rl1 is integrated network card and rl0 is an additional PCI NIC which is inserted into the only PCI slot on the motherboard. Connection to ISP is done over rl1 using port pptp-client. The problem is that there is very low download speed. My ISP provides symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload speed is OK. I called ISP, they asked me to connect WinXP computer and measure speed. It was normal, therefore there is an issue in my server. If you could point me in the right direction, it would be wonderful. Thank you very much for your work! With best regards and looking forward for answer, Kirill Sarksyan, Russian Federation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 as a router - poor download speed, but normal upload
2009/10/8 .kkursor d...@kkursor.ru Hello everybody! Please help me if you can. I have a home server built on Gigabyte MiniITX motherboard with VIA C3 800MHz CPU and 512M RAM aboard. The server acts as a file server, torrent downloader, router and mail and HTTP server. I have a PPTP connection to my ISP through the integrated network card. The network configuration is: [0:04] kkur...@dot.kkursor.ru ~ # ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:19:cb:54:c6:15 inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0f:ea:e2:cd:e0 inet 192.168.158.102 netmask 0xff00 broadcast 192.168.158.255 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff00 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500 inet 195.98.183.20 -- 172.30.96.1 netmask 0x Opened by PID 73795 tun1: flags=8010POINTOPOINT,MULTICAST metric 0 mtu 1500 rl1 is integrated network card and rl0 is an additional PCI NIC which is inserted into the only PCI slot on the motherboard. Connection to ISP is done over rl1 using port pptp-client. The problem is that there is very low download speed. My ISP provides symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload speed is OK. I called ISP, they asked me to connect WinXP computer and measure speed. It was normal, therefore there is an issue in my server. If you could point me in the right direction, it would be wonderful. Thank you very much for your work! With best regards and looking forward for answer, Kirill Sarksyan, Russian Federation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org try turning the mtu on the tun0 interface to 1492. If it doent help try a much lower setting eg 1450. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 as a router - poor download speed, but normal upload
.kkursor wrote: Hello everybody! Please help me if you can. I have a home server built on Gigabyte MiniITX motherboard with VIA C3 800MHz CPU and 512M RAM aboard. The server acts as a file server, torrent downloader, router and mail and HTTP server. I have a PPTP connection to my ISP through the integrated network card. The network configuration is: [0:04] kkur...@dot.kkursor.ru ~ # ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:19:cb:54:c6:15 inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0f:ea:e2:cd:e0 inet 192.168.158.102 netmask 0xff00 broadcast 192.168.158.255 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff00 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500 inet 195.98.183.20 -- 172.30.96.1 netmask 0x Opened by PID 73795 tun1: flags=8010POINTOPOINT,MULTICAST metric 0 mtu 1500 rl1 is integrated network card and rl0 is an additional PCI NIC which is inserted into the only PCI slot on the motherboard. Connection to ISP is done over rl1 using port pptp-client. The problem is that there is very low download speed. My ISP provides symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload speed is OK. I called ISP, they asked me to connect WinXP computer and measure speed. It was normal, therefore there is an issue in my server. If you could point me in the right direction, it would be wonderful. Thank you very much for your work! With best regards and looking forward for answer, Kirill Sarksyan, Russian Federation Did you really saturate your upload while testing your download speed in WinXP? What you're describing is a common problem with how TCP works especially on (but not limited to) assymetric connections. I use the technique described by Daniel Hartmeier to circumvent it and can fully utilize my upload and download simultaneously. http://www.benzedrine.cx/ackpri.html /Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD AMD64 7.1 LAST_ACK stuck
Hello, I'm running FreeBSD AMD64 7.1-p4 After the server experienced a DoS attack, it ended up with many sockets stuck in LACK_ACK state as reported by netstat -na Is this a bug or something else is wrong, how would I troubleshoot this? Please CC me. Thank you very much! Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem installing FreeBSD 7.1 RELEASE.
Hi. I'm having trouble installing 7.1 release. The details of my system : Motherboard : EliteGroup (A740GM-M) RAM : 3G DDR2 800Mhz CPU : AMD Athlon 64 x2 Dual Core processor Disk :WD 500GB SATA DVD : Samsung DVD/Writer Super Write Master Primary OS : Windows XP sp3 I'll list the problems and the attempts I've tried to get around them. Problem #1 The CD/DVD drive can not be mounted by sysinstall. === I have a SAMSUNG DVD writer drive attached to my ATAPI IDE interface. I have a WD 500GB SATA Drive attached to my SATA interface. The system boots off the CD, runs sysintall. I'm able to allocate storage for the FREEBSD partition and then create the individual slices for the default file systems. (/, swap, /var, /tmp, /usr) When choosing the instalation media as CD/DVD, an error message saying that the CD/DVD drive was not found pops up. I've tried every option on the boot program, they all fail to load the CD/DVD drive and can't proceed with the instalation. I've tried changing the DVD drive to a nother CD/RW drive attached to the same ATAPI controller, the problem persist as before, no change. This leads me to my next attempt to install the system from a disk PARTITION. Problem #2 Unable to mount the disk partiton at the time of install. = Ok, I've created a new extended partition with Partition Magic to hold the contents of the install CD. This new partition sits third on the list as follows : a) NTFS partition with my XP installation b) FreeBSD partiton where the system will be installed. c) The new FAT partiton where the contents of the FREEBSD cd is copied into the directory named E:\FREEBSD. I've copied the entire CD to this new partition. Back to sysinstall, when choosing the new instalation media Install from DOS partition I get an error message saying Unable to mount /dev/ad8s3 to /dist, and the problem of not finding the DOS partition where the contents of the FREEBSD cd were copied to continues, keeping me from progressing with the install. The next attempt was trying to install from a filesystem. When selecting this option, a dialog from sysinstall pops up asking to list the complete path name of where the FREEBSD files were copied to this disk partition. I enter /dev/ad8s3:/FREEBSD and an error message saying that it can not find the disk partition comes up keeping me from progressing with the install. I've looked at the FreeBSD handbook online, but could not find further details about installing the system from a disk partition. Any pointers as to what proper measures to take to try to get past this problem. ? Can someone suggest some other way to get the system installed. ? Oh, I've also tried PC-BSD, but that stops right away with an error message of Error loading image since it can not find the CD/DVD drive again. I'll appreciated if you can provide further details of how to proceed, point me to the direction where I can get more details. Your response is greatly appreciated. --Rom a_rom...@hotmail.com _ Windows Live: Keep your friends up to date with what you do online. http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem installing FreeBSD 7.1 RELEASE.
On Thu, Sep 10, 2009 at 4:09 PM, Rom Albuquerque a_rom...@hotmail.comwrote: Hi. I'm having trouble installing 7.1 release. The details of my system : Motherboard : EliteGroup (A740GM-M) RAM : 3G DDR2 800Mhz CPU : AMD Athlon 64 x2 Dual Core processor Disk :WD 500GB SATA DVD : Samsung DVD/Writer Super Write Master Primary OS : Windows XP sp3 I'll list the problems and the attempts I've tried to get around them. Problem #1 The CD/DVD drive can not be mounted by sysinstall. === I have a SAMSUNG DVD writer drive attached to my ATAPI IDE interface. I have a WD 500GB SATA Drive attached to my SATA interface. The system boots off the CD, runs sysintall. I'm able to allocate storage for the FREEBSD partition and then create the individual slices for the default file systems. (/, swap, /var, /tmp, /usr) When choosing the instalation media as CD/DVD, an error message saying that the CD/DVD drive was not found pops up. I've tried every option on the boot program, they all fail to load the CD/DVD drive and can't proceed with the instalation. I've tried changing the DVD drive to a nother CD/RW drive attached to the same ATAPI controller, the problem persist as before, no change. This leads me to my next attempt to install the system from a disk PARTITION. Problem #2 Unable to mount the disk partiton at the time of install. = Ok, I've created a new extended partition with Partition Magic to hold the contents of the install CD. This new partition sits third on the list as follows : a) NTFS partition with my XP installation b) FreeBSD partiton where the system will be installed. c) The new FAT partiton where the contents of the FREEBSD cd is copied into the directory named E:\FREEBSD. I've copied the entire CD to this new partition. Back to sysinstall, when choosing the new instalation media Install from DOS partition I get an error message saying Unable to mount /dev/ad8s3 to /dist, and the problem of not finding the DOS partition where the contents of the FREEBSD cd were copied to continues, keeping me from progressing with the install. The next attempt was trying to install from a filesystem. When selecting this option, a dialog from sysinstall pops up asking to list the complete path name of where the FREEBSD files were copied to this disk partition. I enter /dev/ad8s3:/FREEBSD and an error message saying that it can not find the disk partition comes up keeping me from progressing with the install. I've looked at the FreeBSD handbook online, but could not find further details about installing the system from a disk partition. Any pointers as to what proper measures to take to try to get past this problem. ? Can someone suggest some other way to get the system installed. ? Oh, I've also tried PC-BSD, but that stops right away with an error message of Error loading image since it can not find the CD/DVD drive again. I'll appreciated if you can provide further details of how to proceed, point me to the direction where I can get more details. Your response is greatly appreciated. --Rom a_rom...@hotmail.com _ Windows Live: Keep your friends up to date with what you do online. http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009___ freebsd-questions@freebsd.orghttp://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009___%0afreebsd-questi...@freebsd.orgmailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org When the installation CD is booting, can you see if your CDROM drive is being detected as acd0? Another option might be to try installing from USB. Go into the options menu, enable debugging, and try the install again - either from the CDROM drive or the DOS partition. Switch to the next terminal over, and you should see some more verbose output as to what's going wrong. -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: messed up upgrade 7.0 7.1 to 7.2
PJ wrote: Roland Smith wrote: On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote: I have been struggling for about 4 days trying to prepare 2 computers to update to 7.2 with no success whatsoever. The more I read the instructions, the less I understand. And almost nothing works as it should Some background: I have been using FreeBSD as a LAN server (for files storage web development/backup etc. and part desktop for more than 10 years. I have never had great success when it comes to installation but have managed to get it running and have even kept on v. 4.10 for archiving older sites I have had. The older methods of upgrading worked well enough even though they were somewhat lengthy. Last week I finally managed to set up an Acer Travelmate 4400 amd64 with FreeBSD 7.2 and even got everything right. For the first time I was able to get Flash Shockwave to work on a FreeBSD installation. With a bit of help from this list. Thanks, guys. However, I have not been able to figure out how a custom kernel could be set up nor how the new modular system works. Haven't found any coherent explanations. But now I have the following problems: PROBLEM 1. I freebsd-update fetch did not get the security patches or whatever else it should - all I got was error: configuration file not found Does /etc/freebsd-update.conf exist? PROBLEM 2. There seems to be some confusion about how to update and keep current the ports - portsnap seems to work in concert with portversion; there are some problems when one uses portsnap as there are with cvsup. The two seem necessary since some errors inn installing cannot be handled by both... If, for example, it is necessary to delete the port completely and reinstall it, portsnap just does not do it. I does not see that the port direcotry is empty; cvsup does and fills it in so the error can be correcte and the port properly installed. Portsnap only updates the ports tree (the directories under /usr/ports), not the installed ports themselves. You'll need either /usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to keep installed ports up to date. I prefer portmaster since it doesn't depend on a separate database as portupgrade does. Depending on how long it has been since you've updated your ports and the speed of your machine, updates can indeed take a long time. You could choose to use pre-built packages instead of compiling from source, to speed things up. PROBLEM 3. I always have been running with a custom kernel. So, to upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went through that process as per manual instructions. Did you check that the GENERIC kernel that you built was installed as /boot/kernel/kernel? Had to reboot as I needed to transfer some downloaded files from the 7.1 box to the 7.0 box for port upgrading. It is unclear to me why you should have to reboot to transfer files... If you want to e.g. connect two machines with an ethernet cable, are you aware that you can use the scripts in /etc/rc.d to stop and restart networking? And why not just transfer files with a USB thumbdrive? That was a mistake. Nothing indicated that I could not reboot without screwing things up... of course, I should have known better; but I'm prone to that kind of error. But I'm pretty sure that the automatic upgrade would not have worked anyway as it doesn't work on the machine with 7.0 installed. Without a more thorough description of the steps that you followed, there is not really a lot others can do to help you. From your description it is totally unclear what has gone wrong. Booting on this 7.1 machine is now impossible. I tried to boot from the install CD but that only made it worse. As I understood the instruction it would upgrade the machine, but I understand now that it just doesn't work that way... it has to be upgraded from a 7.2 CD. That I don't have at the moment. So the boot now just says: Invalid format FreeBSD/i386 boot Default: 0:ad(0,a)/boot/kernel/kernel boot: - Type ? at the boot prompt to see a list of files in the root directory of the default boot device. Read the boot(8) manual page. It could be that something went wrong with your disk. Mabye the slices or partitions were deleted. PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried # freebsd-update -r 7.2-RELEASE upgrade and I get the famous no configuration file found. Does this configuration file (see above) exist? Somehow, I don't recall that being indicated anywhere in the manual. Oh, I did read it... several times... and the more I read it, the more I didn't understand anything - from mergemaster to the configuration file to the modular kernels ... Maybe someone could explain to me just
messed up upgrade 7.0 7.1 to 7.2
I have been struggling for about 4 days trying to prepare 2 computers to update to 7.2 with no success whatsoever. The more I read the instructions, the less I understand. And almost nothing works as it should Some background: I have been using FreeBSD as a LAN server (for files storage web development/backup etc. and part desktop for more than 10 years. I have never had great success when it comes to installation but have managed to get it running and have even kept on v. 4.10 for archiving older sites I have had. The older methods of upgrading worked well enough even though they were somewhat lengthy. Last week I finally managed to set up an Acer Travelmate 4400 amd64 with FreeBSD 7.2 and even got everything right. For the first time I was able to get Flash Shockwave to work on a FreeBSD installation. With a bit of help from this list. Thanks, guys. However, I have not been able to figure out how a custom kernel could be set up nor how the new modular system works. Haven't found any coherent explanations. But now I have the following problems: PROBLEM 1. I freebsd-update fetch did not get the security patches or whatever else it should - all I got was error: configuration file not found PROBLEM 2. There seems to be some confusion about how to update and keep current the ports - portsnap seems to work in concert with portversion; there are some problems when one uses portsnap as there are with cvsup. The two seem necessary since some errors inn installing cannot be handled by both... If, for example, it is necessary to delete the port completely and reinstall it, portsnap just does not do it. I does not see that the port direcotry is empty; cvsup does and fills it in so the error can be correcte and the port properly installed. And if you use cvsup and the try to update (portupgrade -af), the upgrading never stops... I just stopped it with ctl+c after more than 30 hours... it was getting ridiculous. The manual instructions say some like or can doe the portupgrade -af - but, frankly, it isn't clear on why it should or could be done? It implies it is a form of testing. Nonsense... the instructions are really not clear at all, at least for a dummy like me... (of course, my studies in English literature and philosophy don't qualify me for understanding anything, I guess...) PROBLEM 3. I always have been running with a custom kernel. So, to upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went through that process as per manual instructions. Had to reboot as I needed to transfer some downloaded files from the 7.1 box to the 7.0 box for port upgrading. That was a mistake. Nothing indicated that I could not reboot without screwing things up... of course, I should have known better; but I'm prone to that kind of error. But I'm pretty sure that the automatic upgrade would not have worked anyway as it doesn't work on the machine with 7.0 installed. Booting on this 7.1 machine is now impossible. I tried to boot from the install CD but that only made it worse. As I understood the instruction it would upgrade the machine, but I understand now that it just doesn't work that way... it has to be upgraded from a 7.2 CD. That I don't have at the moment. So the boot now just says: Invalid format FreeBSD/i386 boot Default: 0:ad(0,a)/boot/kernel/kernel boot: - Now, what do I do? How can I fix this machine so I can either just boot and access my files or also upgrade to 7.2 (which was my original intent)? PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried # freebsd-update -r 7.2-RELEASE upgrade and I get the famous no configuration file found. Somehow, I don't recall that being indicated anywhere in the manual. Oh, I did read it... several times... and the more I read it, the more I didn't understand anything - from mergemaster to the configuration file to the modular kernels ... Maybe someone could explain to me just exaclty how is one supposed to deal with the upgrading and customizing the kernel. Should one (I) be simply using the GENERIC kernel and then expect the upgrading to be as simple as it seems to sound? And just what advantage (speed wise I suppose) is there to use the custom kernel? Maybe the easiest is to just install the 7.2 fresh; but that would take the fun out of beating my head against an already cracked wall for upgrading and would take probably as long to reinstall all the 644 or so programs. On the 7.1 machine, I don't really want to lose all the files I have on there... most have been saved and none are really that important... but just in case. If this seems too long to post as is, perhaps I should break it up and make several posts? Please help, I am totally confused, disappointed and terribly distressed. But I still bear no love for that shitpile of MS. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http
Re: messed up upgrade 7.0 7.1 to 7.2
On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote: I have been struggling for about 4 days trying to prepare 2 computers to update to 7.2 with no success whatsoever. The more I read the instructions, the less I understand. And almost nothing works as it should Some background: I have been using FreeBSD as a LAN server (for files storage web development/backup etc. and part desktop for more than 10 years. I have never had great success when it comes to installation but have managed to get it running and have even kept on v. 4.10 for archiving older sites I have had. The older methods of upgrading worked well enough even though they were somewhat lengthy. Last week I finally managed to set up an Acer Travelmate 4400 amd64 with FreeBSD 7.2 and even got everything right. For the first time I was able to get Flash Shockwave to work on a FreeBSD installation. With a bit of help from this list. Thanks, guys. However, I have not been able to figure out how a custom kernel could be set up nor how the new modular system works. Haven't found any coherent explanations. But now I have the following problems: PROBLEM 1. I freebsd-update fetch did not get the security patches or whatever else it should - all I got was error: configuration file not found Does /etc/freebsd-update.conf exist? PROBLEM 2. There seems to be some confusion about how to update and keep current the ports - portsnap seems to work in concert with portversion; there are some problems when one uses portsnap as there are with cvsup. The two seem necessary since some errors inn installing cannot be handled by both... If, for example, it is necessary to delete the port completely and reinstall it, portsnap just does not do it. I does not see that the port direcotry is empty; cvsup does and fills it in so the error can be correcte and the port properly installed. Portsnap only updates the ports tree (the directories under /usr/ports), not the installed ports themselves. You'll need either /usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to keep installed ports up to date. I prefer portmaster since it doesn't depend on a separate database as portupgrade does. Depending on how long it has been since you've updated your ports and the speed of your machine, updates can indeed take a long time. You could choose to use pre-built packages instead of compiling from source, to speed things up. PROBLEM 3. I always have been running with a custom kernel. So, to upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went through that process as per manual instructions. Did you check that the GENERIC kernel that you built was installed as /boot/kernel/kernel? Had to reboot as I needed to transfer some downloaded files from the 7.1 box to the 7.0 box for port upgrading. It is unclear to me why you should have to reboot to transfer files... If you want to e.g. connect two machines with an ethernet cable, are you aware that you can use the scripts in /etc/rc.d to stop and restart networking? And why not just transfer files with a USB thumbdrive? That was a mistake. Nothing indicated that I could not reboot without screwing things up... of course, I should have known better; but I'm prone to that kind of error. But I'm pretty sure that the automatic upgrade would not have worked anyway as it doesn't work on the machine with 7.0 installed. Without a more thorough description of the steps that you followed, there is not really a lot others can do to help you. From your description it is totally unclear what has gone wrong. Booting on this 7.1 machine is now impossible. I tried to boot from the install CD but that only made it worse. As I understood the instruction it would upgrade the machine, but I understand now that it just doesn't work that way... it has to be upgraded from a 7.2 CD. That I don't have at the moment. So the boot now just says: Invalid format FreeBSD/i386 boot Default: 0:ad(0,a)/boot/kernel/kernel boot: - Type ? at the boot prompt to see a list of files in the root directory of the default boot device. Read the boot(8) manual page. It could be that something went wrong with your disk. Mabye the slices or partitions were deleted. PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried # freebsd-update -r 7.2-RELEASE upgrade and I get the famous no configuration file found. Does this configuration file (see above) exist? Somehow, I don't recall that being indicated anywhere in the manual. Oh, I did read it... several times... and the more I read it, the more I didn't understand anything - from mergemaster to the configuration file to the modular kernels ... Maybe someone could explain to me just exaclty how is one supposed to deal with the upgrading and customizing the kernel. Should one (I) be simply using the GENERIC kernel and then expect the upgrading to be as simple as it seems to sound? If you want a custom
Re: messed up upgrade 7.0 7.1 to 7.2
Roland Smith wrote: On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote: I have been struggling for about 4 days trying to prepare 2 computers to update to 7.2 with no success whatsoever. The more I read the instructions, the less I understand. And almost nothing works as it should Some background: I have been using FreeBSD as a LAN server (for files storage web development/backup etc. and part desktop for more than 10 years. I have never had great success when it comes to installation but have managed to get it running and have even kept on v. 4.10 for archiving older sites I have had. The older methods of upgrading worked well enough even though they were somewhat lengthy. Last week I finally managed to set up an Acer Travelmate 4400 amd64 with FreeBSD 7.2 and even got everything right. For the first time I was able to get Flash Shockwave to work on a FreeBSD installation. With a bit of help from this list. Thanks, guys. However, I have not been able to figure out how a custom kernel could be set up nor how the new modular system works. Haven't found any coherent explanations. But now I have the following problems: PROBLEM 1. I freebsd-update fetch did not get the security patches or whatever else it should - all I got was error: configuration file not found Does /etc/freebsd-update.conf exist? PROBLEM 2. There seems to be some confusion about how to update and keep current the ports - portsnap seems to work in concert with portversion; there are some problems when one uses portsnap as there are with cvsup. The two seem necessary since some errors inn installing cannot be handled by both... If, for example, it is necessary to delete the port completely and reinstall it, portsnap just does not do it. I does not see that the port direcotry is empty; cvsup does and fills it in so the error can be correcte and the port properly installed. Portsnap only updates the ports tree (the directories under /usr/ports), not the installed ports themselves. You'll need either /usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to keep installed ports up to date. I prefer portmaster since it doesn't depend on a separate database as portupgrade does. Depending on how long it has been since you've updated your ports and the speed of your machine, updates can indeed take a long time. You could choose to use pre-built packages instead of compiling from source, to speed things up. PROBLEM 3. I always have been running with a custom kernel. So, to upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went through that process as per manual instructions. Did you check that the GENERIC kernel that you built was installed as /boot/kernel/kernel? Had to reboot as I needed to transfer some downloaded files from the 7.1 box to the 7.0 box for port upgrading. It is unclear to me why you should have to reboot to transfer files... If you want to e.g. connect two machines with an ethernet cable, are you aware that you can use the scripts in /etc/rc.d to stop and restart networking? And why not just transfer files with a USB thumbdrive? That was a mistake. Nothing indicated that I could not reboot without screwing things up... of course, I should have known better; but I'm prone to that kind of error. But I'm pretty sure that the automatic upgrade would not have worked anyway as it doesn't work on the machine with 7.0 installed. Without a more thorough description of the steps that you followed, there is not really a lot others can do to help you. From your description it is totally unclear what has gone wrong. Booting on this 7.1 machine is now impossible. I tried to boot from the install CD but that only made it worse. As I understood the instruction it would upgrade the machine, but I understand now that it just doesn't work that way... it has to be upgraded from a 7.2 CD. That I don't have at the moment. So the boot now just says: Invalid format FreeBSD/i386 boot Default: 0:ad(0,a)/boot/kernel/kernel boot: - Type ? at the boot prompt to see a list of files in the root directory of the default boot device. Read the boot(8) manual page. It could be that something went wrong with your disk. Mabye the slices or partitions were deleted. PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried # freebsd-update -r 7.2-RELEASE upgrade and I get the famous no configuration file found. Does this configuration file (see above) exist? Somehow, I don't recall that being indicated anywhere in the manual. Oh, I did read it... several times... and the more I read it, the more I didn't understand anything - from mergemaster to the configuration file to the modular kernels ... Maybe someone could explain to me just exaclty how is one supposed to deal with the upgrading and customizing the kernel. Should one (I) be simply
Re: bsdstats not working in 7.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm running it on 7-STABLE servers without any problem ... but notice that others responded that it appears you are on PC-BSD vs FreeBSD? As late as this answer is, are you still having an issue with it on your machine? - --On Sunday, March 01, 2009 19:20:21 +0800 Fbsd1 fb...@a1poweruser.com wrote: bsdstats is now in the base system. Have bsdstats_enable=YES is rc.conf Worked this way in 7.0. What am I missing here??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scra...@hub.org MSN . scra...@hub.org Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpuZFIACgkQ4QvfyHIvDvPpMwCfUaNbQJojcXS3Ph5DnesNVH0H fTMAniGG92QBY+3aELFu+xQZTUMVgiva =eaWl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update: from 7.1-STABLE to 7.2-RELEASE?
Hello, I have previously kept my machine updated by fetching the STABLE branch using csup and rebuilding the kernel. (As described in Handbook chapter 24.7) From now on, I want to use freebsd-update to simplify the process and follow the RELEASE branch (+patches) instead. But it seems that freebsd-update cannot help me upgrade from 7.1-STABLE to 7.2-RELEASE. Any tips on how to make the transition to RELEASE? -- uname -a FreeBSD host 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jul 25 12:24:54 CEST 2009 root@host:/usr/obj/usr/src/sys/GENERIC i386 -- freebsd-update -v debug -r 7.2-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update5.FreeBSD.org... fetch: http://update5.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. Fetching public key from update4.FreeBSD.org... fetch: http://update4.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. Fetching public key from update1.FreeBSD.org... fetch: http://update1.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. No mirrors remaining, giving up. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update: from 7.1-STABLE to 7.2-RELEASE?
Axel wrote: From now on, I want to use freebsd-update to simplify the process and follow the RELEASE branch (+patches) instead. But it seems that freebsd-update cannot help me upgrade from 7.1-STABLE to 7.2-RELEASE. Any tips on how to make the transition to RELEASE? You must use CVSup for one last time. RELENG_7_2_0_RELEASE is the CVS|CVSup tag you should use to update your sources to 7.2-RELEASE. Build and install that and then, you can start using binary updates... Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update: from 7.1-STABLE to 7.2-RELEASE?
Axel wrote: Hello, I have previously kept my machine updated by fetching the STABLE branch using csup and rebuilding the kernel. (As described in Handbook chapter 24.7) From now on, I want to use freebsd-update to simplify the process and follow the RELEASE branch (+patches) instead. But it seems that freebsd-update cannot help me upgrade from 7.1-STABLE to 7.2-RELEASE. Any tips on how to make the transition to RELEASE? -- uname -a FreeBSD host 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jul 25 12:24:54 CEST 2009 root@host:/usr/obj/usr/src/sys/GENERIC i386 -- freebsd-update -v debug -r 7.2-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update5.FreeBSD.org... fetch: http://update5.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. Fetching public key from update4.FreeBSD.org... fetch: http://update4.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. Fetching public key from update1.FreeBSD.org... fetch: http://update1.FreeBSD.org/7.1-STABLE/i386/pub.ssl: Not Found failed. No mirrors remaining, giving up. -- Probably your best plan would be to: * Back up everything, but particularly all of the contents of /etc /usr/local/etc and /home and anywhere else you have important files you can't recover from original sources. * csup to RELENG_7_2_0_RELEASE (ie use that as the cvs tag in your sup file). This will give you code base the release was generated from. Compile and update your system the normal way -- uname(1) should identify itself as 7.2-RELEASE after this. Replace any custom kernel with GENERIC if you want to use freebsd-update for the kernel as well as the world. * use freebsd-update to to upgrade from 7.2-RELEASE to 7.2-RELEASE-p2 according to the instructions in the man page. Now, you'll be using a self-compiled version of FreeBSD rather than exactly what comes off the release .iso so there will be minor differences and mismatched checksums for various files. However I think freebsd-update should be able to cope, and will probably overwrite any non-matching files. In case it doesn't, your next recourse would be to grab a release .iso from the FTP sites and overwrite your system with the version from the install media. You can do this without completely trashing your existing setup if you take care -- particularly make sure that you tell the installer *not* to newfs any partitions. Of course, make sure you've backed everything up before trying this, as it will overwrite some of the files under /etc with the default versions. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: freebsd-update: from 7.1-STABLE to 7.2-RELEASE?
Axel wrote: Hello, I have previously kept my machine updated by fetching the STABLE branch using csup and rebuilding the kernel. (As described in Handbook chapter 24.7) From now on, I want to use freebsd-update to simplify the process and follow the RELEASE branch (+patches) instead. But it seems that freebsd-update cannot help me upgrade from 7.1-STABLE to 7.2-RELEASE. Any tips on how to make the transition to RELEASE? freebsd-update can take you from one very specific point of FreeBSD to another. For example, RELEASE to RELEASE or BETAx to RELEASE. If you follow STABLE, there is no such defined point hence you cannot use freebsd-update to go from STABLE to RELEASE. For your case, use the csup / rebuild method one more time to get to 7.2-RELEASE. After that you can start using freebsd-update to upgrade from one release to the next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Support of UDF ISO-13346 on 7.1-RELEASE-p2 [SOLVED]
b. f. wrote: #How can I mount this disc ? Does udf.ko support this format ? I don't often use memory disks, so I'm not quite sure what is going wrong here. You could try configuring it and mounting it as read-only, to see if that helps. But you should be aware that FreeBSD does not support _all_ UDF filesystems, only some of them, and there were some shortcomings with the earlier implementation of udf.ko that you are using. For more information, see for example: http://en.wikipedia.org/wiki/Universal_Disk_Format So your disk image, if it really has an intact and valid UDF filesystem, may still be unmountable even if you are doing everything properly. I would suggest that you install the sysutils/udfclient port or package, and use it to try to read the disk image. It supports a slightly wider range of UDF filesystems than the kernel module, and you don't have to go to the trouble of mounting the disk image to read it. Of course, if you need to mount it, you could try dumping it to a different filesystem and then mounting it as a memory disk or otherwise. If that doesn't work, then it may be easiest to use the native tools in some other OS (e.g., NetBSD, Vista ... ) b. I'm disappointed that FreeBSD mount_udf doesn't support this disc. to those trying: the solution is to use udfclient and browse that way. Alternatively there is a refuse package that makes UDFclient into a FS to mount. Do not be deterred by the complicated first-level directory : 97505d80MS UDFBridge:UDF Volume:GRC1CULXFRER_EN_DVD:GRC1CULXFRER_EN_#503F Yes, there are spaces in it, you'll want to quote it to access it properly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Support of UDF ISO-13346 on 7.1-RELEASE-p2 [SOLVED]
On 7/22/09, Bryant Eadon bryant.ea...@gmail.com wrote: ... I'm disappointed that FreeBSD mount_udf doesn't support this disc. Disappointed enough to port the latest NetBSD UDF improvements to FreeBSD? Or to analyze the udfclient sources and make some improvements to the kernel module? ;) I'm glad to hear that at least you were able to read it, and of course a follow-up such as yours is helpful to the others that may encounter the same problem, so thanks for letting us know. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Support of UDF ISO-13346 on 7.1-RELEASE-p2
Hello, In trying to get a copy of Windows 7 working under qemu today I ran into a bit of a snag mounting the image. ## giving me a node to play with ... sudo mdconfig -a -t vnode -f /tank/extract/7100.0.090421-1700_x64fre_client_en-us_retail_ultimate-grc1culxfrer_en_dvd.iso -u 0 ## and trying to mount md0 : sudo mount -t cd9660 /dev/md0 /mnt/iso/ ## lists only a single file 'readme.txt' : This disc contains a UDF file system and requires an operating system that supports the ISO-13346 UDF file system specification. ## lovely .. sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument ## Not very helpful ... especially since kldstat shows I have udf.ko loaded. How can I mount this disc ? Does udf.ko support this format ? thanks, Bryant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Support of UDF ISO-13346 on 7.1-RELEASE-p2
Bryant Eadon bryant.ea...@gmail.com wrote: ... sudo mount -t cd9660 /dev/md0 /mnt/iso/ ## lists only a single file 'readme.txt' : This disc contains a UDF file system and requires an operating system that supports the ISO-13346 UDF file system specification. ## lovely .. sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument ## Not very helpful ... especially since kldstat shows I have udf.ko loaded. Did you remember to sudo umount /dev/md0 before attempting to mount it as udf? It can't be mounted as both types at the same time :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Support of UDF ISO-13346 on 7.1-RELEASE-p2
per...@pluto.rain.com wrote: Bryant Eadon bryant.ea...@gmail.com wrote: ... sudo mount -t cd9660 /dev/md0 /mnt/iso/ ## lists only a single file 'readme.txt' : This disc contains a UDF file system and requires an operating system that supports the ISO-13346 UDF file system specification. ## lovely .. sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument ## Not very helpful ... especially since kldstat shows I have udf.ko loaded. Did you remember to sudo umount /dev/md0 before attempting to mount it as udf? It can't be mounted as both types at the same time :) Right, just to double check I tested it again, even specifying the sector size for the device (2048) ... I'm still scratching my head why it's not working ... $ sudo mdconfig -d -u 0 $ sudo mdconfig -a -t vnode -f /tank/iso/7100.0.090421-1700_x64fre_client_en-us_retail_ultimate-grc1culxfrer_en_dvd.iso -u 0 -S 2048b $ sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument $ df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad8s3a 507630 412388 5463288%/ devfs1 1 0 100%/dev /dev/ad8s3e1012974752931186 0%/tmp /dev/ad8s3f 2226560805565182 199278412 3%/usr /dev/ad8s3d8122126 184562 7287794 2%/var /dev/ad4s1 192305310 175034520 188636699%/mnt/wd1 tank1913870848 1077562496 83630835256%/tank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Support of UDF ISO-13346 on 7.1-RELEASE-p2
#How can I mount this disc ? Does udf.ko support this format ? I don't often use memory disks, so I'm not quite sure what is going wrong here. You could try configuring it and mounting it as read-only, to see if that helps. But you should be aware that FreeBSD does not support _all_ UDF filesystems, only some of them, and there were some shortcomings with the earlier implementation of udf.ko that you are using. For more information, see for example: http://en.wikipedia.org/wiki/Universal_Disk_Format So your disk image, if it really has an intact and valid UDF filesystem, may still be unmountable even if you are doing everything properly. I would suggest that you install the sysutils/udfclient port or package, and use it to try to read the disk image. It supports a slightly wider range of UDF filesystems than the kernel module, and you don't have to go to the trouble of mounting the disk image to read it. Of course, if you need to mount it, you could try dumping it to a different filesystem and then mounting it as a memory disk or otherwise. If that doesn't work, then it may be easiest to use the native tools in some other OS (e.g., NetBSD, Vista ... ) b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Stability issues after upgrading to 7.1 - NFS related?
Hello all, We recently upgraded an NFS server from 7.0-p6 to 7.1-p6. The following Monday morning, we found the server's networking to be wedged, and console error messages that strongly resemble this post [1]. In an effort to try the mentioned fixes, we upgraded to 7-STABLE. This did not seem to help matters; the NFS server keeps wedging 1-2x a day, requiring soft reboots (via console) at times and hard reboots at others. Heavy NFS load seems to trigger everything. Initially, we thought there might be a problem with rpc.statd because we started seeing RPC: Port mapper failure - RPC : Timed out messages. All the hosts that timed out were previously-working Linux (CentOS) NFS clients. We have IPsec configured in transport mode between all FreeBSD and Linux NFS clients, but only see the RPC error for CentOS (not RHEL) hosts, (and no errors from FreeBSD clients). Before the system wedges completely, `top` reports that most nfsd processes are in the *ipsec state. These are all the troubleshooting steps we have taken: - disabled NFS locking on the Linux NFS clients - RPC timed out messages still appear - set up RPC to use static ports for NFS on our CentOS clients (to work better with our firewalls, which needed no such rules before) - RPC timed out messages still appear - added 'rpc_lockd_enable=NO' to /etc/rc.conf - after rebooting, `rpcinfo -p` showed no lock manager running, but the crashes persisted - added nooptions NFSLOCKD to the kernel configuration - this only caused things to crash faster (few minutes after boot, with very little NFS load) Unfortunately, one of the issues we've run into in debugging this problem is the lack of useful logs and debugging information. Some info we have managed to gather: - before one reboot, we noticed console messages about mbuf's filling up. Running `netstat -m` right before crashes seems to confirm this. If anyone could provide some insight into what's happening, or help us get more debugging information, it would be very helpful. [1] http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006434.html -- Brian DeFreitas Lead Unix Systems Administrator Network Infrastructure, RSSP-IT UC Berkeley pgpW3JBwvnLhZ.pgp Description: PGP signature
Re: dump hangs on 7.1
On Friday 10 July 2009 08:29:01 Len Conrad wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump hangs on 7.1
On Friday 10 July 2009 08:29:01 Len Conrad wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. when the dump hangs: ps auxww | grep dump root61360 0.0 0.0 3128 1168 p0 I+1:47PM 0:00.06 /sbin/dump -0uanL -f - / (dump) root61361 0.0 0.1 5560 2768 p0 I+1:47PM 0:03.65 ssh x...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test root61364 0.0 0.0 3128 1528 p0 I+1:47PM 0:00.36 dump: /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 2009 (dump) root61365 0.0 0.0 3128 1184 p0 I+1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root61366 0.0 0.0 3128 1184 p0 I+1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root61367 0.0 0.0 3128 1184 p0 I+1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root61382 0.0 0.0 1660 900 p1 R+1:48PM 0:00.00 grep dump btw, with dump and dar failing, I tried rdiff-backup which succeeded. Thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump hangs on 7.1
On Sunday 12 July 2009 11:03:00 Len Conrad wrote: On Friday 10 July 2009 08:29:01 Len Conrad wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. when the dump hangs: ps auxww | grep dump root61360 0.0 0.0 3128 1168 p0 I+1:47PM 0:00.06 /sbin/dump -0uanL -f - / (dump) root61361 0.0 0.1 5560 2768 p0 I+1:47PM 0:03.65 ssh x...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test root61364 0.0 0.0 3128 1528 p0 I+1:47PM 0:00.36 dump: /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 2009 (dump) procstat -k 61364 please? Is the percentage always the same for the same disk? If you kill dd on the other side, does dump notice it? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump hangs on 7.1
At 04:04 PM 7/12/2009, you wrote: On Sunday 12 July 2009 11:03:00 Len Conrad wrote: On Friday 10 July 2009 08:29:01 Len Conrad wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. when the dump hangs: ps auxww | grep dump root61360 0.0 0.0 3128 1168 p0 I+1:47PM 0:00.06 /sbin/dump -0uanL -f - / (dump) root61361 0.0 0.1 5560 2768 p0 I+1:47PM 0:03.65 ssh x...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test root61364 0.0 0.0 3128 1528 p0 I+1:47PM 0:00.36 dump: /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 2009 (dump) procstat -k 61364 please? I ran it again, diff pid: procstat -k 67765 PIDTID COMM TDNAME KSTACK 67765 100159 dump -mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep sbwait soreceive_generic soreceive soo_read dofileread kern_readv read syscall Xint0x80_syscall Is the percentage always the same for the same disk? no, it varies widely. If you kill dd on the other side, does dump notice it? yes, I kill dd on the target, and the dump shows: DUMP: dumping (Pass IV) [regular files] Terminated DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump hangs on 7.1
On Sunday 12 July 2009 13:20:49 Len Conrad wrote: At 04:04 PM 7/12/2009, you wrote: On Sunday 12 July 2009 11:03:00 Len Conrad wrote: On Friday 10 July 2009 08:29:01 Len Conrad wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. when the dump hangs: ps auxww | grep dump root61360 0.0 0.0 3128 1168 p0 I+1:47PM 0:00.06 /sbin/dump -0uanL -f - / (dump) root61361 0.0 0.1 5560 2768 p0 I+1:47PM 0:03.65 ssh x...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test root61364 0.0 0.0 3128 1528 p0 I+1:47PM 0:00.36 dump: /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 2009 (dump) procstat -k 61364 please? I ran it again, diff pid: procstat -k 67765 PIDTID COMM TDNAME KSTACK 67765 100159 dump -mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep sbwait soreceive_generic soreceive soo_read dofileread kern_readv read syscall Xint0x80_syscall It looks like it's waiting ssh/dd to report. Is the same happening when you dump to a local file (on a different partition obviously)? This would rule out inter process communications within dump itself. FYI, I'm using this daily through periodic with a few 7.1-STABLE machines and -current. Although, I do compress (with gzip and bzip2 on faster CPU's) before transfer. The only difference is that I don't use then -n flag to dump. Worth a try, though I doubt the so_receive it's waiting on is because it's unable to notify a human in the operator group. If you're comfortable doing so, you could grab a 7.2-RELEASE livefs CD to see if this issue persists using the dump tools from there, though I don't know of any particular fixes in this area. Is the percentage always the same for the same disk? no, it varies widely. If you kill dd on the other side, does dump notice it? yes, I kill dd on the target, and the dump shows: DUMP: dumping (Pass IV) [regular files] Terminated DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Determining file on which process is trying to acquire lock / fbsd 7.1
Hello! I have a web server running nginx + php-fpm FreeBSD 7.1-RELEASE. When traffic increases, the load doesn't go up noticeably, but I start getting massive timeouts because the php-cgi processes stop responding. In top, I see a whole bunch of these php-cgi processes in lockf state, so I assume they're blocking while trying to acquire a lock on some file. I tried using truss to see where this is occurring and get a lot of the following: # truss -p 77214 ... poll({10/POLLIN|POLLERR|POLLHUP},1,1000) = 1 (0x1) recvfrom(10,STORED\r\n,8192,0x80,NULL,0x0) = 8 (0x8) close(10)= 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffc580) = 0 (0x0) ... That last line is repeated about 20 times, then the process seems to get the lock and go about its business, and then repeat. There always seems to be a pause in the truss output to my terminal after the poll({10/POLLIN|POLLERR|POLLHUP},1,1000) line as well. Is there a way to determine which file the process is trying to set a lock on? Or any other way to troubleshoot the cause of this problem? I tried running lsof -p 77214, which showed a long list of files used by the process, but I didn't see anything about it trying to get a lock on a file. Googling suggests that pfiles on Solaris might help with this -- is there an analogous utility on FreeBSD? Thanks a lot in advance for any advice you might have! Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Determining file on which process is trying to acquire lock / fbsd 7.1
Antonio L. wrote: I tried running lsof -p 77214, which showed a long list of files used by the process, but I didn't see anything about it trying to get a lock on a file. Googling suggests that pfiles on Solaris might help with this -- is there an analogous utility on FreeBSD? # procstat -f $pid Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: dump hangs on 7.1
At 11:29 AM 7/10/2009, you wrote: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV Plenty of google hits for dump hang freebsd 7.1 but I can't find one with a solution. Len More tests: dump hangs, no errors, see above dar hangs, no errors. If, instead of a FreeBSD 7.0 remote target machine, I point dump and dar at a Red Hat Enterprise, then dump and dar don't hang, run to completion. So it looks like the problem is on FreeBSD 7.0 machine. Any suggestions? thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dump hangs on 7.1
FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_ima...@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: (yes or no) Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV Plenty of google hits for dump hang freebsd 7.1 but I can't find one with a solution. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fwd: updating from 7.1 to 7.2 AMD64
Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. hmm i do have re(8) nic with 7.1 (6.3 before) - no problems. strange almost the same.. three rl nic's with 7.0, no problems on all ifaces ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fwd: updating from 7.1 to 7.2 AMD64
hmm i do have re(8) nic with 7.1 (6.3 before) - no problems. strange almost the same.. three rl nic's with 7.0, no problems on all ifaces rl and re are different drivers for different chips, just both produced by realtek ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: updating from 7.1 to 7.2 AMD64
-Original Message- From: Wojciech Puchar [mailto:woj...@wojtek.tensor.gdynia.pl] Sent: 26 May 2009 02:20 To: Graeme Dargie Cc: ill...@gmail.com; freebsd-questions@freebsd.org Subject: RE: updating from 7.1 to 7.2 AMD64 I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE 7.2-RELEASE Maybe? Haha ... thank I knew it was something blindly obvious that I was missing ... there be a lesson don't try to upgrade 3 systems at once and watch TV. even more important - why you are upgrading at all. did you find in 7.1 problems that you wanted to solve by moving to 7.2? [amd64] The FreeBSD kernel virtual address space has been increased to 6GB. This allows subsystems to use larger virtual memory space than before. For example, zfs(8) adaptive replacement cache (ARC) requires large kernel memory space to cache file system data, so it benefits from the increased address space. Note that the ceiling on the kernel map size is now 60% of the size rather than an absolute quantity. Various network interface drivers have been improved, including ae(4), ath_hal(4), axe(4), bce(4), cxgb(4), fxp(4), igb(4), jme(4), msk(4), mxge(4), nfe(4), re(4), rl(4), sis(4), and txp(4). Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. Regards G ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
On Tue, 26 May 2009 09:01:36 +0100 Graeme Dargie a...@tangerine-army.co.uk wrote: -Original Message- Various network interface drivers have been improved, including ae(4), ath_hal(4), axe(4), bce(4), cxgb(4), fxp(4), igb(4), jme(4), msk(4), mxge(4), nfe(4), re(4), rl(4), sis(4), and txp(4). Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. 7.2 did fix this for me. -- Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
Are you suggesting a user should only upgrade if they are having a problem, or do you just like to contribute more nonsense to the list mostly yes - keep things as is if it works. and it's only nonsense for you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
I'd say it depends very much on the system's use. For a system which is in production (i.e. doing ongoing work), there is a great deal to be said for not fixing things that aren't broken. if they are not broken - there is nothing to fix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: updating from 7.1 to 7.2 AMD64
Very specifically that I was getting watchdog time outs and link status up down up on the re nic driver, hopefully 7.2 solves this. hmm i do have re(8) nic with 7.1 (6.3 before) - no problems. strange ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD-7.1-RELEASE and libkrb5
I had the same issue you describe portupgrading to evolution-exchange-2.26.2. I moved /usr/lib/libkrb5.so.9 to /usr/lib/libkrb5.so.9_old and created a symbolic link. mv /usr/lib/libkrb5.so.9 /usr/lib/libkrb5.so.9_old ln -s /usr/local/lib/libkrb5.so.23 /usr/lib/libkrb5.so.9 it seems to have done the trick and evolution-exchange works fine for me now :-) Philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
updating from 7.1 to 7.2 AMD64
Hi All I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.1-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Fetching metadata signature for 7.2RELEASE from update4.freebsd.org... failed. Fetching metadata signature for 7.2RELEASE from update5.freebsd.org... failed. No mirrors remaining, giving up. No doubt there is something really obvious I am missing, but I just cant seem to figure it out, I know the commands I am using work as it worked fine with an i386 system. Any advice would be greatly welcomed. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
2009/5/25 Graeme Dargie a...@tangerine-army.co.uk: Hi All I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE 7.2-RELEASE Maybe? -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: updating from 7.1 to 7.2 AMD64
-Original Message- From: ill...@gmail.com [mailto:ill...@gmail.com] Sent: 25 May 2009 22:39 To: Graeme Dargie Cc: freebsd-questions@freebsd.org Subject: Re: updating from 7.1 to 7.2 AMD64 2009/5/25 Graeme Dargie a...@tangerine-army.co.uk: Hi All I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE 7.2-RELEASE Maybe? -- -- Haha ... thank I knew it was something blindly obvious that I was missing ... there be a lesson don't try to upgrade 3 systems at once and watch TV. Cheers for that Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: updating from 7.1 to 7.2 AMD64
I am trying to update 2 7.1 systems to 7.2. sun3# freebsd-update upgrade -r 7.2RELEASE 7.2-RELEASE Maybe? Haha ... thank I knew it was something blindly obvious that I was missing ... there be a lesson don't try to upgrade 3 systems at once and watch TV. even more important - why you are upgrading at all. did you find in 7.1 problems that you wanted to solve by moving to 7.2? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
On Mon, May 25, 2009 at 9:19 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: even more important - why you are upgrading at all. did you find in 7.1 problems that you wanted to solve by moving to 7.2? Are you suggesting a user should only upgrade if they are having a problem, or do you just like to contribute more nonsense to the list by asking irrelevant questions to the OP's topic? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
Glen Barber glen.j.bar...@gmail.com wrote: On Mon, May 25, 2009 at 9:19 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: even more important - why you are upgrading at all. did you find in 7.1 problems that you wanted to solve by moving to 7.2? Are you suggesting a user should only upgrade if they are having a problem, or do you just like to contribute more nonsense to the list by asking irrelevant questions to the OP's topic? I'd say it depends very much on the system's use. For a system which is in production (i.e. doing ongoing work), there is a great deal to be said for not fixing things that aren't broken. Even within a major release branch (7.0 = 7.1 = 7.2) it is not at all uncommon for a point release to introduce new problems along with its new capabilities. If that were not the case, there would be no need for the RE folks to maintain the security/errata branches. Suggesting that the OP consider the risks along with the benefits is hardly irrelevant to a question about upgrading. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating from 7.1 to 7.2 AMD64
On Tue, May 26, 2009 at 12:06 AM, per...@pluto.rain.com wrote: I'd say it depends very much on the system's use. For a system which is in production (i.e. doing ongoing work), there is a great deal to be said for not fixing things that aren't broken. This was not the OP's reason for this thread. It was about 'freebsd-update' not working. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Win4BSD 1.1 on 7.1
On Sat, May 23, 2009 at 11:29 PM, Fbsd1 fb...@a1poweruser.com wrote: There is no package for win4bsd on the pkg ftp servers for releases 7.0, 7.1, 7.2, or 8.0. Looks like the release build team has been missed this one for some time now. They did not miss it. The port is marked as RESTRICTED because redistribution is prohibited. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Win4BSD 1.1 on 7.1
On Sun, 24 May 2009 06:47:17 -0400, Glen Barber glen.j.bar...@gmail.com wrote: On Sat, May 23, 2009 at 11:29 PM, Fbsd1 fb...@a1poweruser.com wrote: There is no package for win4bsd on the pkg ftp servers for releases 7.0, 7.1, 7.2, or 8.0. Looks like the release build team has been missed this one for some time now. They did not miss it. The port is marked as RESTRICTED because redistribution is prohibited. Okay, but then, compiling through the port should be okay. In order to save some time, it could be possible to pkg_add -r the dependencies first, then run the make install clean command in win4bsd's directory. As I said, dry assumption - I haven't tried it. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Win4BSD 1.1 on 7.1
On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal ronn...@volatile-norway.com wrote: I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. You downloaded sources manually? Why not use the ports system, or even install from a precompiled package? This would install any needed dependencies (kqemu) as well. The ports collection contains version 1.1. From the port: # cd /usr/ports/emulators/win4bsd # make install clean From the package: pkg_add -r win4bsd It will install run dependencies as well. Here is the error-msg: kqemu-freebsd.c: In function 'kqemu_schedule': kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this function) kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only once I'm not sure, but are you trying to compile Linux sources on a FreeBSD system? All sources are installed. Suggestions are very welcome and will be appreciated! Try the port, if you want to compile it yourself, or try pkg_add. I have to admit that I haven't tried it, so it's a dry advice. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Win4BSD 1.1 on 7.1
Polytropon wrote: On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal ronn...@volatile-norway.com wrote: I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. You downloaded sources manually? Why not use the ports system, or even install from a precompiled package? This would install any needed dependencies (kqemu) as well. The ports collection contains version 1.1. From the port: # cd /usr/ports/emulators/win4bsd # make install clean From the package: pkg_add -r win4bsd It will install run dependencies as well. Here is the error-msg: kqemu-freebsd.c: In function 'kqemu_schedule': kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this function) kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only once I'm not sure, but are you trying to compile Linux sources on a FreeBSD system? All sources are installed. Suggestions are very welcome and will be appreciated! Try the port, if you want to compile it yourself, or try pkg_add. I have to admit that I haven't tried it, so it's a dry advice. :-) There is no package for win4bsd on the pkg ftp servers for releases 7.0, 7.1, 7.2, or 8.0. Looks like the release build team has been missed this one for some time now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Win4BSD 1.1 on 7.1
Polytropon wrote: On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal ronn...@volatile-norway.com wrote: I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. You downloaded sources manually? Why not use the ports system, or even install from a precompiled package? This would install any needed dependencies (kqemu) as well. The ports collection contains version 1.1. From the port: # cd /usr/ports/emulators/win4bsd # make install clean From the package: pkg_add -r win4bsd It will install run dependencies as well. Here is the error-msg: kqemu-freebsd.c: In function 'kqemu_schedule': kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this function) kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only once I'm not sure, but are you trying to compile Linux sources on a FreeBSD system? All sources are installed. Suggestions are very welcome and will be appreciated! Try the port, if you want to compile it yourself, or try pkg_add. I have to admit that I haven't tried it, so it's a dry advice. :-) The port build of win4bsd will not build on 7.2 because you have first to rebuild the freebsd kernel with option SCHED_4BSD. win4bsd-1.1_3 requires the traditional 4bsd scheduler. Good possibility this is also true for 7.0, 7.1 and 8.0 Gave up on testing win4bsd because of performance impact on server from using traditional 4bsd scheduler. OMHO this port needs to be updated to function using the new scheduler. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Win4BSD 1.1 on 7.1
I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. Here is the error-msg: kqemu-freebsd.c: In function 'kqemu_schedule': kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this function) kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only once uname -a: FreeBSD pops.sniffenett.no 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Thu May 21 21: sysctl kern.sched.name kern.sched.name: 4BSD All sources are installed. Suggestions are very welcome and will be appreciated! Regards, Ronny Mandal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
openssl speed -evp des-ede3-cbc -engine cryptodev works! thanks Brian. looking for that patch now... 2009/5/19 Patrick Lamaizière patf...@davenulle.org: Le Tue, 19 May 2009 14:25:24 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Agreed! The driver doesn't seem to be getting executed through OpenSSH/OpenSSL for ssh session setup either (it used to work that way on FreeBSD 6.2, I don't know if this feature has been left up to the user to enable in FreeBSD 7.x??). This is a known problem, you must patch openssl to make it work with cryptodev on FreeBSD 7.x (8.x). There are some patchs, but I don't find them right now... Check the PR database and the mailing lists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: dell broadcom nic fbsd 7.1 AMD64
ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) yes, sorry, bc was my mistake, rc.conf has/always had ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 We are thinking about dropping back to 7.1 i386 (and losing the 600 MB RAM) or up to 7.2. We have several Dell 1950/2950 with fbsd 7.0 and 7.1 that have had no problems with Broadcom. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: dell broadcom nic fbsd 7.1 AMD64
Have you tried the bge drivers instead of bce? I have a Dell PowerEdge 2650 running 7.1 and it is using the bge drivers with no problems, though it is the running i386 and not amd64. Thanks, Dean Weimer Network Administrator Orscheln Management Co -Original Message- Message: 11 Date: Tue, 19 May 2009 06:06:26 -0500 From: Len Conrad lcon...@go2france.com Subject: RE: dell broadcom nic fbsd 7.1 AMD64 To: freebsd-questions@freebsd.org Message-ID: 20090519124915.sm08...@w500.go2france.com Content-Type: text/plain; charset=us-ascii ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) yes, sorry, bc was my mistake, rc.conf has/always had ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 We are thinking about dropping back to 7.1 i386 (and losing the 600 MB RAM) or up to 7.2. We have several Dell 1950/2950 with fbsd 7.0 and 7.1 that have had no problems with Broadcom. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
Agreed! The driver doesn't seem to be getting executed through OpenSSH/OpenSSL for ssh session setup either (it used to work that way on FreeBSD 6.2, I don't know if this feature has been left up to the user to enable in FreeBSD 7.x??). thanks for the tools, I'll give them a go. The driver is being accessed properly from 'cryptotest', so I guess that's something. 2009/5/19 Brian Seklecki sekle...@noc.cfi.pgh.pa.us: The openssl speed sub-command is a real PITA: Try: $ openssl speed -elapsed -evp aes-128-cbc (or des-ede3) Also goto /usr/src/tools/tools/crypto/ make Run those utils to extract useful statistics out of the driver's kernel data structures. ~BAS On Mon, 2009-05-18 at 11:21 +0100, Brendan Kennedy wrote: Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine [RSA, DSA, DH] It can be seen only PKE functions are being shown as accelerated. 'kldstat' only shows cryptodev.ko, but that's because I have 'crypto' compiled as part of the kernel. I have found another issue here also - although 'openssl engine -c' shows correct accelerated functionality of the hardware driver, running a speed test (e.g. openssl speed des-ede3 -engine cryptodev) does not result in any messages being sent to the driver apart from the initial check for available algorithms. It seems only accelerated PKE functions are run through the driver. It may be that the symmetric functions are being run through the software device driver (cryptosoft)... Could it be down to cryptodev engine being loaded twice in OpenSSL? Or would cryptodev favour the software driver if CRYPTO_F_HARDWARE is not set? Regards, Brendan 2009/5/15 Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us: On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 3 3 0xc0e06000 25b78 crypto.ko 7 1 0xc64c9000 4000 cryptodev.ko 8 1 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This mail was sent via Mail-SeCure System. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
Le Tue, 19 May 2009 14:25:24 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Agreed! The driver doesn't seem to be getting executed through OpenSSH/OpenSSL for ssh session setup either (it used to work that way on FreeBSD 6.2, I don't know if this feature has been left up to the user to enable in FreeBSD 7.x??). This is a known problem, you must patch openssl to make it work with cryptodev on FreeBSD 7.x (8.x). There are some patchs, but I don't find them right now... Check the PR database and the mailing lists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine [RSA, DSA, DH] It can be seen only PKE functions are being shown as accelerated. 'kldstat' only shows cryptodev.ko, but that's because I have 'crypto' compiled as part of the kernel. I have found another issue here also - although 'openssl engine -c' shows correct accelerated functionality of the hardware driver, running a speed test (e.g. openssl speed des-ede3 -engine cryptodev) does not result in any messages being sent to the driver apart from the initial check for available algorithms. It seems only accelerated PKE functions are run through the driver. It may be that the symmetric functions are being run through the software device driver (cryptosoft)... Could it be down to cryptodev engine being loaded twice in OpenSSL? Or would cryptodev favour the software driver if CRYPTO_F_HARDWARE is not set? Regards, Brendan 2009/5/15 Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us: On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 3 3 0xc0e06000 25b78 crypto.ko 7 1 0xc64c9000 4000 cryptodev.ko 8 1 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dell broadcom nic fbsd 7.1 AMD64
Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. suggestions? Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
Hi, Len On Mon, May 18, 2009 at 4:20 PM, Len Conrad lcon...@go2france.com wrote: Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. Could you paste the output of the following: cat /etc/rc.conf | grep bc0 and output from: dhclient bc0 -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. Len -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
On Mon, May 18, 2009 at 5:37 PM, Len Conrad lcon...@go2france.com wrote: Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, Was going to be my next suggestion... I couldn't find 'bc' in GENERIC for amd64. ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: dell broadcom nic fbsd 7.1 AMD64
-Original Message- From: Glen Barber [mailto:glen.j.bar...@gmail.com] Sent: 18 May 2009 22:58 To: lcon...@go2france.com Cc: freebsd-questions@freebsd.org Subject: Re: dell broadcom nic fbsd 7.1 AMD64 On Mon, May 18, 2009 at 5:37 PM, Len Conrad lcon...@go2france.com wrote: Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, Was going to be my next suggestion... I couldn't find 'bc' in GENERIC for amd64. ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Just took a quick peek at my pfsense machine hp D530 USDT which has a broadcom gigabit NIC, phpsysinfo reports bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x3003. Might be worth trying that driver. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
The openssl speed sub-command is a real PITA: Try: $ openssl speed -elapsed -evp aes-128-cbc (or des-ede3) Also goto /usr/src/tools/tools/crypto/ make Run those utils to extract useful statistics out of the driver's kernel data structures. ~BAS On Mon, 2009-05-18 at 11:21 +0100, Brendan Kennedy wrote: Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine [RSA, DSA, DH] It can be seen only PKE functions are being shown as accelerated. 'kldstat' only shows cryptodev.ko, but that's because I have 'crypto' compiled as part of the kernel. I have found another issue here also - although 'openssl engine -c' shows correct accelerated functionality of the hardware driver, running a speed test (e.g. openssl speed des-ede3 -engine cryptodev) does not result in any messages being sent to the driver apart from the initial check for available algorithms. It seems only accelerated PKE functions are run through the driver. It may be that the symmetric functions are being run through the software device driver (cryptosoft)... Could it be down to cryptodev engine being loaded twice in OpenSSL? Or would cryptodev favour the software driver if CRYPTO_F_HARDWARE is not set? Regards, Brendan 2009/5/15 Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us: On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 33 0xc0e06000 25b78crypto.ko 71 0xc64c9000 4000 cryptodev.ko 81 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This mail was sent via Mail-SeCure System. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 33 0xc0e06000 25b78crypto.ko 71 0xc64c9000 4000 cryptodev.ko 81 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
Le Tue, 12 May 2009 19:14:38 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Hi All, Hello, FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Cryptodev fails because it checks that the requested crypto driver provides hardware crypto. function checkforsoftware in cryptodev.c And it does not take care about the sysctl kern.cryptodevallowsoft. Looks like a bug and not a feature. OpenBSD's cryptodev seems to take care about the sysctl and i think you can use the cryptosoft driver with it. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp/security on 7.1-Release
Hello, Ever since upgrading from 7.0-Release to 7.1-Release I get the following in the daily security reports: master.lc-words.com kernel log messages: +++ /tmp/security.yMzCQbS8 2009-05-13 03:01:25.0 +0200 +re0: watchdog timeout +re0: link state changed to DOWN +re0: link state changed to UP It just happens around 3 a.m. each day and so I wonder if I should be concerned about it...? Thank you in advance for your suggestions! I can bet it's NIC related problem, probably your re0 is sharing IRQ with something and it's going up/down. The time you see (~3.oo AM) is the moment periodic works, so it doesn't mean the problem happend then. I've seen similar problems on cheap PC hardware with integrated NIC and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout' on google. The solution is to replace re with something else - em for example, but there is no guarantee it's going to work - I had same problems on crappy hardware with two identical interfaces plugged in (some model of em - IRRC Intel PRO/1000 GT) Yes, you are most likely right but I am left wondering why this has never been a problem on 7.0-Release...? So either the problem in question did not occur on 7.0 or it did occur but wasn't reported. Thanks! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp/security on 7.1-Release
On Thursday 14 May 2009 08:35:40 Zbigniew Szalbot wrote: Hello, Ever since upgrading from 7.0-Release to 7.1-Release I get the following in the daily security reports: master.lc-words.com kernel log messages: +++ /tmp/security.yMzCQbS8 2009-05-13 03:01:25.0 +0200 +re0: watchdog timeout +re0: link state changed to DOWN +re0: link state changed to UP It just happens around 3 a.m. each day and so I wonder if I should be concerned about it...? Thank you in advance for your suggestions! I can bet it's NIC related problem, probably your re0 is sharing IRQ with something and it's going up/down. The time you see (~3.oo AM) is the moment periodic works, so it doesn't mean the problem happend then. I've seen similar problems on cheap PC hardware with integrated NIC and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout' on google. The solution is to replace re with something else - em for example, but there is no guarantee it's going to work - I had same problems on crappy hardware with two identical interfaces plugged in (some model of em - IRRC Intel PRO/1000 GT) Yes, you are most likely right but I am left wondering why this has never been a problem on 7.0-Release...? Run a 7.0-RELEASE kernel to be sure of this. It can just be that the hardware went bad around the same time you upgraded. Bad cable or negotiation with a switch are also causes of this. See the DIAGNOSTICS section of the re driver. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/tmp/security on 7.1-Release
Hello, Ever since upgrading from 7.0-Release to 7.1-Release I get the following in the daily security reports: master.lc-words.com kernel log messages: +++ /tmp/security.yMzCQbS8 2009-05-13 03:01:25.0 +0200 +re0: watchdog timeout +re0: link state changed to DOWN +re0: link state changed to UP It just happens around 3 a.m. each day and so I wonder if I should be concerned about it...? Thank you in advance for your suggestions! -- Zbigniew Szalbot www.fairtrade.net.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.0 - 7.1 crash every two day
On 19:57 Tue 12 May , Mel Flynn wrote: On Sunday 10 May 2009 20:51:48 mailingl...@modernbiztonsag.org wrote: Dear List, I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general purpose server for a small company and it's clients, running web, sql, mail and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was running on it for a year now without any problem. After 30 of April I've upgraded to 7.1 (I've followed the handbook) and since then nearly every two day the machine becomes unreachable except for echorequest. If i try to log in in the terminal it just hangs after i give my password. I'm out of any ideas. Please feel free to ask any more info that I've forgotten to provide. Thank You for your help in advance. If this is a not a GENERIC kernel, did you change scheduler or stuck with SCHED_4BSD in your kernel? I've just added PF related stuff, so the scheduler is remained the default. -- Mel !DSPAM:117,4a09ba6e83011202221441! -- Gabri Mate ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org