Re: "Checksum mismatch -- will transfer entire file"
Colleagues, Am I the only one to have this problem? Victor Sudakov wrote: > > I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org. > Both the client and the server run CVSup Software version: SNAP_16_1h, > Protocol version: 17.0. > > Recently I noticed that there are lots of messages > "Checksum mismatch -- will transfer entire file" about all kinds of > downloaded files. > > What could be the reason? Is my CVS repository corrupt or what? Is > there a way to check the integrity of the entiry repository? > > I have read about there being a "checksum mismatch" problem in CVSup > version before 15.4, but I am using SNAP_16_1h already. > > If this question is offtopic here, please direct me to a more relevant > mailing list. TIA. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.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: Upgrade 7.0 to 7.2 installworld failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 24 Dec 2009, Colin wrote: |No, I didn't see that in any of the upgrade guides that I was following. After |looking it up I can see mention of it in a rebuilding world doc. | |This is my make.conf: | |SUP=/usr/local/bin/cvsup |SUPFLAGS= -g -L 2 |SUPHOST=cvsup.FreeBSD.org |SUPFILE=/root/standard-supfile |PORTSSUPFILE= /root/ports-supfile | These things are for cvsup utility setup and they are not invoked to point on options responsible for specific system building. Try to add the following lines to /etc/make.conf: CFLAGS= -O -pipe NO_FORTRAN= true NO_OBJC=true NO_X= true NO_GAMES=true NO_PROFILE= true and re-make buildworld, then make installworld. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLNF1Tbt6QiUlK9twRArvpAKC5hoEkBr2CMVOvvr/Bv7mhw2TaUQCgidcf lnvA0RDPKNmU/rSUkOzAs8c= =HGMu -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"
UTF-8 and FreeBSD Ports make config / ncurses
Hi, I can't get the ncurses-based menu shown by running "make config" for an arbitrary port in FreeBSD 8.0 to use UTF-8 line drawing characters, rather than ISO-8859-1. I've configured my locale by setting :charset=UTF-8:\ :lang=en_US.UTF-8: in /etc/login.conf and then running cap_mkdb, and this has been sufficient to get other programs, such as mc, to provide UTF-8 output. But `make config` in the ports tree is still giving me ISO-8859-1, resulting in garbled characters in my terminal emulator (PuTTY), which is configured for UTF-8. What am I missing? Thanks, Mark -- Mark Shroyer http://markshroyer.com/contact/ ___ 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: Are source updating mechanisms vulnerable to MITM attacks?
On Fri, Dec 25, 2009 at 03:55, Matthew Seaman wrote: > > freebsd-update(8), freebsd-update.conf(5) You can use this just to pull > down > the system sources I believe, but only for release branches, not for > -CURRENT > or -STABLE. > Yes! freebsd-update(8) verifies download signatures. It's a good idea to follow the release branch using freebsd-update, since all my concern is following the security updates. Thanks! :-) -- 裘佺 (QIU Quan) ___ 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: Upgrade 7.0 to 7.2 installworld failed
On Thursday 24 December 2009 09:47:26 Colin wrote: > On 24/12/2009 16:30, Mel Flynn wrote: > > I'm going to guess from the fact that installworld tries to build stuff, > > that /usr/obj is a filesystem that isn't mounted after your reboot or > > that the MAKEOBJDIRPREFIX you had set in your environment before reboot, > > is unset. > > /usr/obj is a folder within the /usr partition not its own filesystem > and /usr is mounted fine so unfortunately for me its nothing as simple > as that. > > As to the prefix, I haven't manually set that anywhere. The buildworld > log seems to set it during the build as there are several make lines > with things like "MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue" and > "MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp" Take the reboot out of the equation and keep it simple: su to root mkdir /usr/testdir cd /usr/src env -i make buildworld env -i make installworld DESTDIR=/usr/testdir Kernel has nothing to do with installworld target. -- 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: Upgrade 7.0 to 7.2 installworld failed
Final update before Christmas. Still no joy. I removed my make.conf and dropped back to GENERIC (although I did add in IPFILTER, IPFILTER_LOG and QUOTA). This produced exactly the same result so I don't think its the kernel. I feel like a giant oak tree that has just been cut down after being around for hundreds of years - stumped! ___ 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: build 7.x kernel without zfs
Oles Hnatkevych wrote: Hi! Since my installation has 496Mb on root partition, having to kernels (current and old) there becomes pain, only 4Mb free left. How can I build kernel without zfs module, since it consumes 12Mb with symbols? Hi Oles, I'm not sure how to specify which modules not to build, but to build only the modules you need, use MODULES_OVERRIDE in your kernel config file. E.g. the following line will build and install only atapicam and ext2fs. makeoptions MODULES_OVERRIDE="atapicam ext2fs" To find out what modules you use, just type kldstat in the console, and add the listed modules to the MODULES_OVERRIDE. You can also specify that you don't want debug symbols built by removing or commenting out the makeoptions DEBUG=-g line. Rolf Nielsen ___ 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"
build 7.x kernel without zfs
Hi! Since my installation has 496Mb on root partition, having to kernels (current and old) there becomes pain, only 4Mb free left. How can I build kernel without zfs module, since it consumes 12Mb with symbols? -- -- Oles Hnatkevych Skype: don_oles Email/Jabber: don_o...@able.com.ua http://gnut.able.com.ua/ ___ 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: Upgrade 7.0 to 7.2 installworld failed
Ok, After looking into NO_PROFILE I found that things had been moved to src.conf and I didn't have that file. I made src.conf with the following in it: WITHOUT_ATM=yes WITHOUT_BLUETOOTH=yes WITHOUT_GAMES=yes WITHOUT_I4B=yes WITHOUT_IPX=yes WITHOUT_NCP=yes WITHOUT_NIS=yes WITHOUT_SENDMAIL=yes WITHOUT_INET6=yes WITHOUT_PROFILE=yes It had exactly the same result so I'm out of ideas.. ___ 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"
Wireless USB adapter
FreeBSD-7.2 I have a Linksys Wireless-N USB Network Adapter, model: WUSB600N that I am trying to get installed. When I insert the USB adapter this message appears in /var/messages: Dec 24 14:30:22 scorpio kernel: ugen0: on uhub1 Dec 24 14:30:22 scorpio root: Unknown USB device: vendor 0x1737 product 0x0071 bus uhub1 I used 'ndisgen' to create the driver and then loaded it via 'kldload'. That is as far as I can get. I cannot bring the interface up. I have read the 'wireless' setup guide on FreeBSD; however, I am not getting very far with it. If someone else here has used that device, I would appreciate seeing their configuration. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | A man with convictions is a hard man to change. Tell him you disagree and he turns away. Show him facts or figures and he questions your sources. Appeal to logic and he fails to see your point. Leon Festinger ___ 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: Are source updating mechanisms vulnerable to MITM attacks?
QIU Quan wrote: It seems CVSup uses clear text, with neither server authentication as SSH nor message authentication as PGP. Is it possible to poison the DNS records and fire a man-in-the-middle attack against the source updating procedure? In principle, yes. There have been no reports of this happening in the wild however. It seems portsnap uses a public key to verify downloads. Are there some source updating mechanisms with authentication or verification? freebsd-update(8), freebsd-update.conf(5) You can use this just to pull down the system sources I believe, but only for release branches, not for -CURRENT or -STABLE. Installing from the cryptographically checksummed release .iso images, and then only applying the updates from the PGP signed advisory messages and patches? 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: Upgrade 7.0 to 7.2 installworld failed
On 24/12/2009 16:04, Yuri Pankov wrote: Are you sure that buildworld phase completed successfully? Have you tried cleaning /usr/obj/ before building world? Have you tried updating your src tree from different cvsup mirror (cvsup.freebsd.org, just to be sure)? Well seen as the output goes on for a long time I've not checked every single line of it but there were no errors output. All the same I have now cleared /usr/obj and done a cvsup from cvsup.freebsd.org with the output being captured by tee. It ends with: >>> World build completed on Thu Dec 24 17:41:45 GMT 2009 It hasn't reported any errors and thus should be successful On 24/12/2009 16:30, Mel Flynn wrote: I'm going to guess from the fact that installworld tries to build stuff, that /usr/obj is a filesystem that isn't mounted after your reboot or that the MAKEOBJDIRPREFIX you had set in your environment before reboot, is unset. /usr/obj is a folder within the /usr partition not its own filesystem and /usr is mounted fine so unfortunately for me its nothing as simple as that. As to the prefix, I haven't manually set that anywhere. The buildworld log seems to set it during the build as there are several make lines with things like "MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue" and "MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp" On 24/12/2009 16:07, Igor V. Ruzanov wrote: Did you edit /etc/make.conf before make buildworld? Its usefull to set NO_PROFILE to "true" to avoid compilation of profiled userland libraries. No, I didn't see that in any of the upgrade guides that I was following. After looking it up I can see mention of it in a rebuilding world doc. This is my make.conf: SUP=/usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPHOST=cvsup.FreeBSD.org SUPFILE=/root/standard-supfile PORTSSUPFILE= /root/ports-supfile #*REMOVE* OPENSSL_OVERWRITE_BASE=NO # added by use.perl 2009-06-14 11:10:18 PERL_VERSION=5.8.9 BATCH=YES WITHOUT_X11=YES SKIP_DNS_CHECK=YES CRYPT_DES=0 WITH_PORT_REPLACES_BASE_BIND8=YES WITH_PORT_REPLACES_BASE_BIND9=YES WITHOUT_ALT_CONFIG_PREFIX=YES WITH_OPENSSL_PORT=YES X11BASE=${LOCALBASE} Can I put NO_PROFILE=TRUE in there now and start again or is it too late and does it require other action to correct the problem? -- Regards, Colin Waring, +44 (0)1704 564047 Southport Computers Local IT Support http://www.southportcomputers.co.uk Southport Web Web Design and Hosting Services http://www.southportweb.co.uk ___ 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"
question about installing msi netbook from usb stick
*Hello i tried creating a usb bootable for 8.0-RELEASE-amd64-disc1 and 8.0-RELEASE-amd64-bootonly using MS netbootin but i always get this error. My MSI netbook specs are below, anyone tried installing with this netbook? Invalid* or corrupt *kernel image * *AMD®* Yukon AMD Athlon™ Neo X2 *Dual-Core* L335 1.6GHz Processor 320 GB sata 2 GB ram ATI Radeon X1270 shared upto 700MB ___ 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: Supressing dd output
In the last episode (Dec 24), Rolf G Nielsen said: > Noel Jones wrote: > > On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen wrote: > >> I'm wondering if there's a way to supress the summary output from dd. > >> I'm working on a backup script, that encrypts the backups, and after > >> encrypting overwrites the unencrypted file several times using dd. > >> I've tried to redirect the output with 2>&1 > /dev/null but it doesn't > >> work. Since I run the script from the daily_local variable in > >> periodic.conf, and the script backs up 11 filsystems (ZFS) to separate > >> files, the mail from periodic daily gets ridiculously long, and most of > >> it being dd summaries. > > > > Order matters. > > > > dd ... >/dev/null 2>&1 > > Thanks Noel. I've never considered using that order before. Probably > because first time I saw that construct and had it explained to me, it was > ordered the way I had it, and I very rarely have any use for it, so I > haven't really noticed that my way was wrong; I usually only redirect > stdout if anything at all. Anyway, now it works like a charm. Thanks. > :) 2>/dev/null is really all you need, since dd only prints those info lines to stderr (stdout usually being used as its stream output unless of= is used) -- Dan Nelson dnel...@allantgroup.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"
Re: What happened to /home?
> > I hope you won't see something like > > % cd mnt/poly > mnt/poly: Not a directory. > > % file mnt/poly > mnt/poly: cannot open `mnt/poly' (Bad file descriptor) > That is exactly what I saw, and nothing worked to try and fix the problem. So, as I indicated in an earlier post, I ran fsck -y on the /usr partition and was finally able to deep six /home. No real catastrophe because I had all of /home backed up. So, I just did a mkdir of /home and repopulated it. I'm still scratching my head as to what caused the initial problem. There was no power failure or anything like that. I remember that all of a sudden when I booted the laptop I got this message (I forgot to include this in my first post): FreeBSD/.i386 boot Default:0:ad(0,a)/boot/loader boot: Hardly the normal opening screen, and I had to hit enter to proceed. First time I did that that the computer booted OK, the second time it broke. The only thing that changed between the time of the normal boot and the problem is that I installed a USB hub to this old Compaq because it only has one USB port. Who knows. Rem ___ 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: Upgrade 7.0 to 7.2 installworld failed
On Thursday 24 December 2009 06:10:21 Colin wrote: > Hi folks, > I have started trying to upgrade my 7.0 to 7.2 and it all seemed to be > going well until I got to installworld. > > First off I did a cvsup for src-all from cvsup.ie.freebsd.org with the > tag RELENG_7_2 > > I have then done: > > cd /usr/src > make buildworld > make kernel-toolchain > make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED > make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED > shutdown -r now I'm going to guess from the fact that installworld tries to build stuff, that /usr/obj is a filesystem that isn't mounted after your reboot or that the MAKEOBJDIRPREFIX you had set in your environment before reboot, is unset. -- 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: Upgrade 7.0 to 7.2 installworld failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 24 Dec 2009, Colin wrote: |Hi folks, |I have started trying to upgrade my 7.0 to 7.2 and it all seemed to be going |well until I got to installworld. | |First off I did a cvsup for src-all from cvsup.ie.freebsd.org with the tag |RELENG_7_2 | |I have then done: | |cd /usr/src |make buildworld ,|make kernel-toolchain |make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED |make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED |shutdown -r now |mergemaster -p |make installworld | |installworld goes through Making hierarchy fine then gets to Installing |everything and goes: | | |>>> Installing everything |-- |cd /usr/src; make -f Makefile.inc1 install |===> share/info (install) |===> lib (install) |===> lib/csu/i386-elf (install) |cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common |-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall |-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes |-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings |-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline |-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c |/usr/src/lib/csu/i386-elf/crt1.c |/usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or |directory |In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: |/usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:184:24: error: |sys/_types.h: No such file or directory | Did you edit /etc/make.conf before make buildworld? Its usefull to set NO_PROFILE to "true" to avoid compilation of profiled userland libraries. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLM5HVbt6QiUlK9twRAimEAJ4/3Jmg15g/AE2M+8w/NSLKpI7QAwCdFK8B ERNxC5kdl4oMiPTAxXZWyZ0= =M2WT -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: Upgrade 7.0 to 7.2 installworld failed
On Thu, Dec 24, 2009 at 03:10:21PM +, Colin wrote: > Hi folks, > I have started trying to upgrade my 7.0 to 7.2 and it all seemed to > be going well until I got to installworld. > > First off I did a cvsup for src-all from cvsup.ie.freebsd.org with > the tag RELENG_7_2 > > I have then done: > > cd /usr/src > make buildworld Are you sure that buildworld phase completed successfully? Have you tried cleaning /usr/obj/ before building world? Have you tried updating your src tree from different cvsup mirror (cvsup.freebsd.org, just to be sure)? > make kernel-toolchain > make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED > make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED > shutdown -r now > mergemaster -p > make installworld > Thanks, > Colin. 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: After freebsd-update - all went wrong.
Dear Poly, /etc/resolv.conf and /etc/hosts and /etc/rc.conf are untouched. The only problem that freebsd ignores the "defaultrouter" line in /etc/rc.conf and just for the archives, kernel has been restored to default, but i have recompiled my kernel and its okay. I will today use the ordiary freebsd update (csup) and see if this will fix what freebsd-update broke- and will update this list. This is a lesson for me and everyone to never run freebsd-update on a custom kernel system, however It shouldnot produce such problem. (i think) Thank you - Marwan Sultan System Administrator > Date: Thu, 24 Dec 2009 15:35:44 +0100 > From: free...@edvax.de > To: dead_l...@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: After freebsd-update - all went wrong. > > On Thu, 24 Dec 2009 14:06:48 +, Marwan Sultan > wrote: > > well, I have fixed problem two by installing back my custom kernel. > > but the system still ignores the "defaultroute" command in rc.conf > > this is why we have manuly added to the rc.local > > Is this possibly a spelling error? The setting in rc.conf > is defaultrouter="..." - routeR. > > > > > But eventho it shouldnot touch rc.conf right? > > Correct. The rc.conf file is one of the few ones that > shouldn't be in the scope of freebsd-update or mergemaster > (if you update by source). > > > > my rc.local now has > > > > route add default 66.xx.x.x > > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias > > > > > If i take it off, system will not have any defaultroute > > anymore although its in rc.conf > > > > defaultrouter="66.xx.x.x" > > hostname="xx.com" > > ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0" > > Your setting in rc.conf is spelled correctly (see above). > > Could you try what happens if you start the inet subsystem > manually (/etc/rc.d/netif and /etc/rc.d/routing)? The > last one reads defaultrouter="..." from rc.conf. > > As far as I see, the settings in rc.conf are completely > valid, and should work. If this is still the "old" rc.conf > (that worked before), the services activated in there > should be started, too... > > You could additionally check /etc/resolv.conf and /etc/hosts > for any malformed entries. I think /etc/hosts could be > altered / overwritten by freebsd-update? > > > > > -- > 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" _ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/___ 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"
Upgrade 7.0 to 7.2 installworld failed
Hi folks, I have started trying to upgrade my 7.0 to 7.2 and it all seemed to be going well until I got to installworld. First off I did a cvsup for src-all from cvsup.ie.freebsd.org with the tag RELENG_7_2 I have then done: cd /usr/src make buildworld make kernel-toolchain make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED shutdown -r now mergemaster -p make installworld installworld goes through Making hierarchy fine then gets to Installing everything and goes: >>> Installing everything -- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/i386-elf (install) cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or directory In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:184:24: error: sys/_types.h: No such file or directory (Full output at http://www.pastebin.org/68429 ) Both the .h files referenced are in the /usr/src directory ted# find ./ -name stdlib.h ./cddl/compat/opensolaris/include/stdlib.h ./contrib/bind9/lib/isc/include/isc/stdlib.h ./contrib/bind9/lib/lwres/include/lwres/stdlib.h ./contrib/libstdc++/include/c_compatibility/stdlib.h ./contrib/libstdc++/include/tr1/stdlib.h ./include/stdlib.h ted# find ./ -name _types.h ./sys/amd64/include/_types.h ./sys/arm/include/_types.h ./sys/i386/include/_types.h ./sys/ia64/include/_types.h ./sys/pc98/include/_types.h ./sys/powerpc/include/_types.h ./sys/sparc64/include/_types.h ./sys/sun4v/include/_types.h ./sys/sys/_types.h So I did some looking around, someone recommended removing the src folders and pulling a fresh copy for someone else that had the same problem. I did this to no joy. So, the only thing that I'm left with is the custom kernel, I haven't tried generic as I don't want to be left running with a server and no firewall. I am doing this all remotely by SSH so no single user mode. My kernel conf file is here: http://www.pastebin.org/68430 I went through the new GENERIC that came down with the cvsup and pulled in most of the options and disabled the same devices as with my 7.0 kernel. So can anyone see something I'm missing in the kernel or is there another solution I'm missing? Thanks, Colin. ___ 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: After freebsd-update - all went wrong.
On Thu, 24 Dec 2009 14:06:48 +, Marwan Sultan wrote: > well, I have fixed problem two by installing back my custom kernel. > but the system still ignores the "defaultroute" command in rc.conf > this is why we have manuly added to the rc.local Is this possibly a spelling error? The setting in rc.conf is defaultrouter="..." - routeR. > But eventho it shouldnot touch rc.conf right? Correct. The rc.conf file is one of the few ones that shouldn't be in the scope of freebsd-update or mergemaster (if you update by source). > my rc.local now has > > route add default 66.xx.x.x > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias > If i take it off, system will not have any defaultroute > anymore although its in rc.conf > > defaultrouter="66.xx.x.x" > hostname="xx.com" > ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0" Your setting in rc.conf is spelled correctly (see above). Could you try what happens if you start the inet subsystem manually (/etc/rc.d/netif and /etc/rc.d/routing)? The last one reads defaultrouter="..." from rc.conf. As far as I see, the settings in rc.conf are completely valid, and should work. If this is still the "old" rc.conf (that worked before), the services activated in there should be started, too... You could additionally check /etc/resolv.conf and /etc/hosts for any malformed entries. I think /etc/hosts could be altered / overwritten by freebsd-update? -- 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"
RE: After freebsd-update - all went wrong.
Hi Poly, Its very short story, my system is on FreeBSD 7.2- P4 and everything works great. Yes I have custom kernel, mainly for quotas. I have run freebsd-update fetch and install, I forgot its only for generic kernel. However, after the freebsd-update fetch/install done, i restarted my server then its down. Down means: its not connected to the internet because 1- it couldnot read the default route and couldnot recognize its ip address. 2- restored to the orginal GENERIC kernel. well, I have fixed problem two by installing back my custom kernel. but the system still ignores the "defaultroute" command in rc.conf this is why we have manuly added to the rc.local No, I have not overwrite any files, and everything works great, until i ran freebsd-update on my custom kernel by mistake. But eventho it shouldnot touch rc.conf right? my rc.local now has route add default 66.xx.x.x ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias If i take it off, system will not have any defaultroute anymore although its in rc.conf defaultrouter="66.xx.x.x" hostname="xx.com" ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0" Thank you. > Subject: Re: After freebsd-update - all went wrong. > > On Thu, 24 Dec 2009 13:31:13 +, Marwan Sultan > wrote: > > i'm on FreeBSD 7.2-R p4 > > I just applied : > > # freebsd-update fetch > > # freebsd-update install > > with no problems > > Later you mentioned that you run a custom kernel, > especially for inclusion of quota. When using the > freebsd-update tool, you have to pay extra attention > to custom kernel - it usually just works for the > GENERIC kernel without any modifications, that's > what this tool primarily is intended for. > > > > > After i restarted the server > > i lost my ssh connection, server went down! > > Server down OR "just" no connection? > > > > > I have contacted the hosting company, and after investigation > > they informed me that for some reason system is ignoring the > > "defaulroute" command in rc.conf > > So they had manualy add the defaultroute to rc.local !! > > The use of rc.local is still possible, but deprecated; > it's mostly a means for backward compatibility. > > Furthermore, I don't see a "defaulroute" setting (not > command per se) in /etc/rc.conf (and /etc/defaults/rc.conf > for completeness); only things found are: > > defaultrouter="NO" # Set to default gateway (or NO). > ipv6_defaultrouter="NO" # Set to IPv6 default gateway (or NO). > #ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) > > Is this what you mean? > > Are you sure you didn't overwrite any important configuration > file, like /etc/hosts, /etc/resolv.conf or even rc.conf? > > > > > And after this small workaround, I found out users quota is not running > > So i figured that its ignoring the default kernel. > > No, the GENERIC kernel just doesn't include quota > functionality. > > > > > I have recompiled my custom kernel.. > > Now quotas working! > > Of course, yours seems to include it. > > > > and system still > > FreeBSD xxx.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 > > 12:21:39 UTC 2009 > > What should it be instead? > > It would be nice if you could tell which version you > came from, and which version you updated to. > > Have you updated your src/ subtree, especially for the > kernel sources? Seems that even if your system has been > updated with freebsd-update to 8, your kernel has been > compiled from the 7.2-p4 sources... > > > > > it didnot even apply the patchs !! > > Patches go into the src/ subtree when updating it, e. g. > with "make update" in /usr/src (using csup or cvsup). > > > > > and still reading the default route from rc.local > > It would be helpful to see some config file examples. > Maybe rc.local overrides things that should already work? > > > > > This shouldnot happen with freebsd-update tool !! what the heck! > > Wrong use of the right tool maybe? > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/171222984/direct/01/___ 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: After freebsd-update - all went wrong.
On Thu, 24 Dec 2009 13:31:13 +, Marwan Sultan wrote: > i'm on FreeBSD 7.2-R p4 > I just applied : > # freebsd-update fetch > # freebsd-update install > with no problems Later you mentioned that you run a custom kernel, especially for inclusion of quota. When using the freebsd-update tool, you have to pay extra attention to custom kernel - it usually just works for the GENERIC kernel without any modifications, that's what this tool primarily is intended for. > After i restarted the server > i lost my ssh connection, server went down! Server down OR "just" no connection? > I have contacted the hosting company, and after investigation > they informed me that for some reason system is ignoring the > "defaulroute" command in rc.conf > So they had manualy add the defaultroute to rc.local !! The use of rc.local is still possible, but deprecated; it's mostly a means for backward compatibility. Furthermore, I don't see a "defaulroute" setting (not command per se) in /etc/rc.conf (and /etc/defaults/rc.conf for completeness); only things found are: defaultrouter="NO" # Set to default gateway (or NO). ipv6_defaultrouter="NO" # Set to IPv6 default gateway (or NO). #ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) Is this what you mean? Are you sure you didn't overwrite any important configuration file, like /etc/hosts, /etc/resolv.conf or even rc.conf? > And after this small workaround, I found out users quota is not running > So i figured that its ignoring the default kernel. No, the GENERIC kernel just doesn't include quota functionality. > I have recompiled my custom kernel.. > Now quotas working! Of course, yours seems to include it. > and system still > FreeBSD xxx.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 > UTC 2009 What should it be instead? It would be nice if you could tell which version you came from, and which version you updated to. Have you updated your src/ subtree, especially for the kernel sources? Seems that even if your system has been updated with freebsd-update to 8, your kernel has been compiled from the 7.2-p4 sources... > it didnot even apply the patchs !! Patches go into the src/ subtree when updating it, e. g. with "make update" in /usr/src (using csup or cvsup). > and still reading the default route from rc.local It would be helpful to see some config file examples. Maybe rc.local overrides things that should already work? > This shouldnot happen with freebsd-update tool !! what the heck! Wrong use of the right tool maybe? -- 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"
After freebsd-update - all went wrong.
Hello FreeBSD people. i'm on FreeBSD 7.2-R p4 I just applied : # freebsd-update fetch # freebsd-update install with no problems After i restarted the server i lost my ssh connection, server went down! I have contacted the hosting company, and after investigation they informed me that for some reason system is ignoring the "defaulroute" command in rc.conf So they had manualy add the defaultroute to rc.local !! And after this small workaround, I found out users quota is not running So i figured that its ignoring the default kernel. I have recompiled my custom kernel.. Now quotas working! and system still FreeBSD xxx.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 it didnot even apply the patchs !! and still reading the default route from rc.local Please any help is appreciate it, this is a commercial use server you can say "im eating shit now" This shouldnot happen with freebsd-update tool !! what the heck! - Marwan Sultan _ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/___ 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: Where is gfortran in FreeBSD 7.2 Release (i386)?
At 2009-12-21 23:31:13+, Erik Trulsson writes: > Install the lang/gcc44 port which includes Fortran support. The Fortran > compiler will be installed as gfortran44. Somewhat frustrating that the lang/gcc42 port used to include Fortran, and no longer does, and (ISTR) the same goes for lang/gcc43. This means that portupgrade may automagically remove Fortran. If you find your Fortran installation has mysteriously vanished, this may well be the cause. It was for me. Nick 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"
Re: What happened to /home?
On Thu, 24 Dec 2009 08:33:20 +0200, Giorgos Keramidas wrote: > That's your problem right there. /home does not point to the absolute > path of '/usr/home' but to a *relative* path starting at whatever > happens to be your current directory when you access '/home'. > > Try replacing your current /home symlink with a link to /usr/home > instead: > > # cd / > # rm -f home > # ln -s /usr/home home > > Then the symlink should start working in a more useful manner. That's quite strange... I have /home@ -> export/home and /export lives on another partition. But I have no problems accessing files as /home/poly/some/dir/some/file from wherever I am. As far as I understood, relative symlinks prefix their respective targets always with their own location, so /home + export/home gives /export/home. -- 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"
Re: What happened to /home?
On Wed, 23 Dec 2009 15:01:11 -0800, Rem P Roberti wrote: > Today I booted my laptop and discovered that /home was gone. Well...not > exactly..but for all intents and purposes. The system isn't seeing it > although I can see it when I cd to /. But if I try and cd to /home from > there the system tells me "home:Not a directory." > What happened, and > what can I do about it? Do some diagnostics. First, check inode, using the ls -i command both for the symlink /home and its target /usr/home. Then use fdsb -i /dev/ad0s1a (or the proper device) and use "inode n" (with n = the inode number you discovered by the ls commands above) to check the information. Finally, but that may be risky, run fsck on all partitions that could be affected (e. g. if /home is on ad0s1a, but home data is on ad0s1h). I still have a problem like you described: I cannot cd to my home directory (/home/poly) with the same error message. The problem is: The home directories inode information is gone. It is still mentioned in the higher level inode (/home), but the inode this entry is pointing to isn't existing. Furthermore, all files inside this directory, at least those at the next lower level, refer to the inode with the "back-pointer", which references an inode non-existing. If any symlinks are involved, check them. Check "file x" (with x = the directory name) to see what it is. I hope you won't see something like % cd mnt/poly mnt/poly: Not a directory. % file mnt/poly mnt/poly: cannot open `mnt/poly' (Bad file descriptor) Do you have the Midnight Commander installed? If your /home line is given red color and preceded by a "?", size 0, and dated Jan 1 1970, then... well... it indicates a problem some way similar to mine... Good luck! I hope you have good backups. That's not an impolite joke. -- 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"
Are source updating mechanisms vulnerable to MITM attacks?
It seems CVSup uses clear text, with neither server authentication as SSH nor message authentication as PGP. Is it possible to poison the DNS records and fire a man-in-the-middle attack against the source updating procedure? It seems portsnap uses a public key to verify downloads. Are there some source updating mechanisms with authentication or verification? Thanks. -- 裘佺 (QIU Quan) ___ 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: afp+pf
I'm tring to send the packages throught he firewall, at least I think that Apple Finder tries to do this, the only packages I see while tcpdump-ing the pflog are those line I posted above. From: Michael K. Smith - Adhost To: Dánielisz László ; freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 7:35:00 PM Subject: RE: afp+pf Hello Danielisz: > > I'm sending you my pflog captured whiled I try to connect, maybe > somebody will figure out something: > > > # tcpdump -i rl0 -n port 548 > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes > > 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val > 206874734 ecr 0,sackOK,eol], length 0 > 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0 > Is your firewall acting as an Appletalk router? I guess I'm not understanding why you are sending AFP to the firewall and not through the firewall from host to host. When you log your block statement and tcpdump the pflog0 interface, are you seeing the blocks? Regards, Mike ___ 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"